Rapidweather
Group: Members
Posts: 375
Joined: Jan. 2004 |
|
Posted: Feb. 08 2004,05:27 |
|
I got it to work. Believe I used the earlier .start_opera script. My problem was getting the restore to work, and I have solved that, and made a menu item for Opera that works correctly. Here is my filetool.lst that does the backup/restore: --------- .fluxbox .xtdesktop .xinitrc /opt/xsetup /opt/ppp /opt/wvdial.conf .blackboxrc .dillo .links /opt/MozillaFirebird .phoenix /home/damnsmall/.opera /ramdisk/usr/bin/opera /ramdisk/usr/lib/opera /ramdisk/usr/share/opera /home/damnsmall/.start_opera /home/damnsmall/.install_opera web.html web_files upload kreon ----- Here is the menu section that I have added that shows the web browsers: ------ Debian MENU
[begin] (Damn Small Linux) [exec] (Rxvt) {rxvt -rv -fn fixed -cr yellow -T "Bash" -e /bin/bash} [submenu] (Dialer) {} [exec] (Dial) {rxvt -rv -T "Dial" -e sudo -H /usr/bin/wvdial } [exec] (Hangup) {rxvt -rv -T "Hangup" -e sudo -H /usr/bin/killall wvdial } [end] [submenu] (Web Browsers) {} [exec] (MozillaFirebird) {/opt/MozillaFirebird/MozillaFirebird} [exec] (Opera 6.12) {opera} [end] [submenu] (Floppy Drive) {} [exec] (Mount) {rxvt -rv -T "Mount Floppy" -e sudo -H mount /dev/fd0 /mnt/floppy } [exec] (Unmount) {rxvt -rv -T "Unmount Floppy" -e sudo -H umount /mnt/floppy } [end] [submenu] (Apps) {} (the rest of the standard menu follows) ----- Note that I start Opera without the .start_opera script. If I use it, then it tries to get the opera tarball, crashes, then Opera 6.12 starts. Here is that script, and we can see why: ---- #!/bin/sh # # .start_opera - Checks to see if the Opera Web Browser is already installed # and starts it up. Otherwise, run the install script. # Rev 0 11/22/03
# Check to see if Opera is already installed if test -f '/usr/bin/opera' then /usr/bin/opera & exit fi
# Otherwise, run the insall script as root cd /home/damnsmall rxvt -rv -T "installing Opera..." -e sudo -u root ./.install_opera /usr/bin/opera exit -------- As you could see from the copy on the web of my .install_opera script, I don't download the flash plugin, so I seem to be ok just starting opera in my menu as I do. ------ BTW, I am running Opera 6.12 now, from a rebooted and restored DSL setup. I use three partitions, a swap, a Windows, and a SuSE Linux native. I put the /knoppix and the filetool.sh in the Windows /dev/hda1, which becomes /cdrom in DSL, already mounted. So, I just cd to /cdrom, and #filetool.sh restore to get restored. In my SuSE partition, /dev/hda2, I place the backup.tar.gz and the filetool.lst (shown above). ---- So, DSL has a nice swap partition to use, and plenty of room for a big backup.tar.gz. --- This system runs really fast, and the hard drive stays quiet, compared to running MozillaFirebird or Opera in Windows. Same for SuSE 2.2, which can only handle Opera. I'm going to add this post to my howto file at: http://www.angelfire.com/ms/telegram/general_howto --- I'll be testing this setup on another machine, so I'll try and get compatible .install_opera and .start_opera files from this thread, dated as you have described. ---- I find that the .start_opera works fine the first time around, apparently, but then after the restore that I have come up with, I need to start opera with just #opera rather than with .start_opera. ----- Oh, to save time with backing up a big Opera web cache, I just go in preferences > history and cache, and check the box: Empty on Exit. ----
-------------- Rapidweather Remaster of DSL: http://www.angelfire.com/ms/telegram/getting_started.html Rapidweather Remaster of Knoppix Linux: http://www.geocities.com/rapidweather/getting_started.html Screenshots: http://www.rapidweather.com/linuxcdsales.html
|