Meefik's Blog

Freedom and Open Source

Desktop environment in Linux Deploy 2.0

14 Sep 2016 | android linuxdeploy

Linux Deploy supports automatic installation and configuration of some of the most common desktop environments. Version LD 2.0 retains support for XTerm (full-screen terminal), LXDE, Xfce, and MATE environments. These environments are in almost all supported LD distributions, they are not very demanding on resources and can work without graphical acceleration. However, you can start other desktop environments manually. To do this, in the LD settings, select the “Other” desktop environment and execute the “Configure” command. After that, you need to connect to the container, install the packages of the desired environment of the desktop, and under the user (by default - android) edit the file ~/.xsession, prescribing the command to start the working environment.

You can install and configure various work environments as follows (using the example of the Debian/Ubuntu distribution):

1. GNOME

Installation:

apt-get install desktop-base x11-xserver-utils xfonts-base xfonts-utils gnome-core

File ~/.xsession:

XKL_XMODMAP_DISABLE=1
export XKL_XMODMAP_DISABLE
if [ -n "`gnome-session -h | grep '\-\-session'`" ]
then
   gnome-session --session=gnome
else
   gnome-session
fi

2. KDE

Installation:

apt-get install desktop-base x11-xserver-utils xfonts-base xfonts-utils kde-standard

File ~/.xsession:

startkde

3. E17

Installation:

apt-get install desktop-base dbus-x11 x11-xserver-utils xfonts-base xfonts-utils e17

File ~/.xsession:

enlightenment_start

4. Cinnamon

Installation:

apt-get install desktop-base x11-xserver-utils xfonts-base xfonts-utils cinnamon

File ~/.xsession:

XKL_XMODMAP_DISABLE=1
export XKL_XMODMAP_DISABLE
cinnamon

Comments