Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#69697 - [firefox] Supplied .desktop file, firejail and plank don't work together.
Attached to Project:
Arch Linux
Opened by Deposite Pirate (dpirate) - Thursday, 18 February 2021, 17:56 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 20 February 2021, 04:36 GMT
Opened by Deposite Pirate (dpirate) - Thursday, 18 February 2021, 17:56 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 20 February 2021, 04:36 GMT
|
DetailsHi,
No matter how you start firefox, Plank will always link to /usr/share/applications/firefox.desktop and since /usr/lib/firefox/firefox is hardcoded there, next time you start firefox from plank it won't be firejailed. I tried every trick, but the only thing that works to get plank to start a firejailed firefox is to directly edit /usr/share/applications/firefox.desktop and edit out /usr/lib/firefox everywhere. Modifying package installed files is not a great idea. Perhaps plank should behave otherwise. Maybe it can't because of X limitations or something or it would involve adding too much code complexity. Anyway it just won't pick up the ~/.local/share/applications/firefox.desktop file created by firecfg. Brave which has Exec=brave in it's .desktop file works fine with plank and firejail. My suggestion to fix this problem is to add a /usr/bin/firefox symlink to /usr/lib/firefox/firefox and then not hardcode /usr/lib/firefox/firefox directly in the .desktop file. Then it will just work like Brave and the /usr/local/bin/firefox symlink to firejail will be started instead of /usr/lib/firefox/firefox if it is there. Package versions: firefox 85.0.2-1 firejail 0.9.64.4-1 plank 0.11.89-2 |
This task depends upon
Closed by Doug Newgard (Scimmia)
Saturday, 20 February 2021, 04:36 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#57766 FS#62181
Saturday, 20 February 2021, 04:36 GMT
Reason for closing: Duplicate
Additional comments about closing:
Comment by Michel Koss (MichelKoss1) -
Friday, 19 February 2021, 20:58 GMT
Changing Exec=/usr/lib/firefox/firefox to Exec=firefox in desktop file would work just fine without making any symlinks.