Message: previous - next
Month: May 2013

xdg-open issue

From: "Mag. Dr. Nikolaus Klepp" <office@...>
Date: Fri, 17 May 2013 10:30:15 +0200
Hi all!

I just came around an anoying xdg issue:

$ xdg-open justapdf.pdf

This opens a pdf, but with Gimp! I fiddeled around with gimp.desktop without 
success. I fiddeled around with xdg-mime without success:

$ xdg-mime query default application/pdf

but it opens gimp.

IMO xdg-* is quite broken. :-(

Now the only workaround I came up with is setting the environment variabe DE 
to kde:

export DE=kde

Then xdg-open uses kfmclient and that calles the kpdf.

Now, would it be possibel to let TDE set that variable by default or am I 
missing a vital point?