WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: chromium open downloaded files  (Read 2968 times)

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
chromium open downloaded files
« on: August 07, 2011, 12:24:57 PM »
How can I make chromium open e.g. pdf files with mupdf?

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: chromium open downloaded files
« Reply #1 on: August 07, 2011, 02:50:29 PM »
load xdg-utils.tcz extension and try
Code: [Select]
xdg-open anyfile.pdf
but i don't know how you setup preferred desktop applications in a base tiny core install


« Last Edit: August 07, 2011, 02:52:16 PM by Arslan S. »

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: chromium open downloaded files
« Reply #2 on: August 07, 2011, 05:05:29 PM »
Thanks. Seeing how this kind of stuff works I've simply written my own script and called it xdg-open. What it does now is basically this: file $1|grep PDF && mupdf $1