Run command don't run command line programs

Command line applications will use a terminal anyhow. If you want to edit test.txt with vim, you still need to say which terminal you want to use. The full command you have to enter, assuming you run vim in gnome-terminal (using ALT + F2) is:

gnome-terminal -x vim test.txt

Than it works.