mia1dolfan
December 19th, 2006, 01:17 PM
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 (http://en.wikipedia.org/wiki/Beryl_(window_manager)). 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 (http://blackboxwm.sourceforge.net/AboutBlackbox) as the window manager for the session. I am running (K)Ubuntu Edgy, frostwire-4.13.1 (http://www.frostwire.com/blog/2006/11/21/try-frostwire-413-ubuntu-installer-now-with-bittorrent/), XGL, beryl-syn, fglrx.
1. Get the prerequisite packages out of the universe repository (http://ubuntuguide.org/wiki/Ubuntu_Edgy#How_to_add_extra_repositories)
sudo apt-get install blackbox
sudo apt-get install xserver-xephyr
2. Edit /usr/bin/frostwire with your favorite text editor
Ubuntu users
gksu gedit /usr/bin/frostwire
Kubuntu users
kdesu kate /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.
Xephyr :2 -ac -screen 950x600 &
export DISPLAY=:2
blackbox &
bash /usr/lib/frostwire/runFrostwire.sh
killall Xephyr
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.
You can apply this workaround with other Java applications that experience this issue running under Emerald.
Credits for the original solution go to superpat (http://blogs.sun.com/roller/page/superpat) for his posting (http://blogs.sun.com/superpat/entry/access_manager_7_1_beta#comment1) on blogs.sun.com
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 (http://en.wikipedia.org/wiki/Beryl_(window_manager)). 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 (http://blackboxwm.sourceforge.net/AboutBlackbox) as the window manager for the session. I am running (K)Ubuntu Edgy, frostwire-4.13.1 (http://www.frostwire.com/blog/2006/11/21/try-frostwire-413-ubuntu-installer-now-with-bittorrent/), XGL, beryl-syn, fglrx.
1. Get the prerequisite packages out of the universe repository (http://ubuntuguide.org/wiki/Ubuntu_Edgy#How_to_add_extra_repositories)
sudo apt-get install blackbox
sudo apt-get install xserver-xephyr
2. Edit /usr/bin/frostwire with your favorite text editor
Ubuntu users
gksu gedit /usr/bin/frostwire
Kubuntu users
kdesu kate /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.
Xephyr :2 -ac -screen 950x600 &
export DISPLAY=:2
blackbox &
bash /usr/lib/frostwire/runFrostwire.sh
killall Xephyr
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.
You can apply this workaround with other Java applications that experience this issue running under Emerald.
Credits for the original solution go to superpat (http://blogs.sun.com/roller/page/superpat) for his posting (http://blogs.sun.com/superpat/entry/access_manager_7_1_beta#comment1) on blogs.sun.com