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
|









print: 
Recent comments
7 hours 33 min ago
8 hours 25 min ago
8 hours 51 min ago
11 hours 9 min ago
11 hours 29 min ago
11 hours 58 min ago
12 hours 51 min ago
15 hours 12 min ago
15 hours 29 min ago
16 hours 1 min ago