stephane-13 / gnome-shell-extension-dim-background-windows

A gnome shell extension dimming background / non-focused windows
20 stars 2 forks source link

only functional on a main monitor in a dual monitor setup #16

Open khraibani-h opened 8 months ago

khraibani-h commented 8 months ago

i would like to ask if this is normal behavior to be only functional on a main monitor in a dual monitor setup. so even if on the extended monitor their is a full screen window open it will be greyed out.

stephane-13 commented 8 months ago

You should be able to control if the dimming effect is enabled on the primary monitor, on the secondary monitor(s) or both in the preferences ("Apply the dimming effect to:").

There is another option, which controls the dimming effect for maximized / full screen windows ("Apply the dimming effect to maximized windows:").

Let me know if those options don't work as expected with your setup and I'll have a look.

joser93 commented 2 months ago

Greetings

I am testing this on Gnome 46, recently installed the extension, but I found out that the Apply the dimming effect to the pramary monitor only, also affects my second monitor on extend configuration, and the second monitor only, does not apply any effect on both monitors. Maybe should be reviewed in a certain way?

If any information is needed to fix the issue, let me know.

stephane-13 commented 1 month ago

Would you be able to manually install version 16 - not yet published - from the link below?

This should fix the secondary monitor behavior, hopefully.

piobra commented 1 month ago

@stephane-13 I tried with version 16 but it gives an error that gschemas.compiled file is not found

stephane-13 commented 1 month ago

The file gschemas.compiled is created automatically when installing the extension with the gnome-extensions tool, like this:

gnome-extensions install dim-background-windows@stephane-13.github.com.shell-extension.zip --force

You should then find the file as ~/.local/share/gnome-shell/extensions/dim-background-windows\@stephane-13.github.com/schemas/gschemas.compiled

If you installed the extension manually - by unzipping the file - you won't get the gschemas.compiled file. It can then be created by running:

glib-compile-schemas ~/.local/share/gnome-shell/extensions/dim-background-windows\@stephane-13.github.com/schemas

But the recommended way is to use the gnome-extensions tool for the installation.

piobra commented 4 weeks ago

@stephane-13 thanks, it doesn't seem to have fixed the issue. It only dims the window on the secondary monitor when the window focused on primary is not maximized. When all windows are maximized it still only dims the primary monitor window but not vice versa. I enabled all dimming settings.