Go back to topic: Setting an Animated Interactive Wallpaper / Video Wallpaper for dom0 from an AppVM [No Dom0 Modifications]
| Recommended templates for this guide: ** | Recommended templates for this guide: **Fedora** or **Debian**. **Optional (Recommended)**: Use a minimal template if your willing to deal with slightly more work for better performance. |
| Recommended templates for this guide: **Fedora** or **Debian**. | |
| Used for installing packages (mpv, firejail) needed by your AppVM. | Used for installing packages (mpv, firejail) needed by your AppVM. Recommended templates for this guide: **Fedora Minimal** or **Debian Minimal**. |
| firejail mpv --loop --hwdec=no --vo=x11 --no-border -no-input-cursor --no-osc --no-input-default-bindings - | firejail mpv --loop --hwdec=no --vo=x11 --no-border -no-input-cursor --no-osc --no-input-default-bindings --ontop=no --geometry=100%x100% --fullscreen /Directory |
| https://youtu.be/Xu1Yjwkrhnk | https://youtu.be/Xu1Yjwkrhnk |
| 1. On version 1.1 if you had the video maximized it would still have the top border, fixed on 1.2. | 1. On version 1.1 if you had the video maximized it would still have the top border, fixed on 1.2. 2. This is not compatable with transparent panels. (Aka where your tabs are displayed) |
| **Optional (not required):** For smoother playback, an AppVM that already has a GPU assigned to it can take advantage of hardware video decoding in `mpv`. This is purely a performance optimization and not necessary for the guide. |
| Recommended templates for this guide: **Fedora** or **Debian**. | Recommended templates for this guide: **Fedora** or **Debian**. Not Recommended but still optimal use a gaming dedicated AppVM With a GPU to take advantage of Hardware decode built into mpv. |
| --vf=scale=X-Res:Y-Res # | --vf=scale=X-Res:Y-Res #Downscale, I just found out this DOES NOT improve performance. |
| echo " | echo "Youre Wallpaper is now set!" echo "If you're having any issues, say something in Qubes forums for this wallpaper guide." |
| 8. Enter Screen Resolution, and *** | 8. Enter Screen Resolution, and ***You're Done!*** |
| firejail mpv -- | firejail mpv --loop --hwdec=no --vo=x11 --no-border -no-input-cursor --no-osc --no-input-default-bindings -ontop=no --ontop=no --geometry=100%x100% --fullscreen /Directory |
| --vf=scale=X-Res:Y-Res #Downscaling for performance gains |
| firejail mpv --loop --no-border -no-input-cursor --no-osc --no-input-default-bindings -ontop=no --ontop=no --geometry=100%x100% --fullscreen /Directory | firejail mpv --loop --no-border -no-input-cursor --no-osc --no-input-default-bindings -ontop=no --ontop=no --geometry=100%x100% --fullscreen /Directory |
| --hwdec=auto # | --hwdec=auto #Automatically enables hardware decode |
| --hwdec=auto-safe #Force Hardware decode while safe. --hwdec=vaapi #Force Intel & AMD Hardware decode (Even if the VM doesn't want to use them) --hwdec=vdpau #Force Nvidia Hardware decode |
| firejail mpv --loop --no-border -no-input-cursor --no-input-default-bindings -ontop=no --ontop=no --geometry=100%x100% --fullscreen /Directory | firejail mpv --loop --no-border -no-input-cursor --no-osc --no-input-default-bindings -ontop=no --ontop=no --geometry=100%x100% --fullscreen /Directory |
| --hwdec=auto #automatically enables hardware decode --no-deband #Removes mpv anti-deband, might better performance --scale=bilinear #Reduce video scaling [Cheaper] --scale=nearest #Max Reduction of video scaling [Cheapest] | |
| ***Technically Running without firejail gains performance at the cost of security*** |
| #Optional mpv flags --no-audio #No audio, might help performance on rich video formats --vf=fps=30 #Caps FPS |
| echo "===== QUBES WALLPAPER V1. | echo "===== QUBES WALLPAPER V1.2 By Pro42good =====" |
| wmctrl -i -r "$WINID" -b remove,hidden,shaded | wmctrl -i -r "$WINID" -b remove,hidden,shaded wmctrl -i -r "$WINID" -b remove,maximized_vert,maximized_horz |
| 1. On version 1.1 if you had the video maximized it would still have the top border, fixed on 1.2. |
| --- | --- # For the skeptics: Live Demonstration + Nano showing code: https://youtu.be/Xu1Yjwkrhnk?si=v788_Aj7wTWV-0gp ###### Please forgive me for the bad quality, im not good at using qubes and I don't know how to record --- |