Hi
How do I set the default session type for sddm to offer to be Plasma? I'm currently getting Gnome Classic? This is F22.
Thanks
Roderick Johnstone
On Wed, 2015-06-03 at 09:40 +0100, Roderick Johnstone wrote:
Hi
How do I set the default session type for sddm to offer to be Plasma?
I'm currently getting Gnome Classic? This is F22.
Select Plasma on the login screen. Login. That's it. The next time it should be preselected to Plasma.
poc
On 03/06/2015 16:54, Patrick O'Callaghan wrote:
On Wed, 2015-06-03 at 09:40 +0100, Roderick Johnstone wrote:
Hi
How do I set the default session type for sddm to offer to be Plasma?
I'm currently getting Gnome Classic? This is F22.
Select Plasma on the login screen. Login. That's it. The next time it should be preselected to Plasma.
poc
Thanks for responding Patrick, but I was hoping to be able to have this pre-configured at install time so that I didn't have to go round all my users and show them how to do that.
Roderick
On 06/03/2015 01:07 PM, Roderick Johnstone wrote:
On 03/06/2015 16:54, Patrick O'Callaghan wrote:
On Wed, 2015-06-03 at 09:40 +0100, Roderick Johnstone wrote:
Hi
How do I set the default session type for sddm to offer to be Plasma?
I'm currently getting Gnome Classic? This is F22.
Select Plasma on the login screen. Login. That's it. The next time it should be preselected to Plasma.
poc
Thanks for responding Patrick, but I was hoping to be able to have this pre-configured at install time so that I didn't have to go round all my users and show them how to do that.
Roderick _______________________________________________ kde mailing list kde@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/kde New to KDE4? - get help from http://userbase.kde.org
That *should* be a setting in /etc/sddm.conf but I don't actually see it in the man page. Hmmm.....
Dan
On Wed, Jun 3, 2015 at 12:31 PM, Dan Mossor danofsatx@gmail.com wrote:
That *should* be a setting in /etc/sddm.conf but I don't actually see it in the man page. Hmmm.....
Check here: https://wiki.archlinux.org/index.php/SDDM
You want to edit /etc/sddm.conf
under [Autologin] Session=plasma.desktop
If you want to change the theme: under [Theme] Current=breeze CursorTheme=breeze_cursors
On 03/06/2015 21:09, Gerald B. Cox wrote:
On Wed, Jun 3, 2015 at 12:31 PM, Dan Mossor <danofsatx@gmail.com mailto:danofsatx@gmail.com> wrote:
That *should* be a setting in /etc/sddm.conf but I don't actually see it in the man page. Hmmm.....
Check here: https://wiki.archlinux.org/index.php/SDDM
You want to edit /etc/sddm.conf
under [Autologin] Session=plasma.desktop
If you want to change the theme: under [Theme] Current=breeze CursorTheme=breeze_cursors
Thanks, but I already tried that, and also copied the Session=plasma.desktop to the [General] section of sddm.conf as I'm not using autologin, just in case that worked. It doesn't work for me. Does it work for you?
The kickstart docs at: https://github.com/rhinstaller/pykickstart/blob/master/docs/kickstart-docs.r... still say to put xconfig --defaultdesktop=KDE in the kickstart file.
That creates /etc/sysconfig/desktop with a line: DESKTOP=KDE but that doesn't work either (it used to work when I was using kdm).
I've also tried variations with DESKTOP=Plasma and with KDE and Plasma in quotes.
So I'm a bit stuck.
Roderick
On Wed, Jun 3, 2015 at 1:09 PM, Gerald B. Cox gbcox@bzb.us wrote:
under [Autologin] Session=plasma.desktop
Just for grins, try kde-plasma.desktop
On Wed, Jun 3, 2015 at 4:09 PM, Gerald B. Cox gbcox@bzb.us wrote:
Just for grins, try kde-plasma.desktop
I was thinking we weren't using the right value for session=... I had the same problem when setting the cursor until I stumbled upon the correct value, and I got kde-plasma.desktop from the sddm.log; however when I switched to that it then just displayed plasma.desktop so I'm not sure what is the correct value.
According to the doc, this only comes into play the first time, so my testing of it was invalid... it appeared to work because it was being ignored in my case.
Here is another link I found: https://www.mankier.com/5/sddm.conf
I'll keep looking, but if you do figure out what is going on, please post here... I'm curious now...
The Theme cursor settings I posted earlier are accurate and do work, if that is any consolation... ;-)
On 04/06/15 00:26, Gerald B. Cox wrote:
On Wed, Jun 3, 2015 at 4:09 PM, Gerald B. Cox <gbcox@bzb.us mailto:gbcox@bzb.us> wrote:
Just for grins, try kde-plasma.desktop
I was thinking we weren't using the right value for session=... I had the same problem when setting the cursor until I stumbled upon the correct value, and I got kde-plasma.desktop from the sddm.log; however when I switched to that it then just displayed plasma.desktop so I'm not sure what is the correct value.
According to the doc, this only comes into play the first time, so my testing of it was invalid... it appeared to work because it was being ignored in my case.
Here is another link I found: https://www.mankier.com/5/sddm.conf
I'll keep looking, but if you do figure out what is going on, please post here... I'm curious now...
The Theme cursor settings I posted earlier are accurate and do work, if that is any consolation... ;-)
Gerald (and others)
I seem to have found a workaround to make Plasma the default desktop in sddm.
I renamed /usr/share/xsessions/plasma.desktop to /usr/share/xsessions/0plasma.desktop and Plasma is now offered as the default session on the sddm login screen.
Of course, every time the plasma-workspace package is updated plasma.desktop will come back, but I can handle that.
Thanks to everyone for their input.
Roderick
Dan Mossor wrote:
That *should* be a setting in /etc/sddm.conf but I don't actually see it in the man page. Hmmm.....
Unfortunately, this is STILL not supported in upstream SDDM: https://github.com/sddm/sddm/issues/326 https://github.com/sddm/sddm/issues/346
Kevin Kofler
On 04/06/15 00:06, Kevin Kofler wrote:
Dan Mossor wrote:
That *should* be a setting in /etc/sddm.conf but I don't actually see it in the man page. Hmmm.....
Unfortunately, this is STILL not supported in upstream SDDM: https://github.com/sddm/sddm/issues/326 https://github.com/sddm/sddm/issues/346
Kevin Kofler
Kevin
Thanks for clearing that up. I was just about get strace out to see if I could see whether sddm was trying to access /etc/sysconfig/desktop or not.
I can add a +1 to sddm issue #326 if you think that would be helpful.
I guess the kickstart docs need to be updated to say that xconfig --defaultdesktop=xxx won't work for sddm. I can add a redhat BZ for that.
Since kickstart doesn't have a command to configure the display manager I guess it won't be possible for xconfig --defaultdesktop= to be able to do the right thing.
Roderick
On Jun 3, 2015 12:07 PM, "Roderick Johnstone" rmj@ast.cam.ac.uk wrote:
On 03/06/2015 16:54, Patrick O'Callaghan wrote:
On Wed, 2015-06-03 at 09:40 +0100, Roderick Johnstone wrote:
Hi
How do I set the default session type for sddm to offer to be Plasma?
I'm currently getting Gnome Classic? This is F22.
Select Plasma on the login screen. Login. That's it. The next time it should be preselected to Plasma.
poc
Thanks for responding Patrick, but I was hoping to be able to have this
pre-configured at install time so that I didn't have to go round all my users and show them how to do that.
Roderick
Just out of curiosity , are all of your users kde-only? It doesn't address your question, but if the only DE installed is the only one they want, they'll always get what they want :)
--Pete
On 03/06/2015 22:17, Pete Travis wrote:
On Jun 3, 2015 12:07 PM, "Roderick Johnstone" <rmj@ast.cam.ac.uk mailto:rmj@ast.cam.ac.uk> wrote:
On 03/06/2015 16:54, Patrick O'Callaghan wrote:
On Wed, 2015-06-03 at 09:40 +0100, Roderick Johnstone wrote:
Hi
How do I set the default session type for sddm to offer to be Plasma?
I'm currently getting Gnome Classic? This is F22.
Select Plasma on the login screen. Login. That's it. The next time it should be preselected to Plasma.
poc
Thanks for responding Patrick, but I was hoping to be able to have
this pre-configured at install time so that I didn't have to go round all my users and show them how to do that.
Roderick
Just out of curiosity , are all of your users kde-only? It doesn't address your question, but if the only DE installed is the only one they want, they'll always get what they want :)
--Pete
Pete
Thanks, thats a nice idea. Yes, mostly only KDE users. But I need another DE installed because Plasma doesn't work with X2go any more, unfortunately. Currently I'm evaluating xfce for that use case.
And then I like to have gnome installed as well as occasionally someone will prefer to use it.
Roderick
Hello,
I was facing the same problem as mentioned in https://lists.fedoraproject.org/archives/list/kde@lists.fedoraproject.org/th...
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