Jump to content

MATE: Difference between revisions

From postmarketOS Wiki
mNo edit summary
mNo edit summary
Line 8: Line 8:
== Status ==
== Status ==


It works on most devices with a working display, works fine without hardware acceleration.
It works on most devices with a working display, works fine without hardware acceleration. Also it has Hi-Dpi support. So app s will look better and usable.


After the postmarketOS loading splashscreen you will get a black screen for 20-30 seconds before the desktop appears.
After the postmarketOS loading splashscreen you will get a black screen for 20-30 seconds before the desktop appears.

Revision as of 07:06, 18 December 2018

MATE running on Samsung Galaxy S Advance (i9070)
MATE running on Samsung Galaxy S Advance (i9070)
In postmarketOS
Package postmarketos-ui-mate
Status Available

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 app s will look better and usable.

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.

Troubleshooting

Check the logs with logread -f | grep x11

Landscape mode

Rotate the screen

You can rotate adding the following configuration file: /etc/X11/xorg.conf.d/00-fbdev-rotate.conf

Section "Device"
  Identifier "LCD"
  Driver "fbdev"
  Option "Rotate" "CW"
EndSection

Reboot ,Then open the display app and set the correct resolution.

Rotate the touchscreen

In order to also rotate the touchscreen you need to change the udev rule: /etc/udev/rules.d/90-device-samsung-i9070.rules And add one of the following line:

# 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"
# 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"

and reboot udev or the device.