Bug 1262564 - Add private browsing action to Firefox desktop file
Summary: Add private browsing action to Firefox desktop file
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 22
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2015-09-12 21:25 UTC by Dan Doel
Modified: 2016-07-19 20:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-07-19 20:13:50 UTC
Type: Bug

Attachments (Terms of Use)

Description Dan Doel 2015-09-12 21:25:21 UTC
Gnome shell has the ability to have multiple actions associated with an icon, available via right click. However, the firefox desktop file doesn't have any extra actions defined. It'd be handy to have an action that launched a new private window, as the only way to create a private window now (via the gui) is to open a normal window and use a menu there.

This can be added by:

1) Adding an Actions entry to the main section:


2) Defining a section for that action:

    [Desktop Action new-private-window]
    Name=New Private Window
    Exec=firefox --private-window %u

I'm afraid I don't have the ability to translate the name into all the languages otherwise used in the desktop file.

The above will achieve a result similar to the epiphany desktop file. Another possibility is to mimic the gedit desktop file:


    [Desktop Action new-window]
    Name=Open a New Window
    Exec=firefox %u

    [Desktop Action new-private-window]
    Name=Open a New Private Window
    Exec=firefox --private-window %u

This groups the two 'new window' actions more closely for some reason (the new-window action appears to override the default "New Window" action).

Comment 1 Martin Stransky 2015-10-14 10:28:58 UTC
Peter, can you look at it please? Also please check if that's compatible with other DE, like KDE/Mate/xfce.

Comment 3 Fedora End Of Life 2016-07-19 20:13:50 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

Note You need to log in before you can comment on or make changes to this bug.