Bug 351489 - Can't change cursor theme on SDDM settings
Summary: Can't change cursor theme on SDDM settings
Status: RESOLVED DOWNSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_sddm (show other bugs)
Version: 5.3.90
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-19 16:45 UTC by jeremy9856
Modified: 2015-09-17 10:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jeremy9856 2015-08-19 16:45:12 UTC
You can't change cursor theme on SDDM settings. At first the cursor theme seems to be set but if you close the settings and go back, the old cursor theme is back.

Reproducible: Always
Comment 1 jeremy9856 2015-08-19 16:45:38 UTC
Kubuntu 15.10 - Plasma 5.3.95
Comment 2 jeremy9856 2015-09-07 16:03:45 UTC
Still here on Kubuntu 15.10 - Plasma 5.4
Comment 3 Wolfgang Bauer 2015-09-07 22:03:45 UTC
Changing the cursor theme works fine here (openSUSE 13.2, Plasma 5.4.0, but it was the same in 5.3 already), and it is saved correctly.

But the config module always displays the same cursor theme on start, regardless of what is actually saved.

Might this be your problem, too?
Have a look in /etc/sddm.conf.
Comment 4 jeremy9856 2015-09-08 05:52:00 UTC
It's not saved correctly here on Kubuntu 15.10

This is the content /etc/sddm.conf

[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=
RebootCommand=

[Theme]
CursorTheme=Vanilla-DMZ

[Users]
MaximumUid=65000
MinimumUid=1000

I will report it to Kubuntu
Comment 5 Wolfgang Bauer 2015-09-09 21:56:23 UTC
(In reply to jeremy9856 from comment #4)
> It's not saved correctly here on Kubuntu 15.10
Ok, then it's a different problem.

Just one thought:
It needs root privileges to save the settings.
Does it actually ask for the root password (or maybe user password, no idea how that is setup on Kubuntu) when you click OK or Apply?
Maybe that might be the problem.

> [Theme]
> CursorTheme=Vanilla-DMZ
So I take it that is *not* the cursor theme you set, right?
Comment 6 jeremy9856 2015-09-11 06:04:04 UTC
What make me say that it's not saved correctly is that there is not the wallpaper I tried to set.
I didn't notice but I choose DMZ cursor (I don't know if its name is Vanilla-DMZ) so that may be correctly saved ?

I confirm that it ask for the root password when I click OK or Apply.
Comment 7 jeremy9856 2015-09-11 06:35:09 UTC
I tested on Kaos and it seem to be the same
Comment 8 Wolfgang Bauer 2015-09-11 16:55:17 UTC
(In reply to jeremy9856 from comment #6)
> What make me say that it's not saved correctly is that there is not the
> wallpaper I tried to set.
But this bug report is about the cursor theme, not the wallpaper.

Btw, setting the wallpaper works fine here too. It isn't saved to /etc/sddm.conf though, but rather to /usr/share/sddm/themes/breeze/theme.conf.user (or whatever theme you use).
Or do you want to say that changing the wallpaper doesn't have any effect to the actual login screen?

> I didn't notice but I choose DMZ cursor (I don't know if its name is
> Vanilla-DMZ) so that may be correctly saved ?
I don't know what you have installed and selected.
I only have "DMZ" and "DMZ-AA" here.

Try setting another one and check whether /etc/sddm.conf has changed, I'd say.

> I confirm that it ask for the root password when I click OK or Apply.
Ok, then this is not the cause for your "problem".
Comment 9 jeremy9856 2015-09-12 08:50:22 UTC
Sorry for the lack of precision.

Of course I know that this bug report is about the cursor theme, not the wallpaper. But there is also a problem to change the wallpaper (https://bugs.kde.org/show_bug.cgi?id=344867) and I thought that if I didn't see the modified wallapaper in /etc/sddm.conf that meant that the settings was not saved at all.

It seems to work now with the latest update. I didn't change anything, just tried to change again the cursor theme after the update. This is what it is saved now:

[Theme]
CursorTheme=DMZ-White

I guess it was a problem in Kubuntu. Thank you.
Comment 10 Wolfgang Bauer 2015-09-17 10:15:15 UTC
(In reply to jeremy9856 from comment #9)
> Of course I know that this bug report is about the cursor theme, not the
> wallpaper. But there is also a problem to change the wallpaper
> (https://bugs.kde.org/show_bug.cgi?id=344867) and I thought that if I didn't
> see the modified wallapaper in /etc/sddm.conf that meant that the settings
> was not saved at all.

Well, as I wrote, the configured wallpaper is saved to /usr/share/sddm/themes/xxx/theme.conf.user, not sddm.conf.

As I understand that other bug report though, the only problem is that sddm might not be able to actually load the wallpaper because of file/directory permissions (the greeter runs as unprivileged user "sddm" normally).

> It seems to work now with the latest update. I didn't change anything, just
> tried to change again the cursor theme after the update.

Good to hear!

Btw, the problem that it doesn't show the configured cursor theme correctly should also be fixed in 5.4.2, see Bug#344592 ;-)