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
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com
Red Hat Virtual Experience - a free virtual event. Dec. 9th










print: 
Recent comments
5 hours 52 min ago
11 hours 40 min ago
13 hours 32 min ago
15 hours 17 min ago
19 hours 7 min ago
1 day 52 min ago
1 day 1 hour ago
1 day 5 hours ago
1 day 10 hours ago
1 day 16 hours ago