ho aggiornato Ubuntu 22.04 in un sistema con home e root separati ovvero ho selezionato la modalità d'installazione personalizzata e formattato solo la partizione root, dopo l'aggiornamento ho riscontrato vari bug che in qualche modo ho risolto ma con questo proprio non so come fare, quando uso un monitor esterno, mantenendo spento quello del laptop, se chiudo il coperchio del laptop non si attiva la modalità sospensione. Ho provato a decommentare queste voci nel file
/etc/systemd/logind.conf poi ho riavviato ma non ha sortito alcun effetto.
Codice: Seleziona tutto
HandleLidSwitch=suspend
HandleLidSwitchExternalPower=suspendPer completezza lascio gli screen delle impostazioni relative agli schermi duplicati, energia, blocco schermo.
Spero qualcuno possa darmi qualche altro suggerimento. Grazie!
contenuto del file logind.conf
Codice: Seleziona tutto
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file (or a copy of it placed in
# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in
# the /etc/systemd/logind.conf.d/ directory. The latter is generally
# recommended. Defaults can be restored by simply deleting the main
# configuration file and all drop-ins located in /etc/.
#
# Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config.
#
# See logind.conf(5) for details.
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#UserStopDelaySec=10
#HandlePowerKey=poweroff
#HandlePowerKeyLongPress=ignore
#HandleRebootKey=reboot
#HandleRebootKeyLongPress=poweroff
#HandleSuspendKey=suspend
#HandleSuspendKeyLongPress=hibernate
#HandleHibernateKey=hibernate
#HandleHibernateKeyLongPress=ignore
#HandleLidSwitch=suspend
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#RebootKeyIgnoreInhibited=no
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RuntimeDirectoryInodesMax=
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
#StopIdleSessionSec=infinity
Codice: Seleziona tutto
mag 06 17:27:47 utente kernel: amdgpu 0000:05:00.0: amdgpu: Secure display: Generic Failure.
mag 06 17:27:47 utente kernel: amdgpu 0000:05:00.0: amdgpu: SECUREDISPLAY: query securedisplay TA failed. ret 0x0
mag 06 17:28:41 utente gdm3[1912]: GLib-GIO: g_dbus_proxy_call_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
mag 06 17:28:50 utente gdm-password][2482]: gkr-pam: unable to locate daemon control file
mag 06 17:28:51 utente systemd[2550]: Failed to start app-gnome-gnome\x2dkeyring\x2dsecrets-2824.scope - Application launched by gnome-session-binary.
mag 06 17:28:52 utente systemd[2550]: Failed to start app-gnome-spice\x2dvdagent-3020.scope - Application launched by gnome-session-binary.
mag 06 17:28:52 utente systemd[2550]: Failed to start app-gnome-im\x2dlaunch-3140.scope - Application launched by gnome-session-binary.
mag 06 17:28:52 utente systemd[2550]: Failed to start app-gnome-snap\x2duserd\x2dautostart-3086.scope - Application launched by gnome-session-binary.
mag 06 17:28:52 utente systemd[2550]: Failed to start app-gnome-ubuntu\x2dreport\x2don\x2dupgrade-3065.scope - Application launched by gnome-session-binary.
mag 06 17:28:52 utente systemd[2550]: Failed to start app-gnome-user\x2ddirs\x2dupdate\x2dgtk-3101.scope - Application launched by gnome-session-binary.