Page 1 of 1

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

Posted: 2019-01-04, 16:09
by geppettvs
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.

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

Posted: 2019-01-04, 17:35
by vannilla
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.

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

Posted: 2019-01-06, 17:08
by Walter Dnes
The command you need in your shell script is...

palemoon -no-remote -P

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

Posted: 2019-01-07, 18:02
by geppettvs
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.

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

Posted: 2019-01-07, 18:03
by geppettvs
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

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

Posted: 2019-01-07, 18:57
by Isengrim
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.

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

Posted: 2019-01-07, 19:27
by geppettvs
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!

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

Posted: 2019-01-07, 20:03
by vannilla
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.

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

Posted: 2019-01-07, 20:43
by badnick
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.

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

Posted: 2019-01-07, 21:03
by yami_
Off-topic:
This is Pale Moon for Linux board...

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

Posted: 2019-01-07, 21:18
by badnick
I see now is PM for Linux board, but I found this, I think is the same: https://askubuntu.com/questions/226335/ ... x-profiles

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

Posted: 2019-01-09, 00:54
by geppettvs
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.

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

Posted: 2019-01-09, 01:03
by geppettvs
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.