Rule for where LXDE plugins install too?

Please post all general support questions for LXDE here.
Locked
ab1jx
Posts: 21
Joined: Fri Dec 07, 2018 4:14 pm

Rule for where LXDE plugins install too?

Post by ab1jx »

I've written a couple LXDE plugins and although I know where the .so files need to go on my machines, i don't know what to use as a path for make install in my makefiles.

On my Raspberry Pi under Raspbian uname -a says:
Linux upstairs 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
and plugins go in
/usr/lib/arm-linux-gnueabihf/lxpanel/plugins/

On my x86_64 laptop uname -a says
Linux d530 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2 (2018-08-13) x86_64 GNU/Linux
and plugins go in
/usr/lib/x86_64-linux-gnu/lxpanel/plugins/

locate lxpanel/plugins sort of works but it's messy enough to need sed to clean it up, and not everybody uses locate. And if possible I'd like to find an answer for non-linux machines too. I don't really know m4 and most makefile stuff. pkg-config doesn't help I don't think.
Locked