kdmtheme module can not apply changes

Bug #148706 reported by Dorian Pula
46
Affects Status Importance Assigned to Milestone
kde-systemsettings (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: kde-systemsettings

System settings does not allow for any changes in the KDM Theme Manager.

Reproduced by:
1.) Install kdmtheme and kde-kdm-themes
2.) Startup System Settings.
3.) Appearence > KDM Theme Manager
4.) Click the Administrator Mode... button. And enter admin mode.
5.) Check Enable KDM Themes.
6.) Select a theme.
7.) Can not click the Apply button.

Expected behaviour:
The Apply button becomes enabled, and a new theme is applied to KDM after logout.

System information:
Kubuntu 7.10 Gutsy Beta

Version Information:
kubuntu-desktop: 1.56
kdm: 4:3.5.7-1ubuntu26
kdmtheme: 1.2-0ubuntu1
kde-core: 5:47
kde-guidance: 0.8.0svn20070928-0ubuntu2
kde-systemsettings: 0.0svn20070312-0ubuntu3

Revision history for this message
dMk (dennismk-gmail) wrote :

I have the same problem. I also tried to change values manually (changing "Theme=/usr/share/apps/kdm/themes/true-nature" and "UseTheme=True" in /etc/kde3/kdm/kdmrc), but nothing happens.

System information:
Kubuntu 7.10 Gutsy Beta

Version Information:
kubuntu-desktop: 1.56
kdm: 4:3.5.7-1ubuntu26
kdmtheme: 1.2-0ubuntu1
kde-core: 5:47
kde-guidance: 0.8.0svn20070928-0ubuntu2
kde-systemsettings: 0.0svn20070312-0ubuntu3

Revision history for this message
dMk (dennismk-gmail) wrote :

sorry, manual changing is working, I just needed to restart my pc.

Revision history for this message
slon (generesnik) wrote :

Yep! I have this problem too. Disabling themes is ignored and it also doesn't import/install new themes. In short it doesn't do anything at all. Should I file another bug for it?

Up-to-date Gutsy.

Revision history for this message
Dorian Pula (dorian-pula-deactivatedaccount) wrote :

I am guessing that disabling themes and import/install of new themes, probably stems from the same problem.

Revision history for this message
slon (generesnik) wrote :

As run from CLI.

$ kcmshell kdmtheme
passprompt

Error: "/var/tmp/kdecache-g00fy" is owned by uid 1000 instead of uid 0.

Error: "/tmp/ksocket-g00fy" is owned by uid 1000 instead of uid 0.

kcmshell: Fatal IO error: client killed

X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 113
  Minor opcode: 0
  Resource id: 0x3800007
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 10
  Minor opcode: 0
  Resource id: 0x3800007
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 7
  Minor opcode: 0
  Resource id: 0x3800007
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 6
  Minor opcode: 0
  Resource id: 0x3800007
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 25
  Minor opcode: 0
  Resource id: 0x3800007

Revision history for this message
quazgar (quazgar) wrote :

Confirmed by me (in "stable" gutsy) and at least two other bug reports (now marked as duplicates)

Changed in kde-systemsettings:
status: New → Confirmed
Revision history for this message
Reuben Firmin (reubenf) wrote :

Confirm, as one of the other bug filers.

Revision history for this message
Stefan Skotte (screemo) wrote :

I just installed the final version of kubuntu 7.10, and followed the instructions provided in the first post:

1.) Install kdmtheme and kde-kdm-themes
2.) Startup System Settings.
3.) Appearance > KDM Theme Manager
4.) Click the Administrator Mode... button. And enter admin mode.
5.) Check Enable KDM Themes. <--- this button is enabled default by kdmtheme code! *
6.) Select a theme. <--- the list is active and allow selections
7.) Can not click the Apply button. <--- as needed the apply button is triggered when you select other than the currently active theme.

kdmtheme in kubuntu uses /etc/kdm.d/20-* as default settings, and 30-* as customized.

This is the permissions on the files in my default install:

/etc/default/:

drwxr-xr-x 2 root root 4096 2007-10-22 11:38 kdm.d

/etc/default/kdm.d/:

-rw-r--r-- 1 root root 159 2007-10-12 17:06 20_kubuntu_default_settings
-rw-r--r-- 1 root root 171 2007-10-22 11:38 30_kubuntu_default_settings

20_kubuntu_default_settings:

USETHEME="true"
THEME="/usr/share/apps/kdm/themes/kubuntu"
USEBACKGROUND="true"
WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"
USESYSTEMLOCALE="true"

30_kubuntu_default_settings (is there since I've selected to use the kubuntu theme without the userlist):
THEME="/usr/share/apps/kdm/themes/kubuntu-no-userlist"
USEBACKGROUND="true"
USESYSTEMLOCALE="true"
USETHEME="true"
WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"

Could you check your permissions on the abovementioned files and report that back please.

Revision history for this message
Stefan Skotte (screemo) wrote :

I should note that this works on my tribe5->final upgraded machine as well.

Revision history for this message
dMk (dennismk-gmail) wrote : Re: [Bug 148706] Re: kdmtheme module can not apply changes

/etc/default
drwxr-xr-x 2 root root 4096 2007-10-22 21:51 kdm.d

/etc/default/kdm.d
-rw-r--r-- 1 root root 159 2007-09-28 14:34 20_kubuntu_default_settings
-rw-r--r-- 1 root root 163 2007-10-22 21:51 30_kubuntu_default_settings

On Mon, 2007-10-22 at 09:54 +0000, Stefan Skotte wrote:
> I just installed the final version of kubuntu 7.10, and followed the
> instructions provided in the first post:
>
> 1.) Install kdmtheme and kde-kdm-themes
> 2.) Startup System Settings.
> 3.) Appearance > KDM Theme Manager
> 4.) Click the Administrator Mode... button. And enter admin mode.
> 5.) Check Enable KDM Themes. <--- this button is enabled default by kdmtheme code! *
> 6.) Select a theme. <--- the list is active and allow selections
> 7.) Can not click the Apply button. <--- as needed the apply button is triggered when you select other than the currently active theme.
>
> kdmtheme in kubuntu uses /etc/kdm.d/20-* as default settings, and 30-*
> as customized.
>
> This is the permissions on the files in my default install:
>
> /etc/default/:
>
> drwxr-xr-x 2 root root 4096 2007-10-22 11:38 kdm.d
>
> /etc/default/kdm.d/:
>
> -rw-r--r-- 1 root root 159 2007-10-12 17:06 20_kubuntu_default_settings
> -rw-r--r-- 1 root root 171 2007-10-22 11:38 30_kubuntu_default_settings
>
> 20_kubuntu_default_settings:
>
> USETHEME="true"
> THEME="/usr/share/apps/kdm/themes/kubuntu"
> USEBACKGROUND="true"
> WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"
> USESYSTEMLOCALE="true"
>
> 30_kubuntu_default_settings (is there since I've selected to use the kubuntu theme without the userlist):
> THEME="/usr/share/apps/kdm/themes/kubuntu-no-userlist"
> USEBACKGROUND="true"
> USESYSTEMLOCALE="true"
> USETHEME="true"
> WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"
>
> Could you check your permissions on the abovementioned files and report
> that back please.

Revision history for this message
Stefan Skotte (screemo) wrote :

Could you try to run kcmshell as root without using kdesudo ?

# sudo -s
# kcmshell kdmtheme

Also please paste your contents of the 20/30_kubuntu_default_settings also.

Revision history for this message
dMk (dennismk-gmail) wrote :

On Mon, 2007-10-22 at 18:39 +0000, Stefan Skotte wrote:
> Could you try to run kcmshell as root without using kdesudo ?
> # sudo -s
> # kcmshell kdmtheme

It says:
Error: "/var/tmp/kdecache-dmk" is owned by uid 1000 instead of uid 0.

dmk is my username

> Also please paste your contents of the 20/30_kubuntu_default_settings
> also.

20:
USETHEME="true"
THEME="/usr/share/apps/kdm/themes/kubuntu"
USEBACKGROUND="true"
WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"
USESYSTEMLOCALE="true"

30:
THEME="/usr/share/apps/kdm/themes/true-nature"
USEBACKGROUND="true"
USESYSTEMLOCALE="true"
USETHEME="true"
WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"

BTW, I can apply changes and they are updated in
"30_kubuntu_default_settings", but at the start I see "circles" theme
(instead of true-nature), manually set about 3 weeks ago (I even don't
remember how I done it)

Revision history for this message
dMk (dennismk-gmail) wrote : [Fwd: Re: [Bug 148706] Re: kdmtheme module can not apply changes]

I just remember - I've changed
"Theme=/usr/share/apps/kdm/themes/Circles" and "UseTheme=True"
in /etc/kde3/kdm/kdmrc

On Mon, 2007-10-22 at 18:39 +0000, Stefan Skotte wrote:
> Could you try to run kcmshell as root without using kdesudo ?
> # sudo -s
> # kcmshell kdmtheme

It says:
Error: "/var/tmp/kdecache-dmk" is owned by uid 1000 instead of uid 0.

dmk is my username

> Also please paste your contents of the 20/30_kubuntu_default_settings
> also.

20:
USETHEME="true"
THEME="/usr/share/apps/kdm/themes/kubuntu"
USEBACKGROUND="true"
WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"
USESYSTEMLOCALE="true"

30:
THEME="/usr/share/apps/kdm/themes/true-nature"
USEBACKGROUND="true"
USESYSTEMLOCALE="true"
USETHEME="true"
WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"

BTW, I can apply changes and they are updated in
"30_kubuntu_default_settings", but at the start I see "circles" theme
(instead of true-nature), manually set about 3 weeks ago (I even don't
remember how I done it)

Revision history for this message
Stefan Skotte (screemo) wrote :

Could you please change it back to this ?:

Theme=@@@ToBeReplacedByDesktopBase@@@

and remove

UseTheme=True

Retry the steps for changing etc., and remember to restart kdm
afterwards/ or reboot.

dMk wrote:
> I just remember - I've changed
> "Theme=/usr/share/apps/kdm/themes/Circles" and "UseTheme=True"
> in /etc/kde3/kdm/kdmrc
>
>
> On Mon, 2007-10-22 at 18:39 +0000, Stefan Skotte wrote:
>> Could you try to run kcmshell as root without using kdesudo ?
>> # sudo -s
>> # kcmshell kdmtheme
>
> It says:
> Error: "/var/tmp/kdecache-dmk" is owned by uid 1000 instead of uid 0.
>
> dmk is my username
>
>> Also please paste your contents of the 20/30_kubuntu_default_settings
>> also.
>
> 20:
> USETHEME="true"
> THEME="/usr/share/apps/kdm/themes/kubuntu"
> USEBACKGROUND="true"
> WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"
> USESYSTEMLOCALE="true"
>
> 30:
> THEME="/usr/share/apps/kdm/themes/true-nature"
> USEBACKGROUND="true"
> USESYSTEMLOCALE="true"
> USETHEME="true"
> WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"
>
> BTW, I can apply changes and they are updated in
> "30_kubuntu_default_settings", but at the start I see "circles" theme
> (instead of true-nature), manually set about 3 weeks ago (I even don't
> remember how I done it)
>

Revision history for this message
dMk (dennismk-gmail) wrote : Re: [Fwd: Re: [Bug 148706] Re: kdmtheme module can not apply changes]

On Mon, 2007-10-22 at 19:33 +0000, Stefan Skotte wrote:
> Could you please change it back to this ?:
> Theme=@@@ToBeReplacedByDesktopBase@@@
> and remove
> UseTheme=True
>
> Retry the steps for changing etc., and remember to restart kdm
> afterwards/ or reboot.
>

I've changed it back, restarted kdm and I saw a default logon screen as
configured in System Settings -> Login Manager, and there is no themes.

Revision history for this message
miraks (s-mankowski) wrote : Re: [Bug 148706] Re: kdmtheme module can not apply changes

Hi,
Here is the permissions on my files:

 ls -l /etc/default/kdm.d
total 8
-rw-r--r-- 1 root root 159 2007-09-28 10:34 20_kubuntu_default_settings
-rw-r--r-- 1 root root 159 2007-10-18 20:19 30_kubuntu_default_settings

 cat /etc/default/kdm.d/20_kubuntu_default_settings
USETHEME="true"
THEME="/usr/share/apps/kdm/themes/kubuntu"
USEBACKGROUND="true"
WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"
USESYSTEMLOCALE="true"

cat /etc/default/kdm.d/30_kubuntu_default_settings
THEME="/usr/share/apps/kdm/themes/Krystal"
USEBACKGROUND="true"
USESYSTEMLOCALE="true"
USETHEME="true"
WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"

Stefan Skotte a écrit :
> I just installed the final version of kubuntu 7.10, and followed the
> instructions provided in the first post:
>
> 1.) Install kdmtheme and kde-kdm-themes
> 2.) Startup System Settings.
> 3.) Appearance > KDM Theme Manager
> 4.) Click the Administrator Mode... button. And enter admin mode.
> 5.) Check Enable KDM Themes. <--- this button is enabled default by kdmtheme code! *
> 6.) Select a theme. <--- the list is active and allow selections
> 7.) Can not click the Apply button. <--- as needed the apply button is triggered when you select other than the currently active theme.
>
> kdmtheme in kubuntu uses /etc/kdm.d/20-* as default settings, and 30-*
> as customized.
>
> This is the permissions on the files in my default install:
>
> /etc/default/:
>
> drwxr-xr-x 2 root root 4096 2007-10-22 11:38 kdm.d
>
> /etc/default/kdm.d/:
>
> -rw-r--r-- 1 root root 159 2007-10-12 17:06 20_kubuntu_default_settings
> -rw-r--r-- 1 root root 171 2007-10-22 11:38 30_kubuntu_default_settings
>
> 20_kubuntu_default_settings:
>
> USETHEME="true"
> THEME="/usr/share/apps/kdm/themes/kubuntu"
> USEBACKGROUND="true"
> WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"
> USESYSTEMLOCALE="true"
>
> 30_kubuntu_default_settings (is there since I've selected to use the kubuntu theme without the userlist):
> THEME="/usr/share/apps/kdm/themes/kubuntu-no-userlist"
> USEBACKGROUND="true"
> USESYSTEMLOCALE="true"
> USETHEME="true"
> WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"
>
> Could you check your permissions on the abovementioned files and report
> that back please.
>
>

Revision history for this message
miraks (s-mankowski) wrote :

So am I:
sudo kcmshell kdmtheme
X Error: BadDevice, invalid or uninitialized input device 158
  Major opcode: 146
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 158
  Major opcode: 146
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
Error: "/var/tmp/kdecache-s" is owned by uid 1000 instead of uid 0.

dMk a écrit :
> On Mon, 2007-10-22 at 18:39 +0000, Stefan Skotte wrote:
>
>> Could you try to run kcmshell as root without using kdesudo ?
>> # sudo -s
>> # kcmshell kdmtheme
>>
>
> It says:
> Error: "/var/tmp/kdecache-dmk" is owned by uid 1000 instead of uid 0.
>
> dmk is my username
>
>
>> Also please paste your contents of the 20/30_kubuntu_default_settings
>> also.
>>
>
> 20:
> USETHEME="true"
> THEME="/usr/share/apps/kdm/themes/kubuntu"
> USEBACKGROUND="true"
> WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"
> USESYSTEMLOCALE="true"
>
> 30:
> THEME="/usr/share/apps/kdm/themes/true-nature"
> USEBACKGROUND="true"
> USESYSTEMLOCALE="true"
> USETHEME="true"
> WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"
>
> BTW, I can apply changes and they are updated in
> "30_kubuntu_default_settings", but at the start I see "circles" theme
> (instead of true-nature), manually set about 3 weeks ago (I even don't
> remember how I done it)
>
>

Revision history for this message
JW (arch0njw) wrote :

This is exactly the problem I'm having that I reported here (sorry for the duplicate): https://bugs.launchpad.net/ubuntu/+source/kcontrol-kdmtheme/+bug/157086

I also tried editing my "/etc/kde3/kdm/kdmrc" and I was then able to get the kdm themes to work. Without doing that, no love. Here are my 20' and 30' default settings files from /etc/default/kdm.d

$ cat 20_kubuntu_default_settings
USETHEME="true"
THEME="/usr/share/apps/kdm/themes/kubuntu"
USEBACKGROUND="true"
WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"
USESYSTEMLOCALE="true"

$ cat 30_kubuntu_default_settings
THEME="/usr/share/apps/kdm/themes/Human"
USEBACKGROUND="true"
USESYSTEMLOCALE="true"
USETHEME="true"
WALLPAPER="/usr/share/wallpapers/kubuntu-wallpaper.png"

I also tried sudo kcmshell kdmtheme and here are the results:

$ sudo kcmshell kdmtheme
Error: "/var/tmp/kdecache-jwheaton" is owned by uid 1000 instead of uid 0.

Revision history for this message
klerfayt (klerfayt-deactivatedaccount) wrote :

hi there seems to be described two different bugs in replies:
1)the bug that original reporter describes as "not functioning kdmtheme manager" is fixed with 1.2.2 version:
http://kde-apps.org/content/show.php/KDM+Theme+Manager?content=22120
(which I have trouble compiling ...)

2)the other bug is actually independent of this and can't really be considered a bug:
the changes applied to kdm settings will only be visible after reboot or after "sudo /etc/init.d/kdm restart" (one example of not applying changes after you log out: try to set manually path to different kdm theme - changes will not be visible if you log out)
workaround to get old behaviour back:
sudo mv /etc/default/kdm.d/20_kubuntu_default_settings /somewhere
add "UseTheme=True" and "Theme=/usr/share/apps/kdm/themes/your\ favorite\ theme" to /etc/kde3/kdm/kdmrc

Revision history for this message
klerfayt (klerfayt-deactivatedaccount) wrote :

btw. what's the point of /etc/default/kdm.d/20_kubuntu_default_settings file anyway?

Revision history for this message
klerfayt (klerfayt-deactivatedaccount) wrote :

the other bug described here, not related to kdmtheme module:
#132723

Changed in kde-systemsettings:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.