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 2013-05-29 21:04:07 +0000

tinh gravatar image

updated 2013-08-24 02:04:09 +0000

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 :)

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2013-06-11 22:52:59 +0000

updated 2013-10-18 03:09:09 +0000

This looks like a chrome issue, not i3.

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

edit flag offensive delete link more
1

answered 2013-06-01 06:27:48 +0000

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.

edit flag offensive delete link more
0

answered 2013-08-21 16:23:22 +0000

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.

edit flag offensive delete link more

Comments

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

tinh gravatar imagetinh ( 2013-08-21 16:23:52 +0000 )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 ( 2013-10-18 16:16:18 +0000 )edit

Question Tools

Stats

Asked: 2013-05-29 21:04:07 +0000

Seen: 1,059 times

Last updated: Oct 18 '13