Xfce4
I've loads of Perl scripts dotted about in different directories I'd
like to select them in Thunar and run them in a terminal with a click or
two.
"Open terminal here" in Xfce desktop is very handy but still have to
list the directory contents, find the one I want and type or paste it's
name.
Is there a way to get Thunar to run selected file in a terminal?
mick
Xfce4
I've loads of Perl scripts dotted about in different directories I'd
like to select them in Thunar and run them in a terminal with a click or
two.
"Open terminal here" in Xfce desktop is very handy but still have to
list the directory contents, find the one I want and type or paste it's
name.
Is there a way to get Thunar to run selected file in a terminal?
mick
+ (Add a new custom action)
BasicName Run
Appearance ConditionsFile Pattern *
OK
x (Close dialog window)
On 3/31/25 17:36, mick.crane wrote:
Xfce4
I've loads of Perl scripts dotted about in different directories I'd
like to select them in Thunar and run them in a terminal with a click or two.
"Open terminal here" in Xfce desktop is very handy but still have to
list the directory contents, find the one I want and type or paste it's name.
Is there a way to get Thunar to run selected file in a terminal?
mick
Right click -> "Open with" -> "Open with other application" -> Xterm
works. I think after the first time you do this, the terminal emulator
you use will become default. ICBW. ISTM that XFCE Terminal should work
as well, but it just gives me the "working" cursor for a few seconds.
Be warned that while this will run in the terminal emulator, it won't
stop at the end. The window with vanish as soon as the program exits.
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
When starting the terminal with some command from command line one can add the -H flag to keep the terminal open. This way the window does not close after completion of the command but it cannot be used for running commands.
/usr/bin/xfce4-terminal -H -x /path/to/mycommand.sh
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 05:08:07 |
Calls: | 10,386 |
Calls today: | 1 |
Files: | 14,058 |
Messages: | 6,416,627 |