cbagger01
Group: Members
Posts: 4264
Joined: Oct. 2003 |
|
Posted: Jan. 01 2004,09:10 |
|
After trying out the latest version of Damn Small Linux (0.5.2), I was glad to see that John somehow fit cdrecord and mkisofs into the liveCD. Great Job!
Unfortunately, the only cd burning application that can fit on the current version of DSL is bash burn which is somewhat cumbersome to use and confusing.
However, I was able to find a small size version of GCombust (VectorLinux Package) XWindows CD Burning Interface that could be downloaded and installed via a shell script. The best part is that there are no dependencies and the program only takes up 184k after being uncompressed.
This script also takes advantage of the new /opt directory, which will allow multiple users to use the same program.
Here's how to install GCombust:
Copy the script text below and paste it into a text editor like Scite Save the script file as /opt/.start_gcombust Note the "." period in front of the word start Make the script executable by typing in the following from an Xterminal (rxvt) Window:
chmod 755 /opt/.start_gcombust
Finally, run the script by typing in:
/opt/.start_gcombust
Here is the scipt text:
Code Sample | #!/bin/sh # # /opt/.start_gcombust - Checks to see if GCombust is already installed # and starts it up. Otherwise, install the program. # Rev 0 1/01/04
# Has this script called itself with the install argument? while [ "$1" = "install" ] do # First, download and unpack the Vector Linux GCombust binaries cd $HOME echo 'Grabbing GCombust Binaries...' wget -c http://www.ibiblio.org/pub/linux/distributions/vectorlinux/veclinux-4.0/packages/gcombust-0.1.55-i386-1.tgz tar -zxvf gcombust-0.1.55-i386-1.tgz usr/X11R6/bin/gcombust usr/X11R6/share/pixmaps/gcombust.xpm rm -rf $HOME/gcombust-0.1.55-i386-1.tgz rm -rf $HOME/install
# Next, install the files and clean up mkdir /opt/gcombust cp $HOME/usr/X11R6/bin/gcombust /opt/gcombust cp $HOME/usr/X11R6/share/pixmaps/gcombust.xpm $HOME/.xtdesktop rm -rf $HOME/usr
# Create Desktop Icon for GCombust echo 'table Icon' > $HOME/.xtdesktop/gcombust.lnk echo ' Type: Program' >> $HOME/.xtdesktop/gcombust.lnk echo ' Caption: GCombust' >> $HOME/.xtdesktop/gcombust.lnk echo ' Command: sh /opt/.start_gcombust' >> $HOME/.xtdesktop/gcombust.lnk echo ' Icon: .xtdesktop/gcombust.xpm' >> $HOME/.xtdesktop/gcombust.lnk echo ' X: 385' >> $HOME/.xtdesktop/gcombust.lnk echo ' Y: 98' >> $HOME/.xtdesktop/gcombust.lnk echo 'end' >> $HOME/.xtdesktop/gcombust.lnk
exit done
# Check to see if gcombust is already installed if test -f '/opt/gcombust/gcombust' then /opt/gcombust/gcombust & exit fi
# Otherwise, run this script again in an rxvt window with the # install argument added cd $HOME rxvt -rv -T "installing GCombust..." -e sh /opt/.start_gcombust install # Restart the xtdesktop icons if needed ps -ef | grep xtdesk | grep -v grep | grep -v re_xtdesk > /tmp/startgcombust.tmp if test -s '/tmp/startgcombust.tmp' then killall -9 xtdesk >/dev/null xtdesk >/dev/null & fi rm -rf /tmp/startgcombust.tmp
# Start gcombust for the first time /opt/gcombust/gcombust exit
|
|