All pastes #52077 Raw Edit

ubuntu

public text v1 · immutable
#52077 ·published 2006-04-28 18:50 UTC
rendered paste body
 #!/bin/bash 
 # Run this script only after you have: 
 # 1.run Apt-Install-Breezy 
 # 2.rebooted 
 ####### 
 
 #delete debs from apt archive 
 apt-get clean 
 echo "apt cache cleaned" 
 
 #add fluxbox menu item 
 su -c "cp -vp ~/.fluxbox/menu ~/.fluxbox/menu.orig" - vmadmin 
 
 echo " 
 [begin] (Fluxbox) {} 
     [submenu] (Frequent) {} 
         [exec] (VMware-Console) {/usr/bin/vmware-console} 
         [exec] (xterm) {xterm} 
         [exec] (xtightvncviewer) {/usr/bin/xtightvncviewer} 
         [exec] (FluxConfig) {fluxbare} 
     [end] 
 ">/home/vmadmin/.fluxbox/menu 
 su -c "cat ~/.fluxbox/menu.orig |grep -v begin >> ~/.fluxbox/menu" - vmadmin 
 
 echo "Menu Items added Successfully" 
 #######