[opensuse-kde] /usr/share/kde4/config/kdm/kdmrc
What's the trick to make changes to this file stick through invocations of genkdmconf? Invoking genkdmconf keeps commenting out these two lines: #Theme=/usr/share/kde4/apps/kdm/themes/openSUSE #AllowShutdown=All This is no good since the actual defaults are apparently a "SUSE" theme (which doesn't exist and hence kdm doesn't start) and "root", which will put up a pesky password box that doesn't actually accept a password when I try to do a shutdown from my session. I have linked /var/adm/kdm/kdmrc.sysconfig to /dev/null to get rid of those pesky warnings that there are multiple sections of whatever in the config. If I don't do that kdm starts with the KDE theme... Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf Blofeld V1.15B11: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
On Tue, 11 Sep 2012 21:07, Achim Gratz
What's the trick to make changes to this file stick through invocations of genkdmconf? Invoking genkdmconf keeps commenting out these two lines:
#Theme=/usr/share/kde4/apps/kdm/themes/openSUSE #AllowShutdown=All
This is no good since the actual defaults are apparently a "SUSE" theme (which doesn't exist and hence kdm doesn't start) and "root", which will put up a pesky password box that doesn't actually accept a password when I try to do a shutdown from my session.
I have linked /var/adm/kdm/kdmrc.sysconfig to /dev/null to get rid of those pesky warnings that there are multiple sections of whatever in the config. If I don't do that kdm starts with the KDE theme...
To get ugly: a.) replace genkdmconf with a copy of /bin/true, and make it immutable via extended file attributes b.) make /usr/share/kde4/config/kdm/kdmrc immutable, same way Use a "better way", modify /etc/sysconfig/displaymanager to: i.) point to a existing theme: DISPLAYMANAGER_KDM_THEME="openSUSE" ii.) let all do the shutdown: DISPLAYMANAGER_SHUTDOWN="all" Or: log a bug at bnc to remove that behavior from genkdmconf and to correct /etc/sysconfig/displaymanager . -- Yamaban -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
Yamaban writes:
To get ugly:
a.) replace genkdmconf with a copy of /bin/true, and make it immutable via extended file attributes b.) make /usr/share/kde4/config/kdm/kdmrc immutable, same way
c) link SUSE->openSUSE in the themes directory. There must be a more gentle way to do this? Why must genkdmconf alter the file settings when it claims to have read in the config and it clearly is the same version of config that it started with?
Use a "better way", modify /etc/sysconfig/displaymanager to: i.) point to a existing theme: DISPLAYMANAGER_KDM_THEME="openSUSE" ii.) let all do the shutdown: DISPLAYMANAGER_SHUTDOWN="all"
I already have done that and until the update to 12.2 it worked. Now it doesn't anymore. So there's either been achange in how things should be configured or there's a regression. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
On 2012/09/11 21:59 (GMT+0200) Achim Gratz composed:
Yamaban wrote:
b.) make /usr/share/kde4/config/kdm/kdmrc immutable, same way
+1: When all else fails, chattr +i config files you don't want messed with by rude installation scripts.
Use a "better way", modify /etc/sysconfig/displaymanager to: i.) point to a existing theme: DISPLAYMANAGER_KDM_THEME="openSUSE" ii.) let all do the shutdown: DISPLAYMANAGER_SHUTDOWN="all"
I already have done that and until the update to 12.2 it worked. Now it doesn't anymore. So there's either been achange in how things should be configured or there's a regression.
I think if you look at a virgin 12.2 /etc/sysconfig/displaymanager you'll find interplay/overlap with kdmrc has been removed because someone has finally been trying to get some progress made on https://bugzilla.novell.com/show_bug.cgi?id=267903 I've not seen the problem you describe, but I don't use genkdmconf. I symlink /usr/share/kde4/config/kdm/kdmrc to /etc/kde/config/kdm/kdmrc so that it can be found where all global config files belong in /etc.[1] Then I edit it directly, and make an in place backup so that when changes are made that I didn't make I can easily figure out what they were and revert if necessary. A couple I always make are UseTheme=false and Theme=. What upstream provides for the basic look of the login manager are fine for me, making KDE look like KDE instead of something not KDE. [1] cf. https://bugzilla.novell.com/show_bug.cgi?id=651897 -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
Felix Miata writes:
I think if you look at a virgin 12.2 /etc/sysconfig/displaymanager you'll find interplay/overlap with kdmrc has been removed because someone has finally been trying to get some progress made on https://bugzilla.novell.com/show_bug.cgi?id=267903
Yes, that's why I have symlinked /var/adm/kdm/kdmrc -> /dev/null.
I've not seen the problem you describe, but I don't use genkdmconf.
I don't use it either, but some postinstall script does. Which means the next time kdm starts it fails to find the theme "SUSE" (because that is what is really the default and not "openSUSE" as genkdmconf seems to think). Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
participants (3)
-
Achim Gratz
-
Felix Miata
-
Yamaban