freefish
Posts: 21
Joined: Mon Apr 01, 2013 2:02 am

How to build plugin for lxpanel?

Wed Mar 08, 2017 2:50 am

I want to write a battery plugin for lxpanel,but I can't get build-dep for lxpanel
when i try to install lxpanel-dev

sudo apt-get install lxpanel-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package lxpanel-dev

where can i find lxpanel-dev?

https://wiki.lxde.org/en/How_to_write_p ... or_LXPanel

wget http://ftp.us.debian.org/debian/pool/ma ... _armhf.deb
sudo dpkg -i lxpanel-dev_0.9.3-1_armhf.deb
Selecting previously unselected package lxpanel-dev.
dpkg: regarding lxpanel-dev_0.9.3-1_armhf.deb containing lxpanel-dev:
lxpanel-dev breaks lxpanel (<< 0.8.2)
lxpanel (version 0.7.2-1+rpi19) is present and installed.

dpkg: error processing archive lxpanel-dev_0.9.3-1_armhf.deb (--install):
installing lxpanel-dev would break lxpanel, and
deconfiguration is not permitted (--auto-deconfigure might help)
Errors were encountered while processing:
lxpanel-dev_0.9.3-1_armhf.deb

saaaadkaaaa
Posts: 1
Joined: Sat Aug 04, 2018 5:02 pm

Re: How to build plugin for lxpanel?

Sat Aug 04, 2018 5:34 pm

Seconding this question.
I have a battery which sends its status via USB, and I can access it from my terminal using: mybattery status
If possible I would even be happy modifying the existing battery plugin, but even after searching for over an hour I could not find the relevant files or instructions.

Return to “Raspbian”