WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Installing Opera 11.64 on TinyCore 5.1 x86_64 via .rpm or .deb  (Read 8586 times)

Offline fodder

  • Newbie
  • *
  • Posts: 45
Hi all,

In Opera 12 I can't figure out how to remove the "Opera" menu button (and top bar) like I could with Opera 11.  Since I am using Opera in a kiosk-like implementation I am trying to install Opera 11.64 but have run into problems.
(In case you are wondering, fullscreen and kiosk modes don't work because they override Fluxbox layering.)

Here is what I have tried (on TC 5.1 x86_64), with files downloaded from here: http://www.opera.com/download/guide/?os=linux-x86-64&ver=11.64&local=y
(Note: squashfs-tools, findutils, gzip, bzip2, and xz are all installed.)
  • rpm2cpio opera-11.64-1403.x86_64.rpm | cpio -vid
  • rpm2cpio: no gzip/bzip2/xz magic
  • Download deb2tcz and chmod +x
  • sudo ./deb2tcz opera_11.64.1403_amd64.deb  opera-11.tcz
  • tar: invalid magic
  • tar: short read...

I have downloaded the files multiple times on different machines to make sure there the files are not corrupted.

I have also tried downloading the tarball (on the downloads page, select "Other(TAR)" and (.tar.bz2), and doing the following:
  • tar -xvjf opera-11.64-1403.x86_64.linux.tar.bz2
  • cd opera-11.64-1403.x86_64.linux/
  • ./install --user --repackage /tmp/opera/
  • mksquashfs /tmp/opera/ /home/tc/opera-11.tcz
...which installs but is unusable.

As aways, any help and/or points in the right direction would be greatly appreciated.

fodder

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10960
Re: Installing Opera 11.64 on TinyCore 5.1 x86_64 via .rpm or .deb
« Reply #1 on: March 05, 2014, 11:09:59 AM »
It's the same binary in all three packages, so you should use the tarball. What do you mean by unusable?
The only barriers that can stop you are the ones you create yourself.

Offline fodder

  • Newbie
  • *
  • Posts: 45
Re: Installing Opera 11.64 on TinyCore 5.1 x86_64 via .rpm or .deb
« Reply #2 on: March 05, 2014, 11:28:21 AM »
What do you mean by unusable?

If I put opera-11.tcz into my "optional" directory and load it using "tce-load -i opera-11", I get an "OK" after the install, but then when I try to run it I get: /bin/opera: exec: line 4: /home/tc/.local/lib/opera/opera: not found

I'm assuming I am missing an install flag or two....maybe --prefix?

Offline fodder

  • Newbie
  • *
  • Posts: 45
Re: Installing Opera 11.64 on TinyCore 5.1 x86_64 via .rpm or .deb
« Reply #3 on: March 05, 2014, 12:05:25 PM »
Just tried again with these steps to install on system level instead of user level (--system=--prefix /usr/bin), also changed the install name to match convention:
  • tar -xvjf opera-11.64-1403.x86_64.linux.tar.bz2
  • cd opera-11.64-1403.x86_64.linux/
  • ./install --system --name opera-11 --repackage /tmp/opera/
  • mksquashfs /tmp/opera/ /mnt/sda1/tce/optional/opera-11.tcz
  • tce-load -i opera-11
  • RESULT: /etc/sysconfig/tcedir/optional/opera-11.tcz: OK
  • opera-11
  • RESULT: /bin/opera-11: exec: line 4: /usr/local/lib/opera-11/opera-11: not found

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: How to remove the Tab bar/"O" Button bar in Opera 12.x
« Reply #4 on: March 05, 2014, 12:06:51 PM »
In Opera 12 I can't figure out how to remove the "Opera" menu button (and top bar) like I could with Opera 11.

1. Enable Tab Bar
2. In both  opera:config#UserPrefs|PagebarHeight & opera:config#UserPrefs|PagebarWidth set values to -1
3. Restart
« Last Edit: March 05, 2014, 01:25:47 PM by tinypoodle »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline fodder

  • Newbie
  • *
  • Posts: 45
Re: Installing Opera 11.64 on TinyCore 5.1 x86_64 via .rpm or .deb
« Reply #5 on: March 05, 2014, 12:22:50 PM »
1. Enable Tab Bar
2. In both  opera:config#UserPrefs|PagebarHeight & opera:config#UserPrefs|PagebarWidth set values to -1
3. Restart

Have you been able to get this working with no other toolbars visible?  For me it has only worked as long as there is at least one other toolbar - but once I remove all of them, the Page bar comes back, no matter the User Prefs settings.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: How to remove the Tab bar/"O" Button bar in Opera 12.x
« Reply #6 on: March 05, 2014, 12:29:59 PM »
Yup, just tested with a new profile before posting here (12.16) ;)

The only bar I personally use is Status bar, but that has no influence on the stupid O button whatsoever...
« Last Edit: March 05, 2014, 01:25:08 PM by tinypoodle »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline fodder

  • Newbie
  • *
  • Posts: 45
Re: Installing Opera 11.64 on TinyCore 5.1 x86_64 via .rpm or .deb
« Reply #7 on: March 05, 2014, 12:51:33 PM »
Yup, just tested with a new profile before posting here (12.16) ;)

Ok, here is what I am doing - maybe you can see what I am doing wrong!:
  • New install of Opera 12.12, right-click on desktop, select "Applications/opera-12"
  • Click "I Agree" on TOS
  • Opera opens with default "Tab Bar" and "Opera" menu button on left.
  • Type "opera:config#UserPrefs", in address bar
  • Change "Pagebar Height" and "Pagebar Width" to "-1", click "Save" at the bottom, and "OK" on restart popup.
  • At this point there is no change in the toolbars, so close and reopen Opera.
  • Now Opera opens with only Address Bar showing.
  • Right-click on address bar and select "Customize/Appearance" and uncheck all toolbars.
  • Click OK and Page Bar reappears. :-(

Maybe there is another setting that I am missing?

Offline fodder

  • Newbie
  • *
  • Posts: 45
Re: Installing Opera 11.64 on TinyCore 5.1 x86_64 via .rpm or .deb
« Reply #8 on: March 05, 2014, 12:57:07 PM »
Yup, just tested with a new profile before posting here (12.16) ;)

The only bar I personally use is Status bar, but that has no influence on the stupid O button whatsoever...

Just noticed you said 12.16 - I am using 12.12 from the 5.x/x86_64 repo...I wonder if it was fixed in the later version.

What is the easiest way to upgrade Opera in TinyCore?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: How to remove the Tab bar/"O" Button bar in Opera 12.x
« Reply #9 on: March 05, 2014, 01:00:23 PM »
Expected (paradoxically), see "1." in Reply #4 ;)
« Last Edit: March 05, 2014, 01:24:20 PM by tinypoodle »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline fodder

  • Newbie
  • *
  • Posts: 45
Re: Installing Opera 11.64 on TinyCore 5.1 x86_64 via .rpm or .deb
« Reply #10 on: March 05, 2014, 01:15:27 PM »
Expected (paradoxically), see "1." in Reply #4 ;)

SUCCESS!

I guess I need to learn to read instructions more carefully!

Thanks tinypoodle.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: How to remove the Tab bar/"O" Button bar in Opera 12.x
« Reply #11 on: March 05, 2014, 01:16:01 PM »
Just noticed you said 12.16 - I am using 12.12 from the 5.x/x86_64 repo...I wonder if it was fixed in the later version.

I doubt that, I used the same hack with 12.11 before upgrading to 12.16.

Quote
What is the easiest way to upgrade Opera in TinyCore?

My preference is to just untar the tarball provided by upstream and run the 'opera' script directly from untar dir, which makes for easy portability - all my configs and profiles included - and eliminates the need of including the latter in the basic Core backup :D
« Last Edit: March 05, 2014, 01:35:51 PM by tinypoodle »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline fodder

  • Newbie
  • *
  • Posts: 45
Re: Installing Opera 11.64 on TinyCore 5.1 x86_64 via .rpm or .deb
« Reply #12 on: March 06, 2014, 01:20:25 PM »
My preference is to just untar the tarball provided by upstream and run the 'opera' script directly from untar dir, which makes for easy portability - all my configs and profiles included - and eliminates the need of including the latter in the basic Core backup :D

I didn't know you could do that, thanks for the tip.


Offline fodder

  • Newbie
  • *
  • Posts: 45
Re: Installing Opera 11.64 on TinyCore 5.1 x86_64 via .rpm or .deb
« Reply #13 on: March 06, 2014, 01:25:51 PM »
Ok, I was just about to mark this thread as solved, but realized that it would still be helpful for me (and probably others reading this) to know how to create a TCZ from the files that Opera provides.

Can someone point me in the right direction to figure out why the "./install --system --name opera-11 --repackage /tmp/opera/" process didn't work?