Signal to switch GNOME "workspaces"
Hi Folks, I run GNOME with 20 "workspaces", between which I normally switch using keys Ctrl+Alt+<arrow key>. I'm looking for a way to get an application (or script) to send a signal to the display manager such that the display would switch automatically switch from whatever "workspace" it is in to some other designated one (i.e. so that I don't have to use the keys -- it would be under program control). By the way: I'm not sure which "display manager" programme looks after switching between "desktops" -- is it gdm, metacity, or what? With thanks for any suggestions, Ted. -------------------------------------------------------------------- E-Mail: (Ted Harding) <Ted.Harding@manchester.ac.uk> Fax-to-email: +44 (0)870 094 0861 Date: 18-Jun-10 Time: 09:47:38 ------------------------------ XFMail ------------------------------
Hi, On 18 June 2010 09:47, Ted Harding <Ted.Harding@manchester.ac.uk> wrote:
I'm looking for a way to get an application (or script) to send a signal to the display manager such that the display would switch automatically switch from whatever "workspace" it is in to some other designated one (i.e. so that I don't have to use the keys -- it would be under program control).
DBus might help here. I'm not sure if GNOME / your windowmanager has a DBus interface for switching workspaces, but it might be worth having a look at the dbus explorer program to check what it can do. Then you can script it using, i think, dbus-send followed by the appropriate interface and command parameters. Srdjan
participants (2)
-
Srdjan Todorovic -
Ted.Harding@manchester.ac.uk