Create seperate icons for different profiles?
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!
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!
Create seperate icons for different profiles?
I've setup 2 profiles in PM, I'd like to be able to open both at the same time, have not found an easy way to do that yet. Doable?
I've been using Opera for one set of sites and Firefox for another , like to simplify things and just use PM as I find it quick, and not a memory hog. I'm using Linux Mint BTW.
I've been using Opera for one set of sites and Firefox for another , like to simplify things and just use PM as I find it quick, and not a memory hog. I'm using Linux Mint BTW.
Re: Create seperate icons for different profiles?
Use this command to start one profile eg default!
palemoon -P default -no-remote
and this command for other profile eg Banking
palemoon -p Banking -no-remote
Choose an icon for second profile from any you like in /usr/share/icons.
I use the Xfce DE on both Arch and Xubuntu and have been running two profiles for many years as above.
palemoon -P default -no-remote
and this command for other profile eg Banking
palemoon -p Banking -no-remote
Choose an icon for second profile from any you like in /usr/share/icons.
I use the Xfce DE on both Arch and Xubuntu and have been running two profiles for many years as above.
Re: Create seperate icons for different profiles?
You may find you have to use a double hyphen for longer options and a single dash for single-letter options, like so:
Code: Select all
palemoon -P default --no-remote
palemoon -P foobar --no-remote
20 July 1969 🌗 Apollo 11 🌓 "One small step for [a] man, one giant leap for mankind." 🚀
Re: Create seperate icons for different profiles?
Could you elaborate on this? I am using Ubuntu, and no matter how many profiles I run, there is only one icon in the Launcher. How can you get separate icons for each command?lightning slinger wrote: Choose an icon for second profile from any you like in /usr/share/icons.
I use the Xfce DE on both Arch and Xubuntu and have been running two profiles for many years as above.
But I still would be interested in hearing how you do it with Xfce DE on Xubuntu.
20 July 1969 🌗 Apollo 11 🌓 "One small step for [a] man, one giant leap for mankind." 🚀
-
- Astronaut
- Posts: 650
- Joined: 2015-07-30, 20:29
- Location: Vaughan, ON, Canada
Re: Create seperate icons for different profiles?
I have over 20 profiles, most dedicated to specific websites and workspaces. As pointed out previously, the command
palemoon -no-remote -p <profilename>
...will open <profilename>. So it's up to you to set different icons in your program launcher, depending on what desktop or window manager you use. My strategy is like so...
palemoon -no-remote -p <profilename>
...will open <profilename>. So it's up to you to set different icons in your program launcher, depending on what desktop or window manager you use. My strategy is like so...
- Part 1
- Open a terminal (xterm/roxterm/whatever) and cd to the Pale Moon directory
cd "~/.moonchild productions/pale moon"
Everything that follows assumes we are in this directory - In the terminal, execute the commands
mkdir template
palemoon -no-remote -p & - in the profile manager dialogue, create a profile named "template" and force it to the "template" directory
~/.moonchild productions/pale moon/template - Go nuts tweaking the appearance/settingsabout:config/etc,etc of the "template" profile, the way that you want generally in every profile
- Close the Pale Moon instance "template"
- Open a terminal (xterm/roxterm/whatever) and cd to the Pale Moon directory
- Part 2
- Assume for this example, that you want to create profiles "banking", "palemoon", "slashdot", and "youtube". Adjust the list to meet your actual needs.
- We are about to perform some brain surgery.
- Close all instances of Pale Moon. As an extra precaution, in the terminal, execute the command killall palemoon
- MAKE A BACKUP COPY OF profiles.ini in case things go badly.
- Create the profile directories, based on the "template" profile, with the commands
cp -a template banking
cp -a template palemoon
cp -a template slashdot
cp -a template youtube - In the teminal, edit the file profiles.ini (You did create a backup, didn't you?) to the following
Code: Select all
[General] StartWithLastProfile=0 [Profile0] Name=banking IsRelative=1 Path=banking [Profile1] Name=palemoon IsRelative=1 Path=palemoon [Profile2] Name=slashdot IsRelative=1 Path=slashdot [Profile3] Name=template IsRelative=1 Path=template [Profile4] Name=youtube IsRelative=1 Path=youtube
- Do a test run
palemoon -no-remote -p banking
and you can tweak the individual profile for its startup pages, etc. Repeat for each profile you've created
There's a right way
There's a wrong way
And then there's my way
There's a wrong way
And then there's my way
Re: Create seperate icons for different profiles?
Wow, that is very interesting! More sophisticated maybe than what I have intended to share...Walter Dnes wrote: My strategy is like so...
I just want to point out that (at least in bash) that line would produce this error:Walter Dnes wrote:Open a terminal (xterm/roxterm/whatever) and cd to the Pale Moon directory
cd "~/.moonchild productions/pale moon"
Code: Select all
$ cd "~/.moonchild productions/pale moon"
bash: cd: ~/.moonchild productions/pale moon: No such file or directory
Code: Select all
cd ~/".moonchild productions"/"pale moon"
Or you could just use wildcards:
Code: Select all
cd ~/.moonchild*/pale*/
20 July 1969 🌗 Apollo 11 🌓 "One small step for [a] man, one giant leap for mankind." 🚀
-
- Astronaut
- Posts: 650
- Joined: 2015-07-30, 20:29
- Location: Vaughan, ON, Canada
Re: Create seperate icons for different profiles?
That's what I get for trying to remember how I did it once. I'm also spoiled by usually navigating around in "mc" (Midnight Commander).The correct way in bash isgracious1 wrote:I just want to point out that (at least in bash) that line would produce this error:Code: Select all
$ cd "~/.moonchild productions/pale moon" bash: cd: ~/.moonchild productions/pale moon: No such file or directory
cd "$HOME/.moonchild productions/pale moon"
The problem with how I first gave it is that "~" is escaped, and not expanded inside of quotes. The command looks for a directory, literally named "~". "$HOME" is expanded properly. OK, here's a second take. If this works for people, I can submit it in the "Tutorials/Howtos" section.
==============================================================================
I have over 20 profiles, most dedicated to specific websites and workspaces. The command
palemoon -no-remote -p <profilename>
...will open <profilename>. So it's up to you to set different icons in your program launcher, depending on what desktop or window manager you use. My strategy is like so...
- Part 1
- Open a terminal (xterm/roxterm/whatever) and cd to the Pale Moon directory
cd "$HOME/.moonchild productions/pale moon"
Everything that follows assumes we are in this directory - In the terminal, execute the commands
mkdir template
palemoon -no-remote -p & - in the profile manager dialogue, create a profile named "template" and force it to the "template" directory
$HOME/.moonchild productions/pale moon/template - Open the profile, and go nuts tweaking the appearance/settingsabout:config/etc,etc of the "template" profile, the way that you want generally in every profile
- Close the Pale Moon instance "template"
- Open a terminal (xterm/roxterm/whatever) and cd to the Pale Moon directory
- Part 2
- Assume for this example, that you want to create profiles "banking", "palemoon", "slashdot", and "youtube". Adjust the list to meet your actual needs.
- We are about to perform some brain surgery.
- Close all instances of Pale Moon. As an extra precaution, in the terminal, execute the command killall palemoon
- MAKE A BACKUP COPY OF profiles.ini in case things go badly.
- Create the profile directories, based on the "template" profile, with the commands
cp -a template banking
cp -a template palemoon
cp -a template slashdot
cp -a template youtube - In the teminal, edit the file profiles.ini (You did create a backup, didn't you?) to the following
Code: Select all
[General] StartWithLastProfile=0 [Profile0] Name=banking IsRelative=1 Path=banking [Profile1] Name=palemoon IsRelative=1 Path=palemoon [Profile2] Name=slashdot IsRelative=1 Path=slashdot [Profile3] Name=template IsRelative=1 Path=template [Profile4] Name=youtube IsRelative=1 Path=youtube
- Do a test run
palemoon -no-remote -p banking
and you can tweak the individual profile for its startup pages, etc. Repeat for each profile you've created
There's a right way
There's a wrong way
And then there's my way
There's a wrong way
And then there's my way