Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: use Display Name instead of username on Dashboard, Calendar and QuickSettings #58

Closed
D3vil0p3r opened this issue May 26, 2023 · 1 comment

Comments

@D3vil0p3r
Copy link

D3vil0p3r commented May 26, 2023

On Linux, a user has mainly two "names": username and display name. The username is used for identifying the user at system level, for example during the login, while the display name is the Full Name (i.e., Name and Surname) of the user.

When a user is created, username and display name must be specified. The difference between these two names is mainly that the username is shown all in lowercase letter and cannot have space and uppercase letters, for example johndoe. The display name can use Upper case letters, so an example could be John.

Currently, Aylur's widgets Dashboard uses username that is shown (my username is athena and my display name is Athena):
image

Indeed, as shown on the image above, athena username is shown. In general, it could be more correct that the message on the Dashboard should be:

Athena
Good Afternoon!

instead of:

athena
Good Afternoon!

Another example could be:

John
Good Afternoon!

instead of:

johndoe
Good Afternoon!

In Linux, one of the commands for getting the Display Name of the user account is: getent passwd "$USER" | cut -d ':' -f 5 | cut -d ',' -f 1. Source: https://stackoverflow.com/questions/833227/whats-the-easiest-way-to-get-a-users-full-name-on-a-linux-posix-system

Is it possible to show on the Dashboard the Display Name of the user account instead of the username?

The files that should be edited should be:

@D3vil0p3r D3vil0p3r changed the title Suggestion: use Display Name instead of username on Dashboard Suggestion: use Display Name instead of username on Dashboard, Calendar and QuickSettings May 26, 2023
Aylur added a commit that referenced this issue Jun 8, 2023
@Aylur Aylur closed this as completed Jun 8, 2023
@D3vil0p3r
Copy link
Author

D3vil0p3r commented Jun 8, 2023

Thank you man. Just for info for all users that wish to set the Real Username now:

Go on Aylur's Widgets Settings:

  • -> Dashboard -> User -> enable Show Real Name.
  • -> Quick Settings Tweaks -> enable Show Real Name.
  • -> Date Menu Tweaks -> expand Enable Custom Menu -> expand Show User Icon -> enable Show Real Name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants