MATE: Difference between revisions

From Alpine Linux
(Adding edge/main to the repository list)
(Explanation of some commands)
Line 5: Line 5:
For while MATE Desktop packages are in Edge, then we'll need to add its repository to our list. To do so, issue the following command:
For while MATE Desktop packages are in Edge, then we'll need to add its repository to our list. To do so, issue the following command:
{{Cmd|echo http://nl.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories
{{Cmd|echo http://nl.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories
apk update}}
apk update}}


The next commands are used to install all avaliable video drivers and setup Xorg server:
{{Cmd|videodrivers=$(apk search --quiet --exact xf86-video* | grep -v -- '-doc$')
setup-xorg-base $videodrivers}}


videodrivers=$(apk search --quiet --exact xf86-video* | grep -v -- '-doc$')
Now let us install a bunch of needed packages what includes all MATE Desktop packages avaliable in our Edge repository:
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


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


rc-update add lxdm
In the next step we add some services to start up with the operating system:
{{Cmd|rc-update add lxdm
rc-update add dbus
rc-update add dbus
rc-update add udev
rc-update add udev}}


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

Revision as of 12:45, 25 March 2015

This material is work-in-progress ...

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

Install MATE Desktop

For while MATE Desktop packages are in Edge, then we'll need to add its repository to our list. To do so, issue the following command:

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

The next commands are used to install all avaliable video drivers and setup Xorg server:

grep -v -- '-doc$') setup-xorg-base $videodrivers

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

grep -v '\-dev'

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

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

rc-service dbus start

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

  1. lbu ci

rc-service udev start rc-service lxdm start