How To Set Up VMware Tools On Various Linux Distributions - Page 2
6 VMware Toolbox Automatic Hidden StartWe'll create two scripts (I sometimes had problems when I put all in one script). These scripts will be executed everytime when an X-session starts - they will switch to the next workspace, start the VMware Tools minimized and switch back to the previous workspace. The switching will be done with xvkbd - a virtual keyboard for the X window system. 6.1 Install XvkbdUbuntu 7.04: sudo apt-get install xvkbd Fedora 7: su - PCLinuxOS 2007: Download the rpm-package from http://rpmseek.com/rpm/xvkbd-2.7a-2mdk.i586.html?hl=de&cs=xvkbd:PN:0:0:0:0:2800686. Afterwards switch to the directory where you downloaded the package and install it: su - Debian Etch: su - Now change to your homedir: cd ~ 6.2 Scripts For Gnomevi switcher1.sh #! /bin/sh sleep 2 xvkbd -text "\C\A\[Right]" sleep 2 vmware-toolbox --minimize &> /dev/null vi switcher2.sh #! /bin/sh sleep 10 xvkbd -text "\C\A\[Left]" Make the scripts executeable: chmod +x switcher* Add the scripts to the session startup programs:
Repeat these steps for "switcher2.sh" 6.3 Scripts For KDENote: If the panel taskbar is configured to show windows from all desktops, the VMware Toolbox will still be visible in the taskbar. vi .kde/Autostart/switcher1.sh #! /bin/sh sleep 2 xvkbd -text "\C\[F2]" sleep 2 vmware-toolbox --minimize &> /dev/null vi .kde/Autostart/switcher2.sh #! /bin/sh sleep 10 xvkbd -text "\C\[F1]" Make the scripts executeable: chmod +x .kde/Autostart/switcher*
7 Links
|








Recent comments
9 hours 15 min ago
13 hours 28 min ago
17 hours 43 min ago
1 day 2 hours ago
1 day 4 hours ago
1 day 5 hours ago
1 day 17 hours ago
2 days 15 min ago
2 days 2 hours ago
2 days 4 hours ago