Remove user session indicator in Unity? [duplicate]

(If you dont want to install other programs)

Open a terminal and use this command to disable the name display

gsettings set com.canonical.indicator.session show-real-name-on-panel false

enter image description here

To revert it back simple use

gsettings set com.canonical.indicator.session show-real-name-on-panel true

enter image description here

After using one of the commands you need to log off and back on or use unity --replace & to reload unity.

You can also remove the user switching menu from the indicator panel with

gsettings set com.canonical.indicator.session user-show-menu false

enter image description here

and enable it with

gsettings set com.canonical.indicator.session user-show-menu true

enter image description here

but if you do so you will disable both the username and the user switching indicator. You cannot remove the user switching menu while keeping the username indicator.


open dconf-editor, go to "apps -> indicator-session" and unmark "user-show-menu"

enter image description here

logout and login again


Install package dconf-tools

sudo apt-get install dconf-tools

press Alt+F2 and run:

dconf-editor

In dconf-editor, navigate to apps > indicator-session and untick the option show-real-name-on-panel

enter image description here

Then reload unity to see the effect:

unity --replace

Or logout and login


For 12.04 (should work on earlier versions also)

So, To disable user name displaying, there is two way: 1) Command Line 2) Graphical way.

1) Command Line

If you don't want the switching feature at all, no name and no user icon. Do this:

Open a terminal and execute this command to disable it. Then Logout and Login.

gsettings set com.canonical.indicator.session user-show-menu false

To re-enable, just change false to true

gsettings set com.canonical.indicator.session user-show-menu true

2) Graphical way (using Ubuntu-tweak)

  1. Install Ubuntu-tweak

    • How do I install Ubuntu-Tweak?
  2. Open Ubuntu-tweak by typing the name in dash

    opening ubuntu-tweak from dash

  3. Go to the section TweaksSession indicator

    Go to Tweaks -> Session indicator

  4. Toogle the switch User indicator to Off state.

    enter image description here

(To revert the settings, just toogle the User indicator switch again)

That's it. Logout and Login again to see the change.

Below are screenshots before and after disabling the user name:

  • Before:

    enter image description here

  • After:

    enter image description here


Install Ubuntu Tweak for Ubuntu 11.10 by installing the PPA here.

Once installed, go to the tweaks tab, and change the setting for "Show full name in panel". enter image description here