4/20/07: The original post was written while I'll was running Edgy. Using the frostwire version included in Feisty Fawn I don't experience the blank window issue, and can run it normally. I suspect this is because of the newer of java it depends on resolves the issue that caused this in the first place. I will keep these instructions on here for historical purposes.
Before attempting this howto, verify that this is the issue you are having. This specific issue occurs with frostwire when running the Emerald window manager that is part of Beryl. Within the beryl manager, if you change the window manager to something other than Emerald frostwire functions properly. This workaround launches a separate nested X session for frostwire within your X session and uses blackbox as the window manager for the session. I am running (K)Ubuntu Edgy, frostwire-4.13.1, XGL, beryl-syn, fglrx.
1. Get the prerequisite packages out of the universe repository
2. Edit /usr/bin/frostwire with your favorite text editorCode:sudo apt-get install blackbox sudo apt-get install xserver-xephyr
Ubuntu users
Kubuntu usersCode:gksu gedit /usr/bin/frostwire
3. Modify the contents of the /usr/bin/frostwire file to make it look something like the script below. You can change the screen dimensions to your liking, frostwire will not be able resize past the size listed here.Code:kdesu kate /usr/bin/frostwire
4. After launching frostwire change the option "System Tray" to "Shutdown Immediately" located under Tools -> Options. This is done because blackbox does not have a systray.Code:Xephyr :2 -ac -screen 950x600 & export DISPLAY=:2 blackbox & bash /usr/lib/frostwire/runFrostwire.sh killall Xephyr
You can apply this workaround with other Java applications that experience this issue running under Emerald.
Credits for the original solution go to superpat for his posting on blogs.sun.com
Bookmarks