LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-11-2017, 09:55 AM   #1
rgrosz78
LQ Newbie
 
Registered: Jan 2017
Location: Atlanta, GA
Distribution: debian
Posts: 19

Rep: Reputation: Disabled
Switch between XFCE and Cinnamon?


When I installed Debian Jessie, I incorrectly chose to install both XFCE and Cinnamon. The default I am running now is XFCE. I would like to switch to Cinnamon.

I am sure there is an easy way to do this. I probably clicked every item under Settings, and still haven't found it yet.

I have spent a day Googling on "switch XFCE to Cinnamon", but haven't read anything useful. I checked in Synaptic and all the Cinnamon packages are currently installed.
 
Old 01-11-2017, 10:31 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
haaa where is that file located to change default wm? what login manager are you using? They have a place within that file to designate default login WM/DE so you do not keep having to change it, as well as most keep last WM/DE logged into as the one the user will log back into next time.


How change the default desktop manager in debian?
look here

Last edited by BW-userx; 01-11-2017 at 10:36 AM.
 
Old 01-11-2017, 10:37 AM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
My understanding is that you change the default desktop environment. Ubuntu has login options for their desktop UI which allow this, however I do not believe Debian does this.

See if you have the following file: /etc/X11/default-display-manager

Edit that file to be for cinnamon.

Look for /usr/bin/cinnamon, or /usr/sbin/cinnamon, find where the cinnamon DM executable is before editing.

I recommend you comment out the existing line using # and make a new line for Cinnamon to verify it works, and also to leave yourself the capability to reset back to your original if you choose in the future.
 
Old 01-11-2017, 11:22 AM   #4
rgrosz78
LQ Newbie
 
Registered: Jan 2017
Location: Atlanta, GA
Distribution: debian
Posts: 19

Original Poster
Rep: Reputation: Disabled
I am currently editing the file /etc/X11/default-display-manager with gedit (and it is read-only). It has only one line:
/usr/sbin/lightdm

There are about 24 cinnamon files in usr/bin. I'm not really sure which file is the right one (see below)
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2017-01-11 07:19:36.png
Views:	180
Size:	149.9 KB
ID:	23959  
 
Old 01-11-2017, 11:44 AM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by rgrosz78 View Post
I am currently editing the file /etc/X11/default-display-manager with gedit (and it is read-only). It has only one line:
/usr/sbin/lightdm

There are about 24 cinnamon files in usr/bin. I'm not really sure which file is the right one (see below)
if you going to go manual mode:
Code:
sudo gedit /usr/sbin/lightdm
gives you read and write
 
Old 01-11-2017, 12:58 PM   #6
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
No no no no, don't use 'sudo' to edit files in /etc or /usr! Those are important system files, very risky to edit them directly.

Rather, I suggest simply using the built-in feature of LightDM allowing you to choose the desktop environment with a couple of easy mouse clicks. There is a drop-down menu on the login screen (where you type your username and password). Depending on your LightDM theme, it might look like a little gear or other icon. This is where you can choose between Xfce or Cinnamon. LightDM should remember your choice as the new default.
 
1 members found this post helpful.
Old 01-11-2017, 01:01 PM   #7
rgrosz78
LQ Newbie
 
Registered: Jan 2017
Location: Atlanta, GA
Distribution: debian
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by snowpine View Post
Rather, I suggest simply using the built-in feature of LightDM allowing you to choose the desktop environment with a couple of easy mouse clicks. There is a drop-down menu on the login screen (where you type your username and password). Depending on your LightDM theme, it might look like a little gear or other icon. This is where you can choose between Xfce or Cinnamon. LightDM should remember your choice as the new default.
That is what I read on the internet yesterday. Not sure why, but that gear icon does not appear on my login screen ...
 
Old 01-11-2017, 01:02 PM   #8
rgrosz78
LQ Newbie
 
Registered: Jan 2017
Location: Atlanta, GA
Distribution: debian
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
if you going to go manual mode:
Code:
sudo gedit /usr/sbin/lightdm
gives you read and write
But I don't know which of the 20+ cinnamon files to reference instead of lightdm ...
 
Old 01-11-2017, 01:02 PM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by snowpine View Post
No no no no, don't use 'sudo' to edit files in /etc or /usr! Those are important system files, very risky to edit them directly.

Rather, I suggest simply using the built-in feature of LightDM allowing you to choose the desktop environment with a couple of easy mouse clicks. There is a drop-down menu on the login screen (where you type your username and password). Depending on your LightDM theme, it might look like a little gear or other icon. This is where you can choose between Xfce or Cinnamon. LightDM should remember your choice as the new default.
wahhht ? I guess you have a call your supervisor to do that... while I am using sudo and not breaking anything. They are created to be edited manually how do you think the people that put them into their distro get them configured to work to their specs?
 
Old 01-11-2017, 01:07 PM   #10
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
If the icon to choose DE is missing then try dpkg-reinstall of the WM.
As to using sudo to change the default DE -- why not? Let's all use chainsaws to slice our bread...
 
Old 01-11-2017, 01:10 PM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by rgrosz78 View Post
But I don't know which of the 20+ cinnamon files to reference instead of lightdm ...
Debian wiki LightDM


these show and explain to you how to as well

http://askubuntu.com/questions/77191...fined-sessions

http://www.linuxquestions.org/questi...wheezy-943468/

https://wiki.archlinux.org/index.php..._configuration

I do not use LightDM
I use lxdm

last ditch effort, un-install XFCE4 that is make it go to cinnamon because it has no other choice.

Last edited by BW-userx; 01-11-2017 at 01:22 PM.
 
Old 01-11-2017, 01:24 PM   #12
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Quote:
Originally Posted by BW-userx View Post
wahhht ? I guess you have a call your supervisor to do that... while I am using sudo and not breaking anything. They are created to be edited manually how do you think the people that put them into their distro get them configured to work to their specs?
Assuming for the sake of argument that you are correct and "sudo gedit /usr/sbin/lightdm" will allow you to change the default desktop environment. The problem with that method is that, next time you update lightdm through the package manager, it will replace /usr/sbin/lightdm with the new version and wipe out your customizations.

Last edited by snowday; 01-11-2017 at 01:25 PM.
 
1 members found this post helpful.
Old 01-11-2017, 01:56 PM   #13
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by snowpine View Post
Assuming for the sake of argument that you are correct and "sudo gedit /usr/sbin/lightdm" will allow you to change the default desktop environment. The problem with that method is that, next time you update lightdm through the package manager, it will replace /usr/sbin/lightdm with the new version and wipe out your customizations.
life is a chance --- if you look at the config files you'll see that they where created to be done manually. to address your if you do it one way then the other it will wipe out your conif.

if you do it one way then the same way again the same effect happens. that is the reason one did it again using either way, to make changes to the config file. you are the master of your system. Which ever way one chooses to change the conf files are up to them. pls do not enable ridged thinking.
 
Old 01-11-2017, 02:09 PM   #14
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by BW-userx View Post
life is a chance --- if you look at the config files you'll see that they where created to be done manually. to address your if you do it one way then the other it will wipe out your conif.

if you do it one way then the same way again the same effect happens. that is the reason one did it again using either way, to make changes to the config file. you are the master of your system. Which ever way one chooses to change the conf files are up to them. pls do not enable ridged thinking.
The config files for each user are meant to be changed to that user's desire. The default files are meant more as templates -- some even state such.
Using root permissions to configure per-user settings is both overkill and ineffective in the long run.
 
1 members found this post helpful.
Old 01-11-2017, 02:16 PM   #15
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by 273 View Post
The config files for each user are meant to be changed to that user's desire. The default files are meant more as templates -- some even state such.
Using root permissions to configure per-user settings is both overkill and ineffective in the long run.
ok this is going into over kill
if the file state do not change some other program changes it like grub files for example ok.

people have brains you know let them use them. please and thank you

he was only asking how to change the default DE/WM which can be set by manually editing the conf file.

I am not going to rip out my lxdm and install lightDM to get to the bottom of this...

PS root permission are being used no matter what when you edit a file on the system side of the OS regardless of whichever means is being used to do so(period)

think about it.

per-user settings has nothing to do with default login WM / DE that is a system wide setting.


search words used "lightdm set default session"
GOOGLE says


Quote:
Search Results
(3) This file is owned by root, hence the sudo command above. You must also edit it as root. To open it in gedit as root, you can run gksu gedit /etc/lightdm/lightdm.conf (either in a Terminal window, or in the graphical Run Application text box, when you can get by pressing Alt + F2 ).
in lightdm.conf
Quote:
[SeatDefaults]
#xserver-command=X
#xserver-layout=
#xserver-config=
#xserver-allow-tcp=false
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
#greeter-session=example-gtk-gnome
#greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#user-session=default
#allow-guest=true
#guest-session=UNIMPLEMENTED
#session-wrapper=lightdm-session
#display-setup-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=
#autologin-user-timeout=0
#autologin-session=UNIMPLEMENTED
#exit-on-failure=false
if you actually look in the config file you'll see that is has LOTs of settings for manual editing to user specs.

www/ Software/ LightDM/ CommonConfiguration


Quote:
Changing the Default Session

Set the default session to be logged into with:

[SeatDefaults]
user-session=name
per the creators of lightDM instructions.

Last edited by BW-userx; 01-11-2017 at 02:42 PM.
 
  


Reply



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
Cinnamon crashes after user switch richard_b Linux Mint 3 08-26-2015 02:56 PM
[SOLVED] Linux Mint switch from Cinnamon to Mate - services are loaded twice vincix Linux - Desktop 6 06-22-2015 01:20 AM
[SOLVED] XFCE on Cinnamon LM17.1? gael33 Linux - Newbie 3 04-20-2015 11:19 AM
how to switch directly a workspace on cinnamon andyvk Linux - Desktop 2 11-23-2014 07:16 AM

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

All times are GMT -5. The time now is 05:27 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