View Full Version : [all variants] [SOLVED] Key shortcut for specific desktop

November 22nd, 2008, 12:40 PM
Hi all!

I'd like to set a keyboard shortcut for switching to a specific desktop. I'm using Gnome, but I don't think it matters that much. I thought there would be a terminal command for selecting a specific desktop. So far, I've set up my keyboard shortcuts using gconf-editor, by binding commands to global keys for metacity.

Here's how I want it to be:

Ctrl+Shift+1 : move to desktop 1
Ctrl+Shift+2 : move to desktop 2
Ctrl+Shift+3 : move to desktop 3
Ctrl+Shift+4 : move to desktop 4

Is there a command that selects a specific desktop? I'd like to add it with gconf-editor to the keybinding commands, like the others...

Currently, I switch between desktops with Ctrl+Alt+Left/Right, passing through all of them to get to the one I want.

It would be really practical if that would be possible, I normally keep opened lots of windows, and I keep them grouped by type, using 4 desktops.


November 22nd, 2008, 05:52 PM
I don't know the specific command, but can't this be set in System > Preferences > Keyboard Shortcuts?

November 22nd, 2008, 08:58 PM
Stupid me. Thanks! I guess I was relying only on metacity bindings... Didn't pay too much attention to the Keyboard Shortcuts in preferences...