A GNOME Shell extension that adds a toggle button to hide/show system tray application icons with smooth animations.
- 🎯 Toggle Button - Adds a convenient button to your top panel
- ✨ Smooth Animations - Icons slide in/out with elegant fade effects
- 🎨 Yaru Icons - Uses native Ubuntu/GNOME icons that match your theme
- 🔒 Smart Filtering - Only hides app tray icons, keeps system icons visible
- 🚀 Lightweight - Minimal resource usage, clean code
Tray Visible:
Tray Hidden:
- Clone the repository:
git clone https://github.com/szamski/gnome-tray-toggle.git
cd gnome-tray-toggle- Install the extension:
make install-
Restart GNOME Shell:
- X11: Press
Alt+F2, typer, press Enter - Wayland: Log out and log back in
- X11: Press
-
Enable the extension:
gnome-extensions enable tray-toggle@maciekVisit extensions.gnome.org and search for "Tray Toggle" (coming soon).
- Look for the toggle icon (→) in your top panel, to the right of the system menu
- Click the icon to hide application tray icons
- Icon changes to (←) when tray is hidden
- Click again to show the icons
Keyboard Shortcut: Not implemented yet (planned feature)
- GNOME Shell: 47, 48, 49
- Ubuntu: 25.10+ (Oracular Oriole)
- Tested on: Ubuntu 25.10 with Wayland
Currently, the extension works out of the box with no configuration needed. Future versions may include:
- Customizable keyboard shortcuts
- Animation speed settings
- Icon selection options
gnome-tray-toggle/
├── extension.js # Main extension code
├── metadata.json # Extension metadata
├── stylesheet.css # Custom styles
├── README.md # This file
├── LICENSE # GPL-3.0 license
├── Makefile # Build and install scripts
└── screenshots/ # Screenshots for documentation
# Install to local extensions directory
make install
# Create a distributable zip file
make zip
# Clean build artifacts
make cleanContributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Make sure you've restarted GNOME Shell (logout/login on Wayland)
- Check if the extension is enabled:
gnome-extensions list --enabled - View logs:
journalctl -f -o cat /usr/bin/gnome-shell
- Ensure you're running GNOME Shell 47 or later
- Check that AppIndicator extension is enabled:
gnome-extensions list --enabled | grep appindicator
The extension uses Clutter animations. If you experience issues:
- Check if animations are enabled in your system settings
- Try disabling other panel extensions that might conflict
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
- Icon animations inspired by Waybar's tray behavior on Hyprland
- Uses Yaru icon theme by Ubuntu Design Team
- Built with GNOME Shell Extension API
- Initial release
- Toggle button with smooth slide animations
- Smart filtering (hides only app icons, not system icons)
- Support for GNOME Shell 47-49


