diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-12-28 15:33:46 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-12-28 15:33:46 -0200 |
commit | 76dd712801ffa8fd44c12631aed34d011884d71f (patch) | |
tree | 8bffbb249067e4708819112323db496e4d2eceaf | |
parent | f24772034809121e0cd87d6ab9d28be7738bd6fa (diff) | |
download | profile-76dd712801ffa8fd44c12631aed34d011884d71f.tar.gz profile-76dd712801ffa8fd44c12631aed34d011884d71f.tar.bz2 |
Start spice-vdagent if needed
-rwxr-xr-x | xsessionrc.dot.link | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xsessionrc.dot.link b/xsessionrc.dot.link index c91f66f..1aee9d5 100755 --- a/xsessionrc.dot.link +++ b/xsessionrc.dot.link @@ -105,6 +105,11 @@ if which pulseaudio > /dev/null 2>&1; then pulseaudio --start fi +# Start spice-vdagent if needed +if [ -e "/dev/virtio-ports/com.redhat.spice.0" ] && [ -x "/usr/bin/spice-vdagent" ]; then + spice-vdagent +fi + # Start window manager if [ "$OSVERSION" = "7" ] || [ "$START_WINDOW_MANAGER" = "true" ]; then $WINDOW_MANAGER |