Thursday, May 2, 2024
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 4735  / 2 Years ago, mon, january 24, 2022, 2:13:18

I recently switched my desktop environment from GNOME to Cinnamon. In my terminal, I use tmux and have my prefix key mapped to Ctrl+Space. After the upgrade, Ctrl + Space stopped being captured by tmux.



I tried running xev and get this output when I hit Ctrl+Space:



KeyPress event, serial 37, synthetic NO, window 0x3400001,
root 0x9e, subw 0x0, time 49566192, (609,435), root:(611,505),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

FocusOut event, serial 37, synthetic NO, window 0x3400001,
mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 37, synthetic NO, window 0x3400001,
mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 37, synthetic NO, window 0x0,
keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


I am running Ubuntu 14.04 (Trusty Tahr), and Cinnamon 2.0.14.


More From » command-line

 Answers
4

Cinnamon is closely related to GNOME, and there Control + Space is commonly used to switch between key maps for different languages, like US and French.


Take a look at the keyboard setup. There should be a section with a large count of special keyboard options. Somewhere there you can choose another hotkey instead of Control + Space to switch keyboard maps/languages.


If you use just one language, you may just deactivate the function.


The following directions are based on plain GNOME, but it will probably work for Cinnamon too:



The current default virtual keyboard app for GNOME runs at startup and captures Control + Space.


Steps to fix:



  • Right-click the keyboard icon in the GNOME bar.

  • Select Configure → Global Config.

  • Change Trigger Input Method from Control + Space.



From this answer https://stackoverflow.com/a/18924670/3405122


[#26109] Monday, January 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
teromato

Total Points: 139
Total Questions: 102
Total Answers: 100

Location: Liechtenstein
Member since Mon, May 15, 2023
1 Year ago
;