You are not logged in.

#1 2010-07-28 14:30:05

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,954
Website

Disable switch to another virtual console with Alt-Left/Right

I'm a Fish shell user, and the Alt-Left/Right keys are very useful for me. But in the virtual terminals those shortcuts are captured and cause a switch between the different terminals (like Alt-F1, F2 etc). My question is, how can I disable that Alt-Left/Right behaviour, since Alt-F1, F2... is more than enough for me.


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#2 2010-10-30 22:16:02

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,954
Website

Re: Disable switch to another virtual console with Alt-Left/Right

I got one step closer to my goal:

dumpkeys > my_console_keymap.txt
vim my_console_keymap.txt  # deleting the lines with Decr_Console and Incr_Console
loadkeys my_console_keymap.txt

really turns off the switching of consoles, but fish still doesnt get the Alt-Left|Right keys. At least nothing happens, so the situation got better, but I wonder how to pursuade the console to pass on the Alt-Left|Right combo. Any thoughts?


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#3 2013-06-06 00:52:09

totalizator
Member
Registered: 2010-09-09
Posts: 8

Re: Disable switch to another virtual console with Alt-Left/Right

SanskritFritz wrote:

I got one step closer to my goal:

dumpkeys > my_console_keymap.txt
vim my_console_keymap.txt  # deleting the lines with Decr_Console and Incr_Console
loadkeys my_console_keymap.txt

really turns off the switching of consoles, but fish still doesnt get the Alt-Left|Right keys. At least nothing happens, so the situation got better, but I wonder how to pursuade the console to pass on the Alt-Left|Right combo. Any thoughts?

I have the same problem. I can disable the default shortcut but the combination (Alt+arrows) has no effect at all then and I can't use it with any application. Any ideas?

Offline

#4 2013-06-12 14:10:54

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,954
Website

Re: Disable switch to another virtual console with Alt-Left/Right

totalizator wrote:

I have the same problem. I can disable the default shortcut but the combination (Alt+arrows) has no effect at all then and I can't use it with any application. Any ideas?

Yeah, annoying isn't it. Sadly I couldn't find the solution so far.


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

Board footer

Powered by FluxBB