Jump to content

MATE: Difference between revisions

From postmarketOS Wiki
Jakko (talk | contribs)
Touchscreen issue pmOS #1308 solved
Jakko (talk | contribs)
Clean-up after stable release v22.06.
Line 15: Line 15:


== Input ==
== Input ==
* Disable mouse cursor by <code>sudo vi /etc/lightdm/lightdm.conf</code>, change <code>#xserver-command=X</code> to <code>xserver-command=X -nocursor</code>, logout or reboot. (On new edge installations, this is done by autostart command <code>unclutter-xfixes --start-hidden --hide-on-touch</code>.)
* To simulate right mouse clicks with the touchscreen, long-click the return key of the onboard keyboard to get some mouse click options at the right side of the keyboard. For other possibilities of right mouse click emulation, see [[Input_methods#Simulate_secondary_click]].
* To simulate right mouse clicks with the touchscreen, long-click the return key of the onboard keyboard to get some mouse click options at the right side of the keyboard. For other possibilities of right mouse click emulation, see [[Input_methods#Simulate_secondary_click]].
* Clicking the onboard icon in the panel shows or hides the virtual keyboard. In the settings of onboard, a bigger floating icon for show/hide can be enabled.
* Clicking the onboard icon in the panel shows or hides the virtual keyboard. In the settings of onboard, a bigger floating icon for show/hide can be enabled.
* Hiding the cursor is done by autostart command <code>unclutter-xfixes --start-hidden --hide-on-touch</code> (just for information).


== Lock screen ==
== Lock screen ==
Screen locking and virtual keyboard was not set up until recently. On new edge installations, screen lock kicks in when the screen saver gets active. For unlocking, onboard keyboard with layout "Phone" is called.
The screen lock kicks in when the screen saver gets active. For unlocking, onboard keyboard with layout "Phone" is called.


For devices with a hardware keyboard, this is unfavorable. The virtual keyboard can be disabled by command <code>gesttings set org.mate.screensaver embedded-keyboard-enabled false</code>.
For devices with a hardware keyboard, this is unfavorable. The virtual keyboard can be disabled by command <code>gesttings set org.mate.screensaver embedded-keyboard-enabled false</code>.
Line 32: Line 32:


== Disk management ==
== Disk management ==
With the set of installed software, additional drives are not shown in the file manager. Install <code>gvfs</code> (already implemented on edge) and <code>udisks2</code> to make them available. (For more information see also [https://gitlab.com/postmarketOS/pmaports/-/issues/1377 pmaports#1377].)
With the set of installed software, additional drives are not shown in the file manager. Install package <code>udisks2</code> to make them available. (For more information see also [https://gitlab.com/postmarketOS/pmaports/-/issues/1377 pmaports#1377].)


As a graphical interface for formatting drives or image writing, e.g. package <code>gnome-disk-utility</code> can be installed (this installs <code>udisks2</code> as well). After installation, it's at Accessories -> Disks.
As a graphical interface for formatting drives or image writing, e.g. package <code>gnome-disk-utility</code> can be installed (this installs <code>udisks2</code> as well). After installation, it's at Accessories -> Disks.


== Bluetooth ==
== Bluetooth ==
Install package <code>blueman</code>, do <code>sudo rc-update add bluetooth default</code> and reboot. (On edge installations, bluetooth service is already enabled. On new edge installtions, Blueman is pre-installed.)
For bluetooth management package <code>blueman</code> is installed.


The tray icon needs right-clicking (for right-clicking see [[MATE#Input]] above). Alternatively use System -> Preferences -> Hardware -> Bluetooth Adapters and Bluetooth Manager, and <code>sudo rfkill unblock bluetooth</code> or <code>block</code> respectively to enable/disable.
The tray icon needs right-clicking (for right-clicking see [[MATE#Input]] above). Alternatively use System -> Preferences -> Hardware -> Bluetooth Adapters and Bluetooth Manager, and <code>sudo rfkill unblock bluetooth</code> or <code>block</code> respectively to enable/disable.


When packages <code>pulseaudio-utils</code> and <code>pavucontrol</code> are installed (implemented on new edge installations), the audio output can be changed at System -> Settings -> Other -> PulseAudio Volume Control -> Output Devices -> click the check button at the device you want to use.
The audio output can be changed at System -> Settings -> Other -> PulseAudio Volume Control -> Output Devices -> click the check button at the device you want to use.


For more information and troubleshooting see [[Xfce4#Bluetooth]] and [[Bluetooth]].
For more information and troubleshooting see [[Xfce4#Bluetooth]] and [[Bluetooth]].


== Additional software ==
== Additional software ==
* <code>gvfs</code> to make the trash can accessible. (Implemented on edge.)
* <code>udisks2</code> to make "removable" drives available.
* <code>gvfs</code> and <code>udisks2</code> to make "removable" drives available. (<code>gvfs</code> already implemented on edge.)
* <code>mate-tweak</code> to disable/enable desktop icons and some other tweak stuff. (Implemented on edge.)
* For sound to work out of the box, install <code>pulseaudio-utils</code> and <code>pavucontrol</code>. (Implemented on new installations by MR pmaports [https://gitlab.com/postmarketOS/pmaports/-/merge_requests/2820 !2820].)
* As a browser, install e.g. <code>firefox</code> or <code>firefox-esr</code>. To enable touch screen behaviour, add a new file <code>sudo vi /etc/profile.d/firefox-touch-scrolling.sh</code> and write <code>export MOZ_USE_XINPUT2=1</code>, in <code>about:config</code> change <code>dom.w3c.touch_events.enabled</code> from 2 (default, auto-detect) to 1 (enabled). For better touch screen usability, install package <code>mobile-config-firefox</code> ([https://gitlab.com/postmarketOS/mobile-config-firefox/-/blob/master/README.md more information]).
* As a browser, install e.g. <code>firefox</code> or <code>firefox-esr</code>. To enable touch screen behaviour, add a new file <code>sudo vi /etc/profile.d/firefox-touch-scrolling.sh</code> and write <code>export MOZ_USE_XINPUT2=1</code>, in <code>about:config</code> change <code>dom.w3c.touch_events.enabled</code> from 2 (default, auto-detect) to 1 (enabled). For better touch screen usability, install package <code>mobile-config-firefox</code> ([https://gitlab.com/postmarketOS/mobile-config-firefox/-/blob/master/README.md more information]).
* For phone applications, try <code>calls</code>, <code>chatty</code> and <code>gnome-contacts</code>, which are used in Phosh. Package <code>modemmanager</code> needs to be installed (gets installed automatically with these packages), start the service by <code>sudo rc-service modemmanager start</code>, add it permanently by <code>sudo rc-update add modemmanager default</code> and reboot.
* For phone applications, try <code>calls</code>, <code>chatty</code> and <code>gnome-contacts</code>, which are used in Phosh. Package <code>modemmanager</code> needs to be installed (gets installed automatically with these packages), start the service by <code>sudo rc-service modemmanager start</code>, add it permanently by <code>sudo rc-update add modemmanager default</code> and reboot.

Revision as of 11:59, 17 September 2022

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. However, it's less touch-friendly and configurable than Xfce4.

Installation

Run pmbootstrap init and choose mate in the interface section.

Additional software can be added at pmbootstrap init in step "Extra packages" or later on by sudo apk add ..., see also MATE#Additional_software.

Display

Follow the Display guide to optionally change it to landscape mode or fix display related issues.

Input

  • To simulate right mouse clicks with the touchscreen, long-click the return key of the onboard keyboard to get some mouse click options at the right side of the keyboard. For other possibilities of right mouse click emulation, see Input_methods#Simulate_secondary_click.
  • Clicking the onboard icon in the panel shows or hides the virtual keyboard. In the settings of onboard, a bigger floating icon for show/hide can be enabled.
  • Hiding the cursor is done by autostart command unclutter-xfixes --start-hidden --hide-on-touch (just for information).

Lock screen

The screen lock kicks in when the screen saver gets active. For unlocking, onboard keyboard with layout "Phone" is called.

For devices with a hardware keyboard, this is unfavorable. The virtual keyboard can be disabled by command gesttings set org.mate.screensaver embedded-keyboard-enabled false.

For touch devices with bigger screen, the layout can be changed to e.g. "Compact" by gesettings set org.mate.screensaver embedded-keyboard-command 'onboard -e -l Compact'. For more options of the onboard command see e.g. debian manpage.

The onboard keyboard takes quite some time to show up when unlocking. Alternatively, matchbox-keyboard can be installed and then applied by gsettings set org.mate.screensaver embedded-keyboard-command 'matchbox-keyboard --xid'. However, it's not as configurable as the onboard keyboard.

LightDM

Autologin is configured by default. If you want to use LightDM as a login screen, see Display_manager#LightDM how to set this up.

Disk management

With the set of installed software, additional drives are not shown in the file manager. Install package udisks2 to make them available. (For more information see also pmaports#1377.)

As a graphical interface for formatting drives or image writing, e.g. package gnome-disk-utility can be installed (this installs udisks2 as well). After installation, it's at Accessories -> Disks.

Bluetooth

For bluetooth management package blueman is installed.

The tray icon needs right-clicking (for right-clicking see MATE#Input above). Alternatively use System -> Preferences -> Hardware -> Bluetooth Adapters and Bluetooth Manager, and sudo rfkill unblock bluetooth or block respectively to enable/disable.

The audio output can be changed at System -> Settings -> Other -> PulseAudio Volume Control -> Output Devices -> click the check button at the device you want to use.

For more information and troubleshooting see Xfce4#Bluetooth and Bluetooth.

Additional software

  • udisks2 to make "removable" drives available.
  • As a browser, install e.g. firefox or firefox-esr. To enable touch screen behaviour, add a new file sudo vi /etc/profile.d/firefox-touch-scrolling.sh and write export MOZ_USE_XINPUT2=1, in about:config change dom.w3c.touch_events.enabled from 2 (default, auto-detect) to 1 (enabled). For better touch screen usability, install package mobile-config-firefox (more information).
  • For phone applications, try calls, chatty and gnome-contacts, which are used in Phosh. Package modemmanager needs to be installed (gets installed automatically with these packages), start the service by sudo rc-service modemmanager start, add it permanently by sudo rc-update add modemmanager default and reboot.
  • To view PDF files, install package atril, for alternatives see PDF#PDF_viewers.
  • Graphical interface for formatting drives or writing images e.g. gnome-disk-utility.