Join 100,000 Subscribers:

 

Set the Default Terminal Emulator on Ubuntu Linux

Ubuntu has a number of terminal emulators that you can use, including xterm and the gnome terminal. If you install the kubuntu desktop package you can also use konsole under ubuntu.

Setting the default terminal emulator is easy by using the update-alternatives command. Open a terminal window and type in the following command:

sudo update-alternatives –config x-terminal-emulator

You’ll see something similar to the following, although you may not see as many options on your system:

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

There are 7 alternatives which provide `x-terminal-emulator’.

Selection Alternative
———————————————–
    1 /usr/bin/xterm
    2 /usr/bin/uxterm
    3 /usr/bin/koi8rxterm
    4 /usr/bin/lxterm
*+ 5 /usr/bin/gnome-terminal.wrapper
    6 /usr/bin/konsole
    7 /usr/bin/xfce4-terminal.wrapper

Press enter to keep the default[*], or type selection number:

Just type in the number of the selection and hit enter. Now when you launch the terminal via the menu item, or by typing in x-terminal-emulator at the command line, you will see the correct window pop up.

| More
This article was originally written on 12/5/06 Tagged with: Ubuntu, Ubuntu Tips & Tweaks

Daily Email Updates

You can get our how-to articles in your inbox each day for free. Just enter your name and email below:


Name:
Email:

Comments (3)

  1. acantos

    this really worked on my asus eee. i set mine to konsole. i’m a noob and don’t know the differences between terminal emulators.

    thanks for this tip.

  2. jgg

    “$ sudo update-alternatives config x-terminal-emulator”

    should be

    “$ sudo update-alternatives -config x-terminal-emulator”

    If you had two dashes there originally, I apologize. It looks like one.

  3. jkorkean

    You can do this also with user level privileges from:
    System -> Preferences -> Preferred Applications

    This idea is from:
    http://ubuntuforums.org/showthread.php?t=198207

    I switched mine to konsole because you can change the default character encoding for it with user level privileges.


Leave a Comment




Leave your friendly comment here.

If you have a computer help question, click here to leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Our Friends
Getting Started
About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
mDNSResponder.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
conhost.exe
Dpupdchk.exe Adobe_Updater.exe

Copyright © 2006-2010 HowToGeek.com. All Rights Reserved.