You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何为GNOME中所有通知启用提示音

Hey there! I’ve been in your shoes before—scouring Google for ways to get GNOME to play a sound for every notification, only to hit dead ends. Let me share the methods that actually worked for me and other GNOME users.

Method 1: GNOME Tweaks (The Graphical Go-To)

This is the most straightforward option if you prefer a point-and-click interface:

  • First, install GNOME Tweaks if you don’t have it already. Open your terminal and run:
    sudo apt install gnome-tweaks (for Debian/Ubuntu-based distros; adjust the command for Fedora, Arch, etc.)
  • Launch GNOME Tweaks, then head to the Notifications tab.
  • Look for the toggle labeled Play sound for notifications and flip it on. If this works great—you’re done! If not (sometimes this setting can be finicky), move to the next method.
Method 2: Dconf Editor (Deep Graphical Tweaking)

Dconf lets you access more granular GNOME settings that might be hidden from Tweaks:

  • Install Dconf Editor with:
    sudo apt install dconf-editor
  • Open Dconf Editor and navigate to the path: /org/gnome/desktop/notifications/
  • Find the sound-enabled key and toggle it to On.
  • Bonus: If you want a custom notification sound, look for custom-sound-file and paste the full path to your preferred audio file (stick to .ogg or .wav formats for best compatibility).
Method 3: Terminal Commands (For CLI Enthusiasts)

If you’d rather skip the GUIs, these terminal commands will get the job done quickly:

  • Enable notification sounds with:
    gsettings set org.gnome.desktop.notifications sound-enabled true
  • Verify the setting is active by running:
    gsettings get org.gnome.desktop.notifications sound-enabled
    You should see true as the output.
  • To set a custom sound, use:
    gsettings set org.gnome.desktop.notifications custom-sound-file '/home/your-username/.local/share/sounds/custom-notification.ogg'
Quick Troubleshooting
  • Double-check your system’s sound settings: Make sure the Notification volume channel isn’t muted or turned all the way down (it’s separate from main volume!).
  • Disable GNOME Shell extensions temporarily: Some extensions (like notification managers) can override default sound behavior. Try turning them off one by one to spot the culprit.
  • Restart GNOME Shell: Press Alt+F2, type r, and hit Enter. This applies settings without needing a full system restart.

内容的提问来源于stack exchange,提问作者Cy8099

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 10:32:24