LinuxQuestions.org
Visit Jeremy's Blog.
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-23-2014, 03:28 AM   #16
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,525

Rep: Reputation: 2812Reputation: 2812Reputation: 2812Reputation: 2812Reputation: 2812Reputation: 2812Reputation: 2812Reputation: 2812Reputation: 2812Reputation: 2812Reputation: 2812

I am wondering whether these sections from the /usr/bin/startxfce4 script are applicable here.
Code:
if test "x$XDG_CONFIG_HOME" = "x"
then
  BASEDIR="$HOME/.config/xfce4/"
else
  BASEDIR="$XDG_CONFIG_HOME/xfce4"
fi
and then later
Code:
if [ -f $BASEDIR/xinitrc ]; then
  exec $prog $BASEDIR/xinitrc $CLIENTRC $SERVERRC
elif [ -f $HOME/.xfce4/xinitrc ]; then
  mkdir -p $BASEDIR
  cp $HOME/.xfce4/xinitrc $BASEDIR/
  exec $prog $BASEDIR/xinitrc $CLIENTRC $SERVERRC
else
  exec $prog /etc/xdg/xfce4/xinitrc $CLIENTRC $SERVERRC
fi
and from /etc/xdg/xfce4/xinitrc
Code:
# load local modmap
test -r $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap
As I read it, if $XDG_CONFIG_HOME is not set and there is no ~/.config/xfce4/xinitrc, then /etc/xdg/xfce4/xinitrc is run. If ~/.Xmodmap is present, then xmodmap is run a second time after being initially run from ~/.xinitrc via startx.

This would make this problem specific to xfce.
 
Old 04-24-2014, 09:27 AM   #17
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by TobiSGD View Post
According to your first post you are using the xmodmap command in your ~/.xinitrc and your ~/.bashrc. Is this still the case?
No, it isn't. Only ~/.xinitrc contains the xmodmap command.

Rich
 
Old 04-24-2014, 09:41 AM   #18
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Original Poster
Rep: Reputation: 28
allend, j_v, et al.:

All of you provided me with places to look for the problem. I _think_ that I found and solved it. Just killed X and restarted it and ~/.Xmodmap was correctly implemented by /usr/bin/xmodmap.

For some reason there was another call to 'xmodmap ~/.Xmodmap' in ~/.config/xfce4/xinitrc. When I commented that out the problem went away. When and how that command was seen and run I've no idea. Since there's ~/.xinitrc I never went looking for another file with the same name. Regardless of the reason, it appears that the system was invoking xmodmap twice and the second time cancelled the changes of the first time.

Thanks again to all of you,

Rich
 
Old 04-24-2014, 06:22 PM   #19
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 364

Rep: Reputation: 67
I'm glad you were able to track it down. This is a very insidious problem, especially when coupled with the layers of scripts involved in getting both X11 and a modern desktop environment up and running. There has been at least one other thread that addresses keymapping failure in a different desktop environment. Given your succes, I will try to find that thread again.

Cheers,
John
 
Old 04-25-2014, 09:40 AM   #20
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by j_v View Post
I'm glad you were able to track it down. This is a very insidious problem, especially when coupled with the layers of scripts involved in getting both X11 and a modern desktop environment up and running. There has been at least one other thread that addresses keymapping failure in a different desktop environment. Given your succes, I will try to find that thread again.

Cheers,
John
John,

What makes this more insidious is that it did not occur after a deliberate change. That is, I upgraded to -14.1 several weeks before this behavior suddenly appeared, and other than a couple of upgraded patched packages, the system behaved normally. Then, for a few days, the key mappings would change back in the middle of the day when I was working either in a virtual terminal or a GUI app.

When the behavior is inconsistent and cannot be associated with a specific, deliberate system change it becomes much more difficult to find and fix.

Regards,

Rich
 
Old 04-25-2014, 06:55 PM   #21
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 364

Rep: Reputation: 67
Rich,

I agree. Personally, I attribute it to desktop environments trying to cover every corner case, but causing greater indirection and obfuscation in the long run. Just my two cents, and probably not ammenable to the majority.
 
Old 04-27-2014, 12:03 AM   #22
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Running 1.15 now in all my desktops and the issue seems to be gone ... whatever it was.
 
  


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
Keyboard randomly fails when X starts reg.doug Linux - Hardware 3 08-13-2009 01:07 PM
Kmix fails to starts on Aspire 3680 lhuser Linux - Laptop and Netbook 10 10-31-2007 01:28 AM
Network fails when X starts Vie Linux - Wireless Networking 0 07-13-2005 01:24 PM
ALSA fails after XOrg+KDE starts ERTW Linux - Hardware 1 08-10-2004 09:37 AM
Mandrake 9.1 -> rpmDrake starts, but fails - Please help me! Eagle3386 Mandriva 9 10-28-2003 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration