This work-around has been sitting in my ~/bin for quite a while now, but I thought I should share it with the world…
If you’re using Hulu Desktop on Linux and you find that the window expands every time you go through a maximize/minimize cycle, the following script should help. It deletes the saved size each time you launch Hulu Desktop. Assuming you have ~/bin at the beginning of your PATH, save it as ~/bin/huludesktop. and mark it executable.
#!/bin/sh # Work around the ever-expanding window bug. sed -i "/^\(height\|width\|pos_\)/d" .huludesktop exec /usr/bin/huludesktop "$@"