linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.56k stars 743 forks source link

Feature request: Hide or unhide a user for the GUI #11305

Open Dretech opened 1 year ago

Dretech commented 1 year ago

Is your feature request related to a problem? Please describe.

Hidden users are not visible in the cinnamon-settings-users application. It is also not possible to hide a user for the GUI in the cinnamon-settings-users application.

Describe the solution you'd like

Show all users that have a username in the /var/lib/AccountsService/users/ directory. Add to the user details an option to hide or unhide a user. See enclosed picture as example.

Original: account details - original

With feature request: account details - with feature request

I wrote a shell script for realizing the necessary changes in the /var/lib/AccountsService/users/ directory. You can use that shellscript for making the changes in the files. You can download the script here: https://github.com/Dretech/hidelinuxguiuser/archive/refs/heads/main.zip. My feature request is to make it possible to hide and unhide a user in the cinnamon-settings-users application.

Describe alternatives you've considered

I wrote a shellscript, but it is not friendly for GUI users.

Additional context

The visibility of users is also related to the tab 'users' in the Login Windows (this program is part of the pkexec package and is started with pkexec lightdm-settings). You can set in the Login Windows (tab 'users') manual login for the system and hiding the (gui) users list.

anaximeno commented 1 year ago

There's already an option to hide the list of users in the login window settings. Does that solve the problem?

Dretech commented 1 year ago

There's already an option to hide the list of users in the login window settings. Does that solve the problem?

That option is for all users. My feature request is a setting for separate users. In my opinion it is possible to hide or unhide every gui user you choose.