New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard shortcuts to specific workspaces #544

Closed
mikn opened this Issue Mar 16, 2012 · 20 comments

Comments

Projects
None yet
6 participants
@mikn

mikn commented Mar 16, 2012

Since you want to keep workspaces in a single line (#401) I suggest assigning Ctrl+Alt-1-9 or similar unused keyboard shortcuts for the first 9 workspaces so you can easily move between workspaces that are far apart. A way to switch between multiple workspaces with one or max two combinations is something I've really been missing in Gnome 3.

@AlbertJP

This comment has been minimized.

Show comment
Hide comment
@AlbertJP

AlbertJP Mar 16, 2012

Contributor

Issue 403 is unrelated. That was a pull request, not a technical discussion about the way we want to see workspaces.

Contributor

AlbertJP commented Mar 16, 2012

Issue 403 is unrelated. That was a pull request, not a technical discussion about the way we want to see workspaces.

@mikn

This comment has been minimized.

Show comment
Hide comment
@mikn

mikn Mar 18, 2012

Oh, my apologies. I misslinked it, of course I meant #401. Edited to reflect that.

mikn commented Mar 18, 2012

Oh, my apologies. I misslinked it, of course I meant #401. Edited to reflect that.

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Mar 18, 2012

In case you haven't noticed, it is possible to set up shortcuts to jump to individual workspaces in "Keyboard-Shortcuts-Navigation-Switch to workspace x". But yes, would make sense to have this set up as default.

ghost commented Mar 18, 2012

In case you haven't noticed, it is possible to set up shortcuts to jump to individual workspaces in "Keyboard-Shortcuts-Navigation-Switch to workspace x". But yes, would make sense to have this set up as default.

@AlbertJP

This comment has been minimized.

Show comment
Hide comment
@AlbertJP

AlbertJP Mar 18, 2012

Contributor

I'm not sure that ctrl-alt-1 to 9 are unused in all programs. I wanted to search on DDG to be sure - but it just displayed many pages where people confused ctrl-alt-1 with ctrl-alt-F1.
Edit: at least in gnome terminal Ctrl-Alt-1 is already in use.

Contributor

AlbertJP commented Mar 18, 2012

I'm not sure that ctrl-alt-1 to 9 are unused in all programs. I wanted to search on DDG to be sure - but it just displayed many pages where people confused ctrl-alt-1 with ctrl-alt-F1.
Edit: at least in gnome terminal Ctrl-Alt-1 is already in use.

@mikn

This comment has been minimized.

Show comment
Hide comment
@mikn

mikn Mar 20, 2012

Actually I was not aware of that, Mojos! It's not a well-advertised feature, I tried finding information on it but to no avail.
How about Meta+1-9?

mikn commented Mar 20, 2012

Actually I was not aware of that, Mojos! It's not a well-advertised feature, I tried finding information on it but to no avail.
How about Meta+1-9?

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Mar 20, 2012

Happy to help. I guess we all have different preferences to which keys
would be best for this feature. My personal preference would be to
save the Meta+1-9 (in case Meta corresponds to my win-key) to reopen
windows from the window list in the taskbar (thus using the same
shortcuts as in Windows 7).

On 20 March 2012 08:18, cystorm
reply@reply.github.com
wrote:

Actually I was not aware of that, Mojos! It's not a well-advertised feature, I tried finding information on it but to no avail.
How about Meta+1-9?


Reply to this email directly or view it on GitHub:
#544 (comment)

ghost commented Mar 20, 2012

Happy to help. I guess we all have different preferences to which keys
would be best for this feature. My personal preference would be to
save the Meta+1-9 (in case Meta corresponds to my win-key) to reopen
windows from the window list in the taskbar (thus using the same
shortcuts as in Windows 7).

On 20 March 2012 08:18, cystorm
reply@reply.github.com
wrote:

Actually I was not aware of that, Mojos! It's not a well-advertised feature, I tried finding information on it but to no avail.
How about Meta+1-9?


Reply to this email directly or view it on GitHub:
#544 (comment)

@mikn

This comment has been minimized.

Show comment
Hide comment
@mikn

mikn Mar 22, 2012

That is a good point. After installing Cinnamon I discovered that Ctrl+Alt+Numpad1-9 is excellent, especially if you're used to using the arrow keys from before. It seems the bindings are directly mapped to the buttons of the keyboard and not to the values (Ctrl+Alt+1-9 does not work for me), so I doubt there would be any shortcut collisions either.
As a bonus of the mapping system you could also map Ctrl+Shift+Alt+Numpad1-9 to moving the windows to specific workspaces and it wouldn't be too clumsy to press.

mikn commented Mar 22, 2012

That is a good point. After installing Cinnamon I discovered that Ctrl+Alt+Numpad1-9 is excellent, especially if you're used to using the arrow keys from before. It seems the bindings are directly mapped to the buttons of the keyboard and not to the values (Ctrl+Alt+1-9 does not work for me), so I doubt there would be any shortcut collisions either.
As a bonus of the mapping system you could also map Ctrl+Shift+Alt+Numpad1-9 to moving the windows to specific workspaces and it wouldn't be too clumsy to press.

@AlbertJP

This comment has been minimized.

Show comment
Hide comment
@AlbertJP

AlbertJP Mar 22, 2012

Contributor

This way it's not yet solved for laptops and small keyboards without numpad. But the users of those devices can configure their own shortcuts.

Contributor

AlbertJP commented Mar 22, 2012

This way it's not yet solved for laptops and small keyboards without numpad. But the users of those devices can configure their own shortcuts.

@mikn

This comment has been minimized.

Show comment
Hide comment
@mikn

mikn Mar 23, 2012

I agree. I do not think it is a big issue. Especially not since about every manufacturer insists on cramming on a numpad on even the 15.6" laptops nowadays.

mikn commented Mar 23, 2012

I agree. I do not think it is a big issue. Especially not since about every manufacturer insists on cramming on a numpad on even the 15.6" laptops nowadays.

@terdon

This comment has been minimized.

Show comment
Hide comment
@terdon

terdon Aug 21, 2012

I have no "Switch to workspace x" entry in my keybord shortcuts window in cinnamon 1.5. What is the "Keyboard Shortcuts" a GUI for? How can I set this manually?

terdon commented Aug 21, 2012

I have no "Switch to workspace x" entry in my keybord shortcuts window in cinnamon 1.5. What is the "Keyboard Shortcuts" a GUI for? How can I set this manually?

@time-palominodb

This comment has been minimized.

Show comment
Hide comment
@time-palominodb

time-palominodb Sep 24, 2012

This stopped working in Cinnamon 1.6 (on Ubuntu). It worked in Cinnamon 1.4 (on Mint). This is a painful lack-of-feature. There must be a "go directly to workspace" option. I'm constantly copying data from an app on workspace 12 to paste into another on 3. Even expo is painful. Must I go back to MATE? It makes me so sad.

This stopped working in Cinnamon 1.6 (on Ubuntu). It worked in Cinnamon 1.4 (on Mint). This is a painful lack-of-feature. There must be a "go directly to workspace" option. I'm constantly copying data from an app on workspace 12 to paste into another on 3. Even expo is painful. Must I go back to MATE? It makes me so sad.

@MisterT2

This comment has been minimized.

Show comment
Hide comment
@MisterT2

MisterT2 Sep 26, 2012

Same situation here: direct "Switch to workspace x" keyboard shortcuts do not work at all with Cinnamon 1.6 and Ubuntu 12.04.1...
Could it be related to bug #1174 (that i already commented, sorry for duplicate if any...) ?

Same situation here: direct "Switch to workspace x" keyboard shortcuts do not work at all with Cinnamon 1.6 and Ubuntu 12.04.1...
Could it be related to bug #1174 (that i already commented, sorry for duplicate if any...) ?

@AlbertJP

This comment has been minimized.

Show comment
Hide comment
@AlbertJP

AlbertJP Sep 27, 2012

Contributor

Keyboard Shortcuts in the menu is still from Gnome. When we have our own keyboard shortcuts in Cinnamon Settings, we could also make it possible to assign shortcuts for this.

Contributor

AlbertJP commented Sep 27, 2012

Keyboard Shortcuts in the menu is still from Gnome. When we have our own keyboard shortcuts in Cinnamon Settings, we could also make it possible to assign shortcuts for this.

@MisterT2

This comment has been minimized.

Show comment
Hide comment
@MisterT2

MisterT2 Sep 29, 2012

I'm not sure to understand AlbertJP feedback. Does it mean that if I setup shortcuts in application "Keyboard", tab "Shortcuts", this is of no use for Cinnamon ?
In that case, where should I set my keyboards shortcuts up ?

I'm not sure to understand AlbertJP feedback. Does it mean that if I setup shortcuts in application "Keyboard", tab "Shortcuts", this is of no use for Cinnamon ?
In that case, where should I set my keyboards shortcuts up ?

@AlbertJP

This comment has been minimized.

Show comment
Hide comment
@AlbertJP

AlbertJP Sep 29, 2012

Contributor

Of course the Keyboard Shortcuts is useful. But right now we have no control over it so Cinnamon-specific shortcuts (that do not exist on normal Gnome 3) can't be put there.

Contributor

AlbertJP commented Sep 29, 2012

Of course the Keyboard Shortcuts is useful. But right now we have no control over it so Cinnamon-specific shortcuts (that do not exist on normal Gnome 3) can't be put there.

@MisterT2

This comment has been minimized.

Show comment
Hide comment
@MisterT2

MisterT2 Sep 30, 2012

I'm still not getting the point.
I'm using the "keyboard" program (tab "shortcut") to setup those keyboard shortcuts, which is, as far as I understand, a Gnome 3 program.
So: it should work... shouldn't it ?

I'm still not getting the point.
I'm using the "keyboard" program (tab "shortcut") to setup those keyboard shortcuts, which is, as far as I understand, a Gnome 3 program.
So: it should work... shouldn't it ?

@terdon

This comment has been minimized.

Show comment
Hide comment
@terdon

terdon Sep 30, 2012

I found out that setting keyboard shortcuts to specific workspaces using the gnome configuration tool works perfectly well for me. LMDE, cinnamon 1.6.0.

terdon commented Sep 30, 2012

I found out that setting keyboard shortcuts to specific workspaces using the gnome configuration tool works perfectly well for me. LMDE, cinnamon 1.6.0.

@MisterT2

This comment has been minimized.

Show comment
Hide comment
@MisterT2

MisterT2 Sep 30, 2012

Could it be linked to the fact I'm running Ubuntu 12.04.1 ? (any kind of conflict with Ubuntu packages ?)

Could it be linked to the fact I'm running Ubuntu 12.04.1 ? (any kind of conflict with Ubuntu packages ?)

@AlbertJP

This comment has been minimized.

Show comment
Hide comment
@AlbertJP

AlbertJP Sep 30, 2012

Contributor

@ MisterT2: The keyboard shortcuts app indeed works, but it only works with shortcuts that are known to Gnome 3. Gnome 3 does not know these shortcuts to workspaces.

Contributor

AlbertJP commented Sep 30, 2012

@ MisterT2: The keyboard shortcuts app indeed works, but it only works with shortcuts that are known to Gnome 3. Gnome 3 does not know these shortcuts to workspaces.

@MisterT2

This comment has been minimized.

Show comment
Hide comment
@MisterT2

MisterT2 Sep 30, 2012

Yyyyeeeeesssss !
I found the solution, so, I'm happy to share it, if it may help others !

Situation:

  • 'Switch to workplace' shortcut does not exist in Cinnamon
  • 'Switch to workplace' shortcut set in application "Keyboard" (tab "Shortcut"), but does not work in Cinnamon.
    => this is due to the fact that Gnome 3 does not use this GConf parameter, but rather use... DConf settings !
    (I know, that sounds strange, and I really don't understand why things are getting so complex here... :-(

Solution:
Install "dconf-tools" package, and launch dconf-editor program
Then, go to org.gnome.desktop.wm.keybindings, and setup your keyboard shortcuts...

... at least, it works for me !

Yyyyeeeeesssss !
I found the solution, so, I'm happy to share it, if it may help others !

Situation:

  • 'Switch to workplace' shortcut does not exist in Cinnamon
  • 'Switch to workplace' shortcut set in application "Keyboard" (tab "Shortcut"), but does not work in Cinnamon.
    => this is due to the fact that Gnome 3 does not use this GConf parameter, but rather use... DConf settings !
    (I know, that sounds strange, and I really don't understand why things are getting so complex here... :-(

Solution:
Install "dconf-tools" package, and launch dconf-editor program
Then, go to org.gnome.desktop.wm.keybindings, and setup your keyboard shortcuts...

... at least, it works for me !

@mtwebster mtwebster closed this Oct 21, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment