¿How can I make PaleMoon always ask for Profile when launching a new instance?

Support and discussions for the x86/x64 Linux version of Pale Moon.

Moderators: trava90, satrow

User avatar
geppettvs
Newbie
Newbie
Posts: 6
Joined: Fri, 04 Jan 2019, 15:55

¿How can I make PaleMoon always ask for Profile when launching a new instance?

Unread postby geppettvs » Fri, 04 Jan 2019, 16:09

Hello. First of all, I apologize if this was previously answered. I didn't find something related, that's why I am posting this.

I am using Ubuntu 18.04 with i3WM at this very moment, and I know I can create a shell script in order to invoke palemoon and make it show the profile manager.

When we use i3WM we hit the WinKey+D in order to show the dmenu at the top of the creen, then I write "palemoon" and it starts a new window from the current profile if it is already running. Or shows the profile manager if it is not.

My question is about, can I make Palemoon behave like this natively? Perhaps a flag or something? Not an addon.

So I can both invoke Palemoon via dmenu or simply hit Ctrl+N in ordeer to open a new window asking for the profile to be used. (Then I hit Return it will be the same profile as current).

Thanks in advance.

vannilla
Fanatic
Fanatic
Posts: 223
Joined: Sat, 05 May 2018, 13:29

Re: ¿How can I make PaleMoon always ask for Profile when launching a new instance?

Unread postby vannilla » Fri, 04 Jan 2019, 17:35

You could try using an alias.
It seems dmenu requires an additional configuration before being able to use aliases, but it shouldn't be too difficult.

Walter Dnes
Astronaut
Astronaut
Posts: 573
Joined: Thu, 30 Jul 2015, 20:29
Location: Vaughan, ON, Canada

Re: ¿How can I make PaleMoon always ask for Profile when launching a new instance?

Unread postby Walter Dnes » Sun, 06 Jan 2019, 17:08

The command you need in your shell script is...

palemoon -no-remote -P
There's a right way
There's a wrong way
And then there's my way

User avatar
geppettvs
Newbie
Newbie
Posts: 6
Joined: Fri, 04 Jan 2019, 15:55

Re: ¿How can I make PaleMoon always ask for Profile when launching a new instance?

Unread postby geppettvs » Mon, 07 Jan 2019, 18:02

Walter Dnes wrote:The command you need in your shell script is...

palemoon -no-remote -P


Sure, I know how to do this. Indeed in i3WM is as easy as write palemoon -p "" and it does the same from the dmenu.

But I don't want a launcher. I'd like to configure palemoon in order to, let's say, if I have this window open, I hit CTRL+N and then palemoon show me the Profile Manager in order to hit return if I wish to continue using the same profile, or choose a new one.

I can setup a keybinding to do this in i3wm, but I don't want a new launcher. I want palemoon to handle this. Is it there a way? A flag or something I can configure in palemoon's config files?

Thank you for your answer.

User avatar
geppettvs
Newbie
Newbie
Posts: 6
Joined: Fri, 04 Jan 2019, 15:55

Re: ¿How can I make PaleMoon always ask for Profile when launching a new instance?

Unread postby geppettvs » Mon, 07 Jan 2019, 18:03

vannilla wrote:You could try using an alias.
It seems dmenu requires an additional configuration before being able to use aliases, but it shouldn't be too difficult.


As I mentioned to Walter Dnes, this is a launcher. Not the modification to palemoon's behavior.

Thank you

User avatar
Isengrim
Astronaut
Astronaut
Posts: 597
Joined: Tue, 08 Sep 2015, 22:54
Location: 127.0.0.1
Contact:

Re: ¿How can I make PaleMoon always ask for Profile when launching a new instance?

Unread postby Isengrim » Mon, 07 Jan 2019, 18:57

geppettvs wrote:I'd like to configure palemoon in order to, let's say, if I have this window open, I hit CTRL+N and then palemoon show me the Profile Manager in order to hit return if I wish to continue using the same profile, or choose a new one.

Out of the box, the only way to make Pale Moon show the Profile Selection dialog is by launching the application with those parameters. There is no native way to configure the New Window command to do this.

There may be a way to do something like this with an extension, but I don't know if one exists yet.
Linux Mint 18.3 Cinnamon (64-bit)
Windows 7 (64-bit) (Sometimes)
Windows 10 build 1803 (64-bit) (Sometimes)
We are our choices.

User avatar
geppettvs
Newbie
Newbie
Posts: 6
Joined: Fri, 04 Jan 2019, 15:55

Re: ¿How can I make PaleMoon always ask for Profile when launching a new instance?

Unread postby geppettvs » Mon, 07 Jan 2019, 19:27

Isengrim wrote:
geppettvs wrote:I'd like to configure palemoon in order to, let's say, if I have this window open, I hit CTRL+N and then palemoon show me the Profile Manager in order to hit return if I wish to continue using the same profile, or choose a new one.

Out of the box, the only way to make Pale Moon show the Profile Selection dialog is by launching the application with those parameters. There is no native way to configure the New Window command to do this.

There may be a way to do something like this with an extension, but I don't know if one exists yet.


Using an extension will force every single profile to use the same extension in order to keep the behavior, I was thinking on something more, like a change in the code to be compiled after modifying this. Any ideas? Thank you!

vannilla
Fanatic
Fanatic
Posts: 223
Joined: Sat, 05 May 2018, 13:29

Re: ¿How can I make PaleMoon always ask for Profile when launching a new instance?

Unread postby vannilla » Mon, 07 Jan 2019, 20:03

I believe it's not possible without a significant change in the UXP codebase, even for extensions.
The end result is that you still have to start a new process no matter what, so you should just use a launcher.
The thing is, some preferences change the way Pale Moon (or, in general, UXP) initializes itself, so you can't just open a new window and have a different set of preferences applied to it.

User avatar
badnick
Lunatic
Lunatic
Posts: 322
Joined: Thu, 23 Mar 2017, 19:56

Re: ¿How can I make PaleMoon always ask for Profile when launching a new instance?

Unread postby badnick » Mon, 07 Jan 2019, 20:43

Right click the shortcut of PM icon then click "shortcut". On the "target" submenu type ""C:\Program Files\Pale Moon\palemoon.exe" -p -no-remote
Then click "apply">"ok" and that is, each time when you click PM icon the profile manager will appear.
You should to have PM closed when you perform this settings.
I use this daily because I run PM with multiple profiles simultaneous.

yami_
Lunatic
Lunatic
Posts: 297
Joined: Thu, 26 Apr 2018, 11:05

Re: ¿How can I make PaleMoon always ask for Profile when launching a new instance?

Unread postby yami_ » Mon, 07 Jan 2019, 21:03

Off-topic:
This is Pale Moon for Linux board...
cat came back from Berkeley waving flags -- rob pike

User avatar
badnick
Lunatic
Lunatic
Posts: 322
Joined: Thu, 23 Mar 2017, 19:56

Re: ¿How can I make PaleMoon always ask for Profile when launching a new instance?

Unread postby badnick » Mon, 07 Jan 2019, 21:18

I see now is PM for Linux board, but I found this, I think is the same: https://askubuntu.com/questions/226335/ ... x-profiles

User avatar
geppettvs
Newbie
Newbie
Posts: 6
Joined: Fri, 04 Jan 2019, 15:55

Re: ¿How can I make PaleMoon always ask for Profile when launching a new instance?

Unread postby geppettvs » Wed, 09 Jan 2019, 00:54

badnick wrote:Right click the shortcut of PM icon then click "shortcut". On the "target" submenu type ""C:\Program Files\Pale Moon\palemoon.exe" -p -no-remote
Then click "apply">"ok" and that is, each time when you click PM icon the profile manager will appear.
You should to have PM closed when you perform this settings.
I use this daily because I run PM with multiple profiles simultaneous.


That creates a launcher. And it is for a Windows based System. Thank you anyway.

User avatar
geppettvs
Newbie
Newbie
Posts: 6
Joined: Fri, 04 Jan 2019, 15:55

Re: ¿How can I make PaleMoon always ask for Profile when launching a new instance?

Unread postby geppettvs » Wed, 09 Jan 2019, 01:03

badnick wrote:I see now is PM for Linux board, but I found this, I think is the same: https://askubuntu.com/questions/226335/ ... x-profiles


Oh! Thank you. But I know how to create a launcher. I am talking of a different thing.


Return to “Pale Moon for Linux”

Who is online

Users browsing this forum: smoki and 8 guests