nsz32 / docklike-plugin

A Dock-like Taskbar Plugin for XFCE
GNU General Public License v3.0
334 stars 44 forks source link

How to install on XFCE 4.16? #68

Open jankazemier opened 3 years ago

jankazemier commented 3 years ago

I have compiled and installed XFCE 4.16 on Ubuntu 20.04 from source (using the fat-tarball).

Now I have run:

git clone https://github.com/nsz32/docklike-plugin && cd docklike-plugin
./autogen.sh
make
sudo make install

However, when I click Panel > Add New Items..., it still does not show docklike in the list.

Should I compile it differently? Or is there something incompatible with XFCE 4.16?

jankazemier commented 3 years ago

To avoid issues with the custom location, I have removed and recompiled XFCE 4.16 without setting the PREFIX, so it installs to the default /usr/local/. I have then re-cloned, compiled and installed docklike-plugin, but unfortunately it still does not show.

jankazemier commented 3 years ago

The new xfce-dev-tools actually are in the fat tarball, and it's the first thing I compiled. I changed the line, but no change after make clean, ./autogen.sh, make, sudo make install, and xfce4-panel -r

On Thu, Dec 24, 2020 at 3:10 AM David Keogh notifications@github.com wrote:

Did you also build the new xfce4-dev-tools? It's not in the fat tarball. https://archive.xfce.org/xfce/4.16/src/xfce4-dev-tools-4.16.0.tar.bz2

Change this line here to 4.16.0 and see if it installs: https://github.com/nsz32/docklike-plugin/blob/6a5e5e16c61c9c0ea81cf0d24a8b672b24020930/autogen.sh#L13

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nsz32/docklike-plugin/issues/68#issuecomment-750705218, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACWWUYEFV6NTPFPM4EZPPTSWKPKBANCNFSM4VG6MS3Q .

jankazemier commented 3 years ago

I somehow fixed it by copying a few files around. Apparently it installs the docklike.desktop into /usr/share/xfce4/panel/plugins, which should be in /usr/local/share/xfce4/xfce4/panel/plugins/, and the docklike.so and .la files are installed into /usr/lib/xfce4/panel/plugins/, which should be in /usr/local/lib/xfce4/panel/plugins/.

I'm not sure whether the double xfce4 folder is an artifact of me compiling it myself or is either intended or an error in xfce4 4.16.

It probably is a good idea to document more advanced installation and it's troubleshooting somewhere.

davekeogh commented 3 years ago

You can run autogen.sh with the --prefix option just like a configure script. That should probably be added to the readme.

I can't personally do any testing on with xfce 4.16 right now. It works as expected once installed though?

jankazemier commented 3 years ago

That is probably a good idea. Yes, it works fine now. Thanks!

nsz32 commented 3 years ago

Related to #50 : distro specific install folder. Maybe we can check for the existence of such folders in the automake ?

coreybruce commented 3 years ago

If you are on Manjaro it's much easier with a simple click on install on Add/Remove software and it will install it for you.