gnome-script-launchers

仓库创建 2026年1月20日最近提交 20 天前SkillHot 收录 20 天前
▸ 精选理由

将项目脚本集中为可点按的启动项,对桌面自动化有直接帮助。

▸ 风险提示

会修改本地桌面入口与配置文件,操作前请备份并注意权限。

这个 Skill 做什么

为 Ubuntu/GNOME 创建、管理和故障排查脚本启动器与桌面入口。

把项目里的脚本做成 Ubuntu/GNOME 的桌面入口或 dock 按钮,或者汇总到一个用 Zenity 的控制菜单里,方便日常调用和故障排查。适用于想把零散命令变成可点的桌面操作、需要图标与快捷方式的场景。特点是把实际命令保留在项目中,.desktop 条目保持轻量,并兼顾 notify-send、update-desktop-database 等环境依赖。

▸ 展开 SKILL.md 英文原文

Use when creating, updating, troubleshooting, or organizing Ubuntu GNOME dock buttons, .desktop launchers, Zenity control menus, script shortcuts, launcher icons, or taskbar actions for commands stored across multiple projects.

自动化集成GNOME启动器.desktop通用
3
Stars
0
Forks
14
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/ton-anywhere/my-favorite-prompts/main/skills/gnome-script-launchers/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/ton-anywhere/my-favorite-prompts/main/skills/gnome-script-launchers/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# GNOME Script Launchers

## Overview

Create maintainable GNOME launchers that expose scripts as individual dock buttons or as actions in one Zenity control menu. Keep project commands in their projects and keep the desktop entry thin.

## Workflow

1. Inspect the desktop environment and dependencies: `zenity`, `notify-send`, and `update-desktop-database`.
2. Inventory each action, its absolute command path, interactivity, failure behavior, and destructive impact.
3. Read existing dispatcher and `.desktop` files before editing; preserve unrelated actions and user customization.
4. Store the dispatcher in the owning project and the launcher in `~/.local/share/applications/<id>.desktop`.
5. V
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有