Re: [kde] Default values for ~/.kde/share/config/kdeglobals?



On Friday 31 March 2006 15:11, Niki Kovacs wrote:

So things are as they should *normally* be, e. g. first search the user's
home directory for a config file, and if it's not there, take what you find
in /opt/kde/share/config.

Now what I want to do is invert this, e. g. put /opt/kde/share/config ahead
of the search path, *before* ~/.kde/share/config... any idea how I could
achieve this? Because that's what my problem amounts to.

No, you definitely don't want to do that.
If you want to make local overrides ineffective, just mark the setting in
question, the group it belongs to or the file it is in as immutable bei
either adding [$i] after the key (before the = sign), after the group
brackets or at the file's first line.

However I do not understand why you want to restrict the settings from
kdeglobal.
My initial understanding was that you just want to have better defaults, so if
you have a suitable kdeglobals in the installation config directory and no
overrides in the user directories, you should have the new defaults.

Cheers,
Kevin

--
Kevin Krammer <kevin.krammer@xxxxxx>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org

Attachment: pgphs2YJICzN7.pgp
Description: PGP signature

___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Relevant Pages

  • Re: proftp or wu-ftp?
    ... I can't log in under any other user period. ... > this may be due to the fact that I have a home directory on this ... Have you tested your pam_ldap setup with other services to make sure it ... "AuthPAM on" is in your config file. ...
    (Debian-User)
  • use lib "mylibrary" question and general config file...
    ... I therefore put my main variables in a file "myconfig.rc" Then I load ... the variables in my perl script using a loadConf sub. ... How is it possible to load the path/to/my/classes from a config file? ... I cannot put it in the home directory as the program is likely ...
    (comp.lang.perl.misc)
  • Re: Reasonable defaults for backup software
    ... Disclaimer: I'm running Debian.. ... managers, shells, irc clients, whatever) will check in the home directory of the user who is running the program for a local config file. ... intervals would be nice, so that the user can backup things on an appropriate scale (things that change daily backup daily, things that don't often change back up weekly, etc). ...
    (comp.os.linux.development.apps)
  • Re: batch modify user config files
    ... > Is there a way to write a bash script to ... > append a line of text to each user's ... > config file in their home directory? ...
    (Debian-User)
  • Re: XFree86 Config (continued)
    ... >> Do I have the config file in the right place? ... > Copy the file '.xinitrc' from root's home directory to the respective user's ... To make it a system-wide default which can be overridden by each user, ... their own overrides the default. ...
    (freebsd-questions)