You are not logged in.

#1 2009-07-18 07:49:34

Hilariousity
Member
Registered: 2009-06-09
Posts: 20

ctrl key is not working

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

#2 2009-07-18 12:48:58

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: ctrl key is not working

To know the key code use xev. To configure a key use  xmodmap. a google search will give all that you want.

Offline

#3 2009-07-19 06:57:43

Oblivion
Member
Registered: 2009-06-18
Posts: 1

Re: ctrl key is not working

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

#4 2009-07-19 11:55:00

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: ctrl key is not working

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

#5 2009-07-23 05:50:07

Hilariousity
Member
Registered: 2009-06-09
Posts: 20

Re: ctrl key is not working

Mr.Elendig wrote:

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. sad


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

Board footer

Powered by FluxBB