Code Monkey home page Code Monkey logo

aunetx / blur-my-shell Goto Github PK

View Code? Open in Web Editor NEW
1.4K 18.0 79.0 23.08 MB

Extension that adds a blur look to different parts of the GNOME Shell, including the top panel, dash and overview

Home Page: https://extensions.gnome.org/extension/3193/blur-my-shell/

License: GNU General Public License v3.0

Makefile 0.56% JavaScript 89.00% CSS 7.97% GLSL 2.47%
gnome overview-blur blur customization linux extension gnome-shell-extension gnome-extension gnome-shell

blur-my-shell's People

Contributors

a-parhom avatar a2leexx avatar albanobattistella avatar alexmelman88 avatar ali-x98 avatar architektapx avatar aunetx avatar bubi-luka avatar chtholine avatar comradekingu avatar corvettecole avatar dapigguy avatar dasjott avatar feyxiexzf avatar flipflop97 avatar ilyyuna avatar istvan-derda avatar jolupa avatar kbdharun avatar krlade avatar loveisfoss avatar ofseed avatar oscfdezdz avatar proton-penguin avatar sannoob3144 avatar shemgp avatar taylantatli avatar vikdevelop avatar weblate avatar yangyangdaji avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blur-my-shell's Issues

Every time i unlock the extension crashes

As the title says, every time i unlock the screen the extension crashes and the extension manger reports the error: "actor is null". I have to refresh the shell to re-enable the extension.
I'm using Arch Linux, Gnome 40 and not using Wayland.
log | grep "blur-my-shell":

log.txt

It's possible that this is a duplicate of Extension bug "actor is null" with a different theme #51

Brightness/sigma randomly reset

Hi,
@aunetx Thank your for you sweet extension; I really like using it!

However, I came across some bugs that I want to mention.

Extension version: Latest Master branch
System:

  • Ubuntu 20.10
  • gnome-shell 3.38.1 @ wayland session
  • GPU: AMD RX 580 @ amdgpu driver

In general, the settings in the Extension app do not seem to always apply correctly; I was not able to figure out a pattern yet. Although one problem always reappears: The Brightness level seems to reset to some "default" value after each reboot (or maybe also logout/login; would have to investigate), although in the extension's settings, the value is still at the chosen setting. See the Screenshot as an example:

image

I like it when the Brightness is all the way up to 1,00. However, after the reboot, the blur is much darker and seems therefore reset to some default value.

Could you investigate this behaviour? Maybe this problem also relates to the generell problem of settings that seem to "randomly" apply once set.

Thank you in advance! Keep up the great work!

Panel bottom in the center of the screen with multiple monitors

2021-04-26_14-25

For some reason, when I connect my second monitor, the bottom of the panel is in the center of the screen (or almost so).
My primary monitor has a resolution of 1366x768 and the secondary 1920x1080.
When I set my primary monitor to 1920x1080 the panel is not centered, but it is not blurred.

I apologize for my terrible English

Blur in Overview is only applied to one monitor

As you can see in the below screenshot, blur in the overview is applied properly to the primary monitor, but the secondary monitor retains the default gray background. Btw, I also was one of the first to build a blurring extension in Gnome, so I may come help out with the project if I have time :)

Screenshot-2021-04-20,16-14-53

Weird Visual Artifacts on Apps

I'm using this, master compiled from here on Ubuntu 20.10 with Gnome 3.38.
My machine has a Nvidia GPU, mentioning this for obv reasons.

Basically when I open an app like gnome tweaks for example and move the mouse around within the app, elements of the app that would animate completely disappear and I can see my background through the chunks that have disappeared.

I can't take a screenshot as it makes gnome shell crash, sorry :(

Add option to disable panel transparency to keep Adwaita's rounded corners

With the extension off and using the default Adwaita theme, my panel looks like this (notice it is black and has rounded corners):

image

Blur my Shell adds transparency and removes the special rounded corner style that Adwaita has:

image

In overview, the panel is transparent (or at least not black), with or without the extension:

image
image

That said, it would be really cool to be able to turn off the transparency when not in the overview.

Thanks a lot for the extension!

UI bug, the clock has a different background color

Hello,

Thanks for this extension, it's close to being really good.
Couple of UI bugs:
The clock on the top panel of Gnome shows a different darker background on that specific div, which ruins the blur effect unfortunately. Pic attached. Same for other artefact on top panel such as the window title.

Also on the dash-to-dock extension this works quite well but I got a weird bug where a shadow of the icon remains after I quit focus of it. It appears with the focus, that is expected, but remains after leaving the icon focus. Pic attached, in the pic my mouse is not hovering the chrome icon, yet it is shown as is.

I will have a look at the code as well, I'm a developer, but I don't really know how you made it work.

Anyway thanks a lot !!
Untitled
Screenshot from 2020-08-04 21-26-58

Blur fades away on multiple screens

Hi,
I have a laptop that is attached to an external monitor. When the external monitor is disabled or the laptop lid is closed (the external monitor is the main screen) everything works great.
The problem appears only when both screens are active. The dash is blurred correctly on the laptop screen:
2021-03-06_17-58
but on the external monitor blur fades away gradually (the left side of the dash has no blur at all), and the brightness value isn't correct either:
2021-03-06_17-57

OS Name: Ubuntu 20.04.2 LTS
Gnome Version: 3.36.8
Windowing System: X11

Introduce opacity preferences for the dock in overview

The dash usually has a light grey background, but with this extension, it's fully transparent. I think a semi-transparent background would look better. If this is intentional, I've also noticed that the background isn't restored after the extension is disabled.

Before enabling:

Bildschirmfoto von 2021-04-20 18-25-29

After enabling:

Bildschirmfoto von 2021-04-20 18-25-44

After disabling:

Bildschirmfoto von 2021-04-20 18-25-52

Blur effect not working - multi monitor.

Hello, I am opening bug as per request.

I have attached 2 screenshots showing an issue relating to setting a sigma value. When it is above 0 then you do not see a background on secondary monitor, at least for me.

Please see 2 screenshots:

Kind regards
Peter
Screenshot from 2021-04-21 15-16-33
Screenshot from 2021-04-21 15-16-26

Top panel gtk backgroud

Instead of just overriding background of the top panel I was wondering if you could leave the gtk background and add the blur behind it as you did for the dash, so then like I could set the transparency directly in the gtk css and then we could also have a shadow behind it which would be sweet.

Curved blur effects

The blur effect has a rectangular shape rather than the curved edges of the Dock and/or panel (as set by themes/shells).
Is this something that can be fixed so that the effect follows the shape of those items?

Thank you.

Blur rendering artifacts from nearby windows and AppIndicators

Hi, first of all, I want to say "blur-my-shell" looks to be a visually very pleasing gnome-shell extension in the making. Unfortunately, I've noticed some very glaring artifacts on the blurred top panel:

  1. By pressing or hovering over any AppIndicator, any created tint or another effect for it, remains rendered on the blurred top bar. An example is shown below:
    https://user-images.githubusercontent.com/26392564/115163810-e797af80-a0b3-11eb-9f19-55252d1872ae.mp4

  2. Window near the top panel creates artifacts as shown here:
    https://user-images.githubusercontent.com/26392564/115163856-26c60080-a0b4-11eb-9882-5882992694c0.mp4

  3. Clock once every minute renders a highlight around its text. Wanted to add some screenshots for this, but shell crashed while trying to take them :D

My setup:

  • Ubuntu 20.04
  • GNOME Shell 3.36.7
  • "blur-my-shell" version 6

Extension not working

`The settings of extension blur-my-shell@aunetx had an error:

TypeError: this._sigma_scale is null

Stack trace:

_init@/home/francisco97/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/prefs.js:31:9
buildPrefsWidget@/home/francisco97/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/prefs.js:133:12
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

`
I don't know what this means, I'm using Manjaro Gnome, the shell is 3.38 and all the gnome apps are version 40.

his.background_parent.get_parent() is null

It worked flawlessly in gnome40 until a few minutes ago, Fedora34 came up with a system update, and now blur-my-shell is disabled this.background_parent.get_parent() is null

Make overview brightness independent

I think we should be able to change the overview brightness, when I remove the dark overview it looks so much better. A more transparent gradient would also look good but I've only gotten it to be all in or all out right now.

image
versus
image

Signals are not properly disconnected, leading to duplicate callbacks

It seems to me that if you call disable() in panel.js, it won't actually disconnect the signals at:

this.connections.connect(Main.panel, 'notify::height', () => {
until the extension calls disconnect_all().

This would cause a potential bug where if a user were to disable and re-enable the panel setting it would create additional connections which has a performance implication.

It seems to me like the solutions to this at a glance would be to delete and recreate the _panel_blur object upon disable, disconnect the signals manually, or provide some kind of interface with the Connections class to disable all signals from a particular source (e.g. panel class). I am looking in to this as we speak.

Can't activate extension / Fedora 34 beta

Hello,

facing the following issue while trying to activate the extension after installing:

Gtk.BuilderError: /home/user/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/prefs.ui:18:36 Invalid property: GtkGrid.border_width

Stack trace:
  _init@/home/janus/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/prefs.js:28:17
  wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:83:27
  buildPrefsWidget@/home/janus/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/prefs.js:13:18
  _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:209:40
  OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
  asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
  run@resource:///org/gnome/gjs/modules/script/package.js:206:19
  start@resource:///org/gnome/gjs/modules/script/package.js:190:8
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
  

Using Fedora 34 Beta & Gnome 40

Floating Dock Blur

As of now, this blur takes the shape of a normal dock, and adapts itself to dash to dock's settings. There is an extension that I particularly love to use, called Floating Dock. However Blur My Shell doesn't like it. I would appreciate it if you could add floating dock mode, where you can add rounded corners, and allow it to float off the bottom of the screen.

Compatibility with dash-to-panel

Hi,
@aunetx Thank your for you sweet extension; I really like using it!

However, I came across some bugs that I want to mention.

Extension version: Latest Master branch
System:

Ubuntu 20.10
gnome-shell 3.38.1 @ wayland session
GPU: AMD RX 580 @ amdgpu driver

In order to improve productivity of my gnome-shell experience, I use the dash-to-panel extension as my daily driver (see https://github.com/home-sweet-gnome/dash-to-panel).

I mainly found two problems here:

  1. When using your extension in combination with dash-to-panel extension, I way able to only once have the panel blurred aswell. However, when deactivating dash-to-panel, the "default" gnome-shell panel was displayed blurred as it should.

  2. The one time I was able to get blur combined with dash-to-panel's panel to work (unfortunately could not reproduce it), the panel was blurred only on my main screen; the panel on the secondary screen did not get blurred.

Could you investigate this behaviour? Maybe this problem also relates to the generell problem of settings that seem to "randomly" only randomly apply once set (see #9 for details). It would be great whether the problem resides in your extension's code or maybe in dash-to-panel's.

Thank you in advance! Keep up the great work!

Error: PrefsWidget is already registered

Hi! I have installed the extension on a fresh Fedora 34 install with GNOME 40, and although it works fine, i can't get to the extension preferences. When i try to open the configs dialog, i see this message:

Error: Type name PrefsWidget is already registered

Am I doing something wrong, or it is a bug?

Stack trace:

Error: Type name PrefsWidget is already registered

Stack trace:
  _init/GObject.Object._classInit@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:444:27
  _init/Gtk.Widget._classInit@resource:///org/gnome/gjs/modules/core/overrides/Gtk.js:74:32
  registerClass@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:78:22
  @/home/dave/.local/share/gnome-shell/extensions/blur-my-shell@aunetx/prefs.js:10:29
  _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:206:33
  OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
  asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
  run@resource:///org/gnome/gjs/modules/script/package.js:206:19
  start@resource:///org/gnome/gjs/modules/script/package.js:190:8
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
  

Information exchange with gnome-shell-extension-blyr

Hi,
@aunetx Thank your for you sweet extension; I really like using it!

This time no bug, just a recommendation:

There is another extension "in the market" for quite some time now and its latest branch also has enablement for gnome-shell 3.38 (so it works for gnome-shell 3.38): gnome-shell-extension-blyr (https://github.com/yozoon/gnome-shell-extension-blyr).

Maybe both of you can benefit from each other's code ๐Ÿ‘

Keep up the great work!

Dash to Panel transparency not respected

The transparency settings of dash to panel should be either modified or not. Currently dash to panel needs to be manually set to transparent for blur to be seen, and when panel blur is disabled in blur-my-shell, it gets set to the original color regardless of if transparency is enable in dash to panel or not. This needs to be fixed eventually (low priority)

An option to select different background

Hello,
would be possible to have an option to select a different background (image) for behind the workspaces and app launcher (but not on thumbnails picker)?

Unable to lock screen

When this extension is turned on I can't lock the screen. The title bar and dock still work but i can't interact with running programs anymore, however they do still work

OS: Pop os 20.04 (based on Ubuntu 20.04)

Blur breaks when switching wallpapers

The desktop blur breaks when switching wallpapers. I noticed it because I use an automatic wallpaper switcher extension like Random Wallpaper or Bing Wallpapers. Every time it syncs, it breaks the desktop blur.

Support for Gnome 40

The extension still does not support Gnome 40:

  • no GTK4 preferences windows
  • no idea how it looks in it, as overview/dash changed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.