https://bugs.winehq.org/show_bug.cgi?id=53260
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com Version|unspecified |7.12
--- Comment #7 from Zeb Figura z.figura12@gmail.com --- I think you can get the desired behaviour by changing the contents of HKCR\txtfile\shell\open\command, replacing "notepad.exe" with "winebrowser.exe". That will automatically delegate to xdg-open, which will open the user's preferred file browser.
I don't know if we want to do that by default. It's theoretically possible that a program would depend on notepad being started in those cases, although it doesn't strike me as very likely.
"wine start /exec file.txt" is a simple way to observe or test this behaviour.
It's also possible that some programs manually open notepad rather than delegating to shell32. We could override notepad to xdg-open as well, but I'm not sure we want to do that.