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去重, 混合搜索等
This commit is contained in:
38
wiki/sources/Ubuntu禁用合盖休眠.md
Normal file
38
wiki/sources/Ubuntu禁用合盖休眠.md
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
title: "Ubuntu禁用合盖休眠"
|
||||
type: source
|
||||
tags: [ubuntu, 休眠, 笔记本服务器]
|
||||
date: 2025-10-01
|
||||
---
|
||||
|
||||
## Source File
|
||||
- [[raw/Home Office/Ubuntu禁用合盖休眠.md]]
|
||||
|
||||
## 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
|
||||
- [[systemd-logind]]:管理系统电源和用户会话的服务
|
||||
- [[休眠]]:系统挂起到磁盘
|
||||
|
||||
## Key Entities
|
||||
- [[Ubuntu]]:操作系统
|
||||
|
||||
## Connections
|
||||
- [[systemd-logind]] ← controls ← [[休眠]]
|
||||
- [[Ubuntu]] ← runs ← [[systemd-logind]]
|
||||
|
||||
## Contradictions
|
||||
- 无
|
||||
Reference in New Issue
Block a user