MATE: Difference between revisions
m (refer to dedicated pages) |
|||
Line 10: | Line 10: | ||
== Install MATE Desktop == | == Install MATE Desktop == | ||
<!-- 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: | ||
Line 15: | Line 16: | ||
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 | ||
--> | |||
<!-- This is obsolete: There is a meta package mate-desktop-environment | <!-- This is obsolete: There is a meta package mate-desktop-environment | ||
Add extra necessary packages. The following command will add all components of the MATE Desktop except for the {{Pkg|*-dev}}, {{Pkg|*-lang}}, and {{Pkg|*-doc}} packages. If you would like man pages added, omit {{Path|| grep -v '\-doc'}} | Add extra necessary packages. The following command will add all components of the MATE Desktop except for the {{Pkg|*-dev}}, {{Pkg|*-lang}}, and {{Pkg|*-doc}} packages. If you would like man pages added, omit {{Path|| grep -v '\-doc'}} | ||
Line 25: | Line 26: | ||
}} | }} | ||
--> | --> | ||
{{Cmd|<nowiki># apk add mate-desktop-environment dbus dbus-x11 lxdm | |||
{{Cmd|<nowiki># apk add mate-desktop-environment dbus dbus-x11 lxdm adwaita-icon-theme faenza-icon-theme sudo | |||
# gvfs_pkgs=$(apk search gvfs -q | grep -v '\-dev' | grep -v '\-lang' | grep -v '\-doc') | # gvfs_pkgs=$(apk search gvfs -q | grep -v '\-dev' | grep -v '\-lang' | grep -v '\-doc') | ||
# apk add $gvfs_pkgs</nowiki> | # apk add $gvfs_pkgs</nowiki> | ||
Line 35: | Line 38: | ||
Starting D-Bus: | Starting D-Bus: | ||
{{Cmd|# rc-service dbus start}} | {{Cmd|# rc-service dbus start}} | ||
EDIT: No longer necessary as of at least 3.8 | EDIT: No longer necessary as of at least 3.8 | ||
Line 44: | Line 46: | ||
sed -i 's/\/var\/run\/dbus\/system_bus_socket/'$dbus_sock_path'/' /etc/dbus-1/system.conf | sed -i 's/\/var\/run\/dbus\/system_bus_socket/'$dbus_sock_path'/' /etc/dbus-1/system.conf | ||
</pre> | </pre> | ||
--> | --> | ||
{{Cmd|<nowiki># apk del mate-screensaver | {{Cmd|<nowiki># apk del mate-screensaver | ||
# ln -s /usr/etc/xdg/menus/ /etc/xdg/menus | # ln -s /usr/etc/xdg/menus/ /etc/xdg/menus | ||
# apk add mate-screensaver</nowiki>}} | # apk add mate-screensaver</nowiki>}} | ||
* What is going on here?? | |||
Add all available True Type Fonts: | Add all available True Type Fonts: | ||
Line 58: | Line 65: | ||
{{Cmd|# lbu ci}} | {{Cmd|# lbu ci}} | ||
Try, starting dbus and lxdm. This will start the display manager and should allow you to login. | |||
{{Cmd|<nowiki># rc-service dbus start | {{Cmd|<nowiki># rc-service dbus start | ||
# rc-service lxdm start</nowiki>}} | # rc-service lxdm start</nowiki>}} | ||
If it worked, enable the services to start on reboot | |||
{{Cmd|<nowiki># rc-update add lxdm | |||
# rc-update add dbus</nowiki>}} | |||
<!--It just so happens that the preceding sequence of steps makes an apparently broken Xfce4 install work properly as well.--> | <!--It just so happens that the preceding sequence of steps makes an apparently broken Xfce4 install work properly as well.--> |
Revision as of 18:50, 9 May 2021
Prerequisites
Install MATE Desktop
# apk add mate-desktop-environment dbus dbus-x11 lxdm adwaita-icon-theme faenza-icon-theme sudo # gvfs_pkgs=$(apk search gvfs -q | grep -v '\-dev' | grep -v '\-lang' | grep -v '\-doc') # apk add $gvfs_pkgs
# apk del mate-screensaver # ln -s /usr/etc/xdg/menus/ /etc/xdg/menus # apk add mate-screensaver
- What is going on here??
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
Try, starting dbus and lxdm. This will start the display manager and should allow you to login.
# rc-service dbus start # rc-service lxdm start
If it worked, enable the services to start on reboot
# rc-update add lxdm # rc-update add dbus
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