WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: I want to create Opera 15 extension | need guidance  (Read 13761 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: I want to create Opera 15 extension | need guidance
« Reply #15 on: July 18, 2019, 12:13:16 PM »
What error message do you get when you try to run opera?

Offline whizzywhirl

  • Newbie
  • *
  • Posts: 27
Re: I want to create Opera 15 extension | need guidance
« Reply #16 on: July 18, 2019, 01:54:55 PM »
So, I cd into /home/tc/usr/share/applications and there is file opera.desktop so I run this 
Code: [Select]
sudo ./opera.desktopand it said ./opera.desktop command not found
Also, I checked /usr/share/ and there is no opera executable. 

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11630
Re: I want to create Opera 15 extension | need guidance
« Reply #17 on: July 18, 2019, 02:07:45 PM »
Hi whizzywhirl
If what you did got you an executable, I would expect to find it in  /home/tc/usr/local/bin/  or  /home/tc/usr/bin/.

Offline whizzywhirl

  • Newbie
  • *
  • Posts: 27
Re: I want to create Opera 15 extension | need guidance
« Reply #18 on: July 18, 2019, 02:38:24 PM »
Hi Rich,
So there is not any local directory and in /usr/bin there is opera but I am getting similar message like sh: ./opera: not found

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11630
Re: I want to create Opera 15 extension | need guidance
« Reply #19 on: July 18, 2019, 03:02:14 PM »
Hi whizzywhirl
What does this give you:
Code: [Select]
ls -l /usr/bin/operaThat's a lowercase L after the dash.

Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 392
Re: I want to create Opera 15 extension | need guidance
« Reply #20 on: July 18, 2019, 03:21:31 PM »
Hi Rich,
So there is not any local directory and in /usr/bin there is opera but I am getting similar message like sh: ./opera: not found
I have the same problem. It magically disappear if I install opera-12.tcz  :o
Why is that?

Code: [Select]
cd /home/tc
tce-load -iw wget
mkdir opera
cd opera
wget https://get.geo.opera.com/pub/opera/desktop/62.0.3331.66/linux/opera-stable_62.0.3331.66_amd64.deb
ar x *.deb
tar fxJ data.tar.xz
rm -f control.tar.gz
rm -f data.tar.xz
rm -f debian-binary
rm -f opera-stable_62.0.3331.66_amd64.deb
tce-load -iw curl.tcz
tce-load -iw nss.tcz
tce-load -iw dbus.tcz
tce-load -iw libXcomposite.tcz
tce-load -iw libasound.tcz
tce-load -iw libXcursor.tcz
tce-load -iw libXi.tcz
tce-load -iw libXtst.tcz
tce-load -iw libXrandr.tcz
tce-load -iw libXss.tcz
tce-load -iw atk.tcz
tce-load -iw at-spi2-atk.tcz
tce-load -iw libcups2.tcz
tce-load -iw gtk3.tcz

tce-load -iw flex.tcz
wget http://archive.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg-extra_75.0.3770.90-0ubuntu0.18.04.1_amd64.deb
ar x *.deb
tar fxJ data.tar.xz
rm -f control.tar.xz
rm -f data.tar.xz
rm -f debian-binary
rm -f chromium-codecs-ffmpeg-extra_75.0.3770.90-0ubuntu0.18.04.1_amd64.deb
sudo ln -s /usr/local/etc/fonts/ /etc/
/home/tc/opera/usr/bin/opera
« Last Edit: July 18, 2019, 03:31:54 PM by neonix »

Offline whizzywhirl

  • Newbie
  • *
  • Posts: 27
Re: I want to create Opera 15 extension | need guidance
« Reply #21 on: July 18, 2019, 03:44:43 PM »
ok when I run for
Code: [Select]
ls -l /usr/bin/operaI get no such file or directory message But if I run this
Code: [Select]
ls -l /home/tc/usr/bin/operaI get
lrwxrwxrwx 1 root      root            35 Jul 18 18:36 /home/tc/usr/bin/opera -> ../lib/x86_64-linux-gnu/opera/opera

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11630
Re: I want to create Opera 15 extension | need guidance
« Reply #22 on: July 18, 2019, 03:56:51 PM »
Hi whizzywhirl
Does it start like this:
Code: [Select]
/home/tc/usr/bin/opera

Offline whizzywhirl

  • Newbie
  • *
  • Posts: 27
Re: I want to create Opera 15 extension | need guidance
« Reply #23 on: July 18, 2019, 04:04:31 PM »
nope

Offline whizzywhirl

  • Newbie
  • *
  • Posts: 27
Re: I want to create Opera 15 extension | need guidance
« Reply #24 on: July 19, 2019, 05:13:43 AM »
@Neonix did you manage to run the opera opera-stable_62.0.3331.66?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: I want to create Opera 15 extension | need guidance
« Reply #25 on: July 19, 2019, 05:31:29 AM »
So there is not any local directory and in /usr/bin there is opera but I am getting similar message like sh: ./opera: not found

On CorePure64 you will probably need:
Code: [Select]
$ sudo ln -s /lib /lib64

Offline whizzywhirl

  • Newbie
  • *
  • Posts: 27
Re: I want to create Opera 15 extension | need guidance
« Reply #26 on: July 19, 2019, 05:42:25 AM »
ok I created the link but it doesn't make any difference. In your opinion what could be the problem here ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: I want to create Opera 15 extension | need guidance
« Reply #27 on: July 19, 2019, 05:46:42 AM »
To help troubleshoot, find the opera binary and run the “ldd” command, for example:
Code: [Select]
$ ldd /usr/bin/opera.. and paste the result here.

Edit: Maybe this:
Code: [Select]
$ ldd /usr/lib/x86_64-linux-gnu/opera/opera
Edit2: This:
Code: [Select]
$ file /tmp/deb/usr/lib/x86_64-linux-gnu/opera/opera
/tmp/deb/usr/lib/x86_64-linux-gnu/opera/opera: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=fe23aa0fbe87fe3d5a3d4db168cb9cf65a6ffd7e, stripped
..shows that you will need the /lib64 -> /lib symlink
« Last Edit: July 19, 2019, 06:26:14 AM by Juanito »

Offline whizzywhirl

  • Newbie
  • *
  • Posts: 27
Re: I want to create Opera 15 extension | need guidance
« Reply #28 on: July 19, 2019, 06:57:53 AM »
Hi ,
I am really grateful to all of you who helped me. There problem was I didn't had libcups2.tcz installed so after installing it. The opera started. Now, I have few questions why It can not be in the full screen also I am using Xorg-7.7. Other thing is I want to use it in kiosk mode
So I run this command but it doesn't run in the kisok mode
Code: [Select]
/home/tc/usr/bin/opera -kioskmodeIt runs the opera but not in kiosk mode
Also When I tried to open settings it automatically crashed and in terminal I see this error
(opera:8028): Glib-GIO-ERROR **: 01:01:33:891: Settings schema 'org.gnome.desktop.background' is not installed
Again, I am really thankful and also I want to create tcz extension from it(if possible).

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: I want to create Opera 15 extension | need guidance
« Reply #29 on: July 19, 2019, 07:01:08 AM »

Also When I tried to open settings it automatically crashed and in terminal I see this error
(opera:8028): Glib-GIO-ERROR **: 01:01:33:891: Settings schema 'org.gnome.desktop.background' is not installed

Load the gsettings-desktop-schemas extension.