LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-19-2017, 01:55 PM   #1
justmy2cents
Member
 
Registered: May 2017
Location: U.S.
Distribution: Un*x
Posts: 237
Blog Entries: 2

Rep: Reputation: Disabled
How to use Ubuntu's LightDM to change default desktop environment?


Changing the Default Session

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.

https://wiki.ubuntu.com/LightDM#Chan...efault_Session (this is the link where the above information came from)



------------------------------------------------------------------------------------------------
I did exactly what the above says (I replaced name with i3.desktop) but it still doesn't work, can anyone help? I use Xubuntu on a liveCD

Last edited by justmy2cents; 05-19-2017 at 03:38 PM.
 
Old 05-19-2017, 03:34 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
If you reboot a live CD, it just reverts back to what it was before you made any changes. If you log out and then log back in it should work.

I hope this helps.
 
Old 05-19-2017, 05:25 PM   #3
justmy2cents
Member
 
Registered: May 2017
Location: U.S.
Distribution: Un*x
Posts: 237

Original Poster
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by AwesomeMachine View Post
If you reboot a live CD, it just reverts back to what it was before you made any changes. If you log out and then log back in it should work.

I hope this helps.
Nope, I think I tried everything

Last edited by justmy2cents; 05-19-2017 at 05:37 PM.
 
Old 05-19-2017, 05:26 PM   #4
justmy2cents
Member
 
Registered: May 2017
Location: U.S.
Distribution: Un*x
Posts: 237

Original Poster
Blog Entries: 2

Rep: Reputation: Disabled
A better question: How to I change the default desktop session through the command line?

Last edited by justmy2cents; 05-19-2017 at 05:27 PM.
 
Old 05-19-2017, 08:08 PM   #5
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: Ubuntu
Posts: 989

Rep: Reputation: 318Reputation: 318Reputation: 318Reputation: 318
If you are using the live cd it will not have i3 installed so it will not work.
 
Old 05-21-2017, 05:10 AM   #6
justmy2cents
Member
 
Registered: May 2017
Location: U.S.
Distribution: Un*x
Posts: 237

Original Poster
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by jkirchner View Post
If you are using the live cd it will not have i3 installed so it will not work.
I have it installed via USB and it works fine, I just had to edit the ~/.dmrc file so that it would become my default.. (can also do this through the GUI login, but for scripting I had to edit .dmrc)

Last edited by justmy2cents; 05-21-2017 at 05:12 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Simple LightDM Manager: Change The LightDM Background Or Logo Using A GUI LXer Syndicated Linux News 0 10-05-2011 06:41 PM
How to change default desktop environment on Ubuntu? QueenZ Linux - Newbie 7 07-17-2010 12:54 PM
Change Desktop Environment jedinorte Linux - Desktop 1 11-25-2008 06:57 AM
How do I change the desktop environment in Debian? maguila Linux - Newbie 3 02-27-2007 06:20 PM
How do I change Desktop environment? Takezo SUSE / openSUSE 3 08-14-2006 10:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration