View previous topic :: View next topic |
Author |
Message |
amxyz n00b
Joined: 13 May 2020 Posts: 23 Location: Turin
|
Posted: Sat May 23, 2020 2:36 pm Post subject: Can't load installed plugin in xfce4 |
|
|
Hi,
I'm using a RPI4 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 Code: | /usr/lib/xfce4/panel/plugins |
these are the libs of the plugins: Code: | libpulseaudio-plugin.la libpulseaudio-plugin.so libweather.la libweather.so |
The .desktop-files were placed in this folder: Code: | /usr/share/xfce4/panel/plugins |
The file weather.desktop looks like this:
Code: | [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:
Code: | [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?
[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
amxyz n00b
Joined: 13 May 2020 Posts: 23 Location: Turin
|
Posted: Mon May 25, 2020 9:04 pm Post subject: <solved> Can't load installed plugin in xfce4 |
|
|
I just figured it out by myself. The external plugins are now loaded by the panel. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22694
|
Posted: Tue May 26, 2020 12:58 am Post subject: |
|
|
What was the cause of the error, and how did you fix it? Someone else may one day find this thread and benefit from your solution. |
|
Back to top |
|
|
amxyz n00b
Joined: 13 May 2020 Posts: 23 Location: Turin
|
Posted: Mon Jun 01, 2020 11:02 pm Post subject: |
|
|
I found out that the libraries of the plugins are installed in:
Quote: | /usr/lib/xfce4/panel/plugins/ |
Since I'm running gentoo on a 64 bit system I moved the libraries into the folder:
Quote: | /usr/lib64/xfce4/panel/plugins/ |
I also had to edit one *.desktop-file so it looks like this now:
Quote: | [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 |
API= 2.0 means that it is for gtk3 whereas API=1.0 is only for gtk2.
And then I restarted the panel by entering:
Then I was finally able to load the plugins. |
|
Back to top |
|
|
|