MATE: Difference between revisions
(Parsing special chars) |
(Finising comments) |
||
Line 25: | Line 25: | ||
rc-update add udev}} | rc-update add udev}} | ||
adduser -h /home/monitor -g "Monitor User" monitor | If you do not have a user other than root, it is time to do so. I am going to create a user called "monitor": | ||
{{Cmd|adduser -h /home/monitor -g "Monitor User" monitor}} | |||
rc-service dbus start | 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: | |||
{{{Cmd|rc-service dbus start}} | |||
Fixing the D-Bus configuration file: | |||
<pre> | |||
dbus_sock_path=$(find / -name system_bus_socket) | dbus_sock_path=$(find / -name system_bus_socket) | ||
dbus_sock_path=$(echo $dbus_sock_path | sed 's/\//\\&/g') | 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 | sed -i 's/\/var\/run\/dbus\/system_bus_socket/'$dbus_sock_path'/' /etc/dbus-1/system.conf | ||
</pre> | |||
Adding avaliables True Type Fonts: | |||
<pre> | |||
ttfs=$(apk search -q ttf- | grep -v '\-doc') | ttfs=$(apk search -q ttf- | grep -v '\-doc') | ||
apk add $ttfs | apk add $ttfs | ||
</pre> | |||
<pre> | |||
ln -s /usr/lib/libfreetype.so.6.11.3 /usr/lib/libfreetype.so.6 | ln -s /usr/lib/libfreetype.so.6.11.3 /usr/lib/libfreetype.so.6 | ||
apk fix | apk fix | ||
</pre> | |||
If you are running your Alpine from RAM, save the changes: | |||
{{Cmd|lbu ci}} | |||
rc-service udev start | And finally, let us start the lxdm service and log in to our MATE Desktop | ||
rc-service lxdm start | {{Cmd|rc-service udev start | ||
rc-service lxdm start}} |
Revision as of 13:38, 25 March 2015
This material is work-in-progress ... Do not follow instructions here until this notice is removed. |
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:
videodrivers=$(apk search --quiet --exact xf86-video* | 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:
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') 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
If you do not have a user other than root, it is time to do so. I am going to create a user called "monitor":
adduser -h /home/monitor -g "Monitor User" monitor
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
Adding avaliables True Type Fonts:
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
If you are running your Alpine from RAM, save the changes:
lbu ci
And finally, let us start the lxdm service and log in to our MATE Desktop
rc-service udev start rc-service lxdm start