How to install slimjet ?

Moderator: Forum moderators

Post Reply
gilles
Posts: 186
Joined: Fri Aug 21, 2020 11:07 pm
Location: France
Has thanked: 44 times
Been thanked: 13 times

How to install slimjet ?

Post by gilles »

Hello,
I would like to install the slimjet 32 bits browser on puppy linux bionic 32.
It is here: https://www.slimjet.com/en/dlpage.php

Downloading .deb : it is written : "Note: Please install the deb package from command line using "sudo dpkg -i filename.deb". The GUI package installer might not work properly."

Indeed, the classic installation by clicking on the downloaded .deb does not work properly. But I don't know how to do the installation with the console like they say to do. Anyway, I think that "sudo" is not used with puppy linux.

Downloading the zip file: It says:
"NOTE (for zip package): Extract the archive into any folder you choose. Run the wrapper script "flashpeak-slimjet" from the terminal for the first time to enable the sand box (admin access required). After that, you can run the wrapper script from a desktop shortcut."

Extracting, that's easy. But running the "flashpeak-slimjet" script from the terminal", for me, it's a foreign language... I find flashpeak-slimjet" in the unzipped directory, right click, then click to open it in the terminal, but then ?
Can someone help me ?
Thank you

User avatar
bigpup
Moderator
Posts: 7001
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 915 times
Been thanked: 1531 times

Re: How to install slimjet ?

Post by bigpup »

These Slimjet pet and SFS packages will work in Bionicpup32 8.0
https://disk.yandex.com/d/fd8rBM0WoF9sB?force_show=1
These are 32bit version.
.
They are not the latest version, but they will work.

Do not try to update by using anything from the Slimjet web site.
If you get, there is an update, when you start Slimjet, do not try to update.

OscarTalks compiled these for the way Puppy works and the ones from Slimjet web site are not going to work, without doing needed modifications.
Maybe he will see this topic and give us an update version.

I downloaded and installed the slimjet-27.0.7.0-i686.pet in Bionicpup32 8.0
Seems to be working OK.
Run from Applications (menu)->Internet->Slimjet

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
fredx181
Posts: 3089
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 376 times
Been thanked: 1316 times
Contact:

Re: How to install slimjet ?

Post by fredx181 »

@gilles If you don't mind running slimjet as root (with --no-sandbox, less secure) and modifying the "flashpeak-slimjet" script, do the following:
For example from the extracted .zip from https://www.slimjet.com/en/dlpage.php, in the slimjet directory, open "flashpeak-slimjet" with text-editor, edit line 9-12 by adding a # in front of it, so becomes this;

Code: Select all

#if [ "`whoami`" = "root" ]; then
#  echo "Don't run this as root."
#  exit;
#fi

This way it skips the check if you are running as root so does not exit if so.
Then you need to run it with the --no-sandbox option, e.g. from terminal standing in the slimjet dir:
./flashpeak-slimjet --no-sandbox
Or use the full path, e.g. /path/to/slimjet/flashpeak-slimjet --no-sandbox
For me "/path/to/" is /mnt/sda5 so I do: /mnt/sda5/slimjet/flashpeak-slimjet --no-sandbox

If you installed the .deb it's similar, but then the path is /opt/slimjet/flashpeak-slimjet, so edit it as above.
In /usr/share/applications/ edit "slimjet.desktop" find the line: Exec=/usr/bin/flashpeak-slimjet %U and change to:
Exec=/usr/bin/flashpeak-slimjet --no-sandbox %U

Fred

gilles
Posts: 186
Joined: Fri Aug 21, 2020 11:07 pm
Location: France
Has thanked: 44 times
Been thanked: 13 times

Re: How to install slimjet ?

Post by gilles »

Hi

bigpup ; If I cannot install the last version, I shall try this. Thank you.

Fredx181 :
With the deb, it does not work. So I tried with the extracted zip.
First, I did this :

# Kent@FlashPeak:
# Check current user
#if [ "`whoami`" = "root" ]; then
# echo "Don't run this as root."
# exit;
#fi

and then, this :

# cd /mnt/sdc1/test/slimjet_i386.zip.extrait/data.tar.extrait/opt/slimjet
# ./flashpeak-slimjet -no-sandbox
./flashpeak-slimjet: line 53: /root/.local/share/applications/slimjet.desktop: Read-only file system
Un accès administrateur est nécessaire pour activer le bac à sable pour une sécurité renforcée. Choisissez « Use sudo command » (Utiliser la commande sudo) si vous avez un accès sudo sur les systèmes comme ubuntu. Choisissez « Use su command » (Utiliser la commande su) si vous avez accès au compte racine. Si vous n'avez pas d'accès administrateur, sélectionnez « Quit » (Quitter) et ajoutez le commutateur « --no sandbox » (pas de bac à sable) pour exécuter Slimjet sans bac à sable (moins sûr).
1) Utiliser la commande sudo 3) Quitter
2) Utiliser la commande su
Veuillez sélectionner une option pour continuer:3 --no sandbox
./flashpeak-slimjet: line 222: [: too many arguments
./flashpeak-slimjet: line 225: [: too many arguments
./flashpeak-slimjet: line 229: [: too many arguments
Choix non valide !
Veuillez sélectionner une option pour continuer:3
# --no sandbox
bash: --no: command not found

I translate the french text :
Administrator access is required to activate the sandbox for enhanced security. Choose "Use sudo command" if you have sudo access on systems like ubuntu. Choose "Use su command" if you have root access. If you do not have administrator access, select "Quit" and add the switch "--no sandbox" to run Slimjet without sandbox (less safe).
1) Use the sudo command 3) Quit
2) Use the su command
Please select an option to continue:3 --no sandbox
./flashpeak-slimjet: line 222: [: too many arguments
./flashpeak-slimjet: line 225: [: too many arguments
./flashpeak-slimjet: line 229: [: too many arguments
Invalid choice !
Please select an option to continue:3
# --no sandbox
bash: --no: command not found

any idea ?
Thank you

User avatar
mikewalsh
Moderator
Posts: 6165
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 796 times
Been thanked: 1985 times

Re: How to install slimjet ?

Post by mikewalsh »

@fredx181 :-

FINALLY! Now, why the hell didn't I think of that months ago..? :oops:

A simple case of commenting out those four lines, and it solves all the grief I've been getting when trying to make Slimmie run in portable format..!

(I've also figured out a way to get the two 'alternate' wrappers to run, given that Flashpeak insist on the browser always starting from that specifically-named wrapper-script. Normally I differentiate the wrapper for newer Pups with the "_NL" extension, but Slimjet won't have that.

So; two copies of 'flashpeak-slimjet' - one with 'LD_LIBRARY_PATH', one without - and the launcher deletes whatever is there initially, followed by copying over the appropriate script a split-second prior to actually running it. A bit 'hinky', perhaps, but it does the job..!)

Posting from Slimjet-portable64 now. (I may build the 32-bit version, though I'm in two minds about that, TBH. We'll see.)

@gilles :- If you don't mind waiting a day or two, I'll see if I can rustle-up the 32-bit version.....though I'm not making any promises. It should solve your installation issues.

Mike. ;)

gilles
Posts: 186
Joined: Fri Aug 21, 2020 11:07 pm
Location: France
Has thanked: 44 times
Been thanked: 13 times

Re: How to install slimjet ?

Post by gilles »

OK Mikewalsh. Thank you

User avatar
fredx181
Posts: 3089
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 376 times
Been thanked: 1316 times
Contact:

Re: How to install slimjet ?

Post by fredx181 »

gilles wrote:

So I tried with the extracted zip.
First, I did this :

# Kent@FlashPeak:
# Check current user
#if [ "`whoami`" = "root" ]; then
# echo "Don't run this as root."
# exit;
#fi

and then, this :

# cd /mnt/sdc1/test/slimjet_i386.zip.extrait/data.tar.extrait/opt/slimjet
# ./flashpeak-slimjet -no-sandbox
.....

Looks good, except that you made a typo, should be --no-sandbox (with two dashes -- at front and - in the middle)
EDIT: Mmm... out of curiosity I tried now with -no-sandbox (with just one dash -) and it works for me, so... not sure why not for you.

@mikewalsh Yes, me either couldn't figure out why slimjet doesn't run as root with --no-sandbox, until I saw those 4 lines in the script.

User avatar
fredx181
Posts: 3089
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 376 times
Been thanked: 1316 times
Contact:

Re: How to install slimjet ?

Post by fredx181 »

I've made Slimjet appimages (32 and 64 bit) see near the bottom of post here: viewtopic.php?p=30817#p30817
@gilles Perhaps that works for you.

gilles
Posts: 186
Joined: Fri Aug 21, 2020 11:07 pm
Location: France
Has thanked: 44 times
Been thanked: 13 times

Re: How to install slimjet ?

Post by gilles »

Hi fredx,

I did it again, writing --no -sandbox and I got exactly the same result.
The portable slimjet does not work for me.

User avatar
mikewalsh
Moderator
Posts: 6165
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 796 times
Been thanked: 1985 times

Re: How to install slimjet ?

Post by mikewalsh »

@gilles :-

No, you've still got that wrong, mate. It MUST be written exactly like this:-

--no-sandbox

There must NOT be a space anywhere between the "o" at the end of 'no' and the "s" at the start of 'sandbox'. JUST a dash (-). So; "o", "-", "s". I can't make it any plainer than that. If Bash finds a space between "no" & "sandbox", it interprets it as two separate commands. It's supposed to be all one command.....and that's why there mustn't BE any spaces.

Okay? Are you with me??

Mike. ;)

User avatar
fredx181
Posts: 3089
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 376 times
Been thanked: 1316 times
Contact:

Re: How to install slimjet ?

Post by fredx181 »

gilles wrote:

The portable slimjet does not work for me.

I'd like to know why not. Works for me on Bionic32 (running "Slimjet-Portable32"). Did you make it executable before running?
To make executable, from terminal inside directory containing "Slimjet-Portable32": chmod +x ./Slimjet-Portable32
If then it still doesn't work, can you run it from terminal and post (if any) output error messages for me?

User avatar
bigpup
Moderator
Posts: 7001
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 915 times
Been thanked: 1531 times

Re: How to install slimjet ?

Post by bigpup »

Some newly posted Slimjet packages for Puppy Linux.
viewtopic.php?f=90&t=3684

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

gilles
Posts: 186
Joined: Fri Aug 21, 2020 11:07 pm
Location: France
Has thanked: 44 times
Been thanked: 13 times

Re: How to install slimjet ?

Post by gilles »

Hello,
The slimjet mikewalsh sent here viewtopic.php?f=90&t=3684 works fine with the computer (with xenial 32) I always use at home. I keep it installed.
But it is impossible to install it in the little netbook (with bionic) I use when I am traveling. I solved the problem by installing slimjet-27.07.0-i686. It is not the last one but it works fine. Thank you Bigup.
@Fredx I suppose it was the same problem with the slimjet you provide me I could not run with the little netbook.

Thank you.

User avatar
bigpup
Moderator
Posts: 7001
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 915 times
Been thanked: 1531 times

Re: How to install slimjet ?

Post by bigpup »

With browser makers, now constantly making the newest version, needing the newest version of every dependency file/program.
An older version of Slimjet, working in Bionicpup, but not a newer version, is most likely, all about what the newer version needs for dependency files/programs.
No two versions of Puppy Linux, are going to have the exact same, of everything, as dependency stuff, needed to run programs.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Post Reply

Return to “Browsers and Internet”