Page 1 of 1

Main Window Position data

Posted: Sat Jan 22, 2022 10:32 pm
by WimBonner
I'm running qBittorrent on a raspberry pi without running a window manager, and so I'm trying to figure out the format of the bytearray in the config file describing the default window position.

from: ~/.config/qBittorrent/qBittorrent.conf

[MainWindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\0\0\0\0\0$\0\0\a|\0\0\x4\x19\0\0\0\0\0\0\0$\0\0\a|\0\0\x4\x19\0\0\0\0\0\0\0\0\a\x80)

This is running on a 1920x1080 display, and comes close to filling the display, but there is space at both the top and bottom.

Can anyone tell me how this data is structured so I might be able to modify it for any particular screen size?