Hi Eben,
Sorry for the late reply.
I realise I could've added more details.
On 18/06/24 01:31, e...@gmx.us wrote:
On 6/17/24 15:29, Pranjal Singh wrote:
Hi,
I am trying to modify the Firefox desktop icon so that it opens
an incognito window by default.
...
What I've done is changing /usr/share/applications/firefox.desktop:
- Exec=firefox %u
+ Exec=firefox -private-window %u
I also created a desktop file in ~/.local/share/applications, but
that too didn't work.
How didn't it work? Did it run regular Firefox, or not run at all?
It runs regular Firefox after adding the -private-window flag.
To get a MWE, I made these changes later:
- Exec=firefox -private-window %u
- StartupWMClass=firefox
+Exec=gnome-calculator
This too doesn't change anything.
Meanwhile, I also found some seemingly unhelpful documentation at
https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s07.html
(Exec key - says what I expected)
https://specifications.freedesktop.org/desktop-entry-spec/latest/index.html
(The entire specification)
Any ideas, anyone?
Grateful,
Pranjal