I believe that would be dependent on your window manager, or at least that you could summon a Gnome or KDE panel only if those libraries were available on the given system.... so you may have trouble making something open everywhere unless you make your own X component for it or find one to re-use... you might be able to look into Nautilus (gnome) or Konqueror (kde) file browsers for a nice function... Don't know more, but this set off some blinky warning lights in my head :)
Ben On Thu, Apr 21, 2011 at 2:43 PM, marbux <mar...@gmail.com> wrote: > Hi, all, > > I'm working on a cross-platform Lua script that needs to, inter alia, > summon an "Open With" dialog from a Bash command line, the dialog that > typically pops up when a file has no app associated with it in the > environment. But I'm having no luck finding how to do that. Anyone > here happen to know the answer or some keywords that might help me > track it down? > > FWIW and in case it's of any use to someone else, I found the > equivalent command line for Windows: > > Rundll32.exe shell32.dll, OpenAs_RunDLL [filepath] > > Thanks in advance, > > Paul > _______________________________________________ > EUGLUG mailing list > euglug@euglug.org > http://www.euglug.org/mailman/listinfo/euglug >
_______________________________________________ EUGLUG mailing list euglug@euglug.org http://www.euglug.org/mailman/listinfo/euglug