Xfce 4.8 + Thunar 1.2.3: opening documents

sergiocmailbox-xfce at yahoo.com.br sergiocmailbox-xfce at yahoo.com.br
Thu Jun 7 14:41:12 CEST 2012



--- Em qui, 7/6/12, sergiocmailbox-xfce at yahoo.com.br <sergiocmailbox-xfce at yahoo.com.br> escreveu:

> De: sergiocmailbox-xfce at yahoo.com.br <sergiocmailbox-xfce at yahoo.com.br>
> Assunto: Re: Xfce 4.8 + Thunar 1.2.3: opening documents
> Para: "Xfce general discussion list" <xfce at xfce.org>
> Data: Quinta-feira, 7 de Junho de 2012, 9:38
> 
> 
> --- Em qui, 7/6/12, hha4491 <hha4491 at web.de>
> escreveu:
> 
> > De: hha4491 <hha4491 at web.de>
> > Assunto: Xfce 4.8 + Thunar 1.2.3: opening documents
> > Para: xfce at xfce.org
> > Data: Quinta-feira, 7 de Junho de 2012, 6:08
> > Hi,
> > if I want to open a document calles name.lyx Thunar
> offers
> > me "open with LyX", but it starts lyx-devel.
> > $>which lyx
> > /usr/local/bin/lyx
> > $>which lyx-devel
> > /usr/local/bin/lyx-devel
> > Obviously Thunar uses the latter.
> > Where can I change that, also in the
> > Application-Menu->Office?
> > -- Viele Grüße,
> > Hartmut
> 
> You need to change the default app for .lyx files.
> (note: I don't even know what that program is)
> 
> Supposing that there are different desktop files for lyx and
> lyx-devel, find the one for lyx (let's assume it's called
> lyx.desktop) and add it as the default with (needs
> xdg-utils):
> xdg-mime default lyx.desktop application/x-lyx
> 
> Or if you use a system with alternatives set for lyx files
> you may alter the default system-wide using the alternatives
> system.

P.S. you can see which is the set default with:

xdg-mime query default application/x-lyx


More information about the Xfce mailing list