Make xzoom float in i3wm
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I'm trying to configure i3 so that xzoom
is always launched in floating mode.
The problem is that xzoom's window does not have a WM_CLASS
and its WM_NAME
is not set at window creation, but after a small delay.
Here is what the properties look like for the first few ms:
$ xzoom & sleep .01; xprop -id 0x2200001
_NET_WM_DESKTOP(CARDINAL) = 0
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_ICON_NAME(STRING) = "xzoom"
As you can see, the only thing that tells it apart is the WM_ICON_NAME
.
After a few ms the title is added:
$ xprop
WM_NAME(STRING) = "xzoom x4"
_NET_WM_DESKTOP(CARDINAL) = 0
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_ICON_NAME(STRING) = "xzoom"
If I match the window using WM_NAME
, the screen flashes horribly, as the other windows are re-arranged before falling back to their positions:
for_window [title="xzoom*"] floating enable
I tried looking for a command criterion that would look at the WM_ICON_NAME
, but I couldn't find any.
Is there an alternative way to start this program in floating mode?
x11 i3
add a comment |Â
up vote
1
down vote
favorite
I'm trying to configure i3 so that xzoom
is always launched in floating mode.
The problem is that xzoom's window does not have a WM_CLASS
and its WM_NAME
is not set at window creation, but after a small delay.
Here is what the properties look like for the first few ms:
$ xzoom & sleep .01; xprop -id 0x2200001
_NET_WM_DESKTOP(CARDINAL) = 0
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_ICON_NAME(STRING) = "xzoom"
As you can see, the only thing that tells it apart is the WM_ICON_NAME
.
After a few ms the title is added:
$ xprop
WM_NAME(STRING) = "xzoom x4"
_NET_WM_DESKTOP(CARDINAL) = 0
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_ICON_NAME(STRING) = "xzoom"
If I match the window using WM_NAME
, the screen flashes horribly, as the other windows are re-arranged before falling back to their positions:
for_window [title="xzoom*"] floating enable
I tried looking for a command criterion that would look at the WM_ICON_NAME
, but I couldn't find any.
Is there an alternative way to start this program in floating mode?
x11 i3
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm trying to configure i3 so that xzoom
is always launched in floating mode.
The problem is that xzoom's window does not have a WM_CLASS
and its WM_NAME
is not set at window creation, but after a small delay.
Here is what the properties look like for the first few ms:
$ xzoom & sleep .01; xprop -id 0x2200001
_NET_WM_DESKTOP(CARDINAL) = 0
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_ICON_NAME(STRING) = "xzoom"
As you can see, the only thing that tells it apart is the WM_ICON_NAME
.
After a few ms the title is added:
$ xprop
WM_NAME(STRING) = "xzoom x4"
_NET_WM_DESKTOP(CARDINAL) = 0
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_ICON_NAME(STRING) = "xzoom"
If I match the window using WM_NAME
, the screen flashes horribly, as the other windows are re-arranged before falling back to their positions:
for_window [title="xzoom*"] floating enable
I tried looking for a command criterion that would look at the WM_ICON_NAME
, but I couldn't find any.
Is there an alternative way to start this program in floating mode?
x11 i3
I'm trying to configure i3 so that xzoom
is always launched in floating mode.
The problem is that xzoom's window does not have a WM_CLASS
and its WM_NAME
is not set at window creation, but after a small delay.
Here is what the properties look like for the first few ms:
$ xzoom & sleep .01; xprop -id 0x2200001
_NET_WM_DESKTOP(CARDINAL) = 0
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_ICON_NAME(STRING) = "xzoom"
As you can see, the only thing that tells it apart is the WM_ICON_NAME
.
After a few ms the title is added:
$ xprop
WM_NAME(STRING) = "xzoom x4"
_NET_WM_DESKTOP(CARDINAL) = 0
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
WM_ICON_NAME(STRING) = "xzoom"
If I match the window using WM_NAME
, the screen flashes horribly, as the other windows are re-arranged before falling back to their positions:
for_window [title="xzoom*"] floating enable
I tried looking for a command criterion that would look at the WM_ICON_NAME
, but I couldn't find any.
Is there an alternative way to start this program in floating mode?
x11 i3
edited Oct 21 '17 at 17:27
Thomas
3,62141124
3,62141124
asked Oct 21 '17 at 12:58
Tobia
234111
234111
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f399540%2fmake-xzoom-float-in-i3wm%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password