Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-05-25 17:58:03

amxyz
Member
Registered: 2020-05-23
Posts: 3

Can't load installed plugin in xfce4

Hi,

I'm using gentoo on a Raspi 4 and I installed some plugins which I downloaded from https://docs.xfce.org/xfce/xfce4-panel/start. The plugins were compiled correctly and placed in /usr/lib/xfce4/panel/plugins.

these are the libs of the plugins: libpulseaudio-plugin.la  libpulseaudio-plugin.so  libweather.la  libweather.so

The .desktop-files were placed in this folder: /usr/share/xfce4/panel/plugins

The file weather.desktop looks like this:
[Xfce Panel]
Type=X-XFCE-PanelPlugin
Name=Weather Update
[...]
Icon=xfce4-weather
X-XFCE-Internal=FALSE
X-XFCE-Module=weather
X-XFCE-API=2.0
X-XFCE-Exec=/usr/lib/xfce4/panel/plugins/

The file pulseaudio.desktop looks like this:
[Xfce Panel]
Type=X-XFCE-PanelPlugin
Encoding=UTF-8
Name=PulseAudio Plugin
[...]
Icon=xfce4-pulseaudio-plugin
X-XFCE-Module=pulseaudio-plugin
X-XFCE-Internal=FALSE
X-XFCE-API=2.0
X-XFCE-Exec=/usr/lib/xfce4/panel/plugins/

When I rightclick on panel > Panel > Add new items neither the weather plugin nor the pulseaudio plugin appear there. How do I tell xfce4 that I have installed some plugins so that I can add them on the panel?

Offline

#2 2020-05-25 18:26:43

eriefisher
Wanderer
From: ON, Canada
Registered: 2008-10-25
Posts: 929

Re: Can't load installed plugin in xfce4

Have you tried to restart the panel to reread the plugin directory?

xfce4-panel -r

Logging out and back in would likely do it as well.


But it's all right, when you're all in pain and you feel the rain come down
It's alright, when you find your way, then you see it disappear
It's alright....
Chris Cornell

Offline

#3 2020-05-25 19:00:44

amxyz
Member
Registered: 2020-05-23
Posts: 3

Re: Can't load installed plugin in xfce4

Thanks for your reply. The plugins still don't appear in the list.

Offline

#4 2020-05-25 20:23:43

Misko_2083
Member
Registered: 2015-10-13
Posts: 232
Website

Re: Can't load installed plugin in xfce4

Remove this line in the desktop file

[...]

That  will do.
If not this line is for new API for the Gtk3 plugins:

X-XFCE-API=2.0

1.0 is for gtk2

Is it 64bit gentoo?
If so maybe the libdir is different but I don't know where is it in Gentoo.
Fedora
x32 - /usr/lib/xfce4/panel/plugins
x64 - /usr/lib64/xfce4/panel/plugins
Debian
x32 - /usr/lib/i386-linux-gnu/xfce4/panel/plugins
x64 - /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins


Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c

Offline

#5 2020-05-25 21:02:34

amxyz
Member
Registered: 2020-05-23
Posts: 3

Re: Can't load installed plugin in xfce4

Thanks four your help smile. It works now. I moved the plugin libraries into the folder for the 64Bit-libraries and did a refresh of the panel:
--> /usr/lib64/xfce4/panel/plugins

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 529.14 KiB (Peak: 530.12 KiB) ]