Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 2 [3] 4 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Install scripts for Opera 6.12, Got the bandwidth?< Next Oldest | Next Newest >
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Feb. 08 2004,03:48 QUOTE

Don't use that .install_opera script (Rev2). It will not work correctly with the latest .start_opera script.

Try copying and pasting the .start_opera and .install_opera scripts listed above. The message post is dated 11/28/03 and the scripts are dated 11/26/03

Good Luck.
Back to top
Profile PM 
Rapidweather Offline





Group: Members
Posts: 375
Joined: Jan. 2004
Posted: Feb. 08 2004,05:27 QUOTE

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
Back to top
Profile PM WEB 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Feb. 08 2004,05:40 QUOTE

Glad to see that you were able to get Opera working from the restore process.

One of these days, I'm gonna revise the script so that Opera is installed to the /opt directory, similar to the way that MozillaFirebird works in DSL 0.5.2+

In addition to the installation of Opera & Flash Plugin, my goal is to provide the optional installation of the Java runtime virtual machine and RealPlayer.
Back to top
Profile PM 
Rapidweather Offline





Group: Members
Posts: 375
Joined: Jan. 2004
Posted: Feb. 08 2004,14:46 QUOTE

This morning when I booted up the machine, and restored, I found that I
needed to run the .start_opera script, to get Opera 6.12 to start, apparently to create the /ramdisk/usr directory to appear or something. The .start_opera immediately goes to the .install_opera script, and it gets ready to grab opera, then stops, and Opera boots up. From then on, my menu item for Opera works, but not before.
----
I'll do another run-thru to see what happens again.
---
Opera is restored, but the initial start-up process is a little strange.
---
 :;):


--------------
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
Back to top
Profile PM WEB 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Feb. 08 2004,18:19 QUOTE

Rapidweather,

The older version of the start/install Opera scripts did an install to the /usr directory tree. When you run DSL from the live cd, the /usr tree is symlinked back to the CDROM, which is a read-only file system.

The original start/install script checked to see if the user was running from a live cd and if so, it created a read/write directory structure for /usr inside the /ramdisk file system and then installed the Opera files.

The most recent version of the start/install scripts do not use the /usr tree. Instead, they install Opera to the user's home directory, specifically /home/damnsmall/bin, /home/damnsmall/lib, /home/damnsmall/share

This is an improvement because the /home tree is already created as a read/write filesystem even when DSL is running from the live CD.

So, my advice to you is:

Boot the livecd.
Install Opera using the latest version of the start/install scripts.
Edit your Fluxbox Menu to start Opera with "/home/damnsmall/.start_opera"
Use the filetool.lst backup utility to back up the files:

/home/damnsmall/.opera
/ramdisk/usr/bin/opera
/ramdisk/usr/lib/opera
/ramdisk/usr/share/opera
/home/damnsmall/.start_opera
/home/damnsmall/.install_opera
.fluxbox
.xtdesktop

And you should be happy when you do a "restore" from backup.

Good Luck.
Back to top
Profile PM 
23 replies since Nov. 23 2003,08:52 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 2 [3] 4 5 >/
reply to topic new topic new poll
Quick Reply: Install scripts for Opera 6.12

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code