After installing Debian 13
with GNOME
, I've noticed that the Firefox ESR
launcher doesn't have the option to open a window in a private mode.
How to add that option to the launcher's context (right-click) menu?
Follow these steps to add any options you need.
Note: Be notified that invalid commands may crash the system. So, I'd recommend to unplug or unmount any external drives and not to have any running critical processes (like, copying files, etc.). While trying to find working commands, I got Something went wrong. Log out.
error few times while was using Option 2.
(Many thanks to Stephen Kitt for his comment.)
firefox-esr.desktop
from /usr/share/applications
to ~/.local/share/applications
.Alt+F2
, r
, Enter
in GNOME
, X11
).Note that the root
privileges are needed.
/usr/share/applications
and create a backup copy of firefox-esr.desktop
. To do that in Files
(Nautilus
), open it, in the address bar type admin://
, and enter your password.firefox-esr.desktop
and to the end of the file add the lines as shown below.Alt+F2
, r
, Enter
in GNOME
, X11
).I'm showing 2 options here: New Window
and New Private Window
.
Actions=new-window;new-private-window;
[Desktop Action new-window]
Name=New Window
Exec=/usr/lib/firefox-esr/firefox-esr --new-window
[Desktop Action new-private-window]
Name=New Private Window
Exec=/usr/lib/firefox-esr/firefox-esr --private-window