LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware-14.0/x86_64: .~/Xmodmap no longer runs within ~/.xinitrc (http://www.linuxquestions.org/questions/slackware-14/slackware-14-0-x86_64-%7E-xmodmap-no-longer-runs-within-%7E-xinitrc-4175457374/)

rshepard 04-08-2013 12:55 PM

Slackware-14.0/x86_64: .~/Xmodmap no longer runs within ~/.xinitrc
 
I use ~/.Xmodmap to swap the left Ctrl and CapLocks keys when xfce4 starts. Since the upgrade to 14.0/x86_64 with the multilib compatible libraries .Xmodmap will no longer run when I start X even though it is defined in ~.xinitrc as $usermodmap. However, running 'xmodmap .Xmodmap' from the ommand line works just fine.

What might have happened so that it runs manually but not from within the startup script?

Rich

dreamwalking 04-09-2013 06:06 AM

Do you have a line in .xinitrc that calls .Xmodmap? Something like:

Code:

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi


rshepard 04-10-2013 10:22 AM

Quote:

Originally Posted by dreamwalking (Post 4928111)
Do you have a line in .xinitrc that calls .Xmodmap? Something like:

Code:

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi


Yes. That's standard in .xinitrc. And, $usermodmap is defined as $HOME/.Xmodmap.

Rich

GazL 04-10-2013 12:23 PM

It's possible that it is still being run, but its effects are being wiped-out later in the start-up by the XFCE environment applying its own settings. It's one of those "Lets make things easier for the user by pissing on the established ways of doing things" kind of deals that seem to be ubiquitous amongst the "modern" GUIs.

This sort of thing is one of the reasons I prefer to stick to the minimal environments.

eloi 04-10-2013 01:11 PM

If you use xfce you are forced to use xfce startup entries through the xfce configuration panel. Try putting there the command.

That's why I complain about desktop environments!


All times are GMT -5. The time now is 09:36 PM.