Plugin is not available in Panel's "Add New Items" dialog if it's installed to the new default prefix (/usr/local)
Since, b7cdd7b8, the installation prefix has defaulted to "/usr/local"
.
Expected and observed behaviour
On a Debian system, this causes the installed plugin to be invisible to the panel's Add New Items... dialog.
Steps to reproduce
Please see the attached Vagrantfile (you will need vagrant-libvirt
, virt-viewer
, and a local user on the host machine in the libvirt
group).
cd path/to/wherever/the/vagrantfile/was/downloaded
vagrant up # watch it in virt-viewer, reboots a few times
once it's ready and you have a guest Xfce running, use the following to try out the prefixes:
vagrant provision --provision-with deps,build,install # Not loadable. prefix=/usr/local.
vagrant provision --provision-with deps,altbuild,install # Loadable. prefix=/usr.
After each build/install, try to add the Docklike Taskbar to the Panel using (right button) -> Panel -> Add New Items. This is not possible after the first build, and only possible after the second. Seemingly it isn't searching plugins installed in /usr/local.
The base system is the future Debian 12 (testing).
Is this really a bug?
A few things spring to mind:
- Debian might be omitting /usr/local from their plugin search paths where other OSes would not. This would seem like a Debian bug: it makes developing panel plugins a bit of a pain.
- Maybe it's just OK to document the fact that it doesn't work with the default
PREFIX
in the README.
Let me know what you think.