[Bug 53260] Wine won't open distro-installed text editors and the like

WineHQ Bugzilla wine-bugs at winehq.org
Fri Jul 1 16:34:14 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=53260

Zeb Figura <z.figura12 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |z.figura12 at gmail.com
            Version|unspecified                 |7.12

--- Comment #7 from Zeb Figura <z.figura12 at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list