Difference between revisions of "MATE"

From postmarketOS
Jump to: navigation, search
m (Status)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[File:MATE drebrez.jpg|thumb]]
+
{{Infobox interface
MATE is a desktop environment forked from the maintained code base of GNOME 3.  It is installable on postmarketOS.<br>
+
| image = File:MATE drebrez.jpg
== Install MATE Desktop ==
+
| imagecaption = MATE running on Samsung Galaxy S Advance (i9070)
{{note|This is a draft, installation will be as easy as selecting "mate" in pmbootstrap init, once a postmarketos-ui-mate package is created with the information from below. Contributions welcome - it is not that hard, simply look at the other postmarketos-ui- packages and make a PR.}}
+
}}
Install your X11 video drivers and do:
+
 
 +
MATE is a [[User-Interfaces|desktop environment]] forked from the maintained code base of GNOME 2.  It is installable on postmarketOS.<br>
 +
 
 +
== Status ==
 +
 
 +
It works on most devices with a working display, works fine without hardware acceleration. Also it has Hi-Dpi support. So apps will look better and usable. Use packages from Alpine repo.
 +
 
 +
After the postmarketOS loading splashscreen you will get a black screen for 20-30 seconds before the desktop appears.
 +
This seems due to an issue with <code>marco</code> (MATE window manager):
 
<pre>
 
<pre>
sudo su
+
mate-session[1377]: WARNING: Application 'marco.desktop' failed to register before timeout
apk update
 
apk add xorg-server xf86-input-libinput libinput
 
 
</pre>
 
</pre>
Now let us install a bunch of needed packages what includes all MATE Desktop packages avaliable in the repository:
 
<pre>
 
apk add desktop-file-utils gtk-engines consolekit gtk-murrine-engine caja caja-extensions marco dbus-x11 lxdm hicolor-icon-theme
 
mate_pkgs=$(apk search mate -q | grep -v '\-dev' | grep -v '\-lang' | grep -v '\-doc')
 
apk add $mate_pkgs
 
ln -s /usr/etc/xdg/menus/ /etc/xdg/menus
 
</pre>
 
In the next step we add some services to start up with the operating system:
 
<pre>
 
rc-update add lxdm
 
</pre>
 
Adding avaliable True Type Fonts:
 
<pre>
 
ttfs=$(apk search -q ttf- | grep -v '\-doc')
 
apk add $ttfs
 
</pre>
 
Configure lxdm with autologin:
 
<pre>
 
nano /etc/lxdm/lxdm.conf
 
autologin=yourusername
 
session=/usr/bin/mate-session
 
skip_password=1
 
</pre>
 
And finally, reboot the device and you should be auto logged into MATE. If you see just a black screen try rebooting again - Mate should load.
 
<pre>
 
sync
 
reboot
 
</pre>
 
=== Calibrating the touchscreen ===
 
  
If you want to rotate the screen change/add a value in this file and reboot udev or the device:
+
== Install MATE Desktop ==
<pre>
+
 
sudo nano /etc/udev/rules.d/90-android-touch-dev.rules
+
Run <code>pmbootstrap init</code> and choose <code>mate</code> in the interface section.
</pre>
+
The Alpine repository already contains all the packages for x86_64, armhf and aarch64 architectures.
<pre>
+
Nothing has to be done to enable it.
ENV{ID_INPUT}="1", ENV{ID_INPUT_TOUCHSCREEN}="1", \
+
 
# default ENV{LIBINPUT_CALIBRATION_MATRIX}="1 0 0 0 1 0"
+
After installation, the shell will automatically launch upon boot. If it doesn't, have a look at <code>/etc/profile.d/start_mate.sh</code> script.
# Left - 90 degree clockwise ENV{LIBINPUT_CALIBRATION_MATRIX}="0 -1 1 1 0 0"
+
 
# 180 degree clockwise ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 0 -1 1"
+
For the official MATE instructions, see [https://wiki.alpinelinux.org/wiki/MATE their website].
# Right - 270 degree clockwise ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1"
+
 
# reflect along y axis ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 1 0 0"
+
== Guide ==
</pre>
+
 
 +
Follow the [https://wiki.postmarketos.org/wiki/Display Display] guide to change and fix display related issues.
 +
 
 
[[Category:Interface]]
 
[[Category:Interface]]

Latest revision as of 10:21, 13 March 2019

MATE running on Samsung Galaxy S Advance (i9070)
MATE running on Samsung Galaxy S Advance (i9070)

MATE is a desktop environment forked from the maintained code base of GNOME 2. It is installable on postmarketOS.

Status

It works on most devices with a working display, works fine without hardware acceleration. Also it has Hi-Dpi support. So apps will look better and usable. Use packages from Alpine repo.

After the postmarketOS loading splashscreen you will get a black screen for 20-30 seconds before the desktop appears. This seems due to an issue with marco (MATE window manager):

mate-session[1377]: WARNING: Application 'marco.desktop' failed to register before timeout

Install MATE Desktop

Run pmbootstrap init and choose mate in the interface section. The Alpine repository already contains all the packages for x86_64, armhf and aarch64 architectures. Nothing has to be done to enable it.

After installation, the shell will automatically launch upon boot. If it doesn't, have a look at /etc/profile.d/start_mate.sh script.

For the official MATE instructions, see their website.

Guide

Follow the Display guide to change and fix display related issues.