On Tue, Jun 18, 2024 at 12:23 AM Gareth Evans <donots...@fastmail.fm> wrote: > > On 17 Jun 2024, at 20:45, Pranjal Singh <pranjal.singh4...@gmail.com> wrote: > > I am trying to modify the Firefox desktop icon so that it opens > an incognito window by default. > ... > > - Exec=firefox %u > + Exec=firefox -private-window %u > > Assuming that's not a typo, please try: > > --private-window > > (NB two hyphens at the beginning) > > This works for me on Mate.
According to Mozilla documentation at <https://wiki.mozilla.org/Firefox/CommandLineOptions>, it is one hyphen, not two. Jeff