Comment 9 for bug 1298160

Revision history for this message
Tony Houghton (h-realh) wrote :

I want you to create a script file which acts as a wrapper for the original /usr/bin/roxterm, so run a text editor and enter these lines:

#!/bin/sh
echo "$@" >> ~/roxterm-log
exec /usr/bin/roxterm.bak "$@"

(Note I've changed the > to >>. The difference is that >> will add to the log file every time you run roxterm, > makes a new log file every time.)

Save the file in your home directory and call it roxterm.script. The name doesn't really matter, just as long as you use the proper name in the next command. Then in a terminal (I suppose you'll have to use gnome-terminal or xterm for now) enter:

sudo cp roxterm.script /usr/bin/roxterm
sudo chmod a+x /usr/bin/roxterm

Now hopefully roxterm will run again and each time it's called the command line should be logged to roxterm-log in your home directory.