NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.13k stars 14.16k forks source link

Pantheon: user accounts settings are missing from system settings #170461

Open alexeymuranov opened 2 years ago

alexeymuranov commented 2 years ago

Describe the bug

I cannot find user accounts settings in Pantheon. That is, clicking on "User Accounts Settings..." in user/session applet (in the top right corner) opens System Settings, but there are no User Accounts Settings. In particular, i cannot change user profile picture.

Steps To Reproduce

  1. Activate Pantheon desktop.
  2. Log in with Pantheon desktop.
  3. Click on "User Accounts Settings..." in session menu (top right corner).

Expected behavior

Should be able to access user accounts settings.

Screenshots

Screenshot from 2022-04-26 20 21 18

Additional context

Notify maintainers

@bobby285271 @davidak

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.111, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.16`
 - channels(root): `"nixos-21.11.337209.c254b8c915a"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
bobby285271 commented 2 years ago

Hi! switchboard-plug-useraccounts is not packaged on NixOS yet since most users manage users in a declarative way. But anyway I am tracking the packaging issue here, this plug requires some patching to make it actually work and I don't have time to figure it out yet (sorry for that :crying_cat_face:).

To change user profile picture, you can create the file /var/lib/AccountsService/icons/yourusername as your profile picture, then edit /var/lib/AccountsService/users/yourusername:

[User]
Icon=/var/lib/AccountsService/icons/yourusername