You are not logged in.
Pages: 1
ok I recently bought a used laptop and threw arch linux on it and eventually got everything working correctly. However the ctrl button does not work which each means I can't run awesome commands like ctrl+c and ctrl+d. The best way I have found so far to work around this problem is to use stty to bind commands to some other key. For example stty "somekey" erase. I would like to map the ctrl key to the alt key or possibly the windows/power key.
How would I look up the symbols for alt and windows/power so that I can use alt or windows/power as ctrl?
Offline
To know the key code use xev. To configure a key use xmodmap. a google search will give all that you want.
Offline
ok I was able to find the symbol for alt. its ^[
However, when I try to use stty to change intr to alt+c instead of ctrl+c something goes horribly wrong and when I run stty -a I get that the symbol is actually set at ^[; instead of ^[c
What should I do lol?
EDIT: also it turns out that I have two forum accounts on different computers and can't delete my post. I might just go back to windows forever and be done with it maybe I'll change my career to economics. This just isn't worth the trouble.
Last edited by Oblivion (2009-07-19 07:01:20)
Offline
I would rebind caps-lock to ctrl.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
I would rebind caps-lock to ctrl.
thats cool, I actually found out how to do that in virtual console. I simply switched the keyboard layout to emacs. I'm still having problems changing the keyboard layout in xfce though. ![]()
RADIO EDIT:I actually found out how to change the keys in X using Xmodmap. I think I write a wiki article about this...
Last edited by Hilariousity (2009-07-23 08:28:17)
Offline
Pages: 1