key mapping

Rajinder Yadav devguy.ca-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed Nov 3 20:14:17 UTC 2010


On Wed, Nov 3, 2010 at 4:10 PM, William O'Higgins Witteman
<william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org> wrote:
> On Wed, Nov 03, 2010 at 03:13:33PM -0400, Rajinder Yadav wrote:
>
>>ok i sort of figured it out, if I type the following in xtem, the mapping works
>>
>>xmodmap -e "keycode 108 = Alt_R"
>>
>>where do i put this so it will work after login?  i tried using
>>~/.xmodmap and ~/.xmodmaprc with the following entry
>>
>>!keycode  108 = Alt_R
>>
>>however after a reboot, it does nothing.
>
> I found that as well, but rather than figuring it out, I just put the
> xmodmap calls in my .xinitrc - it seems to work.
> --
>
> yours,
>
> William
>

I got it working like it should, I had to remove the '!' bang in front
of keycode. Here is a nice howto

http://cweiske.de/howto/xmodmap/allinone.html


-- 
Kind Regards,
Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely

GNU/Linux: 2.6.35-22-generic
Kubuntu x86_64 10.10 | KDE 4.5.1
Ruby 1.9.2p0 | Rails 3.0.1
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list