Files
nexus/wiki/sources/Ubuntu禁用合盖休眠.md
weishen f9ac3145ab feat(wiki): ingest remaining subdirectories batch (51 files)
- Others: ChinaTextbook, Obsidian笔记系列, YouTube Channel ID, TikTok PM Django
- Skills: GOG CLI, Last30Days, baoyu-skills
- Vibe Coding: Cursor 2.0, Trae远程开发, Vibe-Kanban+OpenCode, vibe coding经验
- 微信公众号: 养虾日记1-5, AI时代赚钱
- 跨境电商: TikTok数据抓取, 选品策略, Superset Dashboard
- AI目录补充: 20个文件

Source pages: 51
Entities: TapXWorld, VibeKanban, OpenCode, Trae, SourceGrounding等
Concepts: 自举Meta生成, 5大设计原则, MD5去重, 混合搜索等
2026-04-14 20:48:34 +08:00

1.2 KiB
Raw Blame History

title, type, tags, date
title type tags date
Ubuntu禁用合盖休眠 source
ubuntu
休眠
笔记本服务器
2025-10-01

Source File

Summary

  • 核心主题:配置 Ubuntu 24.04 笔记本合盖后继续运行而不进入休眠
  • 问题域:服务器化改造
  • 方法/机制:修改 systemd-logind 配置,设置 HandleLidSwitch 系列参数为 ignore
  • 结论/价值:笔记本可作为长期运行的服务器,合盖不中断服务

Key Claims

  • 控制文件为 /etc/systemd/logind.conf
  • 三个关键参数HandleLidSwitch电池、HandleLidSwitchExternalPower外接电源、HandleLidSwitchDocked扩展坞
  • 设置为 ignore 后合盖不执行任何操作
  • 可选systemctl mask sleep/suspend/hibernate/hybrid-sleep.target 从内核级别彻底禁用休眠

Key Quotes

"HandleLidSwitch=ignore" — 合盖不执行任何操作的关键配置

Key Concepts

Key Entities

Connections

Contradictions