profiles.ini
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!
profiles.ini
Is it possible to have Pale Moon use a profiles.ini placed within its own program folder, instead of the one in %appdata% ?
- SpockFan02
- Astronaut
- Posts: 535
- Joined: 2017-09-24, 16:35
- Location: Mak pupulusšum, California
Re: profiles.ini
Thanks, but specifically, I'd like to know about keeping profiles.ini out of the %appdata% folder. I already use a path in the shorcut to launch pale moon:
"path-to-pale-moon\palemoon.exe" -profile "path-to-pale-moon\_profile"
However, system http, https, etc associations use the profiles.ini file, for the profile path.
"path-to-pale-moon\palemoon.exe" -profile "path-to-pale-moon\_profile"
However, system http, https, etc associations use the profiles.ini file, for the profile path.
Last edited by mekineer on 2018-06-04, 03:15, edited 3 times in total.
- SpockFan02
- Astronaut
- Posts: 535
- Joined: 2017-09-24, 16:35
- Location: Mak pupulusšum, California
Re: profiles.ini
I'm afraid I don't know how to help (although I believe Pale Moon Portable's files are completely self-contained, which might be what you're looking for). Hopefully someone else does.
Last edited by SpockFan02 on 2018-06-04, 09:00, edited 1 time in total.
Re: profiles.ini
Looks like it is hard coded in Firefox, but I hope that Pale Moon could be more flexible. (note the post is from 2014)
https://stackoverflow.com/questions/235 ... re-startup
https://stackoverflow.com/questions/235 ... re-startup
Re: profiles.ini
I would expect profiles.ini to be in a default location, since it tells Pale Moon where its profile is. Pale Moon would have to have the location of profiles.ini hard-coded into it in order to find its profile.
Re: profiles.ini
It theoretically could, but that won't work, because in normal situations (Pale Moon installed in a system-protected program folder) that location isn't writable. That's why profiles.ini is in a vendor-specific location in the user's application data.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: profiles.ini
Can you programatically have:
If profiles.ini is not accessible from current running path,
then look in the vendor specific location?
If profiles.ini is not accessible from current running path,
then look in the vendor specific location?
Re: profiles.ini
Sorry but that's simply not the way the browser is designed.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: profiles.ini
AFAIK, profiles.ini has to be there (that is where it is looked for).I'd like to know about keeping profiles.ini out of the %appdata% folder.
I already use a path in the shorcut to launch pale moon:
"path-to-pale-moon\palemoon.exe" -profile "path-to-pale-moon\_profile"
AFAIK, then you are (already) bypassing profiles.ini.
I don't know that that is correct.However, system http, https, etc associations use the profiles.ini file, for the profile path.
http, https, in Windows, should read the Windows Registry to see how to handle those.
http, https, of its own, knows nothing of profiles.ini.
Registry will have an association, something like (& I don't know if this is what PM does):
Code: Select all
"C:\Programs\Palemoon\palemoon.exe" -requestPending -osint -url "%1"
But that does not stop you from changing the command-line that gets executed, such that it could be something like:
Code: Select all
"C:\Programs\Palemoon\palemoon.exe" -requestPending -osint -profile "path-to_profile" -url "%1"
(Offhand, don't recall what the -requestPending or -osint might do?
Anyhow, try something like that & see what it gives you?
Suppose it is possible that even if you opened all occurrences of PM with the -profile switch, IOW never opened PM without it, that it would still create some "default" profile.ini - in %appdata%, not sure?)
Re: profiles.ini
Sorry for the late reply. I had tried that already. I currently have the following reg file. Please excuse "_runable". I've had the name there since before the term portable was being used.
However, It doesn't work in launching the existing profile, for any *.htm file, if the following two requirements are met:
1) profiles.ini is missing
2) Pale Moon is not running
Code: Select all
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PaleMoonHTML\shell\open\command]
@="\"D:\\software\\_runable\\palemoon 27\\palemoon.exe\" -osint -url \"%1\" -profile \"d:\\software\\_runable\\palemoon 27\\_profile\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PaleMoonURL\shell\open\command]
@="\"D:\\software\\_runable\\palemoon 27\\palemoon.exe\" -osint -url \"%1\" -profile \"d:\\software\\_runable\\palemoon 27\\_profile\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\PALEMOON.EXE\shell\open\command]
@="\"d:\\software\\_runable\\palemoon 27\\palemoon.exe\" -profile \"d:\\software\\_runable\\palemoon 27\\_profile\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\PALEMOON.EXE\shell\properties\command]
@="\"d:\\software\\_runable\\palemoon 27\\palemoon.exe\" -preferences -profile \"d:\\software\\_runable\\palemoon 27\\_profile\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\PALEMOON.EXE\shell\safemode\command]
@="\"d:\\software\\_runable\\palemoon 27\\palemoon.exe\" -safe-mode -profile \"d:\\software\\_runable\\palemoon 27\\_profile\""
[HKEY_CURRENT_USER\Software\Classes\Applications\palemoon.exe\shell\open\command]
@="\"D:\\software\\_runable\\palemoon 27\\palemoon.exe\" \"%1\" -profile \"d:\\software\\_runable\\palemoon 27\\_profile\""
[HKEY_CURRENT_USER\Software\Classes\ftp\shell\open\command]
@="\"d:\\software\\_runable\\palemoon 27\\palemoon.exe\" -osint -url \"%1\" -profile \"d:\\software\\_runable\\palemoon 27\\_profile\""
[HKEY_CURRENT_USER\Software\Classes\http\shell\open\command]
@="\"d:\\software\\_runable\\palemoon 27\\palemoon.exe\" -osint -url \"%1\" -profile \"d:\\software\\_runable\\palemoon 27\\_profile\""
[HKEY_CURRENT_USER\Software\Classes\https\shell\open\command]
@="\"d:\\software\\_runable\\palemoon 27\\palemoon.exe\" -osint -url \"%1\" -profile \"d:\\software\\_runable\\palemoon 27\\_profile\""
[HKEY_CURRENT_USER\Software\Classes\PaleMoonHTML\shell\open\command]
@="\"d:\\software\\_runable\\palemoon 27\\palemoon.exe\" -osint -url \"%1\" -profile \"d:\\software\\_runable\\palemoon 27\\_profile\""
[HKEY_CURRENT_USER\Software\Classes\PaleMoonURL\shell\open\command]
@="\"d:\\software\\_runable\\palemoon 27\\palemoon.exe\" -osint -url \"%1\" -profile \"d:\\software\\_runable\\palemoon 27\\_profile\""
1) profiles.ini is missing
2) Pale Moon is not running
Last edited by mekineer on 2018-06-17, 23:29, edited 1 time in total.
Re: profiles.ini
So are you running Pale Moon Portable (as in the PortableApps version)?
Do you need all that escaping in you Registry entries?
(Or said another way, is that escaping negatively affecting your results?)
(And your lines end in \"", is that extra " correct?)
Do you need all that escaping in you Registry entries?
(Or said another way, is that escaping negatively affecting your results?)
(And your lines end in \"", is that extra " correct?)
Last edited by therube on 2018-06-18, 11:56, edited 1 time in total.
Re: profiles.ini
I haven't tried that with PaleMoon, but I have done so with Thunderbird and Firefox (circa v.38) without problems.
Basically, the file "profiles.ini" will stay where it is supposed to be in your "user/me/AppData/Roaming" profile, but your profile can be anywhere you want (and where you have read-write permissions).
– Start Pale Moon with "Palemoon -p"
– Once you load the profile manager, ask to create a new profile and select its location where you want it.
That way, you can create a profile at the root of your "Document" folder or on an external drive. If you make that folder too easily accessible, make sure you don't mess up with your profile folder content, especially when Pale Moon is open. One of the reasons it is hidden deep in your profile is precisely to avoid such mishaps.
Basically, the file "profiles.ini" will stay where it is supposed to be in your "user/me/AppData/Roaming" profile, but your profile can be anywhere you want (and where you have read-write permissions).
– Start Pale Moon with "Palemoon -p"
– Once you load the profile manager, ask to create a new profile and select its location where you want it.
That way, you can create a profile at the root of your "Document" folder or on an external drive. If you make that folder too easily accessible, make sure you don't mess up with your profile folder content, especially when Pale Moon is open. One of the reasons it is hidden deep in your profile is precisely to avoid such mishaps.
Michel Gagnon
Montréal (Québec, Canada)
Montréal (Québec, Canada)
Re: profiles.ini
I can start (multiboot) into more than one windows os, and share the desktop, documents, and custom start menu and programs. My thoughts on portability: http://mekineer.com/dokuwiki/doku.php?i ... e_software
No, I'm not using the portable version. I'm making the regular version portable.
No, I'm not using the portable version. I'm making the regular version portable.