Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Ubuntu 12.04. When I run MonoDevelop (IDE) using native shell, Unity, the MonoDevelop External Console that appears during debugging is gnome-terminal.

But if I use another window manager (for instance i3wm), MonoDevelop External Console is xterm.

Any workaround to make the IDE 'think' it is in GNOME environment and make it use gnome-terminal?

share|improve this question

Way late, but same issue for me using awesomeWM. I just made a symlink called xterm in /usr/bin pointing to /usr/bin/<TERMINALOFCHOICE> (urxvt in my case).

sudo ln -s /usr/bin/urxvt /usr/bin/xterm

Working fine so far.

share|improve this answer

From the source code of monodevelop, we can find that if the environment variable GNOME_DESKTOP_SESSION_ID exists, gnome-terminal will be used. With this knowledge, you can run monodevelop using:

export GNOME_DESKTOP_SESSION_ID=1 && monodevelop
share|improve this answer
export GNOME_DESKTOP_SESSION_ID= && monodevelop did the trick for me. Instead of using unset GNOME_DESKTOP_SESSION_ID everytime. – Tico Oct 25 '14 at 0:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.