diff --git a/Makefile b/Makefile index ff2cc4d9..194b7a69 100644 --- a/Makefile +++ b/Makefile @@ -239,6 +239,8 @@ endif $(DESTDIR)/usr/lib/qubes/qubes-xorg-wrapper install -D appvm-scripts/usr/lib/qubes/gtk4-workarounds.sh \ $(DESTDIR)/usr/lib/qubes/gtk4-workarounds.sh + install -m 0644 -D appvm-scripts/etc/xdgautostart/qubes-set-xsettings-xfconf-query.desktop \ + $(DESTDIR)/etc/xdg/autostart/qubes-set-xsettings-xfconf-query.desktop ifeq ($(shell lsb_release -is), Debian) install -D -m 0644 appvm-scripts/etc/pam.d/qubes-gui-agent.debian \ $(DESTDIR)/etc/pam.d/qubes-gui-agent diff --git a/appvm-scripts/etc/xdgautostart/qubes-set-xsettings-xfconf-query.desktop b/appvm-scripts/etc/xdgautostart/qubes-set-xsettings-xfconf-query.desktop new file mode 100644 index 00000000..d7650154 --- /dev/null +++ b/appvm-scripts/etc/xdgautostart/qubes-set-xsettings-xfconf-query.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +TryExec=xfconf-query +Exec=xfconf-query --channel xsettings --property /Gtk/DecorationLayout --create --type string --set "" +Terminal=false +Type=Application +OnlyShowIn=X-QUBES; diff --git a/debian/qubes-gui-agent-xfce.install b/debian/qubes-gui-agent-xfce.install index b701d8c7..089bdd60 100644 --- a/debian/qubes-gui-agent-xfce.install +++ b/debian/qubes-gui-agent-xfce.install @@ -1 +1,2 @@ -etc/X11/Xsession.d/60xfce-desktop \ No newline at end of file +etc/X11/Xsession.d/60xfce-desktop +etc/xdg/autostart/qubes-set-xsettings-xfconf-query.desktop diff --git a/rpm_spec/gui-agent.spec.in b/rpm_spec/gui-agent.spec.in index e4f8789e..8bbe0606 100644 --- a/rpm_spec/gui-agent.spec.in +++ b/rpm_spec/gui-agent.spec.in @@ -371,6 +371,7 @@ rm -f %{name}-%{version} %files xfce %{xinitrc_dir}/60xfce-desktop.sh +/etc/xdg/autostart/qubes-set-xsettings-xfconf-query.desktop %files -n qubes-gui-vnc #/lib/systemd/system/qubes-gui-vncserver.service