我在 VM 上运行 Ubuntu 17.10。
在guest中我打开GNOME终端,用 启动Aptitude sudo aptitude,然后切换到宿主机做一些任务。 当我返回 Ubuntu 来宾时,它在锁定屏幕上显示此通知:
sudo aptitude
Power 1 新通知
和解锁后:
自动挂起 由于不活动,计算机将很快挂起。
刚解锁 Aptitude 就说因为系统离线,无法下载包。
如何禁用此行为?
gnome aptitude suspend power-management
aptitude ×1
gnome ×1
power-management ×1
suspend ×1