LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-11-2010, 11:24 AM   #1
Cassanova
Member
 
Registered: Feb 2009
Location: An Evil city in Indiana
Distribution: Fedora Core 10 X86_64, and Ubuntu 6.06
Posts: 61

Rep: Reputation: 15
"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!
 
Old 08-11-2010, 11:55 AM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
What desktop are you using?

I believe KDE4 uses CTRL+F[1-4]. And I believe Gnome and Compiz use CTRL+ALT+Left or right arrow.

Last edited by pljvaldez; 08-11-2010 at 12:02 PM.
 
Old 08-11-2010, 04:15 PM   #3
Cassanova
Member
 
Registered: Feb 2009
Location: An Evil city in Indiana
Distribution: Fedora Core 10 X86_64, and Ubuntu 6.06
Posts: 61

Original Poster
Rep: Reputation: 15
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
 
Old 08-11-2010, 04:51 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gdm-simple-greeter.desktop is "Not responding" when I switch user in Fedora 11 fulee1 Linux - Newbie 6 03-26-2012 07:28 AM
"switch to next desktop" vs. "switch to next screen" newbiesforever Linux - General 1 03-02-2010 11:23 AM
Make "ls" command show colors without "--color=always" switch SharpyWarpy Linux - General 4 07-16-2007 11:00 PM
C Drive "/dev/hda1" accidently used in dd command at "of=" switch M D Linux - Software 4 04-26-2007 08:56 AM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration