LinuxQuestions.org
Help answer threads with 0 replies.
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, 12: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 02:38 PM.
 
Old 05-19-2017, 02: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, 04: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 04:37 PM.
 
Old 05-19-2017, 04: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 04:27 PM.
 
Old 05-19-2017, 07:08 PM   #5
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: Ubuntu
Posts: 942

Rep: Reputation: 295Reputation: 295Reputation: 295
If you are using the live cd it will not have i3 installed so it will not work.
 
Old 05-21-2017, 04: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 04: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 05:41 PM
How to change default desktop environment on Ubuntu? QueenZ Linux - Newbie 7 07-17-2010 11:54 AM
Change Desktop Environment jedinorte Linux - Desktop 1 11-25-2008 05:57 AM
How do I change the desktop environment in Debian? maguila Linux - Newbie 3 02-27-2007 05:20 PM
How do I change Desktop environment? Takezo SUSE / openSUSE 3 08-14-2006 09:56 AM

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

All times are GMT -5. The time now is 09:49 AM.

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