custom fetch scripts for QubesOS
- Download the qubesfetch script (make sure you are in the home directory)
wget https://raw.githubusercontent.com/tillay/qubefetch/refs/heads/main/qubesfetch&&chmod +x qubesfetch
- Download the fetchinfo.sh script
wget https://raw.githubusercontent.com/tillay/qubefetch/refs/heads/main/fetchinfo.sh&&chmod +x ~/fetchinfo.sh
- Move fetchinfo.sh script into dom0
qvm-run --pass-io <qube-you-downloaded-in> 'cat ~/fetchinfo.sh' > fetchinfo.sh
- Make a keyboard shortcut to reload dom0-only fetch infos (and bind it to something)
/home/<your-dom0-user>/fetchinfo.sh personal school work
To use:
-
press the keybind to get dom0 fetch infos
-
Wait a few seconds for dom0 to interface with less trusted qubes
-
run qubesfetch shell script
-
gaze at your pretty system
-
Make sure xclip is installed in target qube(s)
-
Put this shell script in dom0 home directory and chmod it
-
Make keyboard shortcut through GUI's to run
/home/<username>/screenshot.sh <target-qube>
QUBE=$1
SCREENSHOT="/home/$USER/screenshot.png"
INCOMING='/home/user/QubesIncoming/dom0/screenshot.png'
xfce4-screenshooter -r -s $SCREENSHOT
qvm-move-to-vm $QUBE $SCREENSHOT
qvm-run --pass-io $QUBE -- 'xclip -selection clipboard -t image/png -i '$INCOMING' &&rm '$INCOMING''