这台笔记本电脑充当服务器,因此这些不仅完全不相关且不必要,而且还是一个严重的 PITA,因为当我合上盖子时服务器正在挂起。我已将它们设置为“忽略” logind.conf
,但日志中仍然显示:
Dec 02 19:29:59 webapp systemd-logind[10874]: Watching system buttons on /dev/input/event4 (Power Button)
Dec 02 19:29:59 webapp systemd-logind[10874]: Watching system buttons on /dev/input/event2 (Lid Switch)
Dec 02 19:29:59 webapp systemd-logind[10874]: Watching system buttons on /dev/input/event3 (Sleep Button)
Dec 02 19:30:00 webapp systemd-logind[10874]: Watching system buttons on /dev/input/event0 (AT Translated Set 2 keyboard)
Dec 02 19:30:00 webapp systemd-logind[10874]: Watching system buttons on /dev/input/event5 (ThinkPad Extra Buttons)
我怎样才能完全禁用/删除这些?