MATE: Difference between revisions
Line 24: | Line 24: | ||
<!-- EDIT: Is it preferred to recommend users to install all available video drivers? Also, is using some bash piping and greping the most clear way to explain how to install these, and would this possibly break in future versions? --~~~~ | <!-- EDIT: Is it preferred to recommend users to install all available video drivers? Also, is using some bash piping and greping the most clear way to explain how to install these, and would this possibly break in future versions? --~~~~ | ||
The next commands are used to install all available video drivers and setup Xorg server: | The next commands are used to install all available video drivers and setup Xorg server: | ||
videodrivers=$(apk search --quiet --exact xf86-video* | grep -v -- '\-doc$') | videodrivers=$(apk search --quiet --exact xf86-video* | grep -v -- '\-doc$') | ||
setup-xorg-base $videodrivers | setup-xorg-base $videodrivers | ||
--> | --> | ||
Revision as of 23:50, 7 December 2018
Setup Xorg
Use Alpine's setup script:
# setup-xorg-base
Add any additional video drivers necessary:
# apk add xf86-video-ati
Add additional input drivers (if necessary)
# apk add xf86-input-synaptics
Enable Community Repository
Mate is available in the Community repository. Uncomment http://<url>/alpine/<version>/community in /etc/apk/repositories. For example:
Contents of /etc/apk/repositories
Install MATE Desktop
Add extra necessary packages. The following command will add all components of the MATE Desktop except for the *-dev, *-lang, and *-doc packages. If you would like man pages added, omit | grep -v '\-doc'
grep -v '\-dev'
Create a regular user:
# adduser -h /home/<user> -g "Full User Name" <user>
# apk del mate-screensaver
- ln -s /usr/etc/xdg/menus/ /etc/xdg/menus
- apk add mate-screensaver
Add all available True Type Fonts:
$ ttfs=$(apk search -q ttf- | grep -v '\-doc') # apk add $ttfs
If you are running your Alpine from RAM, save the changes:
# lbu ci
Enable services to start on reboot
# rc-update add lxdm # rc-update add dbus # rc-update add udev
And finally, start the dbus, udev, and lxdm. This will start the display manager and allow you to login.
# rc-service dbus start # rc-service udev start # rc-service lxdm start
Misc
Disabling standby and screensaver
Check the current configuration using xset:
$ sudo apk add xset $ xset q
Contents of xset q
To disable those timers issue the command:
$ xset dpms 0 0 0
Santiy check:
$ xset q | grep Standby Standby: 0 Suspend: 0 Off: 0