docklike-plugin icon indicating copy to clipboard operation
docklike-plugin copied to clipboard

How to install on XFCE 4.16?

Open jankazemier opened this issue 4 years ago • 7 comments

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
  • tried installing from the ppa
  • xfce4-panel -r
  • tried rebooting

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 avatar Dec 23 '20 12:12 jankazemier

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 avatar Dec 23 '20 14:12 jankazemier

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 [email protected] 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 avatar Dec 24 '20 07:12 jankazemier

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.

jankazemier avatar Dec 24 '20 07:12 jankazemier

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?

davekeogh avatar Dec 25 '20 21:12 davekeogh

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

jankazemier avatar Dec 25 '20 21:12 jankazemier

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

nsz32 avatar Dec 27 '20 11:12 nsz32

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.

coreybruce avatar Jun 21 '21 06:06 coreybruce