<to...@tuxteam.de> wrote:
> On Tue, Jun 18, 2024 at 01:38:00AM +0100, Gareth Evans wrote:
> >   
> > > On 17 Jun 2024, at 20:45, Pranjal Singh
> > > <pranjal.singh4...@gmail.com> wrote:
> > > 
> > > 
> > > Hi,
> > > 
> > > 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  
> 
> Yep. Asking firefox itself (firefox --help) confirms that the
> option wants two dashes.

See https://wiki.mozilla.org/Firefox/CommandLineOptions#-private-window

or just try it! It works pefectly well with a single hyphen.

Reply via email to