Re: How to set default session type to Plasma for sddm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I was facing the same problem as mentioned in https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx/thread/A5E7RFOVA6ZIU4O5DC4UNMZ3SCFQMR2O/

and found a solution (sorry for having this topic awakend from the sleeping beauty):


in /var/lib/sddm/state.conf is the preselected session set, so use this content for xfce as first choice (if you have something like puppet running you can enforce this file content):

[Last]
# Name of the session for the last logged-in user.
# This session will be preselected when the login screen appears.
Session=/usr/share/xsessions/xfce.desktop

And the /etc/sysconfig/desktop file is read in /etc/X11/xinit/Xclients
If you add there a line at the top like

STARTXFCE="$(type -p startxfce4)"

and in the following if-conditional :

if [ -f /etc/sysconfig/desktop ]; then

    . /etc/sysconfig/desktop
    if [ "$DESKTOP" = XFCE ]; then

        PREFERRED="$STARTXFCE"

and then change the "if" before the GNOME  line into "elif"

Kind regards


Sven



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux