Results 1 to 3 of 3

Thread: openSUSE Leap 42.1 how to change desktop environment from command line?

  1. #1

    Default openSUSE Leap 42.1 how to change desktop environment from command line?

    I am a newbie at this and I have spent the last 4 hours doing anything and everything imaginable in order to switch deskop environments from the command line. I just want to know if that is a possibility. I know that I can do the same thing using the options provided by the desktop manager at the login scree but if autologin is disabled, can I still set a default desktop environment in either the /etc/sysconfig/windowmanager file in the Default_VM and I have made changes to the gnome.desktop file in /usr/share/xsessions to [Desktop] Session=default. I just want to know if I have exhausted my options or is this actually feasible. I hugely appreciate any help and thanks.

  2. #2
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: openSUSE Leap 42.1 how to change desktop environment from command line?

    you're mixing up a few things
    the Display Manager (sddm, kdm, gdm, xdm) is used to chose a desktop environment and that is done with a gui, there probably is a command line display manager, one way to do what you want is from run level 3, to edit /etc/sysconfig and then to switch to full desktop by executing init 5

  3. #3
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,739
    Blog Entries
    3

    Default Re: openSUSE Leap 42.1 how to change desktop environment from command line?

    Quote Originally Posted by emilmathew View Post
    I am a newbie at this and I have spent the last 4 hours doing anything and everything imaginable in order to switch deskop environments from the command line. I just want to know if that is a possibility.
    I don't know if that is possible. But its the wrong way.

    Just logout from your desktop. Then select the desktop you want on the login screen. The login GUI will remember that as the default for next time. And that even works if you are using autologin.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •