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
RFE: add DefaultSession= setting #326
Comments
Marking this as dupe of #346 |
No, this is not a duplicate. #346 is about setting the preferred session per user. This RFE is about setting the preferred session systemwide. |
It should be dealt with alongside regardless. |
For what it's worth we should be reusing the same setting as the autologin one. |
I'd also like to point out that adding support for a setting like this is trivial, much easier than e.g. adding support for AccountsService as is being envisioned for #346. |
@jleclanche No reusing the autologin setting is confusing plus it's empty by default. |
Also, removing 'duplicate', this is a different feature request.. |
Up! |
You have my vote too for adding a DefaultSession setting in sddm.conf. |
Almost 5 years (!) have passed and this feature, which is essential for distributions shipping more than one desktop environment, and which I expect to take less than a day to implement, is still missing. |
@kkofler I'm sure that with your experience you can allocate a day to implement this feature, and send a patch. |
The way we use sddm in openSUSE makes this unnecessary for us - we use a symlink "default.desktop" using update-alternatives and its name is hardcoded in sddm itself. This feature would allow dropping a (one-line) patch though, so there's indeed a benefit. Implementing this feature should indeed be trivial to do. |
@Vogtinator do you have a link to the patch by any chance? |
It changes the default value of sddm/src/common/Configuration.h Lines 105 to 106 in b0306f3
It's part of a slightly bigger patch: https://build.opensuse.org/package/view_file/openSUSE:Factory/sddm/0001-Read-the-DISPLAYMANAGER_AUTOLOGIN-value-from-sysconf.patch?expand=1&rev=79193c1cf4c386e10101fe881b6ad15d |
Has this been implemented yet? I'm wanting to have the OS I develop, Drauger OS, ship with KDE for the next release and default to Wayland. This is working fine when auto-login is enabled. But when it's not enabled, SDDM defaults to the X11 KDE session. Just wanting to see if I should bother trying to figure out how to add this or not. |
I would like to request a DefaultSession= setting in sddm.conf, which decides which section to preselect when there is no remembered session. Currently, such a setting exists only for auto-login, but what session we default to for manual login also matters to users. In particular, in Fedora, we found that SDDM was defaulting to "KDE Plasma (Failsafe)" instead of the regular "KDE Plasma". (We're now working around that by renaming the failsafe session's .desktop file to come later in the alphabet, but that does not work in other setups, such as when there are multiple desktop environments, and the distribution or the local sysadmin want a specific one to be the default.) RememberLastSession is optional, and even when it's enabled (as it is on Fedora), there's always a first boot, and the default should be sane there.
The text was updated successfully, but these errors were encountered: