You are not logged in.

#1 2020-11-09 07:27:04

dcaspar
Member
Registered: 2020-08-12
Posts: 51

GTK windows display across multiple monitors

i'm using a window manager (dwm) instead of a graphical desktop environment. however, some applications launch gui windows that i would like to change the look of. one particular problem is downloading a file (same in firefox or brave), the window that is launched is oversized (it stretches across two monitors) and light themed, which doesn't suit the rest of my set up.
after some reading on the wiki i figured the look of these windows was being set by my gtk theme. neofetch was reporting that i was using adwaita gtk2, this makes sense as the arch wiki mentions this is set as default.
i installed materia via pacman (just to try an alternative out) and updated the relevant files.

/usr/share/gtk-2.0/gtkrc

gtk-icon-theme-name = "materia"
gtk-theme-name = "materia"
.config/gtk-3.0/settings.ini

[Settings]
gtk-theme-name=materia
gtk-applicaiton-prefer-dark-theme=true
gtk-cursor-theme-name=xcursor-premium

now neofetch reports the theme as "materia [GTK2/3]" but the same problem still persists. nothing appears to have changed.
was i wrong in thinking the look of these windows is set by the GTK theme or did i change the theme incorrectly while tricking neofetch?
any help would be really appreciated.

Last edited by dcaspar (2020-11-09 08:18:09)

Offline

#2 2020-11-09 07:38:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,363

Re: GTK windows display across multiple monitors

Case matters, you need to precisely define the theme name as it's stored in the filesystem. Use Materia

Offline

#3 2020-11-09 07:56:16

dcaspar
Member
Registered: 2020-08-12
Posts: 51

Re: GTK windows display across multiple monitors

thanks!
that was it. gtk theme appears to have changed correctly now.
however this didn't solve the issue of pop up windows displaying across multiple monitors.
attached is a screenshot.
any clues as to how to trouble shoot this would be great.
could it be a randr issue?

2020-11-09-084636-1680x1818-scrot.png

Last edited by dcaspar (2020-11-09 07:58:56)

Offline

#4 2020-11-09 08:18:41

dcaspar
Member
Registered: 2020-08-12
Posts: 51

Re: GTK windows display across multiple monitors

updated post title to reflect issue.

Offline

Board footer

Powered by FluxBB