Skip to content

ubitux/WindowTitleHack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WindowTitleHack

This project is meant to prevent applications from changing their window title. It is useful for tools looking at this property, such as OBS Studio (typically with the builtin Automatic Scene Switcher) when used in combination with tools that change their title bar all the time (Firefox, Krita, …).

See this blog post for more details.

Building

meson setup builddir
meson compile -C builddir

Usage

LD_PRELOAD="builddir/libwth.so" WTH_TITLE="Krita4ever" krita

Known limitations

  • Only supports X11 and XCB (no Wayland support yet)
  • Some applications may be strict with regards to LD_PRELOAD, typically Chromium, so it won't work with those
  • All the windows are going to have the same title (splash screens, popups, menus, etc)
  • Depending on the API used by the target application, UTF-8 and multibytes strings may not work as expected

About

Hack Window Titles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published