I want to change default terminal to lilyterm. Here is instructions that I've found on the internet

gsettings set org.gnome.desktop.default-applications.terminal exec lilyterm
gsettings set org.gnome.desktop.default-applications.terminal exec-arg ""

But when I'm pressing shotcut, that must run default termial -- I'm getting

Windows manager warning: Error on terminal command"(null)". Terminal command is not defined.

Where I've made a mistake?


Have you tried changing it via the Terminal command:

sudo update-alternatives --config x-terminal-emulator

I guess this does not help if the Gnome-shortcut is set specifically to gnome-terminal instead of x-terminal-emulator


I just accidentally bump into this question and this what work for me:

Check which terminal is left in your system. I already removed all "terminal apps" such as xterm etc and chose rxvt-unicode as default terminal.

Go to Keyboard shortcut and create a custom shortcut. It will do a trick for you.


Perhaps you should open the add/edit users dialogue and see if you can change the default terminal there.

Updated: Users & Groups (as admin) > Select User > Advanced Settings > Advanced > Shell

There is a drop down menu, but you can also type out /path/to/your/shell.

  • This is talking about terminal emulators, not shells. – Ryan Thompson May 4 '12 at 0:39

Try with

gsettings set org.gnome.desktop.default-applications.terminal exec 'lilyterm'
gsettings set org.gnome.desktop.default-applications.terminal exec-arg '-x'

Note: You need to log out and log in again (tested succesfully on Gnome on Ubuntu 13.04).

Another possibility is to go to shortcuts in the Gnome settings and add a new one with lilyterm as command, and set it to Ctrl+Alt+T or anything else you prefer.

Another way is to replace gnome-terminal with a symlink that points to lilyterm - but you don't want to do that.

  • Still equal error message. – Jofsey Mar 9 '12 at 21:10
  • I modified the answer, please check this. – dadexix86 Mar 9 '12 at 21:17
  • Nothing changes :(. In my opinion, such error message indicates, that desktop.default-applications.terminal and Default Terminal in shortcut settings is different things. – Jofsey Mar 9 '12 at 21:34
  • Have tou tried to logout-login after changing the settings? I think that gconf should be updated with this new gsettings configurations. – dadexix86 Mar 9 '12 at 23:00
  • @dadexix86less yes, I have. – Jofsey Mar 9 '12 at 23:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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