gui: set guivm windows prefix

This commit is contained in:
Frédéric Pierret (fepitre) 2019-11-06 20:36:34 +01:00
parent 89e3ae3945
commit 78d0d2cabb
No known key found for this signature in database
GPG Key ID: 484010B5CDC576E2

View File

@ -70,3 +70,9 @@ class GUI(qubes.ext.Extension):
kbd_layout = vm.guivm.features.get('keyboard-layout', None)
if kbd_layout:
vm.untrusted_qdb.write('/keyboard-layout', kbd_layout)
# Set GuiVM prefix
guivm_windows_prefix = vm.features.get('guivm-windows-prefix', 'GuiVM')
if vm.features.get('service.guivm-gui-agent', None):
vm.untrusted_qdb.write('/guivm-windows-prefix',
guivm_windows_prefix)