You are not logged in.
Pages: 1
Topic closed
First post here, sorry if I am doing something wrong.
I am trying to clean my home directory, putting every configuration file in .config, every cache file in .cache and so on... all following the XDG norms. But, Firefox seems to doesn't care about this. According to the XDG Base Directory Page Firefox's is "hardcoded". I've read most of the 15 years old Thread about this and that didn't help.
Is there any workaround? Alias and startup commands? Environment Variables? Syslinks probably works, but it defeats the purpose of cleaning my home directory.
Last edited by TheLastMage (2020-04-10 21:23:48)
Offline
i think it can be done, you can launch firefox with certain command line arguments to force it to use a profile located in a certain path...
thats the only solution i see to be honest . If i remember correctly its -profile "profile_path"
But you would have to modify all the menu entries and so on...
Offline
you would have to modify all the menu entries and so on...
Not necessarily.
Just place a launch script earlier in PATH, for example /usr/local/bin/firefox, with this content:
#!/bin/sh
/usr/bin/firefox --profile "${HOME}/.config/path/to/profile" "$@"Jin, Jîyan, Azadî
Offline
YES! It worked! Thanks.
How do I mark this as solved?
EDIT: I tried InvisibleRasta's solution, that solved the issue quite well. I made an alias and modified sxhkd so I don't have to type the profile path.
Last edited by TheLastMage (2020-04-10 21:08:23)
Offline
Offline
InvisibleRasta wrote:you would have to modify all the menu entries and so on...
Not necessarily.
Just place a launch script earlier in PATH, for example /usr/local/bin/firefox, with this content:
#!/bin/sh /usr/bin/firefox --profile "${HOME}/.config/path/to/profile" "$@"
sorry for bumping the old thread. I am also looking for a way to put my .mozilla dir under ~/.config
How exactly do I place this launch script earlier in PATH?
Offline
Read the quote again.
Don't necrobump old threads https://wiki.archlinux.org/title/Genera … bumping%22
Closing.
Offline
Pages: 1
Topic closed