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
13 hours 51 min ago
17 hours 34 min ago
17 hours 45 min ago
17 hours 51 min ago
19 hours 36 min ago
23 hours 34 min ago
1 day 11 hours ago
2 days 20 hours ago
3 days 20 min ago
3 days 1 hour ago