In Unity the user name is shown in the panel. Is is possible to make it so that it is not displayed? For example it would be nice if only the icon but not the user name were displayed.
(If you dont want to install other programs)
Open a terminal and use this command to disable the name display
To revert it back simple use
After using one of the commands you need to log off and back on or use
You can also remove the user switching menu from the indicator panel with
and enable it with
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"
logout and login again
press Alt+F2 and run:
In dconf-editor, navigate to
Then reload unity to see the effect:
Or logout and login
|show 4 more comments|
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.
To re-enable, just change
2) Graphical way (using Ubuntu-tweak)
(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:
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".
Since Ubuntu 12.10 the user name is not displayed in the panel. Thus, you do not have to do anything.