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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1298160

Title:
  Midnight Commander fails to open

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/roxterm/+bug/1298160/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to