soreau / pixdecor

Pixdecor plugin
MIT License
17 stars 3 forks source link

Window buttons are missing #25

Closed f-l-y-b-o-y closed 1 month ago

f-l-y-b-o-y commented 1 month ago

All 3 buttons went missing when I enabled the plugin. Only black boxes are drawn. When I hover mouse cursor over those boxes they change shade, and when I click they do work as intended.

Am I missing icon files? If so could you tell me where is the plugin looking for them and that's the filename scheme and type?

I really like this project and I'd love to daily drive it.

Thanks.

241022_00-18-47

soreau commented 1 month ago

This has already been fixed in latest pixdecor. You need at least this commit.

f-l-y-b-o-y commented 1 month ago

Thanks. I had aur/wayfire-plugins-extra installed on my Arch machine. It was probably out of date, so I removed it and git cloned and compiled the newest one from here. Now it doesn't work at all.

Meson compiled it without any errors.

Ninja copied 2 files: libpixdecor.so to /usr/lib/wayfire pixdecor.xml to /usr/local/share/wayfire/metadata

I manually confirmed that both files are there. I edited wayfire.ini and added pixdecor to the [Core] plugins section. I also removed default decoration plugin. Restarted wayfire, and got nothing - no decorations at all. The GUI wf-config (0.9.0) doesn't even list pixdecor for some reason now.

Any ideas why would that be?

soreau commented 1 month ago

It sounds like the problem is that you did not specify --prefix=/usr to meson. Without this, it installs to the default which is /usr/local. You might want to ninja -C build uninstall and then specify the correct prefix when reinstalling.

f-l-y-b-o-y commented 1 month ago

You are 100% correct. Looking at it now it installed the lib file in the wrong directory. I just copied it to /usr/local/lib/wayfire and it's working now. Thanks again for your quick responses and your work. Good stuff.

241022_02-30-16

soreau commented 1 month ago

👍