The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

set chromium and google-chrome open file action

asked May 29 '13

tinh gravatar image

updated Aug 24 '13

Hi here,

Firstable, thanks for your awesome work!

I'm looking for a solution would allow me to open pdf files directly with my prefered application: llpp or return on a chromium's tile if I just clicked on a mail link. Is it possible?

Thanks for your answers :)

3 answers

Sort by » oldest newest most voted
1

answered Jun 11 '13

updated Oct 18 '13

This looks like a chrome issue, not i3.

http://productforums.google.com/forum/#!topic/chrome/Drge_Zrwg-c%5B226-250-false%5D

1

answered Jun 1 '13

joepd gravatar image

Chromium does not have its own file handler application, but relies on mime types defined at the system. Have a look at xdg-open.

0

answered Aug 21 '13

tinh gravatar image

I finally found solutions to my two problems, look the following

for mailto tag to use gmail, {check this link} (can't post link yet) try

  1. Open your javascript console
  2. type navigator.registerProtocolHandler("mailto", "(1)mail.google.com/mail/?extsrc=mailto&url=%s", "Gmail");
  3. Accept the confirmation from the browser.

(I found solution from Paul Irish but can't post link. If someone find the link please edit my post. I'll do it as soon as I can)

Also for pdf files. I really think all pdf readers are more or less crap in Linux, to heavy or light but you just can only read from it (you don't have search options or table of contents), anyway I downloaded this from the store: check pdf.js or html5 pdf viewer on chrome/chromium store both are the pretty the same. Thoses are perfectly doing things as I expected

Hope it helps you too.

Comments

!!!!!!! replace ------(1)------- in code by "https://" Can't post link -_-

tinh gravatar imagetinh (Aug 21 '13)edit

8<--------- I really think all pdf readers are more or less crap in Linux ------ > Did you try apvlv (a pdf viewer like vim) as the name says it behaves pretty vim like. It's easy to search for, pretty lightweight but has all the features I need in 96.3% of my use cases. For the rest I like okular

cee gravatar imagecee (Oct 18 '13)edit

Question Tools

Stats

Asked: May 29 '13

Seen: 1,059 times

Last updated: Oct 18 '13