Keyboard short-cut to switch to a specific workspace using Ctrl-[1-8] on numeric keypad

20,988

Under Preferences -> Keyboard Shortcuts you can map up to 12 workspaces. You can find needed entries under Window Management -> Switch to workspace #.

Share:
20,988

Related videos on Youtube

Admin
Author by

Admin

Updated on September 17, 2022

Comments

  • Admin
    Admin over 1 year

    I have 8 workspaces in use throughout the day arranged as 2 rows x 4 columns.

    Workspaces are numbered logically from 1-4 for the top row left-right, then 5-8 for the next row.

    I would like to be able to switch to a workspace using the keyboard combination Ctrl-num where [num] corresponds to number [1-8] on my numeric keypad.

    Gnome/Compiz already allows me to switch workspaces via Ctrl-Alt-up/down/left/right or at least that is how I have configured it.

    Finding a way to make the mapping and behavior described above however is still confounding me.

  • Admin
    Admin over 13 years
    So simple, thanks! I was looking in the wrong place i.e. Compiz settings. Thank you.
  • skalka
    skalka over 13 years
    You should mark as correct the answer. :)
  • Noel Yap
    Noel Yap almost 10 years
    When I try this with, say, Ctrl-Alt-Num7, it reports Ctrl-Alt-7 as the hotkey, but instead of taking me to the corresponding workspace, it does something else (eg widens the window with focus). Moreover, hitting Ctrl-Alt-7 does nothing. It works perfectly fine if I set the hotkey as Ctrl-Alt-7 (ie not using the keypad 7 key).
  • Noel Yap
    Noel Yap almost 10 years
    The problem was that Unity Tweak Tool had Window Snapping turned on. Once I turned it off, the redefinitions for some of the Num keys (Shift-Crtl-Alt-Num? still didn't work) started working.
  • Tomislav Nakic-Alfirevic
    Tomislav Nakic-Alfirevic almost 4 years
    Currently I see up to 4 workspaces for which I can assign shortcuts: any idea how to add more? (a lot, I know, but still)
  • Tomislav Nakic-Alfirevic
    Tomislav Nakic-Alfirevic almost 4 years
    No surprise, people were talking about it ( bugzilla.redhat.com/show_bug.cgi?id=826024 ), mentioning a few workarounds, although with a distinctly hackish feel to the proposed solutions.