diff options
author | Cole Robinson <crobinso@redhat.com> | 2018-03-17 12:05:42 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2018-03-17 13:14:04 -0400 |
commit | 7ad15769dc794b4330854f0bfe21318c28731d87 (patch) | |
tree | 0aaad5a52c0af7e33dd1195d2ba4943d548c368d /virt-manager | |
parent | 483a8de6c1b6079215bdd40b5e7e8dd5ba3c953c (diff) | |
download | virt-manager-7ad15769dc794b4330854f0bfe21318c28731d87.tar.gz |
virt-manager: fix git startup on wayland
Apparently we need to do these env settings much earlier...
Diffstat (limited to 'virt-manager')
-rwxr-xr-x | virt-manager | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/virt-manager b/virt-manager index 7450a305..281b5b68 100755 --- a/virt-manager +++ b/virt-manager @@ -197,6 +197,11 @@ def main(): import libvirt virtManager.module_trace.wrap_module(libvirt, regex=None) + # With F27 gnome+wayland we need to set these before GTK import + os.environ["GSETTINGS_SCHEMA_DIR"] = CLIConfig.gsettings_dir + if options.test_first_run: + os.environ["GSETTINGS_BACKEND"] = "memory" + # Now we've got basic environment up & running we can fork do_drop_stdio = False if not options.no_fork and not options.debug: |