paperview icon indicating copy to clipboard operation
paperview copied to clipboard

Doesn't work on Manjaro.

Open FalkeLH opened this issue 4 years ago • 12 comments

When I try to run the ./paperview command I get a "[1] 280403 segmentation fault (core dumped) ./paperview scenes/train/ 5" error...

FalkeLH avatar Aug 01 '20 13:08 FalkeLH

I may have done something wrong but idk...

FalkeLH avatar Aug 01 '20 13:08 FalkeLH

My bad, I removed the train folder this morning. I've updated the readme with 'castle' in place of the train folder, though you can pick any one of the scenes in the scenes folder

glouw avatar Aug 01 '20 16:08 glouw

Castle doesn't work either. Actually none of the themes does. But I don't get an error message on those, the console just says nothing and the wallpaper doesn't change. I have to press ctrl+c to exit that state...

FalkeLH avatar Aug 01 '20 16:08 FalkeLH

Some window managers sadly take control over the root X11 window already. We know Picom already affects paperview. May you be running Picom?

glouw avatar Aug 01 '20 23:08 glouw

@falkoritten which version of Manjaro are you running? There's a big difference between KDE, Gnome and XFCE which is important information here. I think Manjaro is even using Wayland on some DE, which could explain why things aren't working, too

dealloc avatar Aug 03 '20 12:08 dealloc

For Xfce users, xfdesktop and compositing have to be disabled before running paperview:

xfdesktop -Q && xfconf-query --channel xfwm4 --property /general/use_compositing --type bool --set false

andreldm avatar Aug 03 '20 15:08 andreldm

For Xfce users, xfdesktop and compositing have to be disabled before running paperview:

xfdesktop -Q && xfconf-query --channel xfwm4 --property /general/use_compositing --type bool --set false

Hello is it safe to disable the compositor? I am running Manjaro KDE, what command should I run? Thanks!

InvincibleKnight avatar Feb 19 '21 17:02 InvincibleKnight

Hello is it safe to disable the compositor? I am running Manjaro KDE, what command should I run? Thanks!

In a quick search this Q&A thread shows up in top results. With regards to the effect disabling compositing, the most noticeable aspect is that you lose transparency and drop show around windows.

andreldm avatar Feb 24 '21 01:02 andreldm

Hello is it safe to disable the compositor? I am running Manjaro KDE, what command should I run? Thanks!

In a quick search this Q&A thread shows up in top results. With regards to the effect disabling compositing, the most noticeable aspect is that you lose transparency and drop show around windows.

Awesome! But sadly it is still not working. I installed SDL2 and everything is working fine. The command is also executing. Yet I cannot see the background. Thank you!

InvincibleKnight avatar Feb 24 '21 16:02 InvincibleKnight

@andreldm Love your work here, there is any workaround that could be made to make it work without disabling the compositor? bc that creates a lot of tearing on my side.

neofeo avatar May 28 '21 23:05 neofeo

@andreldm Love your work here, there is any workaround that could be made to make it work without disabling the compositor? bc that creates a lot of tearing on my side.

No idea, I'm not a contributor of this project.

andreldm avatar Jun 01 '21 23:06 andreldm

As for everyone trying to get paperview working with a desktop environment, you're likely out of luck. A basic X11 setup is gonna be your best bet. Something like Arch and one of these window managers will work: https://wiki.archlinux.org/title/Window_manager

I personally use DWM. Your mileage may vary. Yes, paperview will tear without a compositor because X11 is CPU rendered. It's 40 year old technology. Tearing is a way of life

glouw avatar Jun 03 '21 22:06 glouw