Skip to content

Instantly share code, notes, and snippets.

@penbuvt
Created February 22, 2024 00:56
Show Gist options
  • Select an option

  • Save penbuvt/5fce7d3c85442d5b8dc4961a8fa96dbe to your computer and use it in GitHub Desktop.

Select an option

Save penbuvt/5fce7d3c85442d5b8dc4961a8fa96dbe to your computer and use it in GitHub Desktop.
#!/bin/sh
# prevents input lag caused by fcitx
unset GTK_IM_MODULE
unset QT_IM_MODULE
unset XMODIFIERS
exec /usr/bin/wine "$@"
@penbuvt
Copy link
Author

penbuvt commented Feb 22, 2024

While testing out WinDepth for a stream, I found out that fcitx caused input lag in Wine. Unsetting the XMODIFIERS environment variable when running Wine seemed to fix it, so I made this wrapper script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment