jahnf / Projecteur

Linux Desktop Application for the Logitech Spotlight device (and similar devices) - Digital Laser Pointer
MIT License
379 stars 33 forks source link

No Transparency in EXWM #50

Closed gyps closed 4 years ago

gyps commented 4 years ago

Hi all, I was using Projecteur for some time on gnome desktop and was really satisfied with it (a really really stable application!). Now I'm using EXWM as window manager (since I spend most of my time in emacs anyway, it's really convenient) and would like to continue using Projecteur to present my lectures. Unfortunately the result looks as shown in the following picture (I set the shade color to red and dot color to yellow to show the effect): IMG_1869 instead of: IMG_1870

To me it seems as if the fullscreen window where the spotlight and pointer are shown in is supposed to be 100% transparent but is completely black when using EXWM. So everything is not shown in front of the presentation but on top of a black layer above the presentation. Can this be correct? Does anybody have an idea how this issue could be resolved? Thanks in advance, Alex

jahnf commented 4 years ago

Hi @gyps, please have a look at issue #10 , do you have a compositor running? (Necessary for transparency)

Quote from @rj-jesus :

If I'm not mistaken you need to be running a compositing manager. Please try again after running for instance xcompmgr -c -t-6 -l-6 -o.1.

jahnf commented 4 years ago

Note to self: Definitely put info about compositing manager in README.md and see if there is a non-intrusive way to warn the user like in pull request #37

gyps commented 4 years ago

Thanks for this super-fast reply!! I suppose not. EXWM seems to support third party compositing managers. I never used one any suggestion which one to use?

jahnf commented 4 years ago

I personally use mostly GNOME and sometimes KDE or Xfce - so I can't give you a suggestion here - hopefully somebody else. In https://github.com/ch11ng/exwm/issues/24 somebody mentions xcompmgr - you could try that.

gyps commented 4 years ago

Thanks. Just running "xcompmgr -c &" before or after starting projecteur solved the issue. Works like a charm!