Problem opening webpages from the cmdline.

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
daggoth

Problem opening webpages from the cmdline.

Unread post by daggoth » 2017-07-01, 10:54

I am having trouble opening webpages from the cmdline. In my setup, I have two profiles "noscript" and "flash". With the following commands, I tried to open two instances of palemoon, one for each profile. And then I tried to open four webpages, two for each separate palemoon browser/profile. But in my case, all four webpages opened in the "noscript" browser. So I seems that my commands to open webpages in my "flash" profile/browser failed.

And why do I need to open webpages like this? Well, when my clipboard manager copies an url, it triggers a link menu. From there, I can decide whether to open with "noscript" or "flash" browser/profile. And that is my preferred workflow. So having shell commands correctly open webpages is what I need.

So I've tested the same commands with firefox-52.2, and it works as expected there. But I am new to Palemoon, and am still finding my way, so please advise. Is there a more consistent way to open webpages from the commandline when you have two separate palemoon browser/profiles open?

Code: Select all

$ source /etc/os-release && echo $PRETTY_NAME
Debian GNU/Linux 9 (stretch)

$ grep ^Name <profiles.ini
Name=noscript
Name=flash

$ palemoon --new-instance -P noscript http://google.com & 
$ sleep 10
$ palemoon --new-instance -P flash    http://stuff.co.nz & 
$ sleep 10

$ palemoon -P flash    http://example.com    ; sleep 5
$ palemoon -P noscript http://github.com     ; sleep 5
$ palemoon -P flash    http://startpage.com  ; sleep 5
$ palemoon -P noscript http://duckduckgo.com 

User avatar
biopsin
Fanatic
Fanatic
Posts: 119
Joined: 2016-02-07, 17:15

Re: Problem opening webpages from the cmdline.

Unread post by biopsin » 2017-07-01, 14:13

Hi,
add -no-remote to cmdline to run several profiles at once

palemoon -P noscript -no-remote http://google.com
voidlinux_x64 glibc-2.38 / Palemoon_latest release (gcc-13.2.0) / GTK2

Locked