problem with xmodmap

dawnshade dawnshade at mail.ru
Mon Oct 17 05:40:25 PDT 2005


On Monday 17 October 2005 14:25, Michael Nottebrock wrote:
> On Monday, 17. October 2005 11:32, dawnshade wrote:
> > Hi, All.
> >
> > i have some strange problem with xmodmap.
> > if i configured map somekeys in conf file:
> >
> > cat .Xmodmap
> > keycode 174 = XF86AudioLowerVolume
> > keycode 176 = XF86AudioRaiseVolume
> >
> > and try load this settings putting string 'xmodmap ~/.Xmodmap' in
> > file .xinitrc (at homedir) before string startkde nothing happens.
> >
> > if i execute xmodmap ~/.Xmodmap  inside KDE all works fine, but in next
> > KDE session X11 forget this mapping.
>
> The mapping might get reset, especially if you're using KDE's frontend for
> xkb (Regional & Accessibility/Keyboard Layouts). You could try putting the
> xmodmap command into a shell script, chmod +x that script and put it into
> ~/.kde/Autostart, or try unchecking "Enable keyboard layouts" in the
> mentioned above kcontrol module.


Thank you.
All works fine, after putting in .kde/Autostart.
P.S. Keyboard Layouts is active.

May be write PR for this part FAQ?



More information about the freebsd-x11 mailing list