[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Fedora 10, xmodmap and xinitrc



On Thu, 2009-01-22 at 15:33 -0500, Steven W. Orr wrote:
> On Wednesday, Jan 21st 2009 at 11:47 -0000, quoth Craig White:
> 
> =>On Wed, 2009-01-21 at 11:20 -0500, Steven W. Orr wrote:
> =>> On Wednesday, Jan 21st 2009 at 08:21 -0000, quoth Craig White:
> =>> 
> =>> =>Again on Acer Aspire One
> =>> =>
> =>> =>Looking at this page from Arch Linux page on Acer Aspire One...
> =>> =>
> =>> =>http://wiki.archlinux.org/index.php/Acer_Aspire_One#Additional_function_keys
> =>> =>
> =>> =>which suggests that I create mappings for some of the function keys so
> =>> =>they do things like control volume, etc. and then to add a link to
> =>> =>execute the mappings in .xinitrc
> =>> =>
> =>> =>Well, F10 doesn't have .xinitrc but it does have /etc/X11/xinit/xinitrc
> =>> =>and xinitrc-common but I suspect that a manual edit of either of those
> =>> =>is not really something to do with any permanence.
> =>> =>
> =>> =>What's the suggested method for adding xmodmap entries? Put into a file
> =>> =>in /etc/X11/xinit/xinitrc.d ?
> =>> =>
> =>> =>Craig
> =>> =>
> =>> =>PS: I edited the Acer Aspire One page on FedoraProject wiki to reflect
> =>> =>the few easy steps to make the built-in camera work (for those with an
> =>> =>Acer Aspire One).
> =>> =>
> =>> 
> =>> Look in /etc/X11/xinit/xinitrc-common
> =>> 
> =>> All you need to do is to create a ~/.Xmodmap file and it should get pulled 
> =>> in.
> =>----
> =>makes sense but doesn't seem to like me  ;-(
> =>
> =>[craig aspire-one ~]$ ls -al ~/.Xmodmap
> =>-rw-rw-r-- 1 craig craig 220 2009-01-21 06:00 /home/craig/.Xmodmap
> =>
> =>[craig aspire-one ~]$ cat .Xmodmap
> =>keycode 160 = XF86AudioMute
> =>keycode 174 = XF86AudioLowerVolume
> =>keycode 176 = XF86AudioRaiseVolume
> =>keycode 223 = XF86Standby
> =>keycode 239 = XF86KbdBrightnessDown
> =>keycode 123 = XF86KbdBrightnessUp
> =>keycode 210 = XF86Display
> =>
> =>[craig aspire-one ~]$ dumpkeys|grep 123
> =>keycode 123 =
> =>
> =>[craig aspire-one ~]$ dumpkeys|grep 174
> =>keycode 174 =
> =>
> =>This is after creating ~/.Xmodmap and logging out and logging back in.
> =>Went a step further and rebooted - same.
> =>
> =>;-(
> =>
> 
> I just looked. It looks like the ~/.Xmodmap doesn't get pulled in unless 
> there is a ~/.Xkbmap 
> 
> I don't know what that is or why it's there, BUT! it looks like if you 
> just create an empty file called ~/.Xkbmap then it should all work.
> 
> The relevant phrase in /etc/X11/xinit/xinitrc-common is this:
----
that totally makes sense but I couldn't make it work.

I took the easy way out and assigned the keys via systemsettings (KDE 4)
Keyboard => Keyboard Shortcuts

Thanks

Craig


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]