Thursday, July 5, 2007

Rdesktop One Application

Rdesktop with only one application does not require seamlessrdpshell running on the XP VM, nor explorer.exe (that consume a lot of memory), and this brings some benefits :
  • usually mapped to the WINDOWS key on the XP VM (can't be disabled), but now this key is completely disabled on the XP VM, so we can freely use this key for Ubuntu only
  • Windows program will be perfectly full screen, without any border
  • The minimized button on the Windows program is disabled, and click on the minimize button will minimize the Ubuntu window instead
The modified "powerpnt" script will look like this :

#fullscreen only
echo rdesktop -D -K -g 1024x768 -a 16 -S 18 -s "'"C:\\Program Files\\Microsoft O
ffice\\office11\\powerpnt.exe \"$@\""'" thartono-wxp:3389 -u thartono -p xxxxxx
>~/Desktop/rdesktop.cmd.txt
cat ~/Desktop/rdesktop.cmd.txt | sed "s_/_\\\_g" | sed " s_\\\home\\\thartono\\\
data\\\customers_z:\\\customers_g " | sed "s_\\\home\\\thartono\\\data\\\produc
ts_z:\\\products_g " | sed "s_\\\home\\\thartono\\\data\\\shared_z:_g " |sh

No comments: