This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDM Change Default Session

Tags: None
(comma "," separated)
garisoain
Registered Member
Posts
1
Karma
0

KDM Change Default Session

Fri Sep 26, 2014 3:05 am
Hello!!!

I'm using Sabayon Linux 14.10 with KDE, but I have a question:

I'm trying to create a custom session, so I created a custom.desktop file and added it to the Xsessions. I can successfully select this session each time I want, and if I do not reboot, the system remembers my last session.

But when I reboot, the default session is always KDE-4.desktop

The question is, how to change the KDM default session to use my custom session? I have tried several things and now I really want to get this done...

I'm still searching and messing with KDM config files, but still haven't found how to do it... so far I have:

+ Replaced the link default.desktop under /usr/share/xsessions to point to my own custom.desktop (session) file, it works, but after a reboot the link is overwritten to the default KDE-4 file.

+ Copied /usr/share/xsessions to /usr/share/xsessions.custom and modified again the default.desktop link (so it is not overwritten), modified /usr/share/config/kdm/kdmrc to include this directory last on the SessionsDirs (both at the start and at the end of the list)... didn't work.

+ Modified again /usr/share/config/kdm/kdmrc deleting the rest of the directories and leaving only my xsessions.custom dir, and KDM wasn't unable to start until I recovered the original file.

+ Modified /usr/share/config/kdm/Xsession script to run my custom-session.sh script instead of /usr/bin/startkde ... didn't work...

=) I'm still playing with my configuration... I really want to get this done...

Does anybody here know how to do this?

Best regards,
--
Carlos Garisoain
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDM Change Default Session

Wed Nov 05, 2014 6:53 am
To my knowledge KDM does not contain any code favouring a particular default desktop session.
Have you tried changing the default through the KDM configuration in System Settings? (If it offered as an option).


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]