fedora-hyprland-installer
Skill này làm gì
Chương trình này giúp cài đặt, cấu hình, kiểm tra, sửa chữa, cập nhật và gỡ bỏ Hyprland, một môi trường máy tính để bàn cho Fedora Linux. Nó tự động nhận diện loại card đồ họa (NVIDIA, AMD hoặc Intel) mà máy tính bạn dùng để thiết lập tốt nhất.
Khi nào nên dùng
- ✓Khi cài đặt hoặc cập nhật Hyprland trên Fedora.
- ✓Khi kiểm tra Hyprland và các thành phần của nó có hoạt động đúng không.
- ✓Khi sửa các lỗi thường gặp hoặc gỡ bỏ Hyprland.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/fedora-hyprland-installer/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Cài đặt Hyprland trên Fedora của tôi và cấu hình cho card đồ họa NVIDIA.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Chương trình dùng các lệnh riêng cho Fedora để cài đặt các gói cần thiết, sao lưu cấu hình cũ và thiết lập Hyprland phù hợp với phần cứng của bạn. Nó luôn xin phép bạn trước khi thực hiện các thay đổi lớn.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Fedora Hyprland Installer Skill
This skill provides an automated, safety-first workflow for managing Hyprland on Fedora Linux.
Resolve the Skill Directory
Before running a bundled script, resolve SKILL_DIR to the directory that
contains this SKILL.md. Do not assume the user's current working directory or
guess a global installation path. If the agent cannot resolve the installed
skill directory from its runtime context, stop and ask the user to provide it.
Invoke bundled shell files explicitly with bash and a quoted path, for
example bash "$SKILL_DIR/scripts/detect-system.sh".
When to Use
- Use when installing or updating a Fedora-packaged Hyprland desktop stack.
- Use when verifying a Hyprland session, portals, PipeWire, or WirePlumber on Fedora.
- Use when diagnosing the limited repair cases documented below or removing the Hyprland-specific packages installed by this workflow.
Core Directives & Safety Rules
- Fedora-First: Always use Fedora tools (
dnf,systemctl,loginctl). Never useapt,pacman, oryay. - Never Blindly Execute: Inspect the system prior to any installation or modification.
- Preserve Existing Desktop: Do not uninstall GNOME, KDE, or any existing desktop environment. Hyprland should be added as a session choice in the display manager (GDM/SDDM/LightDM).
- Mandatory Backup: Always create a timestamped backup in
~/.local/state/fedora-hyprland-installer/backups/before writing or altering configurations in~/.config/hypr/,~/.config/waybar/, etc. - GPU Awareness: Check whether the system uses NVIDIA, AMD, Intel, or Hybrid graphics before configuring environment variables or graphics drivers. Never use arbitrary
.runinstallers for NVIDIA; rely on Fedora/RPM Fusion repositories. - Privileged Operations: Sudo commands must be clearly identified and communicated to the user. Do not hardcode passwords.
- Idempotency: Running actions multiple times must be safe and avoid duplicate config lines.
- Explicit Consent: Show the exact package or service changes first. Run scripts that mutate packages or services only after the user confirms; use
repair.shwithout--applyfor diagnosis.
Workflow Guide
1. Installation Workflow
When the user asks to "Install Hyprland" or "Setup Hyprland on Fedora":
- Execute
bash "$SKILL_DIR/scripts/detect-system.sh"andbash "$SKILL_DIR/scripts/detect-gpu.sh". - Execute
bash "$SKILL_DIR/scripts/preflight.sh"to verify Fedora release, network, package manager, and sudo access. - Execute
bash "$SKILL_DIR/scripts/backup.sh"to preserve any pre-existing configurations. - Show the package plan with
bash "$SKILL_DIR/scripts/install.sh" --dry-run; after explicit approval, executebash "$SKILL_DIR/scripts/install.sh"to install Hyprland, Wayland portal packages (xdg-desktop-portal-hyprland,xdg-desktop-portal-gtk), PipeWire/WirePlumber, terminal, launcher, status bar, and authentication agent. - Execute
bash "$SKILL_DIR/scripts/configure.sh"to write a clean, functional initial Hyprland config (~/.config/hypr/hyprland.conf) tailored to detected terminal/launcher and GPU environment variables. - Execute
bash "$SKILL_DIR/scripts/verify.sh"to ensure binaries, portal services, PipeWire, and login desktop entries (/usr/share/wayland-sessions/hyprland.desktop) exist and validate. - Present a summary report detailing installed packages, backup paths, and login instructions.
2. Repair Workflow
When the user asks to "Fix Hyprland", "Hyprland won't start", "No audio", "Screen sharing broken":
- Run
bash "$SKILL_DIR/scripts/detect-system.sh"and inspect system logs (journalctl -xe,journalctl --user -u xdg-desktop-portal). - Execute
bash "$SKILL_DIR/scripts/repair.sh"to report a missing Hyprland config, missing portal package, and inactive PipeWire/WirePlumber services. - Review the proposed changes with the user, then execute
bash "$SKILL_DIR/scripts/repair.sh" --applyonly after approval. The script can create a missing config, install missing portal packages, and enable or restart the checked user services; investigate other faults manually. - Execute
bash "$SKILL_DIR/scripts/verify.sh".
3. Update Workflow
When the user asks to "Update Hyprland":
- Run
bash "$SKILL_DIR/scripts/backup.sh". - Show the package plan with
bash "$SKILL_DIR/scripts/install.sh" --dry-run --updateand obtain approval.
…
Câu hỏi thường gặp
Hyprland là gì?
Hyprland là môi trường máy tính để bàn hiện đại, có thể tùy chỉnh cho Linux, tập trung vào tốc độ và giao diện đẹp mắt.
Tôi có cần kiến thức lập trình không?
Không, chương trình được thiết kế để bất kỳ ai cũng dùng được, kể cả khi không có kinh nghiệm lập trình. Nó tự động hóa các tác vụ phức tạp.
Nó có xóa hệ thống hiện tại của tôi không?
Không, chương trình được thiết kế để thêm Hyprland như một lựa chọn, mà không gỡ bỏ môi trường máy tính để bàn hiện có như GNOME hoặc KDE.
Chi tiết
Mô tả gốc của tác giả
Install, configure, verify, repair, update, and uninstall Hyprland on Fedora Linux with GPU-aware detection (NVIDIA/AMD/Intel).
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #4606
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.