two seperate instances on linux?

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!
pmonlinux

two seperate instances on linux?

Unread post by pmonlinux » 2015-10-05, 20:38

I am looking for the ability to run two separate instances of Palemoon on linux.

I know about the no-remote and -new-instance commands. But the problem is that Docky groups both windows into one icon.

What I would love to do is have separate icons within docky.

I've tried creating new .desktop files but that didnt work.

Any advice?

pmonlinux

Re: two seperate instances on linux?

Unread post by pmonlinux » 2015-10-08, 04:25

No updates on this? I'm sure this is possible. Somehow.

jumba

Re: two seperate instances on linux?

Unread post by jumba » 2015-10-08, 06:43

Is there a setting in Docky to not group windows?

pmonlinux

Re: two seperate instances on linux?

Unread post by pmonlinux » 2015-10-08, 07:04

Could it be possible to achieve this if I compile two palemoons, both different from each other?

Wouldn't the kernel see them as two different programs if I did that?

pmonlinux

Re: two seperate instances on linux?

Unread post by pmonlinux » 2015-10-08, 07:15

jumba wrote:Is there a setting in Docky to not group windows?
I want all my other windows groups.

See my question above. Could this be a solution?

squarefractal

Re: two seperate instances on linux?

Unread post by squarefractal » 2015-10-08, 07:47

pmonlinux wrote:See my question above. Could this be a solution?
No -- unless you want to change how the Pale Moon windows identify themselves, which, depending upon how that section has been programmed, may require a good level of involvement, for something that is very trivial at best.

In addition, grouping of windows is not handled by the kernel, but by Docky itself.

Kunagi7

Re: two seperate instances on linux?

Unread post by Kunagi7 » 2015-10-09, 17:27

I did something similar with palemoon 24 (I needed it for an specific webpage) and 25.
Pretty much I did this with Palemoon 25:
Normal palemoon:
/usr/bin/palemoon (linked to the installed palemoon in opt)
And then for the second instance I did this in the install folder (/opt/palemoon):

Code: Select all

sudo ln -s palemoon palemoon_second
sudo ln -s /usr/bin/palemoon_second /opt/palemoon/palemoon_second
And then duplicated the original .desktop file and added something like this:

Code: Select all

Exec=/usr/bin/palemoon_second --profile $HOME/.moonchild\ productions/pale\ moon/second_profile.default --no-remote
It works well with plank and docky but it can't fool xfwm (XFCE).

Locked