Collection of custom scripts for Qubes OS
-
Install dependencies in target qubes:
sudo dnf install \ qubes-video-companion-receiver \ xclip \ yad
-
Install dependencies in dom0:
sudo qubes-dom0-update \ flameshot \ gpick \ ImageMagick \ qubes-video-companion-dom0 \ xdotool \ xprop \ yad
-
Drop the scripts you want in
/usr/local/bin
on dom0 (how to copy files to dom0)
qubes-color-add/del
: add and remove custom qube colors; run the script with a color name and hexadecimal value likequbes-color-add pink FABFD4
, then select it in a qube's settings page, remove withqubes-color-del pink
qubes-color-pick
: pick a color from screen and copy to global clipboard; run the script, select a color, paste into a qube of your choicequbes-dom0-copy/move
: import files to dom0 from other vms; run the script, select the qube, then the files, and they will appear in the current directory on dom0 (and deleted on the source vm if moving)qubes-flameshot
: screenshot with flameshot and copy to qube clipboard; run the script, make the screenshot, select target qube, paste to your heart's contentqubes-run-focused
: run command in focused window's qube; intended for use in keybinds, like opening a file manager in the focused window's qubequbes-screenshare
: quickly start a video companion screenshare session; run the script, select destination qube, then source qube, do what you need, then stop screensharing with the tray iconqubes-select-qube
: show a prompt to select a qube; intended for use in scripts and commands, all other scripts here rely on it
You should be careful what you do with dom0, I won't be held responsible if anything gets compromised. Make sure you understand exactly what these scripts are doing (they are in fact quite simple) before you run them.