[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Shared libs, moduledir



On Tuesday 07 August 2001 22:21, Michael Schuerig wrote:
> On Tuesday 07 August 2001 21:18, Achim Bohnet wrote:
> > I personally don't like to do system wide config with environment
> > variables. User can use kdm or gdm,  Bourne or C shell like login
> > shells, or login via ssh, rsh , telnet etc. to start kde applicatins.
> >  So I prefer the system.kdeglobals or kderc.  It's more to type but
> > it is where kde always looks.
> 
> I'm not sure I really understand how it works with system.kdeglobals 
> and kderc.

Same here :(  I still don't understand why /usr/share/config/system.kdeglobals
is used (compiled in) and not /etc/kde2 despite the fact that kde_confdir is
set during configure of the kde packages.

AFAIU kderc, system.kdeglobals and ~/.kderc (never tried)
have a [Directories] group with items like

dir_XXXX=/path/to/additional/dir

with XXXX out of the list generated by  kde-config --types

/etc/kderc is used by all kde installation (will see if/how "Ivan's"
        /etc/kderc breaks a binary incompatible cvs-build that depends on QT3 >:}
<prefix>/share/config/system.kdeglobals is used by all kde apps build with
	configure --prefix=<prefix> (or similar).
~/.kderc is used for all different kde builds a user may use (e.g., Ivans and
	a cvs build)
??? never checked if the is a similar config file for $KDEHOME/share/config
 
> How about an "additive" mechanism, where global settings are read from 
> a standard KDE config file and local or per user additions are read 
> from (if present) /etc/kde2/kde.local and ~/.kderc?

Lost the thread, sorry. The goal is a mini-howto, right? Something like
how a sys admin can integrate additional kde tools that he/she added
to a, e.g., /usr/local/opt/kde2 tree and similar for a user added
kde tools to a, e.g., ~/mykde tree.  I never used these variants,
maybe other can report how they did it.

I only have Ivans KDE debs and a parallel cvs build.  I use

	rm /etc/kderc
	mkdir /usr/share/config
	ln -s /etc/kde2/system.kdeglobals /usr/share/config/

and a /usr/bin/kde-cvs script that I add to kdms session menu.
This script sets the PATH, KDEHOME different form ~/.kde (just to be sure ;)
and starts startkde (from the cvs tree).

Achim
> 
> Michael
> 
> -- 
> Michael Schuerig                   GPG Fingerprint
> mailto:schuerig@acm.org            DA28 7DEB 5856 3365 BED9
> http://www.schuerig.de/michael/    8365 0A30 545A 82D2 05D7
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-kde-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 
> 

-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- reddy@lion.austin.ibm.com



Reply to: