Score:1

Sequence of shortcuts not working when holding down CTRL

mx flag

I somehow miss-configured Ubuntu and I don't know what I did, this is what happened.

The problem: Only the first shortcut in a sequence of Ctrl-left shortcuts is executed, when the Ctrl key is kept pressed.

We frequently use series of shortcuts, for example when browsing we copy some text in the current page, open a new tab and paste in the search bar. This would require the following combination: Ctrl+C, Ctrl+T, Ctrl-V. However, when you combine those you naturally keep Ctrl pressed resulting in this sequence: [Ctrl pressed]-C+T+V.

In my current configuration, only the first Copy would have worked in this sequence.

However, if I release the Ctrl key and repress it then the next command works again (that's not always possible, for example, when cycling through chrome tabs).

I am using Ubuntu 21.10, and I made the following modifications:

  • Using Tweaks I switched Left alt and Left Ctrl
  • I updated the Alt Tab behavior to make use of Super key. i.e. Super+Tab
  • (Most likely not important) I configured my terminal (Terminator) to use CTRL+C for copying instead of interrupting the command

Everything was working good, until I started to notice this issue (however I was making other modifications that I didn't keep track of but afaik not related to shortcuts or the keyboard)

Does anyone know what could be the root cause?

(btw, I tried disabling the above changes etc.)

Ubuntu version 21.10, X11, GNOME

Score:0

You may have configured your Gnome to show the location of the pointer when Ctrl is pressed. That interferes with some shortcuts.

To disable that option, go to Tweaks -> Keyboard & Mouse -> Pointer Location.

I saw similar problems as you describe, which were solved by this setting.

Rinor avatar
mx flag
It seems that this is related to it. After disabling the Pointer location CTRL stopped working in any combination, do you know why that could be the case?
vanadium avatar
cn flag
Indeed, check all of your accessibility settings. Sounds like if the issue may be there. One option there indeed allows that e.g. Ctrl+C is ontained by hitting Ctrl first, then c.
Rinor avatar
mx flag
@vanadium I am not able to find that option under accessibility settings checked normal settings (and tweaks)
Will avatar
id flag
I wonder if *sticky keys* is enabled? See https://help.ubuntu.com/stable/ubuntu-help/a11y-stickykeys.html.en for information.
Rinor avatar
mx flag
Type Assist (AccessX) is disabled in my settings
Rinor avatar
mx flag
I notice a type of behavior in the command line but not anywhere else: I run `cat` in terminal, and then when I execute e.g. ctrl+a the first time I get ^A but the subsequent times it is dimming.
sancho.s ReinstateMonicaCellio avatar
pl flag
@Rinor - Did you reboot after changing this setting?
Rinor avatar
mx flag
@sancho.sReinstateMonicaCellio yes I did, just tried that again, but the hotkeys don't work even after disabling the pointer location and rebooting the laptop
Rinor avatar
mx flag
I am thinking to reinstall ubuntu and see if it gets fixed
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.