[Thunar-dev] Open in terminal

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Wed Apr 26 18:30:56 CEST 2006


LaPeq FCI wrote:
> Is there a way to make thunar open things using the terminal? For
> example the xfrun4 has this option and it's really useful, I use it to
> open prolog scripts with prolog-editor because it doesn't have a
> graphical frontend.
> 
> I'm using thunar0.3.0beta1.

Just add a .desktop file for prolog-editor to
~/.local/share/applications, for example prolog-editor.desktop:

[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Prolog Editor
Exec=prolog-editor %f
MimeType=text/plain
Terminal=true

and run

 update-desktop-database ~/.local/share/applications

HTH,
Benedikt



More information about the Thunar-dev mailing list