trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2013

[Fwd: [trinity-users] xdg-open issue]

From: "Timothy Pearson" <kb9vqf@...>
Date: Fri, 17 May 2013 13:17:58 -0500
Darrell, as our resident XDG/desktop file expert, any ideas on this one? ;-)

Tim

---------------------------- Original Message ----------------------------
Subject: [trinity-users] xdg-open issue
From:    "Mag. Dr. Nikolaus Klepp" <office@...>
Date:    Fri, May 17, 2013 3:30 am
To:      trinity-users@...
--------------------------------------------------------------------------

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
/opt/trinity/share/applications/kde/kpdf.desktop

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?

Nik

---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-users-unsubscribe@...
For additional commands, e-mail:
trinity-users-help@...
Read list messages on the web archive:
http://trinity-users.pearsoncomputing.net/
Please remember not to top-post:
http://trinity.pearsoncomputing.net/mailing_lists/#top-posting