Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation Keybord command for hiding and unhiding the dock
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
[Locked] Keybord command for hiding and unhiding the dock
uomocattivo English 2 matttbe [Read]
05 May 2012 à 00:40

uomocattivo, Friday 04 May 2012 à 11:04


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

Subjects Author Language Messages Last message
[Locked] Keybord command for hiding and unhiding the dock
uomocattivo English 2 matttbe [Read]
05 May 2012 à 00:40


Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation Keybord command for hiding and unhiding the dock Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.