Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-12-27 04:32:20

brtiankong3
Member
Registered: 2021-12-27
Posts: 7

panel plugins disappeared and cannot be readded?

hi i noticed my panel plugins disappeared and when i tried to readd them they werent avaliable in the menu
the panel plugins were installed from the aur xfce4-goodies. the .so files of all the plugins are in /usr/lib/xfce4/panel/plugins. os is arch, everything up to date. tried reinstalling plugins and xfce but did not work

Offline

#2 2021-12-27 09:36:41

Tamaranch
Member
Registered: 2020-12-31
Posts: 273

Re: panel plugins disappeared and cannot be readded?

Which panel version?

Offline

#3 2021-12-27 12:43:47

KBar
Moderator
Registered: 2021-11-05
Posts: 689

Re: panel plugins disappeared and cannot be readded?

  1. First, let's check if it's up and running:

    ps -ef | grep '[x]fce4-panel'
  2. If it's not, proceed to the next step. If it is, kill it.

    xfce4-panel --quit
  3. Start it from the shell.

    xfce4-panel

Does it start or fail? Does it send any diagnostic messages to standard error in case of a failure? Post any output you get here.

Last edited by KBar (2021-12-27 12:49:13)


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#4 2021-12-28 02:55:02

brtiankong3
Member
Registered: 2021-12-27
Posts: 7

Re: panel plugins disappeared and cannot be readded?

Tamaranch wrote:

Which panel version?

xfce4-panel 4.16.3-2

KBar wrote:

Does it start or fail? Does it send any diagnostic messages to standard error in case of a failure? Post any output you get here.

starts fine. killing and restarting manually also starts the panel. no diagnostic messages. no errors. panel_debug does not display any critical errors. i still have the default plugins working so it says those were loaded. however it has no trace of any of the extra plugins. it does not try to load them at all (because they disappeared from the panel configuration alltogether?).

Last edited by brtiankong3 (2021-12-28 02:55:23)

Offline

#5 2021-12-28 03:41:08

KBar
Moderator
Registered: 2021-11-05
Posts: 689

Re: panel plugins disappeared and cannot be readded?

KBar wrote:

however it has no trace of any of the extra plugins. it does not try to load them at all (because they disappeared from the panel configuration alltogether?).

Which plugins aren't being loaded? Can you list them?

Last edited by KBar (2021-12-28 03:41:19)


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#6 2021-12-29 00:39:35

brtiankong3
Member
Registered: 2021-12-27
Posts: 7

Re: panel plugins disappeared and cannot be readded?

KBar wrote:
KBar wrote:

however it has no trace of any of the extra plugins. it does not try to load them at all (because they disappeared from the panel configuration alltogether?).

Which plugins aren't being loaded? Can you list them?

basically all the panel plugins in the xfce4-goodies package pile. not that i use all of them but they dont show up in the 'add new items' menu.

xfce4-battery-plugin
xfce4-clipman-plugin
xfce4-cpufreq-plugin
xfce4-cpugraph-plugin
xfce4-datetime-plugin
xfce4-diskperf-plugin
xfce4-eyes-plugin
xfce4-fsguard-plugin
xfce4-genmon-plugin
xfce4-mailwatch-plugin
xfce4-mount-plugin
xfce4-mpc-plugin
xfce4-netload-plugin
xfce4-notes-plugin
xfce4-pulseaudio-plugin
xfce4-sensors-plugin
xfce4-smartbookmark-plugin
xfce4-time-out-plugin
xfce4-timer-plugin
xfce4-verve-plugin
xfce4-wavelan-plugin
xfce4-weather-plugin
xfce4-whiskermenu-plugin
xfce4-xkb-plugin

Offline

#7 2021-12-29 03:53:17

KBar
Moderator
Registered: 2021-11-05
Posts: 689

Re: panel plugins disappeared and cannot be readded?

Did you try to increase the verbosity?

xfce4-panel -q && PANEL_DEBUG=external xfce4-panel > $HOME/_panel_debug 2>&1

If that doesn't produce anything of value, try with all in place of external.

Thanks.


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#8 2022-01-01 21:02:14

brtiankong3
Member
Registered: 2021-12-27
Posts: 7

Re: panel plugins disappeared and cannot be readded?

KBar wrote:

Did you try to increase the verbosity?

xfce4-panel -q && PANEL_DEBUG=external xfce4-panel > $HOME/_panel_debug 2>&1

If that doesn't produce anything of value, try with all in place of external.

Thanks.

pretty much the same as before, no errors reported because it seems that all the broken plugins have disappeared without a trace. xfce doesnt even try to load them so their arent any errors to be had i guess?

Offline

#9 2022-01-01 22:07:40

Tamaranch
Member
Registered: 2020-12-31
Posts: 273

Re: panel plugins disappeared and cannot be readded?

Just in case, what is the return of

which -a xfce4-panel

Offline

#10 2022-02-01 16:23:43

brtiankong3
Member
Registered: 2021-12-27
Posts: 7

Re: panel plugins disappeared and cannot be readded?

Tamaranch wrote:

Just in case, what is the return of

which -a xfce4-panel

/usr/local/bin/xfce4-panel
/usr/bin/xfce4-panel

Offline

#11 2022-02-01 16:33:48

Tamaranch
Member
Registered: 2020-12-31
Posts: 273

Re: panel plugins disappeared and cannot be readded?

That's it: you have competing installs of xfce4-panel: xfce4-panel in /usr/local is launched by default, and it does not find the plugins under /usr.
It's not impossible to maintain, but it does require some admin work.
The easiest way is to have only one installation at a time, in /usr.

Offline

#12 2022-02-01 17:04:00

brtiankong3
Member
Registered: 2021-12-27
Posts: 7

Re: panel plugins disappeared and cannot be readded?

Tamaranch wrote:

That's it: you have competing installs of xfce4-panel: xfce4-panel in /usr/local is launched by default, and it does not find the plugins under /usr.
It's not impossible to maintain, but it does require some admin work.
The easiest way is to have only one installation at a time, in /usr.

im a little confused how did i end up getting two installs? i tried killing/manually launching both of the panel installs but neither detects plugins. is their a way to specify the plugin path?

Offline

#13 2022-02-01 17:20:56

Tamaranch
Member
Registered: 2020-12-31
Posts: 273

Re: panel plugins disappeared and cannot be readded?

brtiankong3 wrote:

im a little confused how did i end up getting two installs?

You know it, not me big_smile
I guess at some point you must have done a make install from a panel build with the default options.

brtiankong3 wrote:

i tried killing/manually launching both of the panel installs but neither detects plugins. is their a way to specify the plugin path?

I wouldn't go into this if I were you, especially if you don't know how a panel install ended up in /usr/local.
My advice: clean up this parasitic install (you can simply delete everything in /usr/local if you haven't installed anything else useful in it), and reinstall xfce4-panel from your package manager if necessary.

If after that it still doesn't work, at least you'll have something clean to run diagnostics from.

Last edited by Tamaranch (2022-02-01 17:21:44)

Offline

#14 2022-02-01 17:53:54

brtiankong3
Member
Registered: 2021-12-27
Posts: 7

Re: panel plugins disappeared and cannot be readded?

Tamaranch wrote:
brtiankong3 wrote:

im a little confused how did i end up getting two installs?

You know it, not me big_smile
I guess at some point you must have done a make install from a panel build with the default options.

brtiankong3 wrote:

i tried killing/manually launching both of the panel installs but neither detects plugins. is their a way to specify the plugin path?

I wouldn't go into this if I were you, especially if you don't know how a panel install ended up in /usr/local.
My advice: clean up this parasitic install (you can simply delete everything in /usr/local if you haven't installed anything else useful in it), and reinstall xfce4-panel from your package manager if necessary.

If after that it still doesn't work, at least you'll have something clean to run diagnostics from.

thanks babe, removing the excess install then reinstalling the panel fixed the missing plugins issue

Offline

#15 2023-03-29 22:08:35

Sharky
Member
Registered: 2014-08-16
Posts: 48

Re: panel plugins disappeared and cannot be readded?

Hi folks, similar issue here: I installed xfce4-panel from source so my running version is now 4.19.1 but I have multiple installs:

$ which -a xfce4-panel
/usr/local/bin/xfce4-panel
/usr/bin/xfce4-panel
/bin/xfce4-panel

Per Synaptic I have v 4.17.3-1 installed, but if I try to remove that, it will also remove xubuntu-core.
I'm not expert, but this sounds like a VERY bad idea?

Any ideas for how I should proceed?

Thanks!

Offline

#16 2023-03-29 23:36:59

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,034

Re: panel plugins disappeared and cannot be readded?

If my understanding of ubuntu is accurate, xubuntu-core^ is a task which is basically a long list of packages to install in one go. When removing any one package from this task (in your case xfce4-panel), the xubuntu-core task package will also be installed because you have removed one component of the list and the package is no longer valid/accurate. It won't (or shouldn't) uninstall any of the other packages.

Perhaps someone with more specific ubuntu knowledge or someone on the ubuntuforums would be able to confirm this for you.

One other note - the fact that the new version of xfce4-panel installed in /usr/local is because you either didn't specify (left as default) or specified "--prefix=/usr/local" on your autogen.sh or configure command line. For most distros, you should specify "--prefix=/usr" and specifically for debian or debian-derived distros, you should also specify "--libexecdir=/usr/lib/$(uname -m}-linux-gnu" to get the library files in the right place. Also important to note that you should first uninstall both the xfce4-panel and libxfce4panel* packages that exist in the system.

Edit: This may also be useful in your case as it details out how to create an upgraded deb file that will integrate with the apt ecosystem. The instructions will need to be adapted for your specific use case.

Last edited by ToZ (2023-03-29 23:40:05)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#17 2023-03-30 00:12:41

Sharky
Member
Registered: 2014-08-16
Posts: 48

Re: panel plugins disappeared and cannot be readded?

Thanks Toz. So for the deb approach, that looks interesting. I downloaded the source, ran

sudo apt-get build-dep <package>
sudo apt-get install build-essential fakeroot devscripts
debuild -us -uc -i -I

And got:

debuild: fatal error at line 679:
cannot find readable debian/changelog anywhere!
Are you in the source code tree?

Am I doing something wrong here? I feel I've followed the instructions, but maybe I'm missing some fundamental understanding. This is a cool approach if it works!

For the typical install approach, to be clear, for Xubuntu (Debian obvs), instead of

./configure

I should do:

./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m}-linux-gnu
make
sudo make install

?

Just wanted to check I'm interpreting that correctly. Thanks!

(presumably I should uninstall the xcfe4-panel dependencies I also installed the bad way and install the good way also).
Edit: just did that with

sudo make uninstall

Last edited by Sharky (2023-03-30 00:22:11)

Offline

#18 2023-03-30 00:40:33

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,034

Re: panel plugins disappeared and cannot be readded?

debuild: fatal error at line 679:
cannot find readable debian/changelog anywhere!
Are you in the source code tree?

It looks like those instructions require you to use the existing source code for that version of the distro, which isn't what you want to do. You want to use newer code. Sorry for the noise.

For the typical install approach, to be clear, for Xubuntu (Debian obvs), instead of

./configure

I should do:

./configure --prefix=/usr --libexecdir=/usr/lib/$(uname -m}-linux-gnu

?

Just wanted to check I'm interpreting that correctly. Thanks!

Here is the buildlog for ubuntu's build of version 4.18.2. Specifically (half way through):

./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --enable-gtk-doc --enable-introspection=yes --enable-vala=no


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#19 2023-03-30 01:09:03

Sharky
Member
Registered: 2014-08-16
Posts: 48

Re: panel plugins disappeared and cannot be readded?

Blimey, that's a lot of switches! Thanks for digging that up mate.

So:

./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --enable-gtk-doc --enable-introspection=yes --enable-vala=no
make clean
make
sudo make install

For libxfce4windowing the xfce4-panel. Let's reboot and see how we got on...

SORTED! Thanks bud!

Last edited by Sharky (2023-03-30 01:13:17)

Offline

Board footer

Powered by FluxBB