Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Fedora Core 10 X86_64, and Ubuntu 6.06
Posts: 61
Rep:
"Switch to Desktop [1-4 here]" command?
Hi! my desktop currently has OpenSUSE on it, and whil configuring it, I ran into a bit of a challenge: The Keyboard Shortcuts lack a "Switch to Desktop [insert Desktop # here]" shortcut (usually I bind it to [ALT+1,] [ALT+2] etc..) Anyway, I figured just put one in; I've created custom shortcuts before, but mainly to launch a program. But I haven't the slightest clue what command Linux uses when switching desktops. Does anyone know? Although it wouldn't kill me to not have an easy keyboard shortcut, it does save me a lot of time in the long run. Thanks!
Distribution: Fedora Core 10 X86_64, and Ubuntu 6.06
Posts: 61
Original Poster
Rep:
thank you, But I"m not sure I've made my question clear. When you are in the "Keyboard Shortcuts" window, you are given a list of availible Keyboard shortcuts; for example, keybinding to wuickly log out (ctrl,+alt+Del for me), or "run a terminal" (always alt+t for me). Or you can make your own custom. for example I made a custom shortcut to open gnome terminal (alt+t). when I did that, it asked me to give the shortcut a name ("Run Terminal"), and a command (in this case $gnome-terminal). after that, I could set up a shortcut to do it (alt+T). I'd like to do this with Switching to desktops. I know what I want to name them, but I have no Idea what command to tell it to do, when I press the shortcut. the shortcuts will be alt+1, Alt+2, alt+3 and alt+4 but I don't know what the command is.
I hope this cleared things up
Assuming that you're using Gnome and not KDE, I found this which says to do the following:
Quote:
1. Open a terminal
2. Type "gconf-editor" (w/o quotes) and hit enter.
3. Navigate to apps>metacity>global_keybindings
4. Scroll down to the switch_to_workplace_1 (thru 12) keys
5. Change what you need.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.