Friday, February 7, 2014

My Linux notes --

Disable Network Managers system-ca-certs to connect to wpa2 Ent. not using /wout cert in Arch Linux.

1) Comment out system-ca-certs =true in

#vim /etc/NetworkManager/systemconnections/<ssid>

 

Sunday, February 2, 2014

Remap CapLock key to Shift Gnome 3

I can not stand the Caps Lock key. I tend to press the Caps Lock key when I intend to press the shift key. Thankfully there is an easy to remap this key in Gnome 3. This can also be used in KDE with slight modifications.

First, remap the Caps Lock key using xmodmap:

$ xmodmap -e "keycode 66 = Shift_L NoSymbol Shift_L"

Next export your current key mapping to .xmodmap

$ xmodmap -pke > .xmodmap


That is it. If you need to revert the Caps_Lock key back you can run the following command.

$ xmodmap -e "keycode 66 = Cap_Lock NoSymbol Caps_Lock"