0

I'm trying to get mailto URLs to open in gmail on KDE. Viagee used to be the accepted approach, but this seems to have been killed by Google revoking the app from its application tore and ignoring the developer. You'd think they would care more about all the linux users in the world

Google does have a special URL https://mail.google.com/mail/?extsrc=mailto&url=%u which allows you to write emails is a "secure" environment with no access to other information about your account. So I'm using this.

I create a new desktop files with a mime type for the mailto: URL scheme (x-scheme-handler/mailto). Like so:

[Desktop Entry] Name=gmail mailto MimeType=x-scheme-handler/mailto Exec= bash -c 'echo %U | xargs -I ARG open "https://mail.google.com/mail/?extsrc=mailto&url=ARG"' Terminal=false StartupNotify=true 

This works fine, but when I open a mailto URL from the command line I get the following warning. I presume because open exits quickly and KDE wants to track it.

kf.kio.gui: Failed to register new cgroup: "app-gmail\\x2dmailto-181d9665b276498992d078f40c9bba08.scope" "org.freedesktop.DBus.Error.UnixProcessIdUnknown" "Failed to set unit properties: No such process" 

How do I get rid of this warning?

    0

    You must log in to answer this question.

    Start asking to get answers

    Find the answer to your question by asking.

    Ask question

    Explore related questions

    See similar questions with these tags.