3

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?

enter image description here

0

1 Answer 1

6

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.


Option 1 (preferable)

(Many thanks to Stephen Kitt for his comment.)

  1. Copy firefox-esr.desktop from /usr/share/applications to ~/.local/share/applications.
  2. To the end of the file, add the lines as shown below Option 2.
  3. If needed, log out and log in or restart the shell (Alt+F2, r, Enter in GNOME, X11).

Option 2

Note that the root privileges are needed.

  1. Go to /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.
  2. Open firefox-esr.desktop and to the end of the file add the lines as shown below.
  3. If needed, log out and log in or restart the shell (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

enter image description here

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.