Difference between revisions of "MATE"
(→Disabling standby and screensaver) |
(→Install MATE Desktop: fix typo) |
||
(21 intermediate revisions by 3 users not shown) | |||
Line 15: | Line 15: | ||
#/media/sdb/apks | #/media/sdb/apks | ||
− | http://mirror.csclub.uwaterloo.ca/alpine/v3. | + | http://mirror.csclub.uwaterloo.ca/alpine/v3.11/main |
− | http://mirror.csclub.uwaterloo.ca/alpine/v3. | + | http://mirror.csclub.uwaterloo.ca/alpine/v3.11/community |
− | #http://mirror.csclub.uwaterloo.ca/alpine/v3. | + | #http://mirror.csclub.uwaterloo.ca/alpine/v3.11/testing |
</nowiki> | </nowiki> | ||
}} | }} | ||
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 | ||
− | + | ||
--> | --> | ||
+ | <!-- 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'}} | ||
− | + | {{Cmd|<nowiki># apk add desktop-file-utils gtk-engines consolekit gtk-murrine-engine caja caja-extensions marco dbus dbus-x11 lxdm udev hicolor-icon-theme sudo | |
− | < | + | # mate_pkgs=$(apk search mate -q | grep -v '\-dev' | grep -v '\-lang' | grep -v '\-doc') |
− | # apk add desktop-file-utils gtk-engines consolekit gtk-murrine-engine caja caja-extensions marco dbus lxdm udev hicolor-icon-theme sudo | + | # apk add $mate_pkgs</nowiki> |
− | # mate_pkgs=$(apk search mate -q | + | }} |
− | # apk add $mate_pkgs | + | --> |
− | </ | + | {{Cmd|<nowiki># apk add mate-desktop-environment dbus dbus-x11 lxdm udev 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</nowiki> | ||
+ | }} | ||
Create a regular user: | Create a regular user: | ||
Line 55: | Line 60: | ||
--> | --> | ||
<!--What is going on here??--> | <!--What is going on here??--> | ||
− | {{Cmd|# 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}} | + | # apk add mate-screensaver</nowiki>}} |
Add all available True Type Fonts: | Add all available True Type Fonts: | ||
− | < | + | {{Cmd|<nowiki>$ ttfs=$(apk search -q ttf- | grep -v '\-doc') |
− | $ ttfs=$(apk search -q ttf- | + | # apk add $ttfs</nowiki> |
− | # apk add $ttfs | + | }} |
− | </ | ||
If you are running your Alpine from RAM, save the changes: | If you are running your Alpine from RAM, save the changes: | ||
Line 69: | Line 73: | ||
Enable services to start on reboot | Enable services to start on reboot | ||
− | < | + | {{Cmd|<nowiki># rc-update add lxdm |
# rc-update add dbus | # rc-update add dbus | ||
− | # rc-update add udev</ | + | # rc-update add udev</nowiki>}} |
And finally, start the dbus, udev, and lxdm. This will start the display manager and allow you to login. | And finally, start the dbus, udev, and lxdm. This will start the display manager and allow you to login. | ||
− | < | + | {{Cmd|<nowiki># rc-service dbus start |
# rc-service udev start | # rc-service udev start | ||
− | # rc-service lxdm start</ | + | # rc-service lxdm start</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.--> | ||
− | + | == Misc == | |
− | + | === Disabling standby and screensaver === | |
Check the current configuration using xset: | Check the current configuration using xset: | ||
− | + | {{Cmd|$ sudo apk add xset | |
− | $ sudo apk add xset | + | $ xset q}} |
− | $ xset q | ||
− | |||
− | |||
+ | {{cat|xset q| | ||
Keyboard Control: | Keyboard Control: | ||
auto repeat: on key click percent: 0 LED mask: 00000000 | auto repeat: on key click percent: 0 LED mask: 00000000 | ||
Line 114: | Line 116: | ||
Font Path: | Font Path: | ||
/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,built-ins | /usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,built-ins | ||
− | + | DPMS (Energy Star): | |
− | + | Standby: 600 Suspend: 0 Off: 900 | |
− | + | DPMS is Enabled | |
− | + | Monitor is On | |
}} | }} | ||
− | + | ||
Line 127: | Line 129: | ||
Santiy check: | Santiy check: | ||
− | {{Cmd|$ xset q | + | {{Cmd|$ xset q | grep Standby |
− | Standby: 0 Suspend: 0 Off: 0 | + | Standby: 0 Suspend: 0 Off: 0}} |
− | |||
− | |||
− | |||
− | }} | ||
[[Category:Desktop]] | [[Category:Desktop]] |
Latest revision as of 15:54, 30 April 2020
Contents
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
# apk add mate-desktop-environment dbus dbus-x11 lxdm udev 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
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