ArchLinux being a rolling distribution of Linux which comes with no graphical interface, is handy to provide a GUI for ease at work. For this purpose there are several options to take such as LMDE,XFCE,Enlightment,Openbox etc.. Out of the options we chose XFCE which comes with all the necessary plugins preinstalled, such as CPU meter, Network usage meter etc.
This post will provide information on how we have installed XFCE Desktop in our ArchLinux distribution which was running on our Desktop and OlinuXino-A13 processor board.
Open a terminal and type.
Be sure to run
pacman -Syy to update your package information and then type
pacman -S xorg xorg-server
pacman -S xfce4 xfce4-goodies // to install xfce desktop and default applications
Users can install gdm, lightdm, slim etc. as the window manager, out of which slim seems to work out of the box without any tweeking. For installing slim type the following command in terminal.
pacman -S slim // install window manager for the chosen desktop
After installing the display manager it is to be enabled and marked as startup entry. To do this type
systemctl start slim.service // for startup entry
systemctl enable slim.service // and enable the service
User can check the configuration by typing
The response to the above command is something like this.
ln -s '/usr/lib/systemd/system/gdm.service' '/etc/systemd/system/display-manager.service'
If multiple display managers were installed you may need to disable its service by typing
systemctl disable gdm.service // for disabling the previously installed display manager
systemctl enable slim.service -f // for force enable the service of the new display manager
check whether the service is configured and started correctly using the following command
systemctl list-unit-files | grep slim
Output look like this.
Last step of the process is to make the new desktop start on login. To do this edit ~/.Xinitrc by typing
cp ~/.xinitrc ~/.xinitrc.bak // you need this file back in case your desktop is not started. So backup please…
nano ~/.xinitrc // edit the file
add the following
If there is another desktop installed comment the appropriate lines, for eg:
# exec openbox-session
Save the file and type
reboot. Enjoy ARCHing!!