Skip to content

brendaw/add-username-toppanel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add Username to Top Panel

add-username-to-toppanel

Simply add your username to topbar panel quick settings menu in GNOME Shell.

How to install

Just go at the extension's page, enable the GNOME Shell Integration (if is not installed/enabled), and then just click on the switch to turn this extension on.

And is simple as that.

Compatibility

This extension is compatible with the GNOME Shell versions from 3.12 to 47.

Common Issues

Extension only shows "Unknown" istead of my name

If the extension is showing "Unknown" instead of your desired name after installation, or even on swithing between users locally, then it might be missing something in the /etc/passwd, where the extension look at to bring the user display name. Check it and look if it has the info marked in the picture below, and make the changes (in this case... fill with your name) to show up in the next GNOME shell boot.

image

How to build from source and manually install

This way is more trick. First of all, move yourself inside the repository folder. After this, you need to run the gnome-extensions command to create the extention's boilerplate inside your machine:

$ gnome-extensions create --name="Add Username to Top Panel" --description="Simply add your username to topbar panel quick settings menu" --uuid="[email protected]"

Then copy all the extension files inside the folder created by the last command:

$ cp metadata.json extension.js stylesheet.css ~/.local/share/gnome-shell/extensions/[email protected]`

Nice. Now you need to enable the extension in GNOME Shell. To do this, run the command bellow:

$ gnome-extensions enable [email protected]

"Nice, Will, but the extension is not showing up"

Well, if that happens to you, just log-out and log-in to the extension appear in your GUI.

And that's it.

Contributing

You may contribute in several ways like creating new features, fixing bugs, improving documentation and examples or translating any document here to your language. Issues and Pull Requests sections are waiting for your contribution.

Contributors

See on AUTHORS file the amazing contributors' name of this project.

License

MIT - William Brendaw and the contributors - 2016-2024