Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: hiro on August 07, 2011, 12:24:57 PM

Title: chromium open downloaded files
Post by: hiro on August 07, 2011, 12:24:57 PM
How can I make chromium open e.g. pdf files with mupdf?
Title: Re: chromium open downloaded files
Post by: Arslan S. 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


Title: Re: chromium open downloaded files
Post by: hiro 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