Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339595 - Xfce4 doesn't load ~/.xmodmaprc
Summary: Xfce4 doesn't load ~/.xmodmaprc
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-03 14:50 UTC by Stephane
Modified: 2010-10-04 12:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane 2010-10-03 14:50:36 UTC
the ~/.xmodmaprc file is not loaded with the Xfce4 xsession.

Reproducible: Always

Steps to Reproduce:
1.set XSESSION to Xfce4
2.start X (I do it with the slim display manager)


Actual Results:  
The .xmodmaprc file is not loaded

Expected Results:  
.xmodmaprc should be loaded as it is for the "Xsession" session type (see /etc/X11/Sessions/Xsession)

workaround : run manually xmodmap ~/.xmodmaprc (or add this in the autostart of XFce4)
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-10-04 12:20:24 UTC
I've never heard of "~/.xmodmaprc", but "~/.Xmodmap" should work if xmodmap is installed.

Can you point me to a location where it's documented .xmodmaprc is a valid alternative to .Xmodmap?
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-10-04 12:23:45 UTC
x11-apps/xinit only supports .Xmodmap:

$ qlist xinit | xargs grep xmodmaprc
$ qlist xinit | xargs grep Xmodmap
/etc/X11/xinit/xinitrc:usermodmap=$HOME/.Xmodmap
/etc/X11/xinit/xinitrc:sysmodmap=/etc/X11/xinit/Xmodmap
/etc/X11/Sessions/Xsession:usermodmap=$HOME/.Xmodmap 
/etc/X11/Sessions/Xsession:sysmodmap=/etc/X11/Xmodmap 
/etc/X11/Sessions/Xsession:rh6sysmodmap=/etc/X11/xinit/Xmodmap

and so does Xfce4:

$ qlist xfce-utils |xargs grep xmodmaprc
$ qlist xfce-utils |xargs grep Xmodmap
/etc/xdg/xfce4/xinitrc:test -r $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap


No references to xmodmaprc at all...
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-10-04 12:37:35 UTC
gdm also doesn't support .xmodmaprc, only .Xmodmap

$ grep -r xmodmaprc *
$ grep -r Xmodmap *
config/Xsession.in:usermodmap="$HOME/.Xmodmap"
config/Xsession.in:sysmodmap=/etc/X11/Xmodmap 
config/Xsession.in:rh6sysmodmap=/etc/X11/xinit/Xmodmap 
config/Init.in:sysmodmap=/etc/X11/Xmodmap

so I think it's safe to close this...