Cairo Dock is locked.

The Commodore OS Vision Linux distribution and Linux software discussion and help.
Post Reply
Theonetruebastard
Posts: 3
pinterest Kuchnie na Wymiar Warszawa
Joined: Fri Apr 25, 2025 2:15 pm
Contact:

Cairo Dock is locked.

Post by Theonetruebastard »

Does anyone else have an issue with cairo dock being locked? I am sure I am missing something simple here but I can't get it to unlock so I can remove some and add others to it.

Thanks for your time.

User avatar
LeoNigro
Site Admin
Posts: 455
Joined: Mon Aug 14, 2023 1:29 pm
Contact:

Re: Cairo Dock is locked.

Post by LeoNigro »

The dock is locked down on purpose because it has always been too easy to accidentally lose icons, and it also can screw up the configuration with its buggy configuration interface.

The easiest way to unlock and configure it is.
From the dock launch a terminal and launch the System Monitor.
Kill cairo-dock in the System Monitor.
Relaunch the dock via the terminal with the command....

Code: Select all

cairo-dock

Right click on the dock to configure.

Cairo dock has been really buggy in this version, crashing and doubling up all the time, so I manually ensure there is only one instance running at certain points. So, no, don't try to get more than one dock going because I won't let you. :twisted:
Image Commodore OS and C64x creator. Site Admin.
Owns: C64, C128D(Sidekick64), A500, A1000(piStorm),
C64x(i7 16Gb), C64x(Atom 4Gb), VIC-20x(N100 32Gb), C16x(Ryzen9 64gb), VIC-Slim(Atom 2Gb), VIC-Pro(Core Duo 4Gb)

Theonetruebastard
Posts: 3
Joined: Fri Apr 25, 2025 2:15 pm
Contact:

Re: Cairo Dock is locked.

Post by Theonetruebastard »

Thank you! I was wondering if I would have to do something like that so I will give it a try. I'll prolly lock it up after again since it is buggy but I really wanted to replace Firefox with Brave. :)

Thank you for all that you have done and this IS THE BEST OS I have played with in, well, in memory I must say. And I mean play with in the I can actually enjoy the computer its self again not just individual programs if that makes sense. :)

Caved
Posts: 10
Joined: Wed Jun 25, 2025 10:51 pm
Contact:

Re: Cairo Dock is locked.

Post by Caved »

I just asked COS AI what to do with it:

---------------
>>> create a simple linux bash script to toggle cairo-dock on off
Sure, here's a simple Bash script that you can use to toggle the Cairo-Dock
on and off in Linux:

#!/bin/bash

# Check if Cairo-Dock is running
if pgrep -x "cairo-dock" > /dev/null
then
# If it's running, kill it
killall cairo-dock
else
# If it's not running, start it
cairo-dock &
fi

Save this script to a file (e.g., `toggle_cairo_dock.sh`) and make it
executable by running the following command in your terminal:

chmod +x toggle_cairo_dock.sh

You can then run the script from anywhere in your terminal by typing
`./toggle_cairo_dock.sh`. The script will check if Cairo-Dock is running
and start it if it's not, or kill it if it is.
---------------
I'd just put n icon on the desktop with the command sh <path>/toggle_cairo_dock.sh
COS AI has spoken. :D

Caved

User avatar
LeoNigro
Site Admin
Posts: 455
Joined: Mon Aug 14, 2023 1:29 pm
Contact:

Re: Cairo Dock is locked.

Post by LeoNigro »

Thanks caved....

However, as I think I may have mentioned elsewhere, this will not be an issue after the next update that I'm working on right now, that should be out next week, as you will be able to toggle the locking of the dock from within the settings manager under General Settings. This setting will ensure that the unlocking will remain even if cairo-dock (inevitably) crashes and is resuscitated, or on system reboot, which may be your preference.
FIXTODO
Image Commodore OS and C64x creator. Site Admin.
Owns: C64, C128D(Sidekick64), A500, A1000(piStorm),
C64x(i7 16Gb), C64x(Atom 4Gb), VIC-20x(N100 32Gb), C16x(Ryzen9 64gb), VIC-Slim(Atom 2Gb), VIC-Pro(Core Duo 4Gb)

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests