Problems at use | Problèmes à l'utilisation
Subscription date : 28 July 2011
Messages : 18
|
Hi,
I have just installed version 3.0 for Open Suse 11.4 64x86, Nvidia proprietaries drives 290.xx.xx. It works like a gem with compiz in Gnome 2.32, but the dbus shortcuts I used with previous 2.3 version are completely useless now.
I have these two lines for hiding and unhiding the dock :
dbus-send --session --dest=org.cairodock.CairoDock /org/cairodock/CairoDock org.cairodock.CairoDock.ShowDock boolean:false
dbus-send --session --dest=org.cairodock.CairoDock /org/cairodock/CairoDock org.cairodock.CairoDock.ShowDock boolean:true
I have tried to add an entry in shortcut configuration of the dock but that is not possible.
Please let me know what are the commands I can use for hiding and unhiding the dock with the keyboard.
Thanks in advance. |
|
brianw, Friday 04 May 2012 à 17:47
|
|
Subscription date : 25 April 2012
Messages : 270
|
From the dbus interface page it says to use int32:value.
http://www.glx-dock.org/ww_page.php?p=Control_your_dock_with_DBus&lang=en
ShowDock
It will show or hide the dock, depending on the mode you specify (0 = HIDE, 1 = SHOW, 2 = TOGGLE). If you have several docks, it will show/hide all of them.
For instance, you can hide the dock with the following command:
dbus-send --session --dest=org.cairodock.CairoDock /org/cairodock/CairoDock org.cairodock.CairoDock.ShowDock int32:0
or toggle the visibility ON/OFF with the following:
dbus-send --session --dest=org.cairodock.CairoDock /org/cairodock/CairoDock org.cairodock.CairoDock.ShowDock int32:2
Note: it is possible to bind this command to a shortkey (with Compiz for instance). Thus, you could for instance make the dock appear each time you press the <Super> key. |
|
matttbe, Saturday 05 May 2012 à 00:40
|
|
Subscription date : 24 January 2009
Messages : 12573
|
@brianw: thank you for this answer! (I forgot to update this wiki page: Tip and Tricks) |
Problems at use | Problèmes à l'utilisation
|