Search This Blog

Tuesday, November 13, 2018

How to change the default desktop session from command line on Ubuntu

The default session is set by configuration in /usr/share/lightdm/lightdm.conf.d/ that session packages provide. If you need to override this you can set:
[SeatDefaults]
user-session=name

Where name is the name of the session .desktop file from /usr/share/xsessions/*.desktop.