by pangwolin (Posted Sat Oct 08, 2016 9:50 pm)
I found a possible workaround thanks for the awesome i3 window manager (i3wm). In the i3 config file:
This will effectively position it at position 0,0 and not 80,20 as it seems to be the default value in XnView.
For reference, here is what xprop gave me for the Export window:
See the "user specified location" and "size". Yeah.
Read Main Topic
I found a possible workaround thanks for the awesome i3 window manager (i3wm). In the i3 config file:
for_window [title="Export"] move absolute position 0 px 0 px, resize set 700 700
This will effectively position it at position 0,0 and not 80,20 as it seems to be the default value in XnView.
For reference, here is what xprop gave me for the Export window:
- Code: Select all
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_USER_TIME(CARDINAL) = 168175795
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MODAL
WM_TRANSIENT_FOR(WINDOW): window id # 0x1200004
XdndAware(ATOM) = BITMAP
WM_NAME(STRING) = "Export"
_NET_WM_NAME(UTF8_STRING) = "Export"
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x7, 0x26, 0x1e, 0x3, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG, _NET_WM_WINDOW_TYPE_NORMAL
_XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1
WM_CLIENT_LEADER(WINDOW): window id # 0x1200005
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
_NET_WM_PID(CARDINAL) = 29451
WM_CLASS(STRING) = "XnView", "XnViewMP"
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_CONTEXT_HELP
WM_NORMAL_HINTS(WM_SIZE_HINTS):
user specified location: 80, 20
user specified size: 1280 by 971
program specified minimum size: 614 by 342
window gravity: Static
See the "user specified location" and "size". Yeah.
Read Main Topic