13 coaches online • Server time: 06:59
* * * Did you know? The oldest player is debog with 649 games played.
Log in
Recent Forum Topics goto Post Secret League Old Wo...goto Post Creating a custom to...goto Post ramchop takes on the...
Grod
Last seen 1 hour ago
Grod (5326)
Overall
Star
Overall
Record
18/1/8
Win Percentage
69%
Archive

2019

2019-08-23 11:20:00
rating 6
2019-03-12 00:58:03
rating 6

2015

2015-10-27 10:32:16
rating 5.9

2014

2014-02-08 00:30:22
rating 6

2011

2011-07-27 21:11:31
rating 4
2011-05-04 15:11:24
rating 5.7

2010

2010-09-15 15:47:47
rating 5.7

2009

2009-05-04 18:00:16
rating 5.6
2011-05-04 15:11:24
38 votes, rating 5.7
Gnome FFC problem solved!
For users of Gnome, there are problems with a bar covering the lower part of the window. Do this to finally solve the problem! This will work even if you upgrade java. You don't have to start a session under the evil KDE or any other crappy window manager, you can keep using your beloved Gnome desktop manager.

1. Open a terminal.
2. Create a file in your /home/username/bin directory called "javaws_ffc".
3. Edit the file and add the following lines (ok this is retarded, the text keeps getting replaced with HTML escaped version, but that does not display properly, looking for a fix):

#!/bin/bash
# This file is to play FFC under Gnome.
unset -v GNOME_DESKTOP_SESSION_ID
javaws "$@"

4. Save and close the file. In the terminal type "chmod 755 javaws_ffc" (without the ").
5. Finally, we need to tell the system to open jnlp files with the new script. Download a jnlp file by clicking on a spectate link. Right click on file and select "properties". Select "Opens With", then "Add", "Use a Custom Command", then enter /home/username/bin/javaws_ffc in the box. Add it. Then make sure it is selected in the list of applications to open ffb.jnlp. This works under Google Chrome / Chromium for sure.
6. If you are using firefox, first follow step 5. Next, if you have already set the application to use for java web start programs you need to change it. Open firefox. Navigate to Edit->Preferences->Applications. Scroll down to "Java Web Start Application", then for the corresponding "Action" on the right, select "Use java_ffc" from the list if it exists, or "Use Other" and navigate to the script manually.

You should be done.

Note that with Chromium there is a problem with xdg-utils that it fails to open files with spaces in them if no desktop environment is specified. Because Chromium saves copies of files with spaces, you may need to delete the existing ffb.jnlp files before you can download and open a new one. This is a known bug with xdg-utils which should be fixed in an update or there are patches available to do so yourself.

Note also that with the combination of the Unity interface and OpenJDK, this method may not work. Upgrade to Sun (now Oracle) Java and it will work again. You may need to Google how to do this, because Sun java is no longer included in Linux repositories thanks to restrictions from Oracle.
Rate this entry
Comments
Posted by Cloggy on 2011-05-04 15:56:36
I have absolutely no idea what any of that means, but I rated it 6 anyway because it sounds like good news somehow.
Posted by Woodstock on 2011-05-04 18:18:42
lol@Cloggy
But yeah, that is the message!
Posted by truckerpunk on 2011-05-04 23:19:18
I was actually really excited about this, but I made the script, and told the system to run *.jnlp-files through the script without luck. =(
Running Ubuntu 11.04 with the unity interface (not too fond of it), but that sits on top Gnome 2.x so I hoped it would work anyways... I was wrong.
Glad to hear you solved it for you system though, Grod. I'll have to try it in the classic layout, but I doubt it will change anything. Good work anyways.
Posted by Grod on 2011-05-05 11:16:22
OK I updated the instructions to include Firefox (I was using Google Chromium so I didn't check firefox). If you do the above, it should work also under firefox (it does for me).

I have exactly the same OS as truckerpunk and I have also done this under OpenSUSE, so it does work.
Posted by truckerpunk on 2011-05-05 14:53:28
It does work through Chrome for sure. I must have messed something up, in the first try. Strange as I didn't alter the script before I tried it with Chromium. No graphical glitches with the script, but I experience sound lag, and sound being cut-off instead now. Not supposed to be easy I guess... I usually run the client with a Pulseaudio wapper, this might be the problem now. I'll stick with the white bar, as it is less annoying than the sound issues I get.
Posted by truckerpunk on 2011-05-05 15:02:34
I must in fact have something to do this the Pulseaudio wrapper. I almost always listen to music from my computer, but I just tried to turn it off while spectating a game and the sound issues stopped. So now to find out haw to add the pulseaudio wrapper to the script too...

I usually alter my java web start to run through this script to make sound work:

#!/bin/bash
padsp /usr/lib/jvm/java-6-sun/jre/bin/java.bin "$@"
Posted by Lakrillo on 2011-05-06 08:57:06
Great that it finally is solved. I don't think we can do anything in the client to solve this issue, as it seems like a gnome setting thing.
And regarding people that don't know how to do config-files and stuff like that, in that case you should not be running Linux in the first place i would say.

Great find Grod and you others who was involved.
Posted by koadah on 2011-07-26 20:12:37
\o/ Thanks Grod!
Posted by Nhero on 2011-11-13 16:06:33
Thanks!
Posted by Avangorok on 2011-11-29 15:26:57
Thanks! This worked perfectly for me.

If this could be added to the Linux section of
http://fumbbl.com/help:InstallingClient
it would sure help and be in a place that people would look.
Posted by Avangorok on 2011-11-29 15:30:23
That link was a wiki, I edited it with a link to this page.
Posted by Cocinero on 2011-12-16 05:08:13
Thanks you very much, really solve the problem and could forget about Xfce.