How to make all browsers run as spot?

Browsers, email, chat, etc.
Post Reply
Message
Author
User avatar
xenial.
Posts: 37
Joined: Fri 01 May 2020, 11:50
Location: uk

How to make all browsers run as spot?

#1 Post by xenial. »

hello and hope everyone is well.
my only installed browser is chromium and runs as spot.

i have 3 other browsers which i downloaded and extracted the tarballs to /opt.
These 3 run as root,
Is there anyway i can make those 3 browsers run as spot by any chance.I have palemoon,seamonkey and firefox.

thanks .

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

If they have .desktop files, open them from /usr/share/applications.

For each, place "run-as-spot" before and "%U" after the binary on each exec line:
[Desktop Entry]
Encoding=UTF-8
Name=Pale Moon
Icon=/usr/share/icons/mozicon128.png
Comment=Palemoon web browser
Exec=run-as-spot palemoon %U
Terminal=false
Type=Application
Categories=X-Internet-browser
GenericName=Palemoon web browser
In order to update your menu, open a terminal and run these one @ a time:

Code: Select all

fixmenus
jwm -reload
Last edited by Semme on Sat 04 Jul 2020, 11:23, edited 1 time in total.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
xenial.
Posts: 37
Joined: Fri 01 May 2020, 11:50
Location: uk

#3 Post by xenial. »

[quote="Semme"]If they have .desktop files, open them and place "run-as-spot" before the binary on each exec line.

In order to update your menu, open a terminal and run these one @ a time:

Code: Select all

fixmenus
jwm -reload
[/quote

Hi semme and thanks.
Could you be more specific on how i do that please.sorry i am a complete noob with this.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#4 Post by Semme »

Post above updated.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#5 Post by Mike Walsh »

@ Semme:-

Whoa there, hoss. No understandee, here. Why the suggestion to add "%U", hmm? :?

Yes, I know it's supposed to be part of the "standard" desktop-entry protocol, as used by all the mainstream distros. But whenever I install or re-package summat that contains that on the exec line, it'll refuse to run....

As soon as I remove it.....everything's 'tickety-boo'.

Perhaps I run things in an odd way - though I don't think that's the case. I just feel that for Puppy, that's a somewhat misleading suggestion, that's all.....and there's plenty of posts I've seen here over the years where that very item is the subject of intense debate.

If this wasn't the Puppy Forums, I wouldn't say anything about it. But it's definitely problematic in Pup....


Mike. :wink:

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#6 Post by Semme »

Then by all means -- leave it out. Since by default I don't use it, there ain't gonna be any intense debate here.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
xenial.
Posts: 37
Joined: Fri 01 May 2020, 11:50
Location: uk

#7 Post by xenial. »

[Desktop Entry]
Encoding=UTF-8
Name=Pale Moon
Icon=/usr/share/icons/mozicon128.png
Comment=Palemoon web browser
Exec=run-as-spot palemoon %U
Terminal=false
Type=Application
Categories=X-Internet-browser
GenericName=Palemoon web browser

How the heck do i get those settings.?..i have a palemoon icon on my desktop..so is it right click--open geany.?

Sorry im a real dunce with all this.

User avatar
xenial.
Posts: 37
Joined: Fri 01 May 2020, 11:50
Location: uk

#8 Post by xenial. »

okay i right clicked defaultbrowser in applications and it came up with this.
Attachments
capture19089.png
(68.14 KiB) Downloaded 100 times

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#9 Post by Semme »

Here's a quick exercise where you can learn something about YOUR system.

Open pFind in your "Filesystem" menu.

Search defaultbrowser and tell me where it is. Hint: think /usr/local/bin.

When you search though, make sure you tell pFind to search "system files."

If Pale Moon is in fact your "default" browser, guess what app you'll find when you open defaultbrowser?

After you reply I'll show you how you can quickly use an existing *.desktop file as a *template* for other apps.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
xenial.
Posts: 37
Joined: Fri 01 May 2020, 11:50
Location: uk

#10 Post by xenial. »

did all that and chromium is the default even though i set palemoon as default in the palemoon settings.

just forget it i will live with it and thanks for your help.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#11 Post by Semme »

Too much work? No gumption? C'mon man, you can do it.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#12 Post by bigpup »

Please always state what Puppy version you are using!!!

Most have this.
menu->System->Login and Security Manager
This should provide option to run several popular browsers as spot.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Post Reply