The brave-browser.desktop file should be modified to work with a URL parameter when using the [Desktop Action new-private-window]. This would allow users to open links in incognito mode from desktop icons, context menus, and other launchers.
Currently, the Exec=/usr/bin/brave-browser --incognito statement does not support URLs. Instead, it should be updated to use Exec=/usr/bin/brave-browser --incognito %U, similar to how Firefox-based browsers handle this feature.
TLDR: Update brave-browser.desktop to allow opening links in incognito mode by modifying the Exec statement to use %U.
USE CASE:
I use Junction to pick a browser to open links. With the modified Exec=/usr/bin/brave-browser-beta --incognito %U, I have the option appear when right-clicking as shown below:
Having this feature would greatly improve my user experience and make it easier to use Brave Browser with other software and scripts that rely on the brave-browser.desktop file.
Platforms
Linux
Description
The
brave-browser.desktop
file should be modified to work with a URL parameter when using the[Desktop Action new-private-window]
. This would allow users to open links in incognito mode from desktop icons, context menus, and other launchers.Currently, the
Exec=/usr/bin/brave-browser --incognito
statement does not support URLs. Instead, it should be updated to useExec=/usr/bin/brave-browser --incognito %U
, similar to how Firefox-based browsers handle this feature.TLDR: Update
brave-browser.desktop
to allow opening links in incognito mode by modifying theExec
statement to use%U
.USE CASE:
I use Junction to pick a browser to open links. With the modified
Exec=/usr/bin/brave-browser-beta --incognito %U
, I have the option appear when right-clicking as shown below:Having this feature would greatly improve my user experience and make it easier to use Brave Browser with other software and scripts that rely on the
brave-browser.desktop
file.