Skip to content

Instantly share code, notes, and snippets.

@code3z
Last active May 31, 2025 22:29
Show Gist options
  • Select an option

  • Save code3z/244ea17d306f11fdf1127c8d4ce5296c to your computer and use it in GitHub Desktop.

Select an option

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 [email protected] and run this:

sudo cp ~/.local/share/gnome-shell/extensions/[email protected]/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
@Newrad-G
Copy link

Newrad-G commented Mar 4, 2022

sounds like you are installing GNOME extensions and tweaks in templates or app VM, it must be in dom0

Thanks for the reply.
I guess I will need to find out more about dom0: its functions and when and why to use it when needed!

@kennethrrosen
Copy link

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

@vboufleur
Copy link

vboufleur commented Apr 16, 2025

@kennethrrosen there are some Gnome Extensions for enabling showing legacy tray icons for quick access to the services you mentioned.

For example, here's the one that I use, called "AppIndicator and KStatusNotifierItem Support": https://extensions.gnome.org/extension/615/appindicator-support/

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