diff --git a/.gitignore b/.gitignore
index 2f0373a7..d47c38f3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -93,3 +93,5 @@ ENV/
*.swp
*.~undo-tree~
+*.glade~
+*.glade#
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cc71b237..de23b8d5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,7 +13,7 @@ checks:tests:
before_script: &before-script
- "PATH=$PATH:$HOME/.local/bin"
- sudo dnf install -y python3-gobject gtk3 python3-pytest gtksourceview4
- python3-coverage xorg-x11-server-Xvfb python3-pip
+ python3-coverage xorg-x11-server-Xvfb python3-pip xdg-utils
- pip3 install --quiet -r ci/requirements.txt
- git clone https://github.com/QubesOS/qubes-core-admin-client ~/core-admin-client
- git clone https://github.com/QubesOS/qubes-core-qrexec ~/core-qrexec
diff --git a/Makefile b/Makefile
index 78adc9c2..e5e70bba 100644
--- a/Makefile
+++ b/Makefile
@@ -51,6 +51,7 @@ install-autostart:
cp desktop/qubes-policy-editor-gui.desktop $(DESTDIR)/usr/share/applications/
install -d $(DESTDIR)/usr/lib/qubes -m 0755
install -m 0755 qui/devices/qubes-device-agent-autostart $(DESTDIR)/usr/lib/qubes/qubes-device-agent-autostart
+ cp desktop/qubes-virtual-browser.desktop $(DESTDIR)/usr/share/applications/
install-lang:
mkdir -p $(DESTDIR)/usr/share/gtksourceview-4/language-specs/
diff --git a/debian/control b/debian/control
index 54346e59..c75276fb 100644
--- a/debian/control
+++ b/debian/control
@@ -19,6 +19,7 @@ Package: qubes-desktop-linux-manager
Architecture: any
Depends:
python3-qui,
+ xdg-utils,
${misc:Depends}
Description: Qubes UI Applications
A collection of GUI application for enhancing the Qubes UX.
diff --git a/desktop/qubes-virtual-browser.desktop b/desktop/qubes-virtual-browser.desktop
new file mode 100644
index 00000000..4f8536b6
--- /dev/null
+++ b/desktop/qubes-virtual-browser.desktop
@@ -0,0 +1,13 @@
+### Note: With this installed, typing "xdg-settings set default-web-browser qubes-virtual-browser.desktop" will make it so that in gnome-terminal
+### (typing "xdg-settings set default-web-browser firefox.desktop" will put it back to normal)
+
+[Desktop Entry]
+Version=1.0
+Name=Qubes Virtual Browser
+Exec=/usr/bin/qubes-virtual-browser %u
+Icon=qubes-manager
+Terminal=false
+Type=Application
+Categories=Network;WebBrowser;
+MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
+NoDisplay=true
diff --git a/qubes_config/global_config.glade b/qubes_config/global_config.glade
index 2d1c1ade..0b67e198 100644
--- a/qubes_config/global_config.glade
+++ b/qubes_config/global_config.glade
@@ -6444,7 +6444,7 @@ Inter-qube copy and paste actions are performed via special keyboard shortcuts,
+
+ False
+ True
+ 2
+
+
+
+
+
+ False
+ True
+ 3
+
+
+
+
+ True
+ True
+ False
+ True
+ virtual_browser_ask
+
+
+ True
+ False
+
+
+ True
+ False
+ Copy all URLs to <b>Global Clipboard</b>
+ True
+
+
+ False
+ True
+ 0
+
+
+
+
+
+
+
+ False
+ True
+ 4
+
+
+
+
+ True
+ True
+ False
+ True
+ virtual_browser_ask
+
+
+ True
+ False
+
+
+ True
+ False
+ <b>Discard</b> all URLs without asking
+ True
+
+
+ False
+ True
+ 0
+
+
+
+
+
+
+
+ False
+ True
+ 5
+
+
+
+
+ True
+ False
+ Open URL in Disposable
+ 0
+
+
+
+ False
+ True
+ 6
+
+
+
+
+ True
+ False
+ This policy governs Qubes OS behavior when using <tt>qvm-open-in-dvm</tt> with URL arguments on the command line.
+ True
+ True
+ 0
+
+
+
+ False
+ True
+ 7
+
+
True
@@ -6518,7 +6721,7 @@ Inter-qube copy and paste actions are performed via special keyboard shortcuts,
False
False
- 2
+ 8
@@ -6559,7 +6762,7 @@ Inter-qube copy and paste actions are performed via special keyboard shortcuts,
False
True
- 3
+ 9
@@ -6600,7 +6803,7 @@ Inter-qube copy and paste actions are performed via special keyboard shortcuts,
False
True
- 4
+ 10
@@ -6628,7 +6831,7 @@ Inter-qube copy and paste actions are performed via special keyboard shortcuts,
False
True
- 5
+ 11
@@ -6669,7 +6872,7 @@ Inter-qube copy and paste actions are performed via special keyboard shortcuts,
False
True
- 6
+ 12
@@ -6723,7 +6926,7 @@ Inter-qube copy and paste actions are performed via special keyboard shortcuts,
False
True
- 7
+ 13
@@ -6749,7 +6952,7 @@ Inter-qube copy and paste actions are performed via special keyboard shortcuts,
False
True
- 8
+ 14
@@ -6804,7 +7007,7 @@ Inter-qube copy and paste actions are performed via special keyboard shortcuts,
False
True
- 9
+ 15
@@ -6870,7 +7073,7 @@ Inter-qube copy and paste actions are performed via special keyboard shortcuts,
False
True
- 10
+ 16
@@ -6949,7 +7152,7 @@ Inter-qube copy and paste actions are performed via special keyboard shortcuts,
False
True
- 11
+ 17