jeffshee / gnome-ext-hanabi

Live Wallpaper for GNOME
GNU General Public License v3.0
723 stars 21 forks source link
gnome gnome-shell-extension live-wallpaper video-wallpaper wallpaper

Live Wallpaper for GNOME

Hanabi 花火【はなび】(n) fireworks

( ・ω・)o─━・*:'・:・゜'・:※

Gnome Shell Extension - Hanabi

If you like my project, please consider buying me a coffee!! (⁎˃ ꇴ ˂⁎)ッ

Github-sponsors Ko-Fi BuyMeACoffee

Also please don't forget to hit that star button! 🌟
Feel free to open an issue for problems or suggestions 🤗
Your support is truly appreciated!

Join our Discord!

Discord

Demo 📽️

Please click on the image to view (redirect to YouTube)

Wallpaper used in demo

GNOME Shell Support

Version ≤41 42 43 44 45 46
Status

See also the section Troubleshooting, for version-specific known issues.

Installation

  1. Clone the repo
git clone https://github.com/jeffshee/gnome-ext-hanabi.git
git clone https://github.com/jeffshee/gnome-ext-hanabi.git -b legacy
  1. Run the installation script (Require meson)
cd gnome-ext-hanabi
./run.sh install
  1. Restart GNOME Shell
  2. Enable the Hanabi extension
  3. Choose your video wallpaper in the extension preference window

Distro-specific Guides

Troubleshooting

  1. The video doesn't play / The extension is enabled but nothing happens
    The GTK4 media backend is not pre-installed on some distributions (such as PopOS).

    To install the backend:
    sudo apt install libgtk-4-media-gstreamer

  2. High CPU usage during video playback (proprietary NVIDIA)
    Your hardware acceleration may not work properly, see this issue.

    To delete the GStreamer cache:
    rm -rf ~/.cache/gstreamer-1.0/
    After that, check if gst-inspect-1.0 nvcodec reports all its features.

  3. The GNOME Shell keeps crashing after enabling Hanabi, help!
    You can try to disable the extension from tty ( Ctrl + Alt + F3 ):

    gnome-extensions disable hanabi-extension@jeffshee.github.io

Optimization

Hanabi extension can utilize clappersink from Clapper for the best performance if installed.

For this to work, Clapper must be installed from the package manager and not from Flatpak/Snap.

Performance comparison - With `clappersink` ![](https://user-images.githubusercontent.com/25530920/190872365-f1cefa30-6e11-40e4-bf99-1b79c3790d6b.png) - Without `clappersink` (Using `Gtk.MediaFile` as default fallback) ![](https://user-images.githubusercontent.com/25530920/190872366-7fce5703-2310-4c68-81c7-f17a8a15019f.png)

Advanced Customization

For more advanced customization, learn how to write scripts for Hanabi extension!
Check out the scripting guide for detailed instructions and examples.

Get Involved 🚀

Contributors are welcome! Let's make Hanabi extension better together~
If you're interested in translating, you can help on Hosted Weblate.

Translation Status

Translation status

Contributors ✨

Made with contributors-img.
Icons made by Freepik from Flaticon