MATE: Difference between revisions

From Alpine Linux
m (→‎Prerequisites: It's a terrible idea to constantly run as root.)
m (→‎True type fonts: Corrected spelling of "TrueType")
Line 33: Line 33:
= Misc =
= Misc =


=== True type fonts ===
=== TrueType fonts ===


Add all available True Type Fonts:
Add all available TrueType Fonts:
{{Cmd|<nowiki>$ ttfs=$(apk search -q ttf- &#124; grep -v '\-doc')
{{Cmd|<nowiki>$ ttfs=$(apk search -q ttf- &#124; grep -v '\-doc')
# apk add $ttfs</nowiki>}}
# apk add $ttfs</nowiki>}}

Revision as of 01:15, 7 August 2023

Prerequisites


Install MATE Desktop

# apk add mate-desktop-environment dbus dbus-x11 lxdm adwaita-icon-theme faenza-icon-theme # gvfs_pkgs=$(apk search gvfs -q | grep -v '\-dev' | grep -v '\-lang' | grep -v '\-doc') # apk add $gvfs_pkgs


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 dbus

# rc-update add lxdm


Misc

TrueType fonts

Add all available TrueType Fonts:

$ ttfs=$(apk search -q ttf- | grep -v '\-doc') # apk add $ttfs

Disabling standby and screensaver

Check the current configuration using xset:

$ sudo apk add xset $ xset q


Contents of xset q

Keyboard Control: auto repeat: on key click percent: 0 LED mask: 00000000 XKB indicators: 00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off 03: Compose: off 04: Kana: off 05: Sleep: off 06: Suspend: off 07: Mute: off 08: Misc: off 09: Mail: off 10: Charging: off 11: Shift Lock: off 12: Group 2: off 13: Mouse Keys: off auto repeat delay: 500 repeat rate: 20 auto repeating keys: 00ffffffdffffbbf fadfffefffedffff 9fffffffffffffff fff7ffffffffffff bell percent: 0 bell pitch: 400 bell duration: 100 Pointer Control: acceleration: 2/1 threshold: 4 Screen Saver: prefer blanking: yes allow exposures: yes timeout: 600 cycle: 0 Colors: default colormap: 0x22 BlackPixel: 0x0 WhitePixel: 0xffffff 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 DPMS (Energy Star): Standby: 600 Suspend: 0 Off: 900 DPMS is Enabled Monitor is On


To disable those timers issue the command:

$ xset dpms 0 0 0

Santiy check:

$ xset q | grep Standby Standby: 0 Suspend: 0 Off: 0