site  contact  subhomenews

Rox right-click run-in-terminal

November 07, 2024 — BarryK

Forum member Vverve requested this:

https://forum.puppylinux.com/viewtopic.php?p=135081#p135081

He referred to an old PET package that provided a ROX-Filer right-click menu entry "Run in terminal".

Yes, that would be nice. You can left-click on a shell script or binary executable and it will run, but sometimes you would like to run the executable in a terminal to see any console output. Yes, ROX does have the ability to open a terminal, with backtick key or a menu choice, which I use often; but then you have to type in the name of the executable that you want to run.

It is pretty easy to implement, so it is now done. Right-click on a shell script or binary executable, and there is now an offer to run it in a terminal. For example, I right-clicked on the /usr/bin/partview shell script:

img1

Choosing it, and a terminal starts. But instead of just starting the executable immediately, I have made it a bit interactive:

img2

Also, when partview terminates, the terminal window stays open, so that you can view any console output. It is required to click on the window close-box to close the terminal.

Furthermore, you have the option of entering commandline parameters:

img3

This will be very handy! This new feature is builtin and will be in the next release of Easy.

Here are the github commits:

https://github.com/bkauler/woofq/commit/4f5446b81c93965236730ccf81b873fff44dcbe3

https://github.com/bkauler/woofq/commit/fc71e9c5020c1b862bc25496326a47d09bc908d2   

Tags: easy