I have recently installed KDE 3.2, and I like it, but I have one problem.
Previously (with KDE 3.1.4), /etc/X11/xinit/xinitrc would get executed when X started, and run xmodmap on /usr/X11R6/lib/X11/xinit/.Xmodmap. Now it appears to not get run. I have symlinked xinitrc into ~/.kde/Autostart, but that only works locally, and I would like a neat global solution.
Currently I start kdm from /etc/inittab, with the line:
Code:
x:5:respawn:/opt/kde/bin/kdm
and my xinitrc looks like this:
Code:
#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
What I really want (I think) is to have X start on boot, and for xinitrc to load kdm, but if I substitute "startx" for "/opt/kde/bin/kdm" I get errors. Could anyone help?
Guy