summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps_gtk.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install/steps_gtk.pm')
-rw-r--r--perl-install/install/steps_gtk.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm
index d1672c742..455afc34a 100644
--- a/perl-install/install/steps_gtk.pm
+++ b/perl-install/install/steps_gtk.pm
@@ -45,6 +45,11 @@ sub new($$) {
modules::load('xpad');
run_program::run('xset', 'm', '1/8', '1');
}
+ if (detect_devices::is_qemu()) {
+ mkdir_p('/var/run/spice-vdagentd');
+ run_program::raw({ detach => 1 }, 'spice-vdagentd', '-X', '>', '/dev/null', '2>', '/dev/null');
+ run_program::raw({ detach => 1 }, 'spice-vdagent', '>', '/dev/null', '2>', '/dev/null');
+ }
any::disable_x_screensaver();
run_program::raw({ detach => 1 }, 'mutter');
install::gtk::init_gtk($o);