Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XFCE video is always-on-top #3

Open
sxiii opened this issue Feb 28, 2020 · 7 comments
Open

XFCE video is always-on-top #3

sxiii opened this issue Feb 28, 2020 · 7 comments

Comments

@sxiii
Copy link

sxiii commented Feb 28, 2020

Greetings @aaahh

I'm having an issue with video being over everything. I do see that mouse cursor changes when I move it around; but video doesn't allow me to see the windows themselves.

Do you have any ideas on why's that?

@mmhobi7
Copy link
Owner

mmhobi7 commented Feb 28, 2020 via email

@sxiii
Copy link
Author

sxiii commented Feb 29, 2020

I didn't changed anything, just run ./download.sh then ./install.sh and finally atv4wall.

@mmhobi7
Copy link
Owner

mmhobi7 commented Mar 1, 2020 via email

@sxiii
Copy link
Author

sxiii commented Mar 4, 2020

Not fully sure what you mean @aaahh ... That the scripts would work only on Ubuntu? But which version exactly? With which WM environment? Any more details on that?

@mmhobi7
Copy link
Owner

mmhobi7 commented Mar 4, 2020

My apologizes @sxiii
To further clarify, the issue lies in how the video is drawn in relationship to the other windows. This is done using xwinwrap I modified here: https://github.com/Aaahh/xwinwrap/tree/2d9e07156a441f8ab2be10918c8978d0bcc38008
The line in question that I believe is affecting you is: https://github.com/Aaahh/wallpaper-aerial/blob/master/atv4wall#L144
In this line, xwinwrap is set with -ovr -s -fdt -ni -nf, try chaning ovr to ov. (and for kicks change it for the other lines with xwinwrap too).
I think I might have a solution to this but I won't get to it until much later.

Anyway I have it running on unity, i3. It should also work on gnome but I do believe it was glitchy.

The desktop image is set using dconf but that won't break the script and shouldn't matter nevertheless.

I should someday rewrite this whole program sometime soon when I get the chance.

@mmhobi7
Copy link
Owner

mmhobi7 commented Mar 4, 2020

https://www.reddit.com/r/archlinux/comments/6ty3vj/how_to_create_a_video_background_for_the_xfce/
Seems that desktop icons, right click, and wallpaper are drawn to the same window. This means that either a video can be played or you can have desktop icons, but not both.

if you choose the video, change line 144 to
mpv -wid=0 --really-quiet --panscan="1.0" --autofit-larger=100%x100% --hwdec=auto --input-ipc-server=/tmp/mpvsocket $FILE1 &

@sxiii
Copy link
Author

sxiii commented Mar 4, 2020

Oh thanks @aaahh for clarifications. I will experiment on your advices soon and I'll close the issue after I realize it works at least in any way (I'm okay to loose icons; but my problem was that video was actually over everything; including windows...). Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants