[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1043291: mate-tweak: can't change MATE panel layout by mate-tweak because of missed mate-volume-control-applet executable



I'm not too familiar with the internals of the mate-tweak.

So I have reported a bug to upstream https://github.com/ubuntu-mate/mate-tweak/issues/94 .
I hope to see Martin's actions there.

Thanks, Mike!

On 8/10/23 10:03, Mike Gabriel wrote:
Hi Norbert,
(Cc:ing Martin Wimpress)

On  Mi 09 Aug 2023 17:02:16 CEST, Norbert wrote:

Thanks, Mike!

The problem here is caused by `mate-volume-control-applet` file location.
It came from `mate-media`, you are right about this package
Problem persists even with the installed `mate-media` package.
In Debian 10 (buster) it was located in PATH -
`/usr/bin/mate-volume-control-applet` (see
https://packages.debian.org/search?suite=buster&arch=any&mode=path&searchon=contents&keywords=mate-volume-control-applet
).
But in Debian 11 and newer it is located in non-PATH place -
`/usr/libexec/mate-volume-control-applet` (see
https://packages.debian.org/search?suite=bullseye&arch=any&mode=path&searchon=contents&keywords=mate-volume-control-applet).
So it can't be found by `mate-tweak` (see
https://sources.debian.org/src/mate-tweak/22.10.0-2/mate-tweak/?hl=78#L571
).

My local quick and dirty hack is the following:
```
sudo ln -sf /usr/libexec/mate-volume-control-applet
/usr/local/bin/mate-volume-control-applet
```

But I would suggest fixing this problem in the `mate-tweak` script - for
example you can call this applet by full path -
`/usr/libexec/mate-volume-control-applet`.
It is still applicable for default Debian installation without Ayatana
indicators.

Ah, now I see more clearly.

The correct fix for mate-tweak will probably be to check both locations (/usr/bin/ and /usr/libexec/) and execute the mate-volume-control-applet found (with preference to /usr/libexec, maybe).

Can you propose such a patch to mate-tweak upstream?

Thanks + Greets,
Mike


Reply to: