How can I get emacs -nw when I call emacs from a terminal but GUI emacs elsewhere?
Title says pretty much everything. When I call emacs from the terminal, I want to have the terminal-based version of emacs, not have a separate window with the GUI version. However, if I call it using Gnome Do, or from the applications menu, I want to have the GUI version.
Could anyone help me?
Thanks in advance
EDIT: Another doubt: Is there any difference between typing 'sudo bash' or 'su'?
Last edited by Blackened Justice; 09-07-2011 at 01:46 PM.