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 03-28-2005, 01:18 PM   #1
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 50
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 :-)

Last edited by tobyl; 03-28-2005 at 02:06 PM.
 
Old 03-29-2005, 10:55 AM   #2
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 34
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.
 
Old 03-29-2005, 12:15 PM   #3
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Original Poster
Rep: Reputation: 50
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

Last edited by tobyl; 03-29-2005 at 12:18 PM.
 
  


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
compiling modele from kde branch yogeshm02 Linux - Software 5 10-07-2005 12:11 AM
X11 6.8.1 in slack-current branch r_jensen11 Slackware 19 09-30-2004 05:49 AM
kde 3.2: how to configure kdm to default to kde? slavix Debian 2 05-20-2004 05:18 PM
Gnome 2.6 in the current branch? (+Questions about Dropline) the who Slackware 6 05-06-2004 11:32 AM
kde/kdm mtunstall Linux - General 6 01-25-2002 04:07 AM


All times are GMT -5. The time now is 12:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration