-
Notifications
You must be signed in to change notification settings - Fork 72
Gui Window Size
When SAVESETSIZE
is enabled in the Global Config (f.e. via Global Menu) (by default it is) resolution changes of every steamtinkerlaunch window are automatically saved
when the corresponding window is closed. This function requires xwininfo to work.
The config files are either used globally or per game, depending on the configuration:
If USEGENGUICFG
is disabled, the window sizes are stored per game into $STLGUIDIR/${SCREENRES}/${AID}/$WINDOWTITLE.conf
using $STLGUIDIR/${SCREENRES}/template/$WINDOWTITLE.conf
as template,
if USEGENGUICFG
is enabled only $STLGUIDIR/${SCREENRES}/template/$WINDOWTITLE.conf
is used.
If the template config $STLGUIDIR/${SCREENRES}/template/$WINDOWTITLE.conf
is not available yet as well, steamtinkerlaunch checks if it has an own systemwide
template in /usr/share/steamtinkerlaunch/guicfgs/${SCREENRES}/template/$WINDOWTITLE.conf
.
If that is missing too, a basic initial window size is guessed based on the current screen resolution.
As the user-customized size is stored at once, this should me more than enough.
To sum it up: every possible Window by default has an own configfile per game and resolution, which is updated automatically when it changes (only width&height for now)
To save the resolution of the currently open window as template, the Tray-Icon can be used. After the button was activated, the template will be updated, as soon as the window is closed.
As usual windows resize either via window decoration or by holding Left-Alt while resizing the window while holding the right mouse button. The window decoration can be toggled in the Global Menu or directly in the Global Config
see also Gui-Columns
Feel free to contribute missing or improved templates f.e. for other resolutions
Quick Links
- Changelog
- Installation
- Usage
- Main Menu
- Global Menu
- Tray Icon
- Modding
- Platform-Specific Documentation
- Tweaks
- Utilities
- Advanced