Results 1 to 9 of 9

Thread: HOWTO: My workaround for Frostwire, Beryl, and a blank window

  1. #1
    Join Date
    Sep 2006
    Location
    Sol/Earth, MW, Univ 43325
    Beans
    27
    Distro
    Ubuntu

    Lightbulb HOWTO: Workaround for Frostwire, Beryl, and a blank window

    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
    Code:
    sudo apt-get install blackbox 
    sudo apt-get install xserver-xephyr
    2. Edit /usr/bin/frostwire with your favorite text editor

    Ubuntu users
    Code:
    gksu gedit /usr/bin/frostwire
    Kubuntu users
    Code:
    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.
    Code:
    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 for his posting on blogs.sun.com
    Last edited by mia1dolfan; April 21st, 2007 at 02:04 AM. Reason: Issue has been resolved

  2. #2
    Join Date
    Aug 2005
    Location
    Chilangolandia!
    Beans
    49

    Re: HOWTO: Workaround for Frostwire, Beryl, and a blank window

    Hello! Check the script on this thread, is easier and works!

    http://ubuntuforums.org/showthread.p...eryl+frostwire
    #!/bin/bash
    export AWT_TOOLKIT=MToolkit
    export HOSTNAME=localhost
    /usr/bin/frostwire

    save as whatever you want, chmod +x, and run.
    Last edited by DREMA; December 25th, 2006 at 03:59 AM.

  3. #3
    Join Date
    Sep 2006
    Location
    Sol/Earth, MW, Univ 43325
    Beans
    27
    Distro
    Ubuntu

    Re: HOWTO: My workaround for Frostwire, Beryl, and a blank window

    I tried that originally and it didn't work for me. The error I get is listed below after declaring AWT_TOOLKIT.

    TRAY_TOOLTIP:::FrostWire
    Error: Couldn't find per display information

  4. #4
    Join Date
    Jun 2006
    Location
    Sunny South Florida
    Beans
    93
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: My workaround for Frostwire, Beryl, and a blank window

    Quote Originally Posted by mia1dolfan View Post
    I tried that originally and it didn't work for me. The error I get is listed below after declaring AWT_TOOLKIT.

    TRAY_TOOLTIP:::FrostWire
    Error: Couldn't find per display information
    Same here....so thanks for the workaround! I was trying to figure out how to do something like this. That's what's good about these forums...if one method may not work, there are usually other methods posted to help.
    "Education is the most powerful weapon which you can use to change the world." - Nelson Mandela

  5. #5
    Join Date
    Jun 2006
    Location
    Sunny South Florida
    Beans
    93
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: My workaround for Frostwire, Beryl, and a blank window

    As a followup both methods are working for me (after installing blackbox and xephyr?). So go figure!
    "Education is the most powerful weapon which you can use to change the world." - Nelson Mandela

  6. #6
    Join Date
    May 2006
    Location
    Toronto, Ontario
    Beans
    30
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Workaround for Frostwire, Beryl, and a blank window

    This method worked for me. Thanks!
    Nick Presta

  7. #7
    Join Date
    Jun 2006
    Beans
    53

    Re: HOWTO: My workaround for Frostwire, Beryl, and a blank window

    For the export AWT_TOOLKIT=MToolkit command to work you have to have libgcj7-awt installed.
    So to install:
    Code:
    sudo apt-get install libgcj7-awt
    This worked for me.

    Im guessing its using something from GCC. Works anyway.

  8. #8
    Join Date
    Sep 2006
    Location
    Sol/Earth, MW, Univ 43325
    Beans
    27
    Distro
    Ubuntu

    Question Re: HOWTO: My workaround for Frostwire, Beryl, and a blank window

    I installed libgcj7-awt and still received the same error message as described in one of prior posts.
    Last edited by mia1dolfan; April 21st, 2007 at 01:52 AM.

  9. #9
    Join Date
    Jul 2006
    Location
    London
    Beans
    55

    Re: HOWTO: My workaround for Frostwire, Beryl, and a blank window

    As of today it's happening again in Feisty

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •