Giter Club home page Giter Club logo

Comments (24)

fhdk avatar fhdk commented on August 16, 2024 2

Going over the Cinnamon VirtualBox I fiddled with I found that under the folder

/var/lib/AccountsService/users

will be created a file with the username. The contents of this file is

[org.freedesktop.DisplayManager.AccountsService]
BackgroundFile='/usr/share/backgrounds/cinnamon_default.jpg'

[User]
XSession=cinnamon
SystemAccount=False

So it seems that lightdm or slick-greeter - that is a bit unclear ATM - now stores the default session in a user preference file which includes the background.

So if one were to override and define a different login wall - this could be the place to override.

But I must say that I think it is a great change. I have tried to achieve the same consistency by different means - as I was using openbox.

from packages-community.

oberon-manjaro avatar oberon-manjaro commented on August 16, 2024 1

So are you saying that in openbox it is working normally?
Because that would mean the background issue is more Cinnamon related and not really slick-greeter...!

from packages-community.

Ste74 avatar Ste74 commented on August 16, 2024 1

I have started mate to see what happen .. only i need time to update the system because my ISP from yesterday break my speed .. only 1.5 M/b in download and 0.25 for upload .. Damn it Vodafone#@#!!

from packages-community.

Ste74 avatar Ste74 commented on August 16, 2024 1

In mate if i change the wallpaper with lightdm-settings all work fine .. is right set as new wallpaper ... tested now ...

from packages-community.

fhdk avatar fhdk commented on August 16, 2024 1

It is a recent change in the behavior but it only manifests on DE's which set the userbackground using dconf.

I think these are defaults installed with the Adwaita theme on my openbox system -checking dconf for picture-uri I find the keys

  • /org/gnome/desktop/screensaver/picture-uri
  • /org/gnome/desktop/background/picture-uri

So as I was speculating earlier - it is in fact a session defined behavior.

Might be good to inform users of affected DE's that it is not a bug but a feature ๐Ÿ˜† you all get what I mean ๐Ÿ˜„

from packages-community.

Ste74 avatar Ste74 commented on August 16, 2024

Uhmm seem a general problem ..
linuxmint/slick-greeter#80 (comment)

from packages-community.

oberon-manjaro avatar oberon-manjaro commented on August 16, 2024

I don't think that this would cause a real issue, but in any case I'd like to point out that the default config uses gtk- and icon-themes that are not dependencies. You cannot assume that they will be installed...
Best would probably be to leave the entries out, or use the coming default Manjaro themes, whatever they might be ;) Adapta? ...

from packages-community.

fhdk avatar fhdk commented on August 16, 2024

The idea was to make the greeter more independent.

[Greeter]
background=/usr/share/slick-greeter/slick-greeter.png
#theme-name=Breath-Dark
#icon-theme-name=Breath-Dark
draw-grid=false

I get what you mean by the greeter not having gtk-themes-breath as dependency.

I will fixed that - however the only real difference in the greeter display is the border on the password input box. Green with theme installed and blue without. As such it might not be that big issue at all. We could comment the lines thus to indicate the possibility exist.

By looking at the source it is evident that a lot of options exist but not present in the config.

Using Openbox
I can easily change the background picture to whatever is present in /usr/share/backgrounds and I can comment the lines with the theme and when I log out the background picture is changed and the theming removed.

I can then change back - logout - and the theming is changed again.

This is on Openbox - I have never fancied Cinnamon so I have not thought of testing it there.

But as it is a modifiable config it is assumed that it works no matter the DE.

So my conclusion - I cannot reproduce the behavior. I think you are looking at a Cinnamon behavior which for some reason does not respect the difference or may think it is a more consistent theming to use the same image for login and desktop. I do that initially for Openbox but has extended that behavior to the grub boot as well.

Yet again - that theming can be changed and the changes will be respected.

from packages-community.

fhdk avatar fhdk commented on August 16, 2024

Just a thought :)

linuxmint/slick-greeter#80 (comment)

Some of the settings in /etc/lightdm/slick-greeter.conf are respected only if there's a space before and after the = sign. Which is even more ridiculous as the official documentation only lists parameters without this space sign.

from packages-community.

oberon-manjaro avatar oberon-manjaro commented on August 16, 2024

Doesn't make a difference. Also, I have already completely removed the config file and had a new one created by Linuxmint's ligthdm-settings GUI. Still the wallpaper remains the desktop one ...

from packages-community.

oberon-manjaro avatar oberon-manjaro commented on August 16, 2024

How about awesome, mate, webdad, budgie and mate? Can you set the slick-greeter wallpaper there?
@Chrysostomus @codesardine

from packages-community.

Chrysostomus avatar Chrysostomus commented on August 16, 2024

I have not checked recently, but about a week ago the greeter wallpaper was still set in awesome edition

from packages-community.

oberon-manjaro avatar oberon-manjaro commented on August 16, 2024

I think the problem started later - at least with cinnamon...
downloading the openbox iso right now to check there

from packages-community.

fhdk avatar fhdk commented on August 16, 2024

Using Openbox

I tried to run slick-greeter -h and this sets a lot of defaults in dconf. The reason is to find the defaults and document them in slick-greeter.conf as the offcial documentation says nothing of that.

~ >>> slick-greeter -h                                                                                         
[+0.00s] DEBUG: settings.vala:155: Overriding dconf setting for background with /usr/share/backgrounds/manjaro-dog.png
[+0.00s] DEBUG: settings.vala:164: Resetting dconf setting for background-color to default
[+0.00s] DEBUG: settings.vala:164: Resetting dconf setting for logo to default
[+0.00s] DEBUG: settings.vala:164: Resetting dconf setting for other-monitors-logo to default
[+0.00s] DEBUG: settings.vala:164: Resetting dconf setting for theme-name to default
[+0.00s] DEBUG: settings.vala:164: Resetting dconf setting for icon-theme-name to default
[+0.00s] DEBUG: settings.vala:164: Resetting dconf setting for font-name to default
[+0.00s] DEBUG: settings.vala:164: Resetting dconf setting for play-ready-sound to default
[+0.00s] DEBUG: settings.vala:164: Resetting dconf setting for xft-hintstyle to default
[+0.00s] DEBUG: settings.vala:164: Resetting dconf setting for xft-rgba to default
[+0.00s] DEBUG: settings.vala:164: Resetting dconf setting for enable-hidpi to default
[+0.00s] DEBUG: settings.vala:182: Resetting dconf setting for draw-user-backgrounds to default
[+0.00s] DEBUG: settings.vala:173: Overriding dconf setting for draw-grid
[+0.00s] DEBUG: settings.vala:182: Resetting dconf setting for show-hostname to default
[+0.00s] DEBUG: settings.vala:182: Resetting dconf setting for show-power to default
[+0.00s] DEBUG: settings.vala:182: Resetting dconf setting for show-a11y to default
[+0.00s] DEBUG: settings.vala:182: Resetting dconf setting for show-clock to default
[+0.00s] DEBUG: settings.vala:182: Resetting dconf setting for show-keyboard to default
[+0.00s] DEBUG: settings.vala:182: Resetting dconf setting for show-quit to default
[+0.00s] DEBUG: settings.vala:182: Resetting dconf setting for xft-antialias to default
[+0.00s] DEBUG: settings.vala:182: Resetting dconf setting for activate-numlock to default
[+0.00s] DEBUG: settings.vala:200: Resetting dconf setting for xft-dpi to default
[+0.00s] DEBUG: settings.vala:218: Resetting dconf setting for hidden-users to default
[+0.00s] DEBUG: settings.vala:218: Resetting dconf setting for group-filter to default
[+0.00s] DEBUG: slick-greeter.vala:569: HiDPI support: auto
[+0.12s] DEBUG: slick-greeter.vala:601: Launched at-spi-bus-launcher. PID: 0
[+0.14s] DEBUG: slick-greeter.vala:610: Starting slick-greeter 1.1.4 UID=1000 LANG=en_US.utf8
[+0.14s] DEBUG: slick-greeter.vala:613: Setting cursor
[+0.14s] DEBUG: slick-greeter.vala:627: Loading command line options
Usage:
  slick-greeter [OPTIONโ€ฆ] - Slick Greeter

Help Options:
  -h, --help               Show help options
  --help-all               Show all help options
  --help-gtk               Show GTK+ Options

Application Options:
  -v, --version            Show release version
  --test-mode              Run in test mode
  --display=DISPLAY        X display to use

From this it looks like slick-greeter is indeed using the slick-greeter.conf to override dconf settings and writing defaults for those not in the .conf

The defaults as created by slick-greeter and read out with dconf-editor

[Greeter]
#activate-numlock=false
#background=''
#background-color='#000000'
#draw-grid=false
#draw-user-backgrounds=true
#enable-hidpi=auto
#font-name='Ubuntu 11'
#group-filter=[]
#hidden-users=[]
#high-contrast=false
#icon-theme-name='gnome'
#logo=''
#onscreen-keyboard=false
#other-monitors-logo=''
#play-ready-sound=''
#screen-reader=false
#show-a11y=true
#show-clock=true
#show-hostname=true
#show-keyboard=true
#show-power=true
#show-quit=true
#theme-name='Adwaita'
#xft-antialias=true
#xft-dpi=96.0
#xft-hintstyle=hintslight
#xft-rgba=rgb

from packages-community.

fhdk avatar fhdk commented on August 16, 2024

Using Openbox
As you have described you are using the lightdm-settings app - I find it strange that after using it the slick-greeter.conf is reduced to only the chosen settings.

Checking the dconf settings the background property is now empty but the conf file has the background set to the chosen wallpaper.

from packages-community.

oberon-manjaro avatar oberon-manjaro commented on August 16, 2024

Yes. The relevant question however is if the setting of the wallpaper is actually being respected by slick-greeter. Because in case of cinnamon, it's not! ๐Ÿ˜‰

from packages-community.

fhdk avatar fhdk commented on August 16, 2024

The relevant question however is of the setting of the wallpaper is actually being respected by slick-greeter.

That I can confirm - it does.
I think this is session related as it does not manifest when the user-session=openbox.

I can also confirm what you already know - slick-greeter does not respect neither slick-greeter.conf nor settings in dconf. What the cause if this weird behavior is most certainly a very strange issue.

Tried loading Cinnamon in VirtualBox.

On the first login - I get a MJR-tiles login screen.
After a logout the login background has changed.
This has not changed in the conf which still has the MJR-tiles but it is the desktop background that is shown.

When I look in dconf-editor /x/dm/slick-greeter/ I see that the background property is empty.

I change the background property to /usr/share/backgrounds/MJR-tiles.jpg and save the changes.

When dumping the dconf available for slick-greeter I get that it now contains the right path/to/image.

dconfi dump /x/dm/slick-greeter/
[/]
background='/usr/share/backgrounds/MJR-tiles.jpg`

When I logout is is still the desktop image shown - and when I reboot I expect the greeter to use MJR-tiles.jpg but it does not.

The issue that you are pulling hair on is very much re-createable but the issue is not related to slick-greeter but to lightdm-settings

For some weird reason the settings manager writes the changes to lightdm.conf in random places. I first noticed on my on machine that lines was misplaced.

I just checked with this Cinnamon install and in the end of the config these lines are placed

user-session=cinnamon
session-wrapper=/etc/lightdm/Xsession
#autologin-user=
#autologin-user-timeout=0
#pam-autologin-service=lightdm-autologin

Doing this - gives me this

[fh@manjaro-cinnamon ~]$ slick-greeter -h
[+0,03s] DEBUG: settings.vala:155: Overriding dconf setting for background with /usr/share/backgrounds/MJR-tiles.jpg
[+0,03s] DEBUG: settings.vala:155: Overriding dconf setting for background-color with #263138
[+0,03s] DEBUG: settings.vala:164: Resetting dconf setting for logo to default
[+0,03s] DEBUG: settings.vala:164: Resetting dconf setting for other-monitors-logo to default
[+0,03s] DEBUG: settings.vala:155: Overriding dconf setting for theme-name with Adapta-Nokto-Eta-Maia
[+0,03s] DEBUG: settings.vala:155: Overriding dconf setting for icon-theme-name with Vibrancy-Full-Dark-Teal
[+0,03s] DEBUG: settings.vala:155: Overriding dconf setting for font-name with 'Cantarell 11'
[+0,03s] DEBUG: settings.vala:164: Resetting dconf setting for play-ready-sound to default
[+0,03s] DEBUG: settings.vala:155: Overriding dconf setting for xft-hintstyle with hintfull
[+0,03s] DEBUG: settings.vala:164: Resetting dconf setting for xft-rgba to default
[+0,03s] DEBUG: settings.vala:155: Overriding dconf setting for enable-hidpi with auto
[+0,03s] DEBUG: settings.vala:182: Resetting dconf setting for draw-user-backgrounds to default
[+0,03s] DEBUG: settings.vala:173: Overriding dconf setting for draw-grid
[+0,03s] DEBUG: settings.vala:182: Resetting dconf setting for show-hostname to default
[+0,03s] DEBUG: settings.vala:182: Resetting dconf setting for show-power to default
[+0,03s] DEBUG: settings.vala:182: Resetting dconf setting for show-a11y to default
[+0,03s] DEBUG: settings.vala:182: Resetting dconf setting for show-clock to default
[+0,03s] DEBUG: settings.vala:182: Resetting dconf setting for show-keyboard to default
[+0,03s] DEBUG: settings.vala:182: Resetting dconf setting for show-quit to default
[+0,03s] DEBUG: settings.vala:173: Overriding dconf setting for xft-antialias
[+0,03s] DEBUG: settings.vala:182: Resetting dconf setting for activate-numlock to default
[+0,03s] DEBUG: settings.vala:200: Resetting dconf setting for xft-dpi to default
[+0,03s] DEBUG: settings.vala:218: Resetting dconf setting for hidden-users to default
[+0,03s] DEBUG: settings.vala:218: Resetting dconf setting for group-filter to default
[+0,03s] DEBUG: slick-greeter.vala:569: HiDPI support: auto
[+0,33s] DEBUG: slick-greeter.vala:601: Launched at-spi-bus-launcher. PID: 0
[+0,44s] DEBUG: slick-greeter.vala:610: Starting slick-greeter 1.1.4 UID=1000 LANG=en_DK.UTF-8
[+0,44s] DEBUG: slick-greeter.vala:613: Setting cursor
[+0,44s] DEBUG: slick-greeter.vala:627: Loading command line options

Rebooting and no change - I do this

[fh@manjaro-cinnamon ~]$ dconf dump /x/dm/slick-greeter/
[/]
theme-name='Adapta-Nokto-Eta-Maia'
enable-hidpi='auto'
font-name="'Cantarell 11'"
xft-hintstyle='hintfull'
background='/usr/share/backgrounds/MJR-tiles.jpg'
icon-theme-name='Vibrancy-Full-Dark-Teal'
draw-grid=false
xft-antialias=true
background-color='#263138'

So the configuration is correct.

I also manually have changed the default from /usr/share/slick-greeter/slick-greeter.png and that doesn't change a thing. It is the current wallpaper that is shown on every login.

After doing some experimenting it turns out that the setting

user-session=cinnamon

can be changed to something else but the system launches the greeter anyway and the setting seems to be ignored. Found that this is the users last selected sessiontype so not that.

from packages-community.

fhdk avatar fhdk commented on August 16, 2024

@Oberon2007
While researching I found this and it seems that what you see as a bug is seen as a feature.
It seems it is possible to apply some settings to control the behavior. Also there is some background and insight in the new behavior.

linuxmint/slick-greeter#94

Some updates to Ubuntu 18.04 'bionic' in the last month have broken the ability for slick-greeter to retrieve the user's background image and display it. This is true for lightdm-gtk-greeter as well, so this isn't a slick-greeter issue per-say but it will affect slick-greeter users for 18.04. It is hard to dig around to find where the problem is but I can confirm these things:

On Cinnamon the users selected background is stored in dconf so this feature affects those DE's which use dconf to store the users wallpaper where slick-greeter can retrieve it.

dconf dump /org/cinnamon/ | grep uri
picture-uri='file:///usr/share/backgrounds/cinnamon-brown.jpg'

from packages-community.

Ste74 avatar Ste74 commented on August 16, 2024

Happy to see you find the guilty.. Just a thing: lightdm-settings and slick-greeter are supposed to work as distro de indipendent so why this behaviour now?

from packages-community.

fhdk avatar fhdk commented on August 16, 2024

I think you can find reason for this behavior in the above mentioned issue.

from packages-community.

fhdk avatar fhdk commented on August 16, 2024

@Ste74

Just a thing: lightdm-settings and slick-greeter are supposed to work as distro de indipendent so why this behaviour now?

They still are distro independent - the behavior is just creating a consistent login experience - and if you ensure that your default login wall is identical to your default desktop wall - the user will get a much more streamlined OOBE.

from packages-community.

Ste74 avatar Ste74 commented on August 16, 2024

Yes you're right, but a small changelog of the changes to explain the change ?? How long would it take the mint team? ๐Ÿ˜‰

from packages-community.

codesardine avatar codesardine commented on August 16, 2024

from packages-community.

oberon-manjaro avatar oberon-manjaro commented on August 16, 2024

Patched lightdm-settings and adjusted slick-greeter gschema for our packages now.

from packages-community.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.