MATE

From Alpine Linux
Revision as of 08:19, 22 March 2015 by Jch (talk | contribs) (→‎Install MATE Desktop: minor formatting)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This material is work-in-progress ...

Do not follow instructions here until this notice is removed.
(Last edited by Jch on 22 Mar 2015.)

Install MATE Desktop

echo http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories

apk update

videodrivers=$(apk search --quiet --exact xf86-video* | grep -v -- '-doc$')
setup-xorg-base $videodrivers
apk add desktop-file-utils gtk-engines consolekit gtk-murrine-engine
apk add caja marco dbus lxdm udev zenity libmatemixer hicolor-icon-theme

mate_pkgs=$(apk search mate -q | grep -v '\-dev' | grep -v '\-lang' | grep -v '\-doc')
apk add $mate_pkgs 

rc-update add lxdm
rc-update add dbus
rc-update add udev

adduser -h /home/monitor -g "Monitor User" monitor

rc-service dbus start

# replacing the hardcoded 'system_bus_socket' path
dbus_sock_path=$(find / -name system_bus_socket)
dbus_sock_path=$(echo $dbus_sock_path | sed 's/\//\\&/g')
sed -i 's/\/var\/run\/dbus\/system_bus_socket/'$dbus_sock_path'/' /etc/dbus-1/system.conf

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

ln -s /usr/lib/libfreetype.so.6.11.3 /usr/lib/libfreetype.so.6
apk fix
ln -s /usr/etc/xdg/menus/ /etc/xdg/menus

dbus-launch gsettings set org.mate.Marco.general theme 'Shiny'

ulimit -c 4096

#lbu ci

rc-service udev start
rc-service lxdm start