-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Session options after saving changes #42
Comments
Hello! The combobox in the autologin tab takes the list of session files from X11 and Wayland sections (SessionDir settings in each, you can see them in the last File tab as preview), so if the dirs set in the related tabs are correct (those are the first text fields with the folder button on the right in each of the above tabs) and you see no choices or wrong files or as you say there are no choices in the SDDM greater, then there seems to be a bug I'm not aware of (unless it has to do with #41). If the choices are there but it's just that none are selected is because no choice means to use the last used previously (it should be described in the text label above the combobox), so the resulting setting is empty: [Autologin]
Session=
[Wayland]
SessionDir=/usr/share/wayland-sessions
[X11]
SessionDir=/usr/share/xsessions Can you please provide the file here so I can take a look? |
I can confirm that setting up the Wayland and X11 session, in their respective tabs, solves the problem. I find strange the way the sddm specification has set it up, because before changes (in the original file), there are 2 directories in each option:
As you stated in your previous comment, setting the options to only that directory, makes the sddm.conf work, and the /usr/local/.... ones seems to not contain anything in my case. I left untouched the autologin tab, since i do not use autologin. I provide in here both sddm.conf, the one that i used to have (backup), and the one which is generated after using sddm-conf (setting up the session paths inside the program, so it works now). There are some diffefences in other minor arguments, but overall the important thing is what has been described (check the |
Made some tests, no file, used sddm-conf to set a theme and could not reproduce with Only if users clear the path for files in To be on the safe side we could avoid writing empty settings maybe? To restore defaults it's enough to remove or rename `/etc/sddm.conf '. |
I do not know how sddm configs work in other distributions, just checked for debian and ubuntu, and they use the same path for X11 and Wayland sessions:
https://manpages.debian.org/testing/sddm/sddm.conf.5.en.html Maybe making the sessions values to be :
by default, instead of a empty string? |
that is what #41 points out: currently sddm-conf manage a single path, so using more comma separated ones will result in a malformed file path, so I should manage it as a "string array" (QStringList) so that we can set the default, 2 paths directories. |
I don't think it could be enough, one can set also a wrong directory, otherwise I have to change the way to to add/remove directories using a listbox with [+] [-] buttons, like in lxqt-panel configurator. Closing this as duplicate of #41. |
Sorry I forgot to thank you both for the time and information in this issue, which gave me some more inputs to how to solve the problem. |
Hello.
I was trying to change my sddm login wallpaper and i decided to try this tool, since you have to change the theme for change the sddm wallpaper.
I have done what i was looking for creating a 'dummy' sddm theme and then pointing to the desired wallpaper.
I have change the theme using sddm-conf (i previewed that everything was OK, using the preview button), and then i saved the changes.
When i tried to log in again, i discovered that i had no 'choices' in the 'session' section of my sddm.
Usually i have a few (lxqt-desktop,i3,labwc,lxqt-lawbc,etc.) and after inserting the password, i log in.
When this happened, my sessions choices dissapeared and i was not able to log in.
To solve this, i changed my
sddm.conf
(located in /etc/sddm.conf) for the original one (/usr/lib/sddm/sddm.conf.d/default.conf)and i was able to log-in again.
I noticed that in the 'Autologin' tab, there is a drop-down (Name of the session file for autologin session) which is empy, and lets me choose a file (i do now know if this is related to the issue, just a idea).
I do not know what happened, but this seems to break somehow my sddm.conf and i do not know why.
The package version that i have installed is :
sddm-conf 0.1.0-1
(from the AUR).The text was updated successfully, but these errors were encountered: