Claude notifications: clicking one brings back the app Claude runs in
shellcheck / shellcheck (push) Successful in 18s

The hooks ran notify-send from inside Claude, so GNOME couldn't tell which
app the notification came from and clicking it did nothing. system/claude-notify
finds the terminal or editor among Claude's parent processes (or tmux's
client, or the Flatpak) and names it in the desktop-entry hint. The title
shows the project folder and the body Claude's own message.

claude.sh swaps the old notify-send hooks for it, only where they're still
the ones CoreDesktop wrote, and 70-claude.sh now runs claude.sh on every
update so existing machines get it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 07:52:09 -07:00
co-authored by Claude Opus 5.5
parent 774ff3f673
commit 4fb35397ee
5 changed files with 251 additions and 15 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ Besides installing software, CoreDesktop changes these settings. They're listed
- **Services turned on**: Avahi, Bluetooth, CUPS (printing), fwupd, GDM, NetworkManager, reflector (weekly), sshd, Docker, Tailscale, ufw and systemd-oomd. Your user is added to the docker group.
- **Snapper** (btrfs only): a config for / in /etc/snapper/configs/root.
- **NVIDIA** (only if it installs the driver): /etc/mkinitcpio.conf.d/nvidia.conf and NVIDIA's suspend services.
- **Your home folder**: lines in ~/.bashrc (CoreDesktop's shell setup, ~/.local/bin on PATH, the Bitwarden SSH agent), the commands in ~/.local/bin (update, refresh, sibling, version, configure, audit, report, webapp), GNOME extensions and their settings, Claude Code's ~/.claude/settings.json if you had none, a user timer that checks for updates, a user service that pauses your Core's email if its password stops working (see Configure), and Taildrop's user service and "Send with Tailscale" in ~/.local/share/nautilus/scripts (see Configure).
- **Your home folder**: lines in ~/.bashrc (CoreDesktop's shell setup, ~/.local/bin on PATH, the Bitwarden SSH agent), the commands in ~/.local/bin (update, refresh, sibling, version, configure, audit, report, webapp), GNOME extensions and their settings, Claude Code's ~/.claude/settings.json if you had none (and, if you did, its notification hooks while they're still the ones CoreDesktop wrote), a user timer that checks for updates, a user service that pauses your Core's email if its password stops working (see Configure), and Taildrop's user service and "Send with Tailscale" in ~/.local/share/nautilus/scripts (see Configure).
- **configure** adds more, only for what you set up: your Nextcloud files mount and network storage in /etc/fstab (SMB passwords in /etc/coredesktop/smb, SFTP mounts as user services named coredesktop-sftp-*), printers in CUPS, GNOME Online Accounts, passwords in your GNOME keyring, the backup timer, and for a security key or fingerprint, lines in /etc/pam.d/sudo and /etc/pam.d/polkit-1 (a copy of /usr/lib/pam.d/polkit-1), with security keys in /etc/u2f_mappings and the lid check in /usr/local/lib/coredesktop/lid-closed.
## Keep your System Up-to-date