Workspace switcher keyboard shortcuts for left and right workspaces not responding

40,395

So as noted in Sathya's comment, he is running under Vmware.

The reason this doesn't work is because VMware Player is taking control of Ctrl+Alt, because that's the key combination it uses to "break out" of the VM.

There are two ways you can fix this:

Override

There is an escape override built into VMware which overrides the breakout combination, by tapping Space while holding down the breakout combination, before hitting your desired key So for example, if you wanted to go to the right workspace you would hold down Ctrl+Alt, tap Space and then tap Right.

Change the Combination

Change the breakout combination. To do this, edit preferences.ini (in Windows 7 it's in C:\Users\$YOUR_USERNAME$\AppData\Roaming\VMware, if you can't find it search) and add:

pref.hotkey.shift = "true"
pref.hotkey.alt = "true"
pref.hotkey.control = "true"

This remaps the breakout combination to Ctrl+Alt+Shift.

Before you say anything, yes, I realise that this is also used in Ubuntu, to move windows between workspaces. Unfortunately, that is the best I've been able to come up with so far. You are supposed to be able to be as specific as left or right control, but they don't work for me, leftControl etc just maps back to both.

References:

Share:
40,395

Related videos on Youtube

Sathyajith Bhat
Author by

Sathyajith Bhat

SRE, API Platform @ Adobe Author of Practical Docker With Python & co-author of The CDK Book AWS Community Hero Organizer: AWS Users' Group Bangalore and Barcamp Bangalore. Sathyajith Bhat is a seasoned SRE professional currently working as an SRE on the API Platform at Adobe. In his free time, Sathya is also a co-organizer of the AWS Users’ Group Bangalore, organizing monthly meetups, workshops and occasionally speaking at them. He is also a volunteer Community Moderator at Super User and Web Apps Stack Exchange

Updated on September 18, 2022

Comments

  • Sathyajith Bhat
    Sathyajith Bhat over 1 year

    I'm running Ubuntu 12.04 64-bit (running as a VM on VMWare Player). The keyboard shortcut for Workspace switcher indicates that Ctrl+Alt+ arrow keys switches to the desired workspace.

    enter image description here

    While this works for Up/Down arows, using Ctrl+Alt+ Left/Right doesn't seem to work - the switcher doesn't move to the desired workspace.

    Am I doing something wrong here?

    • Admin
      Admin almost 12 years
      Are you running under VMWare Player? Because I have this problem as well, and unity --reset doesn't fit it.
    • Admin
      Admin almost 12 years
      @SCdF yes, I'm running it under VMWare Player!
  • Donatas Olsevičius
    Donatas Olsevičius about 11 years
    Or you can add Win key to that combination and it will not interfere with normal shortcuts - askubuntu.com/a/106612/104730