Distribution
Linux Mint 22.3 - Cinnamon 64-bit
Package version
Linux Mint 22.3 - Cinnamon 64-bit
Graphics hardware in use
GeForce GTX 970
Frequency
Always
Bug description
When using Preferred Applications tool to change Web section to a new browser (Brave Flatpak 1.88.132), it changes the Cinammon interactions opening web pages in Brave, but doesn't change the behavior of the default open command run from the terminal.
open /path/to/example.html uses xdg-mime which was showing Firefox (xdg-mime query default text/html -> firefox.desktop) which it should have been pointing to the brave instance.
Workaround
Manually setting it with xdg-mime default com.brave.Browser.desktop text/html works
Steps to reproduce
- Install LinuxMint
- Install Brave flatpak
- Open Preferred Applications
- Change web browser preference to Brave
- Open terminal and run
xdg-mime query default text/html
- Observe - Firefox is still the default
Alternatively
- Install Brave flatpak
- Set Preferred browser (in Preferred Applications) to firefox
- Set
xdg-mime default firefox.desktop text/html to change it to firefox
- Set Preferred browser to Brave
- Open terminal and run
xdg-mime query default text/html
- Observe - Firefox is still the default
Expected behavior
Changing the default browser should change it for all setup mime systems.
Additional information
gio mime text/html has com.brave.Browser.desktop at the top as expected
Distribution
Linux Mint 22.3 - Cinnamon 64-bit
Package version
Linux Mint 22.3 - Cinnamon 64-bit
Graphics hardware in use
GeForce GTX 970
Frequency
Always
Bug description
When using
Preferred Applicationstool to changeWebsection to a new browser (Brave Flatpak1.88.132), it changes the Cinammon interactions opening web pages in Brave, but doesn't change the behavior of the defaultopencommand run from the terminal.open /path/to/example.htmlusesxdg-mimewhich was showing Firefox (xdg-mime query default text/html->firefox.desktop) which it should have been pointing to the brave instance.Workaround
Manually setting it with
xdg-mime default com.brave.Browser.desktop text/htmlworksSteps to reproduce
xdg-mime query default text/htmlAlternatively
xdg-mime default firefox.desktop text/htmlto change it to firefoxxdg-mime query default text/htmlExpected behavior
Changing the default browser should change it for all setup mime systems.
Additional information
gio mime text/htmlhascom.brave.Browser.desktopat the top as expected