LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   current branch: kde 3.4 and kdm (https://www.linuxquestions.org/questions/slackware-14/current-branch-kde-3-4-and-kdm-307070/)

tobyl 03-28-2005 01:18 PM

current branch: kde 3.4 and kdm
 
current users:
Most of the mirrors have the kde 3.4 updates now.

The use of the xservers file in /opt/kde/share/config/kdm is now discontinued.
I found that a new kdmrc file was needed as the old one did not get updated properly,
and some of the options are out of date.
If you, like me, used to add the -nolisten tcp option to the xservers file, you will be glad
to know that the option is now enabled by default, but you still need the new config.

I found that running (as root)

/opt/kde/bin/genkdmconf --no-old --no-old-scripts

generated the required files

(YMMV etc etc)

tobyl

edit: this only affects kdm login manager users. If you use startx or some other login manager, its pretty irrelevant :-)

cathectic 03-29-2005 10:55 AM

The problem is that by replacing Pat's customized /opt/kde/share/config/kdm/Xsession file with it's own after running that command, KDM no longer loads /usr/X11R6/lib/xinit/.Xmodmap and I don't think it handles loading the users' profile settings correctly.

tobyl 03-29-2005 12:15 PM

thanks for your feedback, cathectic.

If the command causes a problem, it is easy to go back, as the original files are saved with .bak extensions in the same dir. I should have mentioned that.

my system was not affected in the way you suggest.

However as far as I could tell, no mention of .Xmodmap occurs in /opt/kde/share/config/kdm/* - in my case, this is all done from ~/.xinitrc



here's mine:

-------------------------------------------------------------------------------------------

#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws 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

------------------------------------------------------------------------------------------------
of course other set-up's may be different.



regards, tobyl


All times are GMT -5. The time now is 12:06 AM.