I want to assign a terminal based program as a default program in Gnome Shell 3.2. I am running Ubuntu 11.10.
More specifically, I want my .txt files to open in vim with maximized Gnome Terminal.
The 'Open with other application' menu does not provide for this.
Thanks in advance for help.
Best Answer
For files handling in gnome you will have to use the graphical version of
vim
calledgvim
, to install it typesudo apt-get install vim-gnome
.Has an option you can create a
.desktop
file that will be listed on 'Open with other application' tab:~/.local/share/applications
vim-console.desktop
with these contents:After this you will see Vim Text Editor (Console) in your Open with other application tab, select it and when you double click the file you will be able to open it using vim terminal editor.