Skip to content

Instantly share code, notes, and snippets.

@code3z
Last active April 13, 2024 21:34
Show Gist options
  • Save code3z/244ea17d306f11fdf1127c8d4ce5296c to your computer and use it in GitHub Desktop.
Save code3z/244ea17d306f11fdf1127c8d4ce5296c to your computer and use it in GitHub Desktop.
GNOME on Qubes

Hi!

You should be able to install GNOME DE on Qubes OS dom0 with.

sudo qubes-dom0-update gnome-shell

Install extensions according to instructions here.

Enable window borders

Install pop-shell@system76.com and run this:

sudo cp ~/.local/share/gnome-shell/extensions/pop-shell@system76.com/schemas/org.gnome.shell.extensions.pop-shell.gschema.xml /usr/share/glib-2.0/schemas/org.gnome.shell.extensions.pop-shell.gschema.xml && sudo glib-compile-schemas /usr/share/glib-2.0/schemas

Reload the shell with Alt + F2 and type r. Use the tiling widget in the panel to enable active window hint.

Then run label.sh to enable colored window borders. Thanks to the kind people in the Qubes forum who helped me with the script.

#!/bin/bash
while true
do
ID=`xdotool getwindowfocus`
QUBE=`xprop _QUBES_VMNAME -id $ID|cut -f2 -d\" `
if [[ "$QUBE" == "_QUBES_VMNAME: not found." ]]; then
gsettings set org.gnome.shell.extensions.pop-shell hint-color-rgba 'white'
else
LABEL=`qvm-prefs "$QUBE" label`
#echo $LABEL
gsettings set org.gnome.shell.extensions.pop-shell hint-color-rgba $LABEL
sleep 0.05
fi
done
@kennethrrosen
Copy link

I realize this is a bit old, but how does one manage tray services (sys-net, sys-whonix, etc.)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment