09-24-2022, 09:17 AM
Phosh automatically starts with user 1000 (alarm in your case)
This is governed bu the phosh.service from systemd: /etc/systemd/system/graphical.target.wants/phosh.service
of course if you change this then every time phosh is updated it will revert to User=1000.
You need to change the username and home directory for user 1000 (alarm) as above
This is governed bu the phosh.service from systemd: /etc/systemd/system/graphical.target.wants/phosh.service
Code:
[Service]
Environment=XDG_CURRENT_DESKTOP=Phosh:GNOME
Environment=XDG_SESSION_DESKTOP=phosh
Environment=XDG_SESSION_TYPE=wayland
ExecStart=/usr/bin/phosh
TimeoutStartSec=30
User=1000
PAMName=login
WorkingDirectory=~
Restart=on-failure
RestartSec=5s
of course if you change this then every time phosh is updated it will revert to User=1000.
You need to change the username and home directory for user 1000 (alarm) as above