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

I have changed the name on /etc/hostname and /etc/hosts but the top right corner display name won't change

enter image description here

How can i change that name?

share|improve this question
up vote 3 down vote accepted

/etc/hostname and /etc/hosts contains your hostname (the computer name). The name next to the shutdown button is your username.

Changing your username just to get a different name displayed is not recommended. To make your actual name to be displayed instead of your username, open a Terminal and run:

gconftool -s /system/indicator/me/display --type int 2

(taken from fluteflute's answer)

To change your actual username (which defaults to your username), go to System -> Administration -> Users and Groups. Select your user and click the "Change..." button after your current name. Enter whatever you like and press OK to save it. You'll need to re-login to make the name change take effect.

share|improve this answer

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.