Unity Panel - How to Add Username to Top Panel in Xenial Xerus


I would like to see my username in the top panel of Xenial Xerus. By default it is not present, as this screenshot demonstrates:

enter image description here

How can I place the logged in username there and then easily reverse this if I want? I am interested in both command line and gui solutions.

Best Answer

The standard (and easiest) way to display your user name in the Unity panel is to launch System Settings and go to User Accounts.

You can see a checkbox at the bottom of the window that says

Show my login name in the menu bar

Simply enable that checkbox and your display name appears in the top right corner of your screen.

enter image description here

Related Question