LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-08-2013, 11:55 AM   #1
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 130

Rep: Reputation: 15
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
 
Old 04-09-2013, 05:06 AM   #2
dreamwalking
Member
 
Registered: Dec 2005
Distribution: Slackware 14
Posts: 106

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

Code:
if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi
 
Old 04-10-2013, 09:22 AM   #3
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 130

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dreamwalking View Post
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
 
Old 04-10-2013, 11:23 AM   #4
GazL
Senior Member
 
Registered: May 2008
Posts: 3,392

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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.
 
1 members found this post helpful.
Old 04-10-2013, 12:11 PM   #5
eloi
Member
 
Registered: Nov 2010
Posts: 202

Rep: Reputation: 50
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Libre Office no longer runs slideshow after latest updates vdemuth Slackware 3 03-10-2013 05:31 PM
how to use xmodmap in ~/.xinitrc page_seven Linux - Desktop 3 10-27-2010 05:19 AM
xmodmap not working in .xinitrc kmeehl Slackware 1 12-03-2004 05:14 PM
x no longer runs..... (?) rebelcan Linux - Software 4 11-03-2004 04:59 PM
xinitrc won't execute xmodmap! carboncopy Slackware 1 03-17-2004 03:26 AM


All times are GMT -5. The time now is 03:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration