Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Tips and Tricks | Trucs et Astuces Customize Cairo-dock Virtualbox Icon to Switch Workspace
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)
Tips and Tricks | Trucs et Astuces

Subjects Author Language Messages Last message
[Locked] Customize Cairo-dock Virtualbox Icon to Switch Workspace
Guest English 1 matttbe [Read]
19 September 2013 à 21:15

Guest, Tuesday 17 September 2013 à 22:36

I'm trying to edit a Cairo-dock 3.2.1 icon launch entry in Ubuntu 13.04 (Unity) so that I automatically start the program I want (VirtualBox) in Workspace 3. Is there a command I can enter in the icon section "Command to launch on click:" box that will do this?

matttbe, Thursday 19 September 2013 à 21:15


Subscription date : 24 January 2009
Messages : 12573
Hello,

I think there is no command to do that but you can use xdotool to switch to the workspace 3 and then launch the command. E.g.:
  • For viewport
    xdotool set_desktop_viewport 1280 0 && virtualbox
  • For desktop
    xdotool set_desktop 3 && virtualbox

(see xdotool manual for more information but if you're using Compiz (Unity), you only have viewport and then, you have to give a position: for example, if your screen is 1280x800, you can move to the 2nd workspace by doing: xdotool set_desktop_viewport 1280 0)

BUT, it's maybe better to use settings of your window manager (Compiz I guess): you can open the ccsm (CompizConfig Settings Manager), enable and display settings of your 'Place Windows' plugin and add a window (fixed viewport section) by using its class

Tips and Tricks | Trucs et Astuces

Subjects Author Language Messages Last message
[Locked] Customize Cairo-dock Virtualbox Icon to Switch Workspace
Guest English 1 matttbe [Read]
19 September 2013 à 21:15


Glx-Dock / Cairo-Dock List of forums Tips and Tricks | Trucs et Astuces Customize Cairo-dock Virtualbox Icon to Switch Workspace 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.