MATE: Difference between revisions

From Alpine Linux
No edit summary
Line 55: Line 55:
-->  
-->  
<!--What is going on here??-->
<!--What is going on here??-->
{{Cmd|# apk del mate-screensaver}}
{{Cmd|# apk del mate-screensaver
{{Cmd|# ln -s /usr/etc/xdg/menus/ /etc/xdg/menus}}
# ln -s /usr/etc/xdg/menus/ /etc/xdg/menus
{{Cmd|# apk add mate-screensaver}}
# apk add mate-screensaver}}


Add all available True Type Fonts:
Add all available True Type Fonts:


{{Cmd|$ ttfs=$(apk search -q ttf- | grep -v '\-doc')}}
{{Cmd|$ ttfs=$(apk search -q ttf- | grep -v '\-doc')
{{Cmd|# apk add $ttfs}}
# 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 68: Line 68:


Enable services to start on reboot
Enable services to start on reboot
{{Cmd|# rc-update add lxdm}}
{{Cmd|# rc-update add lxdm
{{Cmd|# rc-update add dbus}}
# rc-update add dbus
{{Cmd|# rc-update add udev}}
# rc-update add udev}}


And finally, let us start the lxdm service and log in to our MATE Desktop
And finally, let us start the lxdm service and log in to our MATE Desktop
{{Cmd|# rc-service dbus start}}
{{Cmd|# rc-service dbus start
{{Cmd|# rc-service udev start}}
# rc-service udev start
{{Cmd|# rc-service lxdm start}}
# rc-service lxdm start}}


<!--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 23:18, 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

# /etc/apk/repositories #/media/sdb/apks http://mirror.csclub.uwaterloo.ca/alpine/v3.8/main http://mirror.csclub.uwaterloo.ca/alpine/v3.8/community #http://mirror.csclub.uwaterloo.ca/alpine/v3.8/testing

Install MATE Desktop

Add extra necessary packages

# apk add desktop-file-utils gtk-engines consolekit gtk-murrine-engine caja caja-extensions marco dbus lxdm udev hicolor-icon-theme sudo
# mate_pkgs=$(apk search mate -q | grep -v '\-dev' | grep -v '\-lang' | grep -v '\-doc')
# apk add $mate_pkgs

Create a regular user:

# adduser -h /home/<user> -g "Full User Name" <user>

# apk del mate-screensaver

  1. ln -s /usr/etc/xdg/menus/ /etc/xdg/menus
  2. apk add mate-screensaver

Add all available True Type Fonts:

grep -v '\-doc')

  1. 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

  1. rc-update add dbus
  2. rc-update add udev

And finally, let us start the lxdm service and log in to our MATE Desktop

# rc-service dbus start

  1. rc-service udev start
  2. 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\

grep Standby

To disable those timers issue the command:

$ xset dpms 0 0 0

Santiy check:

$ xset q Standby: 0 Suspend: 0 Off: 0 DPMS is Enabled Monitor is On localhost:~$