On Tue, Jul 30, 2024 at 10:44 AM Will McDonald <wmcdon...@gmail.com> wrote:
> On Tue, 30 Jul 2024 at 15:38, Will McDonald <wmcdon...@gmail.com> wrote: > >> The default behaviour for the desktop application invocation will be >> in /usr/share/applications/google-chrome.desktop in the Exec definition if >> you don't mind hacking packaged files. >> >> There's probably a canonical mechanism to override that at a per-user >> level too. >> > > And, just for posterity: https://forums.debian.net/viewtopic.php?t=154052 > > Note: Please don't modify .desktop files in /usr/share/applications as a) >> that would require root and b) your changes will be overwritten the next >> time the app is updated. If you want to modify a .desktop file copy the >> file to ~/.local/share/applications and edit it there. >> >> .desktop files in ~/.local/share/applications take precedence over >> .desktop files with the same name in /usr/share/applications and you can >> hack up the ones in your home directory all day long - worst that could >> happen is you'd do it wrong and have to start over but the original >> .desktop file is still on your system :) > > I tried copying /usr/share/applications/google-chrome.desktop to ~/.local/share/applications and then modifying to say: Exec=/usr/bin/google-chrome-stable ----enable-features=UseOzonePlatform --ozone-platform=wayland But I don't think it worked, because I don't see these options in ps. Also the original said: Exec=/usr/bin/google-chrome-stable --incognito And I don't think it was using incognito mode. How do I know if it actually used this desktop file and is there something else I need to do?
-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue