[Thunar-dev] Conditional "Open" command

Erik Harrison erikharrison at gmail.com
Tue Nov 6 00:40:25 CET 2007


On 11/5/07, Ben Ford <ben at kalifornia.com> wrote:
> Mathias Brodala wrote:
> > Hi.
> >
> > mmassonnet at gmail.com, 04.11.2007 20:36:
> >
> >> On Sun, Nov 04, 2007 at 08:06:40PM +0100, mike wrote:
> >>
> >>> On Sun, Nov 04, 2007 at 07:33:55PM +0100, mike wrote:
> >>>
> >>>> On Sun, Nov 04, 2007 at 05:41:43PM +0100, Mathias Brodala wrote:
*SNIP*
> > Yeah, I know this option. But it requires the subfile to have the exact same
> > name as the videofile which isn't always the case. This is why I was searching
> > for a way to circumvent this to be able to just select video and subfile and
> > open them.
> >
>
> I don't see this being too much to ask.  Why would you name it differently?
>

well if you created it, you probably wouldn't. This is getting Off
Topic real quick, but:

1) The name could contain the language for the subtitles - you could
potentially have multiple subtitle files in the same folder.

2) User created subtitles - often subtitle files are created by third
parties who have no clue what your copy of "Awesome Movie" is named
filewise.

More On Topic - there are cases of wanting to open mixed mime type
files more smartly. Another example might be applications that allow
you to specify alternate config files via a command line option, in
addition to whatever file you are trying to open (common for processor
emulators). However, I don't think there is a good solution, certainly
not one Thunar specific.

> > So either renaming the subfile or a custom script seem to be the solution for now.
> >
> >
> > Regards, Mathias
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Thunar-dev mailing list
> > Thunar-dev at xfce.org
> > http://foo-projects.org/mailman/listinfo/thunar-dev
> >
>
> _______________________________________________
> Thunar-dev mailing list
> Thunar-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/thunar-dev
>


-- 
Erik
"Look at me still talking when there is Science to do"



More information about the Thunar-dev mailing list