appmenus: add xterm in Disposable VM menu entry

Fixes QubesOS/qubes-issues#1612
This commit is contained in:
Marek Marczykowski-Górecki 2016-07-17 00:00:47 +02:00
parent 7080c0371d
commit db32b65d81
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
2 changed files with 13 additions and 2 deletions

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Version=1.0
Type=Application
Exec=sh -c 'echo xterm | /usr/lib/qubes/qfile-daemon-dvm qubes.VMShell dom0 DEFAULT red'
Icon=dispvm-red
Terminal=false
Name=DispVM: xterm
GenericName=DispVM: Terminal
StartupNotify=false
Categories=Network;X-Qubes-VM;

View File

@ -186,7 +186,7 @@ for i in /usr/share/qubes/icons/*.png ; do
done done
xdg-icon-resource forceupdate xdg-icon-resource forceupdate
xdg-desktop-menu install /usr/share/qubes-appmenus/qubes-dispvm.directory /usr/share/qubes-appmenus/qubes-dispvm-firefox.desktop xdg-desktop-menu install /usr/share/qubes-appmenus/qubes-dispvm.directory /usr/share/qubes-appmenus/qubes-dispvm-*.desktop
/usr/lib/qubes/patch-dnf-yum-config /usr/lib/qubes/patch-dnf-yum-config
@ -200,7 +200,7 @@ if [ "$1" = 0 ] ; then
xdg-icon-resource uninstall --novendor --size 48 $i xdg-icon-resource uninstall --novendor --size 48 $i
done done
xdg-desktop-menu uninstall /usr/share/qubes-appmenus/qubes-dispvm.directory /usr/share/qubes-appmenus/qubes-dispvm-firefox.desktop xdg-desktop-menu uninstall /usr/share/qubes-appmenus/qubes-dispvm.directory /usr/share/qubes-appmenus/qubes-dispvm-*.desktop
systemctl disable qubes-suspend.service > /dev/null 2>&1 systemctl disable qubes-suspend.service > /dev/null 2>&1
fi fi
@ -231,6 +231,7 @@ chmod -x /etc/grub.d/10_linux
/usr/libexec/qubes-appmenus/remove-appvm-appmenus.sh /usr/libexec/qubes-appmenus/remove-appvm-appmenus.sh
/usr/share/qubes-appmenus/qubes-appmenu-select.desktop /usr/share/qubes-appmenus/qubes-appmenu-select.desktop
/usr/share/qubes-appmenus/qubes-dispvm-firefox.desktop /usr/share/qubes-appmenus/qubes-dispvm-firefox.desktop
/usr/share/qubes-appmenus/qubes-dispvm-xterm.desktop
/usr/share/qubes-appmenus/qubes-dispvm.directory /usr/share/qubes-appmenus/qubes-dispvm.directory
/usr/share/qubes-appmenus/qubes-servicevm.directory.template /usr/share/qubes-appmenus/qubes-servicevm.directory.template
/usr/share/qubes-appmenus/qubes-start.desktop /usr/share/qubes-appmenus/qubes-start.desktop