main/postmarketos-ui-mate: improve touch-friendliness
Maintenance:
Changed version numbering to SemVer type.- Renamed gschema override files for "system background" and "screensaver" to prefix number "10", that's more common for distribution-delivered gschema override files. Basically the prefix number just separates the override files from the xml files.
- For gschema override files "caja single click" and "mate terminal colors" replaced underline by dash character for better alphabetic sorting.
- In the APKBUILD, adapted the install of file "gtk.css" to the "-t" option, as no file name change is needed.
- Sorted the installs alphabetically per path, except the for the file "61-lightdm-autologin.conf", this one is at the end because it doesn't use the "-t" option due to file renaming.
Touch-friendliness:
- Increased size of the upper and lower panel from 24 to 36 px. This also increases the size of the icons in the panel. Unfortunately, at installation the panel layout config file is stronger than the gsettings override of the panel size, therefore a new panel layout config file is needed. It corresponds to the upstream default layout, just the panel size values were changed.
- Increased the size of the window buttons by changing the window border theme to "HighContrast". That's not the nicest looking theme but the one with the largest window buttons – convenient for touch devices.
- Increased general font sizes from 10 to 12 px. This goes along with increased panel size and window button size, avoiding looking it too unproportional.
- Changed the layout of the panel clock to just show the time (no date or week day). This saves space on devices with small screen. As the panel size was increased, display size gets tight on devices with small screen.
- Changed the layout of the panel workspace switcher to show names in the format of "- x -". This is a workaround to artificially increase the size of the workspace switcher buttons on portrait displays. Because otherwise these buttons are very squeezed on portrait displays due to the display ratio.
- Add an application shortcut for a maximized terminal to the users Desktop upon installation.
In case someone intends to test this MR on qemu: On default qemu resolution 640x480 the "Apply" button to change resolution in the MATE settings is out of the screen. I submitted MR !5712 (merged) to mitigate this. Until then the resolution can by changed by xrandr: sudo apk add xrandr
and xrandr --size 800x600
(via ssh with a prepending DISPLAY=:0
).
Merge request reports
Activity
- Resolved by Jakko
Changed version numbering to SemVer type.
What is the benefit of this in your mind? We decided against using semver for device packages as we found that there is no clear benefit to it. I don't think there is any formal rule for UI packages, so we can probably keep it if you insist, but I'm curious.
added 1 commit
- 6e940649 - main/postmarketos-ui-mate: improve touch-friendliness
- Resolved by Jakko
Pipeline keeps failing at "pytest-commits", I don't know why.
- Resolved by Jakko
Did just a quick test with mrtest on my
asus-grouper
:- the changes look good
- the autologin script needed manual adjustment for my user name
- the desktop shortcut for a maximized terminal did not show up on my users desktop.
I've set up MR !5735 (merged) to clean up the post-install scripts.
added 74 commits
-
6e940649...62440e5f - 73 commits from branch
postmarketOS:master
- 433528ee - main/postmarketos-ui-mate: improve touch-friendliness
-
6e940649...62440e5f - 73 commits from branch
The issue with the autologin file vs. wrong post-install/-upgrade script was solved by !5735 (merged). Mrtest now should work on this MR here as expected.
As described above, on package upgrade (plus logout or reboot) the panel size won't get changed and the desktop shortcut for a maximized terminal doesn't get installed. The changes are mainly aiming for new installs. On existing installs after upgrade, to apply those two changes as well, the first could be obtain by right-clicking the panel and choose "Reset All Panels" (and logout or reboot to restore the onboard panel icon), the second by copying
cp /etc/skel/Desktop/mate-terminal-maximized.desktop ~/Desktop/.
.I'll mark this MR as ready.
added ui-mate label