Home > Linux, Ubuntu > How to change default Desktop Manager – change default Windows Managers

How to change default Desktop Manager – change default Windows Managers

To change default desktop manager  in linux ubuntu debian using command line you have to use:

sudo update-alternatives --config x-session-manager
:~$ sudo update-alternatives --config x-session-manager
[sudo] password for maurizio: 
There are 4 choices for the alternative x-session-manager (providing /usr/bin/x-session-manager).

  Selection    Path                      Priority   Status
------------------------------------------------------------
* 0            /usr/bin/gnome-session     50        auto mode
  1            /usr/bin/gnome-session     50        manual mode
  2            /usr/bin/lxsession         49        manual mode
  3            /usr/bin/openbox-session   40        manual mode
  4            /usr/bin/startlxde         50        manual mode

Press enter to keep the current choice[*], or type selection number: 4
update-alternatives: using /usr/bin/startlxde to provide /usr/bin/x-session-manager (x-session-manager) in manual mode.

Change window manager

To change default window manager, via terminal, you have to use :

:~$ :~$  sudo update-alternatives --config x-window-manager
There are 6 choices for the alternative x-window-manager (providing /usr/bin/x-window-manager).

  Selection    Path                          Priority   Status
------------------------------------------------------------
* 0            /usr/bin/enlightenment_start   90        auto mode
  1            /usr/bin/awesome               20        manual mode
  2            /usr/bin/enlightenment_start   90        manual mode
  3            /usr/bin/fvwm-crystal          50        manual mode
  4            /usr/bin/fvwm2                 50        manual mode
  5            /usr/bin/openbox               90        manual mode
  6            /usr/bin/startfluxbox          50        manual mode

Press enter to keep the current choice[*], or type selection number:

List desktop manager

To show desktop manager available you can ues

sudo update-alternatives --list x-session-manager

.

:~$ sudo update-alternatives --list x-session-manager
/usr/bin/gnome-session
/usr/bin/lxsession
/usr/bin/openbox-session
/usr/bin/startlxde

Show window manager in ubuntu/debian

To list window manager available you can use

update-alternatives --list x-window-manager

.

:~$ :~$ sudo update-alternatives --list x-window-manager
[sudo] password for maurizio: 
/usr/bin/awesome
/usr/bin/enlightenment_start
/usr/bin/fvwm-crystal
/usr/bin/fvwm2
/usr/bin/openbox
/usr/bin/startfluxbox

or

grep -l "section=.Window Managers." /usr/share/menu/*

per elencare i window manager disponibili per il sistema

grep "^Exec" /usr/share/xsessions/*
 grep "^Exec" /usr/share/xsessions/*
/usr/share/xsessions/awesome.desktop:Exec=awesome
/usr/share/xsessions/enlightenment.desktop:Exec=/usr/bin/enlightenment_start
/usr/share/xsessions/fluxbox.desktop:Exec=/usr/bin/startfluxbox
/usr/share/xsessions/fvwm-crystal.desktop:Exec=fvwm-crystal
/usr/share/xsessions/Fvwm.desktop:Exec=fvwm2
/usr/share/xsessions/Lubuntu.desktop:Exec=/usr/bin/startlubuntu
/usr/share/xsessions/Lubuntu-Netbook.desktop:Exec=/usr/bin/startlubuntu-netbook
/usr/share/xsessions/LXDE.desktop:Exec=/usr/bin/startlxde
/usr/share/xsessions/openbox.desktop:Exec=/usr/bin/openbox-session
/usr/share/xsessions/openbox-gnome.desktop:Exec=/usr/bin/openbox-gnome-session
/usr/share/xsessions/openbox-kde.desktop:Exec=/usr/bin/openbox-kde-session
/usr/share/xsessions/razor.desktop:Exec=razor-session

Login Manager

The main Grapohic Login Managers::
gdm gnome
xdm X desktop Manager
kdm KDE desktop Manager
lightdm x LXDE …

To set default login manager you can use

sudo sysv-rc-conf

select levels 2,3,4,5
and uncheck previous active login manager

  1. Non c'è ancora nessun commento.
  1. No trackbacks yet.

Rispondi

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...

%d blogger hanno fatto clic su Mi Piace per questo: