[systemsettings] [Bug 401604] New: Allow to cofigure `x-scheme-handler` MymeTypes

Anton Latuha bugzilla_noreply at kde.org
Sat Dec 1 11:33:48 GMT 2018


https://bugs.kde.org/show_bug.cgi?id=401604

            Bug ID: 401604
           Summary: Allow to cofigure `x-scheme-handler` MymeTypes
           Product: systemsettings
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: kcm_componentchooser
          Assignee: unassigned-bugs at kde.org
          Reporter: piroxiline at gmail.com
  Target Milestone: ---

SUMMARY

Allow to manage MimeTypes `x-scheme-handler/x`.
To be able to pass to applications a custom protocols (URLs).

For example in `x-scheme-handler/x`, `x` can be:

  - magnet (for torrent magnet links),
  - spotify (spotify),
  - tg (telegram),
  - rtsp (real-time streaming protocol),
  - org-protocol (protocol to path through information to the Emacs Org).

STEPS TO REPRODUCE
1. Open Settings -> Application -> File Associations

OBSERVED RESULT

There is no `x-scheme-handler` section nor a possibility to create a handler.

EXPECTED RESULT

There to be `x-scheme-handler` section which shows the currently known
protocols and allows to declare new ones/set default applications for them.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: current NixOS 19.03pre
KDE Plasma Version: 5.14.3
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION

Here I describe the current way to register `x-scheme-handler`.

I have not found the solid source of information to this process.
To set the connection between URL and application - user must make a pretty
wide research, get the knowledge about desktop files, MimeTypes, how
`x-scheme-handler` protocols work and get info on what to do.
Manually create the right `~/.local/share/applications/handler.desktop` entry.
Register the desktop entry with `kbuildsycoca5`.
Register the desktop entry with right xdg command, aka `xdg-mime default
org-protocol.desktop x-scheme-handler/org-protocol`

Only because found the next thread - managed to register `x-scheme-handler`, in
the thread, you can see what it takes to discover the path I described:
https://lists.fedoraproject.org/archives/list/kde@lists.fedoraproject.org/thread/ZERZXDKGTJXBAEVMBTOAEI32EQ4VOK4L/


Thank you for everything.
Good day for you.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list