MATE
Appearance

MATE is a desktop environment forked from the maintained code base of GNOME 3. It is installable on postmarketOS.
Install MATE Desktop
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:
sudo su apk update apk add xorg-server xf86-input-libinput libinput
Now let us install a bunch of needed packages what includes all MATE Desktop packages avaliable in the repository:
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
In the next step we add some services to start up with the operating system:
rc-update add lxdm
Adding avaliable 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, reboot the device and you should be auto logged into MATE. If you see just a black screen try rebooting again - Mate should load.
sync reboot
Calibrating the touchscreen
If you want to rotate the screen change/add a value in this file and reboot udev or the device:
sudo nano /etc/udev/rules.d/90-android-touch-dev.rules
ENV{ID_INPUT}="1", ENV{ID_INPUT_TOUCHSCREEN}="1", \ # default ENV{LIBINPUT_CALIBRATION_MATRIX}="1 0 0 0 1 0" # 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"