View Single Post
Old 01-20-2009, 02:31 PM   #106
yargoflick
Enthusiast
yargoflick is on a distinguished road
 
yargoflick's Avatar
 
Posts: 31
Karma: 60
Join Date: Mar 2007
Device: Sony Reader
Quote:
Originally Posted by rogue_ronin View Post
Ahhh. Of course, Windows.

I'm using Linux. Anything I can patch to make it work properly for me?

m a r
If copying the command line generated and pasting into a terminal works, then you could make an executable bash script called 'cmd' that would open an xterm and run the passed command line.
eg:

edit, as root, a new file /usr/local/bin/cmd
make it read as so:
Code:
#!/bin/bash
xterm -hold -e "$@"
Then you want to make the script executable:
Code:
sudo chmod a+x /usr/local/bin/cmd
Now you should have a 'cmd' program that lrftools can pass a command line to and have an xterm open and run that line, pausing when finished.

You can test it by trying out:
Code:
cmd ls -l /etc
or some such thing.

If you're feeling industrious, you could try to find out where lrftools is calling cmd, and change it call bash instead.

Last edited by yargoflick; 01-20-2009 at 02:39 PM.
yargoflick is offline   Reply With Quote