A GNOME Shell extension that adds a blur look to different parts of the GNOME Shell, including the top panel, dash and overview.
Functionalities:
- apply a blur effect to different components of the shell:
- panel — compatible with Dash to Panel and Hide Top Bar
- overview
- Dash to Dock — however you can't have rounded corners
- application folders background
- workspace separation — useful with Desktop Cube
- window selector for screenshot
- lockscreen — to customize the already existing blur
- Window List extension
- applications can be blurred too — see Application blurring
- panel blur can be deactivated when a window is near it, for example in fullscreen
- components have either a static or a dynamic blur:
- static blur (generated once) is faster and more stable, used for Overview, Lockscreen, Screenshot
- dynamic blur (generated each frame) is more adapted to widgets which have components behind them, although it contains artifacts; used for Applications, Dash to Dock, Application folders, Window List
- the Panel can be configured to either use static or dynamic mode; I personally prefer static blur
- to prevent the artifacts from appearing with dynamic blur, the option Hack level permits you to select a behaviour:
- High performances totally disables the optimisations, making the blur look broken sometimes; but that can be mitigated when animations and windows shadows are disabled
- High quality fixes the blur as much as it can, at the expense of some performance penalty; but not more than 0.5% of CPU on my middle-range i5 so the difference may be unnoticeable
- Default is a mix of both, and quite recommended overall
- components using Static blur can also be added:
- a noise effect, which can help to either prevent color bending in older monitors, or for aesthetic purpose
- a color overlay, which can help to either increase readability, or... for aesthetic purpose :)
- and everything is configurable, for every component separately if wanted!
Blur my Shell is guaranteed to be compatible, in the sense of at least not to mess around, with the following extensions:
- Dash to Dock (configurable from Dash to Dock page)
- Dash to Panel (configurable from Panel page)
- Window List (configurable from Other page)
- Hide Top Bar (configurable from dedicated switch in Panel page)
- Just Perfection
- Panel Corners, although corners can't be blurred
- Burn my Windows, although nothing is blurred either
If you with to help me with this extension, there are quite a lot you can do!
You can help to translate the extension into your language, either by directly opening a pull request with the additions you've made, or by using Weblate!
To install the extension from source:
git clone https://github.com/aunetx/blur-my-shell
cd blur-my-shell
make install
You will then need to reload GNOME shell, for example by login out and in again, or under Xorg, alt+f2
and type r
.
To debug the extension, you can use Looking Glass (alt+f2
, type lg
); I stored the extension object in global.blur_my_shell
.
To see the extension logs, you can use:
# for debug logs (when Debug is activated in preferences)
sudo journalctl /usr/bin/gnome-shell | grep Blur my Shell
# for crash logs in GNOME shell
sudo journalctl /usr/bin/gnome-shell | grep blur-my-shell
# for crash logs in the extension's preferences
sudo journalctl /usr/bin/gjs | grep blur-my-shell
Just don't hesitate to open issues and pull requests, and sorry if I take some time to answer!
If you want to sponsor me, well thank you very much!
You can use either GitHub Sponsors or Ko-fi; and don't hesitate to ask for more specialized support if you need to!
Blur my Shell now supports providing blur to applications (formerly blur-provider).
This is a beta functionnality, however you can test it by either:
- entering the application's class name in the whitelist in the preferences
- under Xorg, you can type
xprop|grep WM_CLASS
, click on the app and paste the last name on the whilelist field
- under Xorg, you can type
- setting the Mutter hint
blur-provider
to test it, it will be resetted when the session is closed- under Xorg, you can do it by typing
xprop -f _MUTTER_HINTS 8s -set _MUTTER_HINTS blur-provider=sigma:60,brightness:0.6
, and with the sigma and brightness you want
- under Xorg, you can do it by typing
- integrating it with your application if you're the developper
- you must set the window's property
_MUTTER_HINTS
toblur-provider=sigma:...,brightness:...
; if you do not set them the application will use default blurring settings from Blur my Shell - for Electron applications, you can try building it with Glasstron
- you must set the window's property
In case you have problems with your dynamic timed wallpaper not being updated due to using third-party process to change the wallpaper, you can force the overview blur to be updated with the command:
gsettings set org.gnome.desktop.background picture-opacity 99 && gsettings set org.gnome.desktop.background picture-opacity 100
The current extension supports these GNOME Shell versions:
- 42 --
master
branch
Up to version 29, Blur my Shell supports GNOME Shell versions:
- 41 --
v29
tag - 40 --
v29
tag
Older GNOME Shell versions are supported up to Blur my Shell version 6, and by versions 17, 19 and 22:
- 3.38 --
pre_40
branch - 3.36 --
pre_40
branch
Much much love to:
- @swyknox for the awesome icon!
- @CorvetteCole for his awesome contributions, especially for the applications blur :p
- every contributor, and even those who open these ugly issues!!! Because that's maybe the most important of it all :)
Of course, I am really grateful to the people sponsoring my work, it is really cool to be supported like this!
And lastly, thank you, kind visitor -- this is a fun project to manage :)
This program is distributed under the terms of the GNU General Public License, version 2 or later.