Please login or register.

Login with username, password and session length
Advanced search  


Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Xmodmap and caps lock  (Read 1908 times)


  • Member
  • *
  • Posts: 2
Xmodmap and caps lock
« on: October 22, 2007, 05:05:37 am »

My left shift key is broken, so i want to use my caps lock as a shift key

i changed .Xmodmap in my home folder into:

remove Lock = Caps_Lock
keysym Caps_Lock = Shift_L
add Shift = Shift_L

and in a terminal i executed:

xmodmap .Xmodmap

so far so good, but i want to make it permanently, i don't manage to do that:

in my .bashrc in my homefolder it says:

xmodmap ~/.Xmodmap

but logging in again, nothing changed.

What do i do wrong?

Thanks for help


  • Packager
  • Vectorian
  • ****
  • Posts: 682
Re: Xmodmap and caps lock
« Reply #1 on: October 22, 2007, 05:37:03 am »

Which window manager are you using?

Some wm have a rc file (~/.ratpoisonrc for me) that is executed when you enter session.

there I have a line with

xmodmap .xmodmaptweaks


  • Member
  • *
  • Posts: 2
Re: Xmodmap and caps lock
« Reply #2 on: October 22, 2007, 05:46:46 am »

i use kde