Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

Can't load installed plugin in xfce4

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
Author
Message
amxyz
n00b
n00b
Posts: 29
Joined: Wed May 13, 2020 12:13 pm
Location: Turin

Can't load installed plugin in xfce4

  • Quote

Post by amxyz » Sat May 23, 2020 2:36 pm

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: Select all

/usr/lib/xfce4/panel/plugins
these are the libs of the plugins:

Code: Select all

libpulseaudio-plugin.la  libpulseaudio-plugin.so  libweather.la  libweather.so
The .desktop-files were placed in this folder:

Code: Select all

/usr/share/xfce4/panel/plugins
The file weather.desktop looks like this:

Code: Select all

[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: Select all

[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]
Top
amxyz
n00b
n00b
Posts: 29
Joined: Wed May 13, 2020 12:13 pm
Location: Turin

<solved> Can't load installed plugin in xfce4

  • Quote

Post by amxyz » Mon May 25, 2020 9:04 pm

I just figured it out by myself. The external plugins are now loaded by the panel.
Top
Hu
Administrator
Administrator
Posts: 24398
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue May 26, 2020 12:58 am

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.
Top
amxyz
n00b
n00b
Posts: 29
Joined: Wed May 13, 2020 12:13 pm
Location: Turin

  • Quote

Post by amxyz » Mon Jun 01, 2020 11:02 pm

I found out that the libraries of the plugins are installed in:
/usr/lib/xfce4/panel/plugins/
Since I'm running gentoo on a 64 bit system I moved the libraries into the folder:
/usr/lib64/xfce4/panel/plugins/
I also had to edit one *.desktop-file so it looks like this now:
[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:

Code: Select all

> xfce4-panel -r
Then I was finally able to load the plugins.
Top
Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Gentoo on ARM”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic