2 Commits
v1 ... v3
Author SHA1 Message Date
Brett T. Warden ec024e826f Remove startx instructions
Modern installation methods provide the GUI already; we no longer need
to inform the user to start the GUI with startx.
2019-05-23 15:56:06 -07:00
Brett T. Warden 0a0afb159e Fix shared clipboard support
Installer tries to create /usr/bin/VBoxClient-all as a symlink to
${INSTALL_DIR}/other/98vboxadd-xclient, and has vboxclient.desktop use
that symlink for its Exec. Creation of the symlink fails, and we don't
want it in /usr/bin anyway, so just edit the .desktop file to point
directly to the script. This script launches the various VBoxClient
daemons to handle shared clipboard, drag and drop, display management,
and seamless window services.

We have to modify both copies because a startup script copies the
version from ${INSTALL_DIR} into the appropriate desktop manager paths
each boot.
2019-03-19 13:57:29 -07:00
+11 -3
View File
@@ -156,12 +156,20 @@ setup_install ()
# Do not add new group
sed -i -- 's/groupadd/true/g' ${f}
done
# Ensure that support daemons for clipboard sharing, etc. will load
xclient=$(find ${INSTALL_DIR} -type f -name '[0-9][0-9]vboxadd-xclient' \
| head -1)
if [[ -f ${xclient} ]]; then
find /etc/xdg/autostart ${INSTALL_DIR} -type f -name vboxclient.desktop -exec \
sed -i \ "s|^Exec=.*|Exec=${xclient}|" {} \;
fi
mkdir -p /etc/udev/rules.d
mkdir -p /etc/ld.so.conf.d
mkdir -p /etc/xdg/autostart
echo -e "\n\nTo use Clear Linux GUI please do:\n\n
swupd bundle-add os-utils-gui\n
and then 'startx'"
echo "Guest Additions installation complete"
}
remove_tmp_files ()