void-linux / void-linux/void-packages
mate-tweak doesn't properly detect mate-netbook
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3.4k
- Forks
- 2.8k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 299
Description
Is this a new report?
Yes
System Info
Void 6.5.13_1 x86_64 GenuineIntel uptodate rrrmdFFFF
Package(s) Affected
mate-tweak-22.10.0_2, mate-netbook-1.26.0_1
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No response
Expected behaviour
Installing both mate-tweak and mate-netbook should allow the "Undecorate maximized windows" and "Do not auto-maximize new windows" options in MATE Tweak.
Actual behaviour
Even after installing both packages, the aforementioned options are grayed out.
Steps to reproduce
- Install the MATE desktop.
- Install
mate-tweakandmate-netbook. - Open MATE Tweak and go to the Windows tab.
- Under the Window Behaviour section, "Undecorate maximized windows" and "Do not auto-maximize new windows" will be grayed out.
Notes
This is due to mate-tweak looking for the existence of /usr/lib/mate-netbook/mate-window-picker-applet to determine if this should be enabled or not. You can see this at line 1135 of /usr/bin/mate-tweak. mate-window-picker applet is installed by the mate-netbook package, but on Void Linux, it's located at /usr/libexec/mate-window-picker-applet instead of /usr/lib/mate-netbook/mate-window-picker-applet like it is on Ubuntu MATE. Adding a symlink to that file in the mate-netbook package or patching mate-tweak to look for it in the correct location would fix the issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at line 1135 of /usr/bin/mate-tweak and compare the path it checks with the /usr/libexec/mate-window-picker-applet location installed by mate-netbook on Void Linux. Verify the behavior with both mate-tweak and mate-netbook installed; done means the two Window Behaviour options are no longer grayed out.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100