Jump to content

MATE

From postmarketOS Wiki
Revision as of 19:13, 13 October 2017 by Montvid (talk | contribs) (Created page with "== Install MATE Desktop == <pre> setup-xorg-base apk add dbus-x11 </pre> Now let us install a bunch of needed packages what includes all MATE Desktop packages avaliable in ou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Install MATE Desktop

setup-xorg-base
apk add dbus-x11

Now let us install a bunch of needed packages what includes all MATE Desktop packages avaliable in our Edge repository:

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

In the next step we add some services to start up with the operating system:

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

We will start D-Bus before other services in order to fix D-Bus configuration file (replace the hard coded 'system_bus_socket' path): Starting D-Bus: rc-service dbus start

Fixing the D-Bus configuration file:

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
apk del mate-screensaver
ln -s /usr/etc/xdg/menus/ /etc/xdg/menus
apk add mate-screensaver}}

Adding avaliables True Type Fonts:

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

Configure lxdm with autologin:

nano /etc/lxdm/lxdm.conf
autologin=yourusername
session=/usr/bin/mate-session
skip_password=1

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

rc-service lxdm start