VirtualBox/VirtualBox-7.0.10-VBoxClient-all-disable-notification.patch

13 lines
828 B
Diff
Raw Normal View History

--- VirtualBox-7.0.10/src/VBox/Additions/x11/Installer/98vboxadd-xclient.orig 2023-09-13 21:47:24.298300105 +0200
+++ VirtualBox-7.0.10/src/VBox/Additions/x11/Installer/98vboxadd-xclient 2023-09-13 21:47:41.654258752 +0200
@@ -35,7 +35,8 @@
# Do not start if the kernel module is not present.
# Execute notify-send in the back-ground to avoid racing with sddm,
# as notify-send may wait for sddm to start while it waits for us to exit.
- notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting." &
+ #notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting." &
+ :
elif test -z "${SSH_CONNECTION}"; then
# This script can also be triggered by a connection over SSH, which is not
# what we had in mind, so we do not start VBoxClient in that case. We do