Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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.
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.
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 ...
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?
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,672
Rep:
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...
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.
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.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,672
Rep:
Quote:
Originally Posted by BW-userx
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.
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 ).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.