WineHQ
Bug Tracking Database – Bug 22904

 Bugzilla

 

Last modified: 2023-11-15 08:51:42 UTC  

Register URL protocol handlers under Linux

Bug 22904 - Register URL protocol handlers under Linux
Register URL protocol handlers under Linux
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: programs
1.2-rc1
x86 Linux
: P2 enhancement
: ---
Assigned To: Mr. Bugs
: download, integration
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2010-05-27 21:47 UTC by Marcus Kempe
Modified: 2023-11-15 08:51 UTC (History)
4 users (show)

See Also:
Regression SHA1:
Fixed by SHA1: c4f4fb7f4478f21480f0d7d8046ed0d3bea94141
Distribution: ---
Staged patchset: https://gitlab.winehq.org/wine/wine-staging/-/tree/master/patches/winemenubuilder-associations


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Kempe 2010-05-27 21:47:16 UTC
winemenubuilder is able to automatically register file type associations and build menus under Linux, when triggered by an application under wine. 

It would be great if the same thing were true for protocol handlers, so that these would become registered in much the same way as when using gconftool in gnome:

gconftool -s /desktop/gnome/url-handlers/spotify/command 'wine c:\\spotify\\spotify.exe %s' --type String
gconftool-2 -s /desktop/gnome/url-handlers/spotify/enabled --type Boolean true

 
Would this be possible, hard, or maybe not a good idea?
Comment 1 Dmitry Timoshkov 2010-05-28 04:28:58 UTC
Please specify Wine version you are using.
Comment 2 Damjan Jovanovic 2011-03-30 19:12:12 UTC
It's possible, but Wine avoids doing desktop-specific things and http://www.freedesktop.org/wiki/Specifications doesn't list any cross-desktop way to do protocol handlers.
Comment 3 Jerome Leclanche 2011-11-07 14:08:38 UTC
Damjan, what about implementing x-scheme-handler mime types?

http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html
Comment 4 Jerome Leclanche 2013-04-09 06:34:47 UTC
Quick update: Registering the x-scheme-handler/<protocol> mime type has since become the standard way of registering protocol handlers.
Comment 5 Alex Henrie 2023-06-23 21:57:49 UTC
Staging maintainers: Could you please include the patches from https://gitlab.winehq.org/wine/wine/-/merge_requests/2740 in the next version of Wine Staging?
Comment 6 Alex Henrie 2023-06-26 17:55:04 UTC
The patches were added to Wine Staging 8.11.
Comment 8 Alexandre Julliard 2023-11-10 21:01:02 UTC
Closing bugs fixed in 8.20.
Comment 9 Marcus Kempe 2023-11-15 08:51:42 UTC
Awesome, thanks for the fix! :)


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers