package-helpers issueshttps://gitlab.trisquel.org/trisquel/package-helpers/-/issues2024-03-17T00:53:54Zhttps://gitlab.trisquel.org/trisquel/package-helpers/-/issues/151Trying to add a user with mate-user-admin may fail due to invalid username2024-03-17T00:53:54ZprosperoTrying to add a user with mate-user-admin may fail due to invalid usernameWhen adding a user, mate-user-admin assumes that `useradd` will be called and checks the username string based on what `useradd` accepts. But then `adduser` is called and the username may still be rejected due to the stricter NAME_REGEX ...When adding a user, mate-user-admin assumes that `useradd` will be called and checks the username string based on what `useradd` accepts. But then `adduser` is called and the username may still be rejected due to the stricter NAME_REGEX in /etc/adduser.conf, triggering this error message: `running '/usr/sbin/adduser' failed: Child process exited with code 1`.
It looks like `accountsservice` was patched by Debian to use `adduser` instead of `useradd`:
https://sources.debian.org/patches/accountsservice/22.08.8-6/0002-create-and-manage-groups-like-on-a-debian-system.patch
* Screenshot: https://trisquel.info/files/Screenshot%20at%202024-03-02%2012-25-34.png
* Upstream report: https://github.com/zhuyaliang/user-admin/issues/62
* Debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065773https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/152Caja readability issue on selected elements of inactive panel at list view2024-03-21T18:03:22ZIgnacio AgullóCaja readability issue on selected elements of inactive panel at list view### Affected revisions/versions
* greybird-gtk-theme - 3.23.1-0ubuntu1+11.0trisquel11
### Description of the issue.
`Trisquel Dark` theme shows small readability problems as the `Trisquel` theme in Caja:
When using Caja with two panels...### Affected revisions/versions
* greybird-gtk-theme - 3.23.1-0ubuntu1+11.0trisquel11
### Description of the issue.
`Trisquel Dark` theme shows small readability problems as the `Trisquel` theme in Caja:
When using Caja with two panels (F3), the text of the selected elements of the inactive panel is unreadable because of having ink and background both in white color.
### How to trigger
It only happens with the "list" layout, and not with the "icons" nor the "compact" layout:
![selected_elements_inactive_panel](/uploads/bbe68b9f1f76c7efcc83b27a0a0709f9/selected_elements_inactive_panel.png)
![selected_elements_inactive_panel_list](/uploads/873f22c70cddfc51ac548a020994e4e8/selected_elements_inactive_panel_list.png)
### Current behavior
Here is how Trisquel and Trisquel Dark currently display list views on active (left) and inactive (right) panels:
![default_list](/uploads/848375a4b55e4d9965d508f0715dc08f/default_list.png)
![Trisquel_Dark](/uploads/f812a6def900fe51e6598d0597d3ef44/Trisquel_Dark.png)
### Workaround
There has been some progress here:
- `#84add6` looks even better as a background color as things stand, it is somewhere between the above two and balances better the constraints from the font colors,
- it appears that I had, in fact, managed to change the font for selected items, but failed to notice a difference, probably for failing to reload the theme properly. So I'll do a diff a test those values one by one.
### Upstream issue
* https://github.com/shimmerproject/Greybird/issues/345Luis GuzmánLuis Guzmánhttps://gitlab.trisquel.org/trisquel/package-helpers/-/issues/150Icedove: depending on font size, message list doesn't go/show the bottom mess...2024-03-14T19:33:06ZAdonay Felipe NogueiraIcedove: depending on font size, message list doesn't go/show the bottom message in both "Compact" and "Default" view densities**Affected revisions/versions**
115.8.1 (package version: 1:115.8.1+build1-0ubuntu0.22.04.1+11.0trisquel21)
**Steps to reproduce**
1. Do one of the following methods:
- From Trisquel's start menu:
1. Trisquel's start menu > Sy...**Affected revisions/versions**
115.8.1 (package version: 1:115.8.1+build1-0ubuntu0.22.04.1+11.0trisquel21)
**Steps to reproduce**
1. Do one of the following methods:
- From Trisquel's start menu:
1. Trisquel's start menu > System > Preferences > Visual and Behavior > Appearance.
2. Fonts tab.
3. Applications font.
4. Change the size to "24".
- Run `mate-appearance-properties` and steps 2 to 4 from the first method.
- From `dconf-editor`:
1. Edit `/org/mate/desktop/interface/font-name`.
2. Change it according to step 4 of the first method.
2. View > Density.
- Select either "Compact" or "Default". ![1](/uploads/1ba57338bd2336cf0dba13a4bfe319f2/1.png)
3. Try to scroll, go to, open/enter or click any message near the bottom, both using mouse and keyboard. The following image was taken after using the End key. ![2](/uploads/9c61825766f3060ee9d9f7140eaefb5c/2.png)
**Current behavior**
- "Compact" view density:
- Any visibility, overflow or scroll is limited to messages not in the bottom. Notice that in the image from step 3, after using the End key, the messages in view are not those from the bottom, the scroll bar shows that there are more messages after the current view, but the bottom message is selected anyways because the dark blue background is not visible.
- Opening/entering messages at the bottom works so long as you use only the keyboard, but you won't see any change in the list due to the item above.
- Using the mouse to click on any message affected by the issue causes the list to scroll upwards to a range which **doesn't have** the selected message, while keeping the selection for further navigation using the keyboard. After step 3, I used the mouse to click on the message with "Pale Moon" subject from image at step 3, which caused the scroll that led to the following image. ![3](/uploads/155547a07494647b35f269e9164bd5a6/3.png)
- "Default" view density:
- Using the End key as seen from step 3 also causes the scroll bar and message list go to an incorrect range before the bottom message, while still selecting that message, just like in "Compact" view density.
- You **can** use the mouse scroll to reach the last message in the list.
- You **can** click on any message in the list in order to select it and the scroll bar and view will only move slightly in order to center the view on the selection, that is, it **won't** jump to a range that doesn't have the selected message.
**Expected behavior**
- Mouse and keyboard should have the same effect, and visibility shouldn't be affected.
**Workaround**
View > Density > Relaxed.
**Other tests**
1. With `/org/mate/desktop/interface/font-name` set to "24" and "Font size" from Icedove's menu set to the maximum (30px), the problem persists.
2. With `/org/mate/desktop/interface/font-name` set to default ("9") and "Font size" from Icedove's menu set to the maximum (30px), the problem **still** persists and also makes other programs, not Icedove, have small text. Besides, due to subnormal sight of this user, anything on a screen with fonts smaller than 24pt in high DPI screens is next to unreadable.
3. With `/org/mate/desktop/interface/font-name` set to default ("9") and "Font size" from Icedove's menu set to 24px, **only the "Compact" view density presents the issue, with a slight change of behavior:**
- You **can** use the mouse scroll to reach the last message in the list.
- You **can** click on any message in the list in order to select it and the scroll bar and view will only move slightly in order to center the view on the selection, that is, it **won't** jump to a range that doesn't have the selected message.
4. Any font size in Icedove > Edit > Settings > General > Fonts & Colors > Advanced is ignored, this is known because in most of the tests so far, the size was set to "24" to places that accept a size in that settings dialog.
5. With `/org/mate/desktop/interface/font-name` set to the default ("9") and "Font size" from Icedove's menu set to the default of 12px, **the issue is not reproducible**.
6. With `/org/mate/desktop/interface/font-name` set to "24" and "Font size" from Icedove's menu set to 24px, **only the "Compact" view density presents the issue, with a slight change of behavior:**
- You **can** use the mouse scroll to reach the last message in the list.
- You **can** click on any message in the list in order to select it and the scroll bar and view will only move slightly in order to center the view on the selection, that is, it **won't** jump to a range that doesn't have the selected message.
7. Assuming that **order matters**, with "Font size" from Icedove's menu set to the maximum (30px) and with `/org/mate/desktop/interface/font-name` set to "24", **in this order**, all the problems still persist.
8. Assuming that **order matters**, with "Font size" from Icedove's menu set to the maximum (30px) and with `/org/mate/desktop/interface/font-name` set to default ("9"), **in this order**, all the problems still persist.
9. Assuming that **order matters**, with "Font size" from Icedove's menu set to 24px and with `/org/mate/desktop/interface/font-name` set to default ("9"), **in this order**, **only the "Compact" view density presents the issue, with a slight change of behavior:**
- You **can** use the mouse scroll to reach the last message in the list.
- You **can** click on any message in the list in order to select it and the scroll bar and view will only move slightly in order to center the view on the selection, that is, it **won't** jump to a range that doesn't have the selected message.
10. With `/org/mate/desktop/interface/font-name` set to "24" and by restarting Icedove (notice that the number next to "Font size" from Icedove's menu changes to 32px), the problem persists.
11. With `/org/mate/desktop/interface/font-name` set to the default ("9") and by restarting Icedove (notice that the number next to "Font size" from Icedove's menu changes to 12px), **the issue is not reproducible**.
12. Assuming that the message panel at the bottom from View > Layout might produce a different behavior, have it enabled, set `/org/mate/desktop/interface/font-name` to "24" and restart Icedove (notice that the number next to "Font size" from Icedove's menu changes to 32px), as a result the problem persists.
13. Assuming that the message panel at the bottom from View > Layout might produce a different behavior, have it enabled, set `/org/mate/desktop/interface/font-name` to its default ("9") and restart Icedove (notice that the number next to "Font size" from Icedove's menu changes to 12px), as a result **the issue is not reproducible**.
**Suggestions for investigation and possible causes**
- The scripts that are run after attribute changes of `tbody[is="tree-view-table-body"]`.
- How Icedove calculates the client height in the overall scroll area vs. the new set of rows that should be displayed.
- Find a way for the calculations from the previous item to take into account the user's choice of font and size.
- This issue might be related to how the DPI settings are applied to the screen that the user has.
- Set the "Relaxed" view density as the default.https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/147SolarWolf crashing in full screen2024-03-03T20:38:23ZMagic BananaSolarWolf crashing in full screenOn Trisquel 11, setting the "Fullscreen" display in SolarWolf's "SETUP" (or having it already configured that way) crashes the game. Here is the terminal output:
```
pygame 2.1.2 (SDL 2.26.5, Python 3.10.12)
Hello from the pygame commun...On Trisquel 11, setting the "Fullscreen" display in SolarWolf's "SETUP" (or having it already configured that way) crashes the game. Here is the terminal output:
```
pygame 2.1.2 (SDL 2.26.5, Python 3.10.12)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "/usr/games/solarwolf", line 192, in <module>
if __name__ == '__main__': main()
File "/usr/games/solarwolf", line 59, in main
exception_handler()
File "/usr/games/solarwolf", line 49, in main
main.main(sys.argv)
File "/usr/lib/games/solarwolf/main.py", line 18, in main
gamemain(args)
File "/usr/lib/games/solarwolf/main.py", line 78, in gamemain
if event.state == 4 and event.gain:
AttributeError: 'Event' object has no attribute 'state'
```
https://dcc.ufmg.br/~lcerf/2024-02-28-15-48-22.webm shows the problem and a workaround: commenting lines 77-87 of /usr/lib/games/solarwolf/main.py avoids the execution of the line testing event.state. SolwarWolf then runs fine. In the OBS record, the video appears black, but the game was actually running. The (in)existence of ~/.solarwolf makes no difference.
The problem affects as well Xubuntu 22.04.2 according to https://github.com/pygame/solarwolf/issues/13 where I detail the resolutions my screen goes through. So, I guess the problem is not to be solved at Trisquel's level but @Ark74 asked me to open an issue because there is no crash on a fresh install of Trisquel 11.0.1: https://gitlab.trisquel.org/trisquel/package-helpers/-/merge_requests/1286#note_11557https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/146Does Trisquel use/backport the CVE-2022-35978 Minetest patch?2024-02-27T16:26:28ZCody ArnoldDoes Trisquel use/backport the CVE-2022-35978 Minetest patch?https://trisquel.info/en/forum/does-trisquel-usebackport-cve-2022-35978-minetest-patch
has a post about this question, and maybe how to backport a patch.
It partly shows
> dpkg-source: info: extracting minetest in minetest-5.4.1+repack...https://trisquel.info/en/forum/does-trisquel-usebackport-cve-2022-35978-minetest-patch
has a post about this question, and maybe how to backport a patch.
It partly shows
> dpkg-source: info: extracting minetest in minetest-5.4.1+repack
dpkg-source: info: unpacking minetest_5.4.1+repack.orig.tar.gz
dpkg-source: info: unpacking minetest_5.4.1+repack-2build1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying kfreebsd-gettext.patch
dpkg-source: info: applying shared_mods.patch
dpkg-source: info: applying rawlua.patch
dpkg-source: info: applying postgresql.patch
dpkg-source: info: applying fix_typos.patch
dpkg-source: info: applying gcc_11.patch
Though just pulling code or binaries from upstream may introduce a vulnerability into Trisquel.
https://trisquel.info/en/forum/glibc-vulnerability-newer-versions
https://gitlab.trisquel.org/trisquel/trisquel-packages/-/issues/28
https://blog.qualys.com/vulnerabilities-threat-research/2024/01/30/qualys-tru-discovers-important-vulnerabilities-in-gnu-c-librarys-syslog
shows in part.
> For the first vulnerability (CVE-2023-6246), a significant security flaw has been identified in the GNU C Library’s __vsyslog_internal() function, affecting syslog() and vsyslog(). This heap-based buffer overflow vulnerability was inadvertently introduced in glibc 2.37 (August 2022) and subsequently backported to glibc 2.36 while addressing a different, less severe vulnerability (CVE-2022-39046). Major Linux distributions like Debian (versions 12 and 13), Ubuntu (23.04 and 23.10), and Fedora (37 to 39) are confirmed to be vulnerable. This flaw allows local privilege escalation, enabling an unprivileged user to gain full root access, as demonstrated in Fedora 38.https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/145Useless dependency libgcc_s.so.1 found in ironseed?2024-02-25T17:50:38ZCody ArnoldUseless dependency libgcc_s.so.1 found in ironseed?I was thinking about editing out fantasy from some games like ironseed, to only use the mechanic, at least on my computer, and I saw a "useless dependency"
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/iron...I was thinking about editing out fantasy from some games like ironseed, to only use the mechanic, at least on my computer, and I saw a "useless dependency"
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ironseed/usr/games/is debian/ironseed/usr/libexec/ironseed/intro debian/ironseed/usr/libexec/ironseed/crewgen debian/ironseed/usr/libexec/ironseed/main were not linked against libgcc_s.so.1 (they use none of the library's symbols)
near the end of the
fakeroot apt-get source -b ironseed
build I was building.
I did not edit anything, I was just testing if this can compile, before I changed anything, it can but with that warning.
Is this a bug to report in the Trisquel gitlab issues, or is the dependency needed by something still in the package, so only the "warning" is bug like?
Thank you for the help
https://trisquel.info/en/users/magic-banana
about the upstream url shown at
https://trisquel.info/en/forum/useless-dependency-found
The game still builds with
fakeroot apt-get source -b ironseed
though I did not yet try to change the code to edit out whatever is linking to libgcc_s.so.1
so I do not know yet if it is a "useless dependency" or still may be needed to build or run ironseed even though the apt-get (I think) "warning" shows it may not be needed.
Maybe upstream is adding something with the dependency to the game in the future, or maybe upstream is removing something, so ironseed does not need the dependency now, though I do not know.
Will reporting here or upstream be better, and should the report be sent to ironseed or apt-get, to both or someone else?
I do not know if this is a ironseed bug or apt-get bug or bug in both.https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/140Trisquel_11: GnuAbrowser: Fix LTO, PGO for Power92024-02-07T01:47:10ZcarlosgonzTrisquel_11: GnuAbrowser: Fix LTO, PGO for Power9Apply this patch will fixes l.t.o, p.g.o on Compiler then will make GnuAbrowser 6% Faster on i.b.m power9. Web.r.t.c already fixed from mainstream on v122.
https://gist.githubusercontent.com/classilla/1202f8d467749c029325278a87a068c8/r...Apply this patch will fixes l.t.o, p.g.o on Compiler then will make GnuAbrowser 6% Faster on i.b.m power9. Web.r.t.c already fixed from mainstream on v122.
https://gist.githubusercontent.com/classilla/1202f8d467749c029325278a87a068c8/raw/1c954a3a98c3b0413eb02e314f59a5b2dfbd0b34/firefox-pgo.diff
```https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/136Power9: Trisquel_11: VAAPITest is missing on GnuAbrowser2024-02-09T21:11:02ZcarlosgonzPower9: Trisquel_11: VAAPITest is missing on GnuAbrowser GnuAbrowser depend on VAAPITest to get work Video HardAccel VA-API. For some reason Vaapitest is missing from:
```
carlosgonz@blackbird:/usr/lib/abrowser$ ls
abrowser fonts libmozsqlite3.so libplds4.so
applic... GnuAbrowser depend on VAAPITest to get work Video HardAccel VA-API. For some reason Vaapitest is missing from:
```
carlosgonz@blackbird:/usr/lib/abrowser$ ls
abrowser fonts libmozsqlite3.so libplds4.so
application.ini glxtest libmozwayland.so libsmime3.so
browser libfreeblpriv3.so libnspr4.so libsoftokn3.so
defaults libgkcodecs.so libnss3.so libssl3.so
dependentlibs.list libipcclientcerts.so libnssckbi.so libxul.so
distribution liblgpllibs.so libnssutil3.so omni.ja
firefox.sh libmozgtk.so libplc4.so platform.ini
carlosgonz@blackbird:/usr/lib/abrowser$ ls distribution
```
```
carlosgonz@blackbird:/usr/lib/abrowser$ MOZ_LOG="PlatformDecoderModule:5 Dmabuf:5" MOZ_REMOTE_SETTINGS_DEVTOOLS=1 abrowser
[Parent 114446: Main Thread]: D/Dmabuf DMABufDevice::Configure()
[Parent 114446: Main Thread]: D/Dmabuf Loading DMABuf system library libgbm.so.1 ...
[Parent 114446: Main Thread]: D/Dmabuf Using DRM device /dev/dri/renderD128
[Parent 114446: Main Thread]: D/Dmabuf DMABuf is enabled
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: FireTestProcess failed: Failed to spawn child process “/usr/lib/abrowser/vaapitest” (No such file or directory)
(t=0.627961) [GFX1-]: FireTestProcess failed: Failed to spawn child process “/usr/lib/abrowser/vaapitest” (No such file or directory)
```
thankshttps://gitlab.trisquel.org/trisquel/package-helpers/-/issues/130application xoscope listed in wrong category ("Internet")2024-02-28T05:31:34Zknifeapplication xoscope listed in wrong category ("Internet")The application xoscope[1][2] is listed in menu "Internet"
xoscope is about "Data Visualization, Exam, Audio Analysis"[1]
The menu-item that represents this application should be moved to the category "Programming"
[1] https://sourcef...The application xoscope[1][2] is listed in menu "Internet"
xoscope is about "Data Visualization, Exam, Audio Analysis"[1]
The menu-item that represents this application should be moved to the category "Programming"
[1] https://sourceforge.net/projects/xoscope/
[2] https://xoscope.sourceforge.net/
regards, knifehttps://gitlab.trisquel.org/trisquel/package-helpers/-/issues/123debootstrap: use debian's version?2023-11-08T21:55:44ZSimon Josefssondebootstrap: use debian's version?Hi. Is there any reason we don't upstreaming the scripts into debian, and using that package instead?
The current helper-debootstrap script removes all non-trisquel scripts, including debian/ubuntu/etc, which is not that helpful becaus...Hi. Is there any reason we don't upstreaming the scripts into debian, and using that package instead?
The current helper-debootstrap script removes all non-trisquel scripts, including debian/ubuntu/etc, which is not that helpful because for debootstrap you would want scripts from all various systems.
Currently the only diff between trisquel's scripts and the latest version in debian is this:
```
--- /home/jas/dpkg/debootstrap/scripts/aramo 2023-11-08 22:43:50.615905742 +0100
+++ /home/jas/src/trisquel/package-helpers/helpers/DATA/debootstrap/aramo 2023-07-06 19:02:47.831546606 +0200
@@ -1,11 +1,5 @@
-case $ARCH in
- amd64|i386)
- default_mirror http://archive.trisquel.info/trisquel
- ;;
- *)
- default_mirror http://ports.trisquel.info/trisquel
- ;;
-esac
+default_mirror http://archive.trisquel.org/trisquel
+
mirror_style release
download_style apt
finddebs_style from-indices
```
And as far as I can see, ports.trisquel.info is no longer used by Trisquel so the Debian script is incorrect.
I think a bug report should be filed for debian's debootstrap to update it, and then trisquel can use debootstrap from debian directly to give us debootstrap support for non-trisquel platforms too.
The only reason I could think of would be to reject non-free package repositories, but the debian 'debootstrap' scripts does not mention contrib, non-free, multiverse, restricted or anything like that.https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/114"non-upstream issue" (or "non-stream issue") label2023-10-21T18:55:19ZDavid Hedlund"non-upstream issue" (or "non-stream issue") label> "Trisquel maintains around \~300 packages just as [package-helpers](https://gitlab.trisquel.org/trisquel/package-helpers) for each release, out of a repo of \~60K, if we use the Pareto principle (and the statistics) it possible than mo...> "Trisquel maintains around \~300 packages just as [package-helpers](https://gitlab.trisquel.org/trisquel/package-helpers) for each release, out of a repo of \~60K, if we use the Pareto principle (and the statistics) it possible than more than 80% of issues are upstream issues, then less than \~20% might be trisquel ones." - https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/91#note_10319, @Ark74
My focus is to submit Trisquel-specific issues. 26 of 30 issues (87%) that I've submitted are Trisquel-specific, the rest are upstream issues.
To make it possible to distinguish the ["upstream issue open" label](https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/91#note_10319) from non-upstream issue, it would in my opinion be useful with a **"non-upstream issue" label**, or perhaps a **"non-stream issue" label** to avoid confusion with the potential ["downstream issue" label](https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/119).https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/112Separate linux-image security vs non-security package upgrades2023-09-29T22:17:03ZSimon JosefssonSeparate linux-image security vs non-security package upgradesHi!
There is quite some churn in the linux-image packages, with new releases often. For a production system, I want to reboot as soon as a new image is available that contains security fixes, however I would not want to do that for "no...Hi!
There is quite some churn in the linux-image packages, with new releases often. For a production system, I want to reboot as soon as a new image is available that contains security fixes, however I would not want to do that for "normal" bugfixes; to reduce downtime, and reduce the risks associated with a reboot of a machine installed in a remote data centre.
Frequent new packages is a good thing, so this bug report is mostly a request to somehow separate security from non-security uploads. Would it make sense to put security-fixes into aramo-security? And have aramo-updates be for general bug fixes which can be pumped up more often. Then I could probably setup some Apt Pining to only upgrade linux-image* from aramo-security and skip the aramo-update packages.
This may be another example of the problem described in #37, but I'm not sure, and my scenario seems more problematic than the one described in #37 and it may have different solutions, so I'm opening this bug report to get discussion going around what solutions there could be.
Thank you for consideration,
/Simonhttps://gitlab.trisquel.org/trisquel/package-helpers/-/issues/108Artifacts in window title bar when title text does not fit window width2024-03-19T01:19:27ZprosperoArtifacts in window title bar when title text does not fit window widthOn Trisquel 11 Aramo with MATE, when the window title is too long to fit the width of the title bar, black squares or rectangles appear at the beginning and nearby the end of the title, similarly to what was reported there against Marco:...On Trisquel 11 Aramo with MATE, when the window title is too long to fit the width of the title bar, black squares or rectangles appear at the beginning and nearby the end of the title, similarly to what was reported there against Marco: https://github.com/mate-desktop/marco/issues/595.
On Trisquel 11, this happens with all available themes except Black MATE, GreenLaguna, Greybird, Greybird-dark, Menta and BlueMenta. At least two reporters where using Intel integrated graphics, but the bug seems to affect only <strike>some machines</strike> Marco.
- With the **Trisquel** default theme:
![Trisquel_theme](/uploads/ecee027d2bb4222cd057b0bed1cc4f1f/Trisquel_theme.jpg)
- With the **Menta** theme:
![Menta_theme](/uploads/fd219fd63acd47117d1c70e3cc312985/Menta_theme.jpg)
Ubuntu MATE support issue: https://ubuntu-mate.community/t/ugly-black-squares-on-window-title-bar-in-pluma/23641.
Ubuntu MATE bug report: https://bugs.launchpad.net/ubuntu-mate/+bug/1994170.
**UPDATE**: I eventually managed to test this on a different machine with a **dedicated GPU**, and the artifacts reported above are **not showing** when I am using that dedicated GPU (GeForce GTX 1050-ti), with or without Xpresent. The title text gets properly rounded nearby the end of its dedicated space, filling most of it, and the mysterious boxes are gone. MATE system monitor says "llvmpipe" is used for graphics. I am getting the boxes if I use the Intel integrated graphics available on that machine instead.
**UPDATE:** the glitches are not present when using the same themes in Xfce (and **xfwm4**), nor in Cinnamon (**Muffin**) as reported in the Marco issue tracker.
**UPDATE:** this has now also been reproduced with **AMD Radeon [Radeon HD 6450/7450/8450 / R5 230 OEM]** graphics on Ubuntu 22.04, as mentioned in the Marco issue report.https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/106Remove org.mate.panel.toplevel.background to allow background colors for all ...2023-10-21T18:54:14ZDavid HedlundRemove org.mate.panel.toplevel.background to allow background colors for all themes# Ubuntu MATE 22.04
The system-wide default background color for the mate-panel is **system theme**.
# Trisquel 11 issue
The system-wide default background color for the mate-panel is set to black, instead of **system theme**.
## Scr...# Ubuntu MATE 22.04
The system-wide default background color for the mate-panel is **system theme**.
# Trisquel 11 issue
The system-wide default background color for the mate-panel is set to black, instead of **system theme**.
## Screenshot from Trisquel 11 in live mode from a USB stick: 50% transparent
![usb-1](/uploads/1978ba116f74b8554ac6b5ae9a01170f/usb-1.png)
/usr/share/glib-2.0/schemas/x_trisquel.gschema.override
```
[org.mate.panel.toplevel.background]
opacity=30000
color='#000000'
type='color'
```
---
Note that the panel in the above screenshot is pitch black despite that it is 50% transparent. When you change the Style value it will take effect (but this is another issue):
![usb-2](/uploads/9e3fcf23bb43579e8a2884135881c917/usb-2.png)
`gsettings set org.mate.panel.toplevel.background:/org/mate/panel/toplevels/top/background/ color 'rgba(0,0,0,0.502)'` can be used but [will not update the knob in knob](https://github.com/mate-desktop/mate-panel/issues/1408).
dconf-editor /org/mate/panel/toplevels/top/background/opacity describes: "Specifies the opacity of the background color format. If the color is not completely opaque (a value of less than 65535), the color will be composited onto the desktop background image."
## Screenshot from Trisquel 11 in live mode from a virtual machine: 100% opaque
![Screenshot_trisquel11_2023-10-05_08_51_08](/uploads/54f639a2b1d466f1f16f5b57d318e77f/Screenshot_trisquel11_2023-10-05_08_51_08.png)
/usr/share/glib-2.0/schemas/x_trisquel.gschema.override
```
[org.mate.panel.toplevel.background]
opacity=30000
color='#000000'
type='color'
```
## This affects all light themes negatively
All themes (`mate-appearance-properties -p theme`) with light text on 50% transparent window buttons are virtually useless on dark panel background colors because the text is too difficult to read:
* BlueMenta
* GreenLaguna
* High Contrast
* Menta
* These themes are also affected but to less degree since they add gray window button color (but the rest of the panel, for example the text on the ayatana clock is affected): TraditionalGreen, foo: YaruGreen, YaruOK, TraditionalOK
Screenshot of BlueMenta theme with the default Trisquel panel background color:
![Screenshot_trisquel_11.0_amd64.iso-keyboard_2023-08-30_14_21_24](/uploads/d365c6cfd23dfde525e7586ba6bd787c/Screenshot_trisquel_11.0_amd64.iso-keyboard_2023-08-30_14_21_24.png)
Other related issues:
* Solid panel color makes the handles invisible - https://github.com/mate-desktop/mate-panel/issues/1403
# Solution
## Set system-wide default background color (strongly recommended for the next release of Trisquel)
Remove these lines from /usr/share/glib-2.0/schemas/x_trisquel.gschema.override:
```
[org.mate.panel.toplevel.background]
opacity=30000
color='#000000'
type='color'
```
* sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
* Sign out, and sign in.
* When you right-click on the mate-panel and select "Reset All Panels", the system-wide default will reset it to **system theme**.
* Screenshot that verifies that this solution worked. Here the BlueMenta theme used again:
![Screenshot_0default-trisquel_11.0_amd64.iso-clone_2023-09-20_12_28_02](/uploads/39685c9f901ddcedcba9192e58bf34b6/Screenshot_0default-trisquel_11.0_amd64.iso-clone_2023-09-20_12_28_02.png)
The original Trisquel will not be negatively impacted:
![Screenshot_trisquel_11.0_amd64.iso_2023-10-06_00_19_02](/uploads/bdbf1b6cf3980e5111494def53bd70fa/Screenshot_trisquel_11.0_amd64.iso_2023-10-06_00_19_02.png)
### Ineffective long-term user solution: Changing the panel color via GUI, dconf, or gsettings
Setting the background color from the GUI (or **dconf**, or **gsettings**) is not effective: Right-click on the mate-panel, select Properties, the Panel Properties window will open. Click on the "Background" tab:
![image](/uploads/3996684967df2eaf473b1783df9a919f/image.png)
The reason why it is not effective is that the panel will [crash](https://github.com/mate-desktop/mate-panel/issues?q=is%3Aissue+is%3Aopen+crash) at some point. "Reset All Panels" is used to restore the mate-panel, but it will restore the values to system-wide defaults (in this case #000000 defined in /usr/share/glib-2.0/schemas/x_trisquel.gschema.override), not with the settings that you added applied from the GUI, dconf, or gsettings. In Trisquel 11, I have to click on "Reset all Panels" a few times per month due to bugs that randomly crashes it.
To best understand this:
* Change the panel color to red from the GUI.
* Click on "Reset All Panels":
![image](/uploads/fd75053c1d595fc440c7ffa81c2643a1/image.png)
* The color will be not red anymore.
## Add 50% transparent panel color to the theme CSS (bonus for the next release of Trisquel or later)
I evaluated the themes in the mate-themes, and the ubuntu-mate-themes package, and found no theme that are using semi-transparent style for the panel color.
However, if you really want to set back 50% transparent panel color, you should edit the CSS files for the Trisquel themes. Search for ".mate-panel-menu-bar" in /usr/share/themes/Trisquel/gtk-3.0/gtk.css.
The background color should absolutely be removed to all cost, to allow themes to function as expected. The lack of a semi-transparent panel color is a secondary issue, and can be worked on later.https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/104/usr/share/backgrounds: Allow only images with full HD (1920x1080)2023-10-21T18:58:11ZDavid Hedlund/usr/share/backgrounds: Allow only images with full HD (1920x1080)For the issue, see: mate-appearance-properties -p background: Do not disable Style, so the lock screen background always can be configured #718 - https://github.com/mate-desktop/mate-control-center/issues/718
Non-FHD (full HD) images:
*...For the issue, see: mate-appearance-properties -p background: Do not disable Style, so the lock screen background always can be configured #718 - https://github.com/mate-desktop/mate-control-center/issues/718
Non-FHD (full HD) images:
* 1600x1200: /usr/share/backgrounds/dwyn.png
* 1600x1200: /usr/share/backgrounds/robur.png
* 1280x800: /usr/share/backgrounds/cosmos/comet.jpg
* 1280x800: /usr/share/backgrounds/cosmos/earth-horizon.jpg
* 1280x800: /usr/share/backgrounds/cosmos/jupiter.jpg
# Suggestion 1: Remove them
Remove
* /usr/share/backgrounds/dwyn.png
* /usr/share/backgrounds/robur.png
Add a script to exclude these files from /usr/share/backgrounds/cosmos/ (that is copied from Ubuntu MATE)
* /usr/share/backgrounds/cosmos/comet.jpg
* /usr/share/backgrounds/cosmos/earth-horizon.jpg
* /usr/share/backgrounds/cosmos/jupiter.jpg
# Suggestion 1: Resize them
Ideally to 5120x2880 to make like /usr/share/backgrounds/aramo.jpg, but at least 1920x1080.
# Solution 2: Move all individual directories for with screen resolution names
See [[Feature request] Create individual directories for with screen resolution names #41](https://github.com/mate-desktop/mate-backgrounds/issues/41) for mate-desktop/mate-backgroundshttps://gitlab.trisquel.org/trisquel/package-helpers/-/issues/96Light theme: Trisquel-light theme + Trisquel-Mono-Light icons2023-10-21T18:54:51ZDavid HedlundLight theme: Trisquel-light theme + Trisquel-Mono-Light icons# Theme
* /usr/share/themes/Trisquel/ -- This is the default theme. It has dark background color on the Panel, and light background color on the window borders
* /usr/share/themes/Trisquel-dark/ -- it has dark background color on the Pan...# Theme
* /usr/share/themes/Trisquel/ -- This is the default theme. It has dark background color on the Panel, and light background color on the window borders
* /usr/share/themes/Trisquel-dark/ -- it has dark background color on the Panel, and dark background color on the window borders
# Trisquel Light (proposed)
/usr/share/themes/Trisquel-light/ -- suggested theme, with light background color on the window borders, and light background color on the Panel.
Get "Trisquel Light" listed in `mate-appearance-properties` under the Theme tab.
```
# Create a Trisqel Light theme
cd /usr/share/themes/ || exit
sudo cp -a Trisquel Trisquel-light
cd Trisquel-light || exit
sudo cp -a ../Trisquel-dark/index.theme .
sudo sed -i "
s|Dark|Light|;
s|dark|light|;
" index.theme
```
## mate-terminal
I propose light background colors in [mate-terminal](https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/95) and other programs.
/usr/share/themes/Trisquel/gtk-3.0/gtk.css is symlinked to /usr/share/themes/Greybird/gtk-3.0/gtk.css that is containing:
```
/* mate-terminal */
vte-terminal { -TerminalWindow-background-darkness: 1.0; background-color: black; color: white; }
```
It can easily be modified:
```
sudo sed -i "
/vte-terminal/ s/black/backgroundreplace/;
/vte-terminal/ s/white/foregroundreplace/;
/vte-terminal/ s/backgroundreplace/#ffffdd/;
/vte-terminal/ s/foregroundreplace/black/;
" /usr/share/themes/Greybird/gtk-3.0/gtk.css
```
# Icon theme
Two icon themes exist for Trisquel, both are designed for dark panel background colors:
* /usr/share/icons/trisquel-brave/ -- based on /usr/share/icons/gnome-brave/
* /usr/share/icons/trisquel-mono-dark/ -- partially based on /usr/share/icons/gnome-brave/ but not /usr/share/icons/ubuntu-mono-dark/
## Trisquel-Mono-Light (proposed)
* /usr/share/icons/trisquel-mono-light/ -- based on /usr/share/icons/ubuntu-mono-light/
* /usr/share/icons/trisquel/scalable/places/start-here.svg is a blue icon so it can be used for both Trisquel-Mono-Dark and Trisquel-Mono-Lighthttps://gitlab.trisquel.org/trisquel/package-helpers/-/issues/95mate-terminal: Proposed theme profile for improved ergonomics2023-10-21T19:01:22ZDavid Hedlundmate-terminal: Proposed theme profile for improved ergonomicsOne of the goal with Trisquel is to offer a computer accessibility. Common settings to prevent digital eye-straining, font-size 12, light background.
# Default profile
![image](/uploads/6ae417476917b942b26216f89580dcf6/image.png)
# Pro...One of the goal with Trisquel is to offer a computer accessibility. Common settings to prevent digital eye-straining, font-size 12, light background.
# Default profile
![image](/uploads/6ae417476917b942b26216f89580dcf6/image.png)
# Proposed profile
![image](/uploads/7bc499c7cf3ccb18b059f8a2b66a6cec/image.png)
## Font-size
"[A clearly legible font of at least size 12 preferably in a dark color over light background should be chosen.](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9434525/)".
These settings keep the default font and increase its size from 10 to 12:
```
gsettings set org.mate.terminal.profile:/org/mate/terminal/profiles/default/ use-system-font true
gsettings set org.mate.terminal.profile:/org/mate/terminal/profiles/default/ font 'Monospace Regular 12'
```
Or use gsettings override:
"You can customize Mate via gsettings overrides. [For example]:
https://src.fedoraproject.org/rpms/mate-desktop/blob/rawhide/f/mate-fedora-f34.gschema.override
Such a file needs to be installed to `%{_datadir}/glib-2.0/schemas/10_mate-fedora.gschema.override`" - https://github.com/mate-desktop/mate-terminal/issues/440#issuecomment-1644414336
* The default font-size for gnome-terminal in Ubuntu 22.04, and 23.04, is 12 so there's nothing to file.
* The default font-size for mate-terminal in Ubuntu MATE 22.04 is 10. Upstream issue: I have proposed the Ubuntu team to increase it to 12: https://bugs.launchpad.net/ubuntu/+source/mate-terminal/+bug/2028295
* mate-terminal (unpackaged): [Mate terminal use system settings or monospace 12.]https://github.com/mate-desktop/mate-terminal/issues/440#issuecomment-1644414336)
## Background color
White or slightly off-white screens are often recommended to avoid eye-straining for day-time use. Dark background might be better for nighttime use for some people. However, most people are using their computers during the day.
This setting will disable the default colors and switch to black fg with light yellow bg:
`gsettings set org.mate.terminal.profile:/org/mate/terminal/profiles/default/ use-theme-colors false`
* The default background color in Ubuntu MATE 22.04 is white.
* The default background color in Ubuntu 22.04, and 23.04, is tyrian purple-ish (very dark). Upstream issues: I have proposed the Ubuntu team to change it to light-purple: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/2028301
# More
I've filed: [[Feature request]: Reload the settings when they are applied from the interactive shell like gnome-terminal #439](https://github.com/mate-desktop/mate-terminal/issues/439)https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/94"Show Thumbnails in Alt-Tab" defunct2023-07-17T15:44:16ZDavid Hedlund"Show Thumbnails in Alt-Tab" defunct# Ubuntu MATE 22.04
* Window Preferences (mate-window-properties):
** Behavior (tab): Alt-Tab (section): "Show Thumbnails in Alt-Tab" is enabled by default.
** Compositing Manager (tab) -> "Enable software compositing window manager" is ...# Ubuntu MATE 22.04
* Window Preferences (mate-window-properties):
** Behavior (tab): Alt-Tab (section): "Show Thumbnails in Alt-Tab" is enabled by default.
** Compositing Manager (tab) -> "Enable software compositing window manager" is enabled by default.
* Alt-tab preview is working
# Trisquel 11
* Window Preferences (mate-window-properties):
** Behavior (tab): Alt-Tab (section): "Show Thumbnails in Alt-Tab" is enabled by default
** Compositing Manager (tab) -> "Enable software compositing window manager" is **disabled** by default. Enable it, it is required to activate the "Show Thumbnails in Alt-Tab" option.
* Alt-tab preview is **not working** when "Enable software compositing window manager" is enabled by default.
# Note
Window list preview is working by default in both distros.https://gitlab.trisquel.org/trisquel/package-helpers/-/issues/85Ubiquity: Add "LVM2 PV in a LUKS container" (or "LVM-on-LUKS") with small fon...2023-10-21T19:05:32ZDavid HedlundUbiquity: Add "LVM2 PV in a LUKS container" (or "LVM-on-LUKS") with small font size![Screenshot_trisquel9_2023-06-01_12_50_56](/uploads/6cea34cc993c9137b145bd8d17a9c031/Screenshot_trisquel9_2023-06-01_12_50_56.png)
Please add the text "LUKS on LVM" or "LUKS on LVM" (perhaps in a "?" with tooltip to save space) to the ...![Screenshot_trisquel9_2023-06-01_12_50_56](/uploads/6cea34cc993c9137b145bd8d17a9c031/Screenshot_trisquel9_2023-06-01_12_50_56.png)
Please add the text "LUKS on LVM" or "LUKS on LVM" (perhaps in a "?" with tooltip to save space) to the installer to avoid confusion:
* LVM on LUKS - https://en.wikipedia.org/wiki/Linux_Unified_Key_Setup#LVM_on_LUKS
* LUKS on LVM - https://en.wikipedia.org/wiki/Linux_Unified_Key_Setup#LUKS_on_LVMhttps://gitlab.trisquel.org/trisquel/package-helpers/-/issues/84sources.list in live mode: Add https sources. And copy/modify sources.list in...2023-10-14T11:11:48ZDavid Hedlundsources.list in live mode: Add https sources. And copy/modify sources.list instead of editing a copy manuallysources.list for live mode: Replace "http" with "https" in:
* sources.list
* https://gitlab.trisquel.org/trisquel/package-helpers/-/blob/aramo/helpers/DATA/apt/trisquel/sources.list.in
* https://gitlab.trisquel.org/trisquel/package-helpe...sources.list for live mode: Replace "http" with "https" in:
* sources.list
* https://gitlab.trisquel.org/trisquel/package-helpers/-/blob/aramo/helpers/DATA/apt/trisquel/sources.list.in
* https://gitlab.trisquel.org/trisquel/package-helpers/-/blob/aramo/helpers/make-apt
More:
* deb backports are enabled in Ubuntu 22.04 (`deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse`), but not in Trisquel. Why?
* The comment "# Trisquel repositories for supported software and updates" is inconsistently placed
* sources.list for the installation: Add line breaks between the sections to make the less eye straining to read/edit.
* sources.list for live mode, and the installation: Replace "#deb" with "# deb" to make it consistent with Ubuntu's way to comment them (which may affect scripting if you are trying to enable them) the rest of the comments.
* Remove the final blank line break at the end of the file.
To avoid future errors, I'm suggesting you to copy/modify sources.list with a script instead of edit two different sources.list files manually.
# Trisquel 11 live
```
Same result with or without internet connected:
$ cat /etc/apt/sources.list
# Trisquel repositories for supported software and updates
deb cdrom:[Trisquel 11.0 _aramo_ - Release amd64 (20230315)]/ aramo main
deb http://archive.trisquel.org/trisquel aramo main
#deb-src https://archive.trisquel.org/trisquel aramo main
deb http://archive.trisquel.org/trisquel aramo-updates main
#deb-src https://archive.trisquel.org/trisquel aramo-updates main
deb http://archive.trisquel.org/trisquel aramo-security main
#deb-src https://archive.trisquel.org/trisquel aramo-security main
#deb http://archive.trisquel.org/trisquel aramo-backports main
#deb-src https://archive.trisquel.org/trisquel aramo-backports main
```
# Trisquel 11 installed
The "http" sources are upgraded to "https" after the installation. I installed Trisquel without any internet connection.
```
$ cat /etc/apt/sources.list
#deb cdrom:[Trisquel 11.0 _aramo_ - Release amd64 (20230315)]/ aramo main
# Trisquel repositories for supported software and updates
deb https://archive.trisquel.org/trisquel/ aramo main
deb-src https://archive.trisquel.org/trisquel/ aramo main
deb https://archive.trisquel.org/trisquel/ aramo-security main
deb-src https://archive.trisquel.org/trisquel/ aramo-security main
deb https://archive.trisquel.org/trisquel/ aramo-updates main
deb-src https://archive.trisquel.org/trisquel/ aramo-updates main
#deb https://archive.trisquel.org/trisquel/ aramo-backports main
#deb-src https://archive.trisquel.org/trisquel/ aramo-backports main
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
```
Also, no changes in /etc/apt/sources.list after enabled internet connection in my VM, ran `apt-get dist-upgrade`, and rebooted.