Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use webmail,specifically gmail. How do I make it so that when I click a mailto: link it opens gmail, in a browser (chromium) with the email address, in KDE?

bonus points for listing other browsers and other popular webmails

share|improve this question

I found a Mozilla's support page, and a thread in Google's support forum. Add up with a little guessing of my own I have something that may work.

Just follow the following instruction for KDE (taken from Mozilla), with your "email client" being xdg-open "https://mail.google.com/mail?extsrc=mailto&url=$s"

  1. Open the KDE Control Center by clicking on K and selecting Control Center.
  2. In the Control Center window, click to expand KDE Components.
  3. Click to select Component Chooser.
  4. Click to select Email Client.
  5. Click to select the Use a different email client radio button.
  6. Type the full path to your e-mail client (e.g. /usr/bin/thunderbird).
  7. Click Apply to close the Control Center window and save your changes.

I don't have KDE so I cannot test, but executing xdg-open "https://mail.google.com/mail?extsrc=mailto&url=$s" in a terminal does open a browser with Gmail.

Tell me if it works :)

share|improve this answer
up vote 1 down vote accepted

Follow the same basic instructions in phunhehe's post except instead of xdg-open you can use kioclient exec https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=%t&su=%s&%u. This will open the same browser that you've set to default in kde.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.