Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79998 - KDE doesn't read /etc/X11/Xmodmap or ~/.Xmodmap when starting
Summary: KDE doesn't read /etc/X11/Xmodmap or ~/.Xmodmap when starting
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
Depends on:
Reported: 2005-01-29 14:15 UTC by Tom Felker
Modified: 2005-05-12 10:07 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Tom Felker 2005-01-29 14:15:52 UTC
I've read that /etc/X11/Xmodmap is the right place to put system-wide xmodmap settings.  (It's kinda ugly to make the mouse buttons work on a user-by-user basis.)  But nothing reads this when KDE starts up, so I have to add a command "xmodmap /etc/X11/Xmodmap" in my ~/.kde/Autostart/.  I don't believe it works to put the commands in ~/.Xmodmap either.

Reproducible: Always
Steps to Reproduce:
1.  Put something you need in /etc/X11/Xmodmap, (e.g. pointer = 1 2 3 6 4 5)
2.  Start KDE

Actual Results:  
The settings haven't been used (e.g. the mouse buttons aren't right).

Expected Results:  
The settings should have been used.

tom@eggbert Autostart $ emerge -pv xorg-x11 kde

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] x11-base/xorg-x11-  (-3dfx) (-3dnow) +bitmap-fonts -cjk
-debug -dlloader -dmx -doc +font-server -hardened -insecure-drivers +ipv6
-minimal (-mmx) +nls +opengl +pam -sdk (-sse) -static +truetype-fonts
+type1-fonts (-uclibc)-xprint +xv 0 kB
[ebuild   R   ] kde-base/kde-3.3.2  0 kB

Total size of downloads: 0 kB
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-17 03:51:05 UTC
Do you start the X server with 'startx', or with kdm/gdm?
Comment 2 Tom Felker 2005-02-17 12:43:51 UTC
I use KDM.
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-18 05:34:27 UTC
kdm has it's own method of starting the X server, which we don't customize.
I don't if it worth customizing it to read /etc/X11/Xmodmap, since by default
on Gentoo there's no default Xmodmap.

On the other side, you can make system-level customization by adding files to
/usr/kde/3.x/env/, that get sourced at startup.
Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2005-05-12 10:07:54 UTC
I think that /usr/kde/3.x/env/ is the way to go, it gives the possibility to customize at system level without modifying how kdm works...