The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

Floating windows with for_window

asked 2014-03-28 16:05:02 +0000

whjms gravatar image

I'm trying to float all GNOME system config windows using for_window, but it doesn't seem to have any effect:

~/.i3/config:

for_window[class="gnome-control-center"] floating enable

Running xprop on the control center window yields

WM_CLASS(STRING) = "gnome-control-center", "Gnome-control-center"

Restarting i3 and launching gnome-control-center doesn't change anything, as the control center is still tiled. I've also tried floating gnome-terminal, just for testing with

for_window [class="gnome-terminal"] floating enable

to no effect.

Interestingly, the example in the user's guide with xterm works. Is it a GNOME-related issue?

I'm running i3 4.7.2 on Ubuntu 13.10, installed via the repo listed on the site (deb http//debian.sur5r.net/i3/ saucy universe) (I can't publish links so I left the ':' out of the source here).

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
2

answered 2014-03-29 08:47:38 +0000

joepd gravatar image

The userguide says:

The first part of the WM_CLASS is the instance ("irssi" in this example), the second part is the class ("URxvt" in this example).

Should you have any problems with assignments, make sure to check the i3 logfile first (see http://i3wm.org/docs/debugging.html). It includes more details about the matching process and the window’s actual class, instance and title when starting up.

So, try this as a matcher: "Gnome-control-center".

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-03-28 16:05:02 +0000

Seen: 791 times

Last updated: Mar 29 '14