Skip to contentSkip to conversation

Binding Ctrl+Tab

kbd Kristof Ralovich 2 participants 2 messages Jan 15, 2013 – Jan 19, 2013

lore
Share & tools
lore
#0 lore raw

Dear All,

I would like to assign the "Ctrl+Tab" key combination in Ubuntu 12.04 linux text console (not under X11). My end goal is binding commands to it in emacs. "Ctrl", "Tab", and "Alt+Tab" works dy default, but not "Ctrl+Tab".

dumpkeys -l shows me the following output (truncated)
...
0x0009 Tab
...
0x0809 Meta_Tab
...
Control_i for Tab
...
I guess I'm missing a definition for "Control_Tab" in this file. But [1] indicates that "Ctrl+Tab" is not possible under the console. Could anyone please comment on this? If it is possible, how to activate it?

In case this mailing list is not the right place for my question, please direct me to the right list!

Thanks,
Kristof

[1] http://stackoverflow.com/questions/4335277/ctrl-tab-key-binding-doesnt-work-in-linux

#1 lore raw
Quoted 6 lines · Kristof Ralovich

Dear All,

I would like to assign the "Ctrl+Tab" key combination in Ubuntu 12.04 linux text console (not under X11). My end goal is binding commands to it in emacs. "Ctrl", "Tab", and "Alt+Tab" works dy default, but not "Ctrl+Tab".

What is the problem with the "Ctrl+Tab" ?

First find the key code for TAB.

% showkey
keycode 15 press
keycode 15 release

OK, so tab is key 15. Now I want to assign the symbol @ to Ctrl Tab.

control keycode 15 = at

It assigned the symbol @ to the control tab combination.

Signature · 1 line
Rgrds, legion