|Cairo-Dock and Gnome-Shell
|Here are some few tricks to use Cairo-Dock 3.2 or above efficiently within Gnome-Shell.
Remove the top panel If you want to place a dock at the top of your screen, you'll need to remove the top bar of Gnome-Shell first.
Run this command in a terminal:
dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.panel.actor.hide();'
The top panel should have disappeared. To make it permanent, you have to execute this command on startup, so write it in a file, make it executable, and add it to the programs launched on startup.
Remove the dash Since the dash doesn't offer anything that's not already in the dock, you might want to hide it definitely.
You need to run this command:
dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.overview._dash.actor.hide();'
Copy this command in a file, make it executable, and add the file to the list of programs launched on startup.
Trigger the Exposé of windows and desktops The Switcher and Show-desktop applets can trigger this event (on middle-click).
Also, when grouping the windows of a given application in a sub-dock (an option of the dock's taskbar), clicking on the main icon will trigger the Exposé of all the windows of the given application.
However there is a little bug in Gnome-Shell, and it's easy to fix:
edit the file /usr/share/gnome-shell/js/ui/workspace.js as root, and look for the function _onCloneSelected (around the line 1492).
Now comment the 2 lines like this:
// wsIndex = this.metaWorkspace.index();
Save and close the file, and restart Gnome-Shell (alt+f2, enter "r" and press enter).
Avoid having the message tray appear If your dock is at the bottom of the screen, and uses auto-hide, you have probably noticed that touching the bottom screen edge (to make the dock appear) also triggers the message tray.
This is annoying, and there is an easy way to avoid that:
edit the file /usr/share/gnome-shell/js/ui/messageTray.js as root, and look for the parameter TRAY_DWELL_TIME (around the line 45).
Now change its value to delay the appearance of the message tray:
const TRAY_DWELL_TIME = 2000; // ms
Here I've set 2 seconds, which is probably enough, but you can set more.
Note 1 : you can call the message tray with <Super>+m.
Note 2 : you can install an extension that displays the systray into the top panel instead of the message tray (for instance "Evil Status Icon Forever").
Note 3 : you can install the "Insensitive message tray" extension to disable automatic display of the message tray altogether. <Super>+m still works.
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.