Board index FlightGear Development New features

Simple FG GUI front-end for Linux

Discussion and requests for new features. Please note that FlightGear developers are volunteers and may or may not be able to consider these requests.

Re: Simple FG GUI front-end for Linux

Postby hamster » Wed Nov 03, 2010 8:26 pm

successfully tested fgo with python2.7
hamster
 
Posts: 26
Joined: Tue Sep 28, 2010 7:50 pm
Location: Germany
Callsign: hamster
Version: Git
OS: Arch Linux

Re: Simple FG GUI front-end for Linux

Postby hamster » Sun Dec 26, 2010 10:42 pm

Hi again! :mrgreen:

I ran into a small problem, when using terrasync:
"fgo" will not use the terrasync directory for the scenery, even when the checkbox "TerrySync" is enabled.

This is my ~/.fgo/config:
Code: Select all
--aircraft=b1900d
--airport=KSJC
--fg-root=/usr/share/FlightGear/data
--fg-scenery=/usr/share/FlightGear/data/Scenery
AI_SCENARIOS=
APT_DATA_SOURCE=0
FG_BIN=/usr/bin/fgfs
FG_WORKING_DIR=
FILTER_APT_LIST=0
LANG=de
TERRASYNC=1
TERRASYNC_BIN=/usr/bin/terrasync
TERRASYNC_PORT=5501
TERRASYNC_SCENERY=/homedir/.fgfs/terrasync
WINDOW_GEOMETRY=720x696
xxxxxxxxxxxxxxxxxxx INTERNAL OPTIONS ABOVE. EDIT CAREFULLY! xxxxxxxxxxxxxxxxxxxx


Is this my fault or the program`s?
hamster
 
Posts: 26
Joined: Tue Sep 28, 2010 7:50 pm
Location: Germany
Callsign: hamster
Version: Git
OS: Arch Linux

Re: Simple FG GUI front-end for Linux

Postby chris_blues » Mon Dec 27, 2010 10:21 am

I'm not sure. I've had similar problems, switching completely to my terrasync-folder works fine. Like
Code: Select all
***snip***
--fg-scenery=/media/myfiles/terrasync
***snip***
TERRASYNC_SCENERY=/media/myfiles/terrasync
***snip***
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian stable 64bit - i7 8x2.8GHz - 20GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
Retired
 
Posts: 1577
Joined: Mon May 03, 2010 2:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian stable 64

Re: Simple FG GUI front-end for Linux

Postby hamster » Tue Mar 01, 2011 10:16 pm

Hello everybody!

I was wondering, why there has not been any input from erobo since months, and why the development of fgo seemed to be stuck.
Well, to make it short, I sent an E-Mail to him and got the following answer (part of it):

I would not necessary call fgo dead, but definitely its development is
on hold for some time. I was planing to resume work on fgo in December,
or January, unfortunately quite serious twists and turns IRL does not
allow me to spend my time to develop fgo, or even to fly in FG. For now
I think I will not be able to resume fgo's development earlier than in
the summer :(


As I think fgo is really worth to be continued, I have taken over the development for the next time, until erobo will return, to keep the project "alive".
So please in the next future post your problems and ideas connected to fgo to me.

And even more important, lets hope erobo will return soon!

Regards
hamster
hamster
 
Posts: 26
Joined: Tue Sep 28, 2010 7:50 pm
Location: Germany
Callsign: hamster
Version: Git
OS: Arch Linux

Re: Simple FG GUI front-end for Linux

Postby chris_blues » Wed Mar 02, 2011 1:00 am

Good luck and a smooth transition hamster!

Actually I don't miss anything on FGo! You'll have to watch out, that you don't make it bigger and heavier than it has to be. That's it's strength, at least to me.

I find it 99% perfect! There were some ideas I had for erobo (prefetch scenery-button), which he could address for future releases, I don't know if he gave you his wish-list/to-do-list. Unfortunately I have absolutely zero experience with python etc. . I would try to help if I could. So, if there's something you need help with, I'm sure I'm not the only one who is watching this thread...

Too bad, Erobo, your life doesn't permit you to fly or develop on your own projects! I hope it'll get better! :) Good luck to you too!

I'm glad, there's life in this thing. I really like FGo! a lot! 8)

hamster wrote in Tue Mar 01, 2011 10:16 pm:lets hope erobo will return soon!

Copy that! :)
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian stable 64bit - i7 8x2.8GHz - 20GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
Retired
 
Posts: 1577
Joined: Mon May 03, 2010 2:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian stable 64

Re: Simple FG GUI front-end for Linux

Postby hamster » Wed Mar 02, 2011 9:46 pm

Thanks for your answer, Chris!

You'll have to watch out, that you don't make it bigger and heavier than it has to be.


I am definitly not going to overload FGo with new features, as I now have to concentrate on really getting into the code anyway.
FGo would not be the GUI frontend of my choice if efficiency were not important to me, so the first thing I will try is to improve the existing code, and fix things that do not work.

That's it's strength, at least to me.


Not only for you :wink:

I don't know if he gave you his wish-list/to-do-list.


Yes, I obtained the todo list with the latest code from erobo (and can tell you I found the scenery prefetch function there :) ), but as I said, at first I will concentrate on the existing features (what does not mean, I will neglect this list -- in fact some things there seem fairly easy to implement).

So thanks for encouraging me, I will do my best.

Regards
hamster
hamster
 
Posts: 26
Joined: Tue Sep 28, 2010 7:50 pm
Location: Germany
Callsign: hamster
Version: Git
OS: Arch Linux

Re: Simple FG GUI front-end for Linux

Postby teh warlock » Tue Mar 29, 2011 9:11 pm

um i have a little problem with getting fgo to work
i compiled flightgear yesterday using this wiki page http://wiki.flightgear.org/index.php/Bu ... ar_-_Linux and flightgear works but when i try to run flightgear via the fgo i go into terminal and type in
Code: Select all
malikguest@tehwarlock:~$ cd /usr/local/share/fgo
malikguest@tehwarlock:/usr/local/share/fgo$ python fgo
and fgo loads but when i click on run this shows up
Image
and here is the prefrences Image
remember this: when in doubt ask skyop.
teh warlock
 
Posts: 1302
Joined: Tue Sep 29, 2009 2:20 am
IRC name: tehwarlock
Version: git
OS: Win/Mac/Lin

Re: Simple FG GUI front-end for Linux

Postby i4dnf » Tue Mar 29, 2011 9:27 pm

That file (runfgfs.bat) is Windows specific. Find the fgfs executable, or runfgfs.sh (should be in the same dir or in /usr/local/share/fgfs/bin/ , or in /usr/local/bin/ )
i4dnf
Retired
 
Posts: 743
Joined: Wed Sep 09, 2009 8:17 am
Location: LRBS
Callsign: YR-I4D
Version: GIT
OS: Gentoo Linux ~amd64

Re: Simple FG GUI front-end for Linux

Postby teh warlock » Tue Mar 29, 2011 9:32 pm

Thank you very much :D it works now



Cheers!

EDIT: is there a reason i cant run this in Unity 3d?
remember this: when in doubt ask skyop.
teh warlock
 
Posts: 1302
Joined: Tue Sep 29, 2009 2:20 am
IRC name: tehwarlock
Version: git
OS: Win/Mac/Lin

Re: Simple FG GUI front-end for Linux

Postby chris_blues » Wed Apr 20, 2011 1:54 pm

Hi folks!

I just dropped by to ask, if there's a new version of FGo! coming up? Or has it gone asleep? :)

Cheers, chris
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian stable 64bit - i7 8x2.8GHz - 20GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
Retired
 
Posts: 1577
Joined: Mon May 03, 2010 2:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian stable 64

Re: Simple FG GUI front-end for Linux

Postby hamster » Fri Apr 22, 2011 6:31 pm

Hello chris!

I am preparing the next version of FGo! but there is still much to do.
So far I have partially rewritten the backend and moved it to an extra library (all routines that could be useful for other programs, i.e. get lists of airports, aircrafts, scenarios, ... or filtering installed airports, get the parking positions / metar info of an airport).

I still have to do over the code for the graphical interface and look for optimizations.
The next release, as already mentioned will not introduce new features.

I also already fixed some minor bugs, for example the last airport from apt.dat.gz was missing.

I do not know how much time I am able to spend on FGo! in the next time, as I am going to start studying computer science, but the next version will be ready until the end of may.

Regards
hamster
hamster
 
Posts: 26
Joined: Tue Sep 28, 2010 7:50 pm
Location: Germany
Callsign: hamster
Version: Git
OS: Arch Linux

Re: Simple FG GUI front-end for Linux

Postby chris_blues » Fri Apr 22, 2011 6:40 pm

Hi Hamster!

Thanks for answering! Sounds good! :) I'm very looking forward to see your improvements!

Keep up the good work! ...and have a nice easter-weekend!
Cheers
chris
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian stable 64bit - i7 8x2.8GHz - 20GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
Retired
 
Posts: 1577
Joined: Mon May 03, 2010 2:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian stable 64

Re: Simple FG GUI front-end for Linux

Postby santosdumont » Sun Dec 16, 2012 7:00 pm

Ubuntu 11.10 FGFS 2.6.0
Doesn't look like anyone's monitoring this thread any more but anyway: have been using FGRun until now, before installing latest FGo I downloaded a couple of scenery tiles (e000n51 and w001n51) into Terrasync folder using TerraMaster. FGRun sees these airports but FGo doesn't, if I uncheck "Show installed airports only" & select one of them I just get the sea, if I check it then those airports disappear. Scenery & Terrasync paths are identical in FGRun & FGo & of course Terrasync is checked in Fgo. Terminal shows:

Code: Select all
Starting TerraSync with following command:
/usr/games/terrasync -p 5501 -S -d /home/paul/terrasync
--------------------------------------------------------------------------------
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/K /home/paul/terrasync/Airports/K
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/L /home/paul/terrasync/Airports/L
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/M /home/paul/terrasync/Airports/M
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/N /home/paul/terrasync/Airports/N
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/O /home/paul/terrasync/Airports/O
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/P /home/paul/terrasync/Airports/P
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/Q /home/paul/terrasync/Airports/Q
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/R /home/paul/terrasync/Airports/R
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/S /home/paul/terrasync/Airports/S
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/T /home/paul/terrasync/Airports/T
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/U /home/paul/terrasync/Airports/U
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/V /home/paul/terrasync/Airports/V
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/W /home/paul/terrasync/Airports/W
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/X /home/paul/terrasync/Airports/X
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/Y /home/paul/terrasync/Airports/Y
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/Z /home/paul/terrasync/Airports/Z
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/A /home/paul/terrasync/Airports/A
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/B /home/paul/terrasync/Airports/B
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/C /home/paul/terrasync/Airports/C
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/D /home/paul/terrasync/Airports/D
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/E /home/paul/terrasync/Airports/E
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/F /home/paul/terrasync/Airports/F
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/G /home/paul/terrasync/Airports/G
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/H /home/paul/terrasync/Airports/H
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/I /home/paul/terrasync/Airports/I
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Airports/J /home/paul/terrasync/Airports/J
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Models /home/paul/terrasync/Models
sh: svn: not found
Return code = 32512

================================================================================

Starting /usr/games/fgfs with following options:
   --atlas=socket,out,5,localhost,5501,udp
   --aircraft=ufo
   --airport=EGKB
   --fg-root=/usr/share/games/flightgear
   --fg-scenery=/usr/share/games/flightgear/Scenery

--------------------------------------------------------------------------------

Loading local weather routines...
loading scenario 'nimitz_demo'
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
pos in msg = 51,0
lat = 51 lon = 0
lat_dir = 0  lon_dir = 0
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Terrain/e000n50/e000n51 /home/paul/terrasync/Terrain/e000n50/e000n51
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Objects/e000n50/e000n51 /home/paul/terrasync/Objects/e000n50/e000n51
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Terrain/w010n50/w001n50 /home/paul/terrasync/Terrain/w010n50/w001n50
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Objects/w010n50/w001n50 /home/paul/terrasync/Objects/w010n50/w001n50
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Terrain/e000n50/e000n50 /home/paul/terrasync/Terrain/e000n50/e000n50
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Objects/e000n50/e000n50 /home/paul/terrasync/Objects/e000n50/e000n50
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Terrain/e000n50/e001n50 /home/paul/terrasync/Terrain/e000n50/e001n50
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Objects/e000n50/e001n50 /home/paul/terrasync/Objects/e000n50/e001n50
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Terrain/w010n50/w001n51 /home/paul/terrasync/Terrain/w010n50/w001n51
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Objects/w010n50/w001n51 /home/paul/terrasync/Objects/w010n50/w001n51
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Terrain/e000n50/e001n51 /home/paul/terrasync/Terrain/e000n50/e001n51
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Objects/e000n50/e001n51 /home/paul/terrasync/Objects/e000n50/e001n51
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Terrain/w010n50/w001n52 /home/paul/terrasync/Terrain/w010n50/w001n52
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Objects/w010n50/w001n52 /home/paul/terrasync/Objects/w010n50/w001n52
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Terrain/e000n50/e000n52 /home/paul/terrasync/Terrain/e000n50/e000n52
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Objects/e000n50/e000n52 /home/paul/terrasync/Objects/e000n50/e000n52
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Terrain/e000n50/e001n52 /home/paul/terrasync/Terrain/e000n50/e001n52
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Objects/e000n50/e001n52 /home/paul/terrasync/Objects/e000n50/e001n52
sh: svn: not found
Return code = 32512
weather util initialized ...
pos in msg = 51,-1
lat = 51 lon = -1
lat_dir = 0  lon_dir = -1
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Terrain/w010n50/w002n51 /home/paul/terrasync/Terrain/w010n50/w002n51
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Objects/w010n50/w002n51 /home/paul/terrasync/Objects/w010n50/w002n51
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Terrain/w010n50/w002n50 /home/paul/terrasync/Terrain/w010n50/w002n50
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Objects/w010n50/w002n50 /home/paul/terrasync/Objects/w010n50/w002n50
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Terrain/w010n50/w002n52 /home/paul/terrasync/Terrain/w010n50/w002n52
sh: svn: not found
Return code = 32512
svn checkout http://terrascenery.googlecode.com/svn/trunk/data/Scenery/Objects/w010n50/w002n52 /home/paul/terrasync/Objects/w010n50/w002n52
sh: svn: not found
Return code = 32512
pos in msg = 51,0
lat = 51 lon = 0
lat_dir = 0  lon_dir = 1

santosdumont
 
Posts: 168
Joined: Mon Nov 03, 2008 10:20 pm

Re: Simple FG GUI front-end for Linux

Postby chris_blues » Sun Dec 16, 2012 7:57 pm

I'm not so sure if this might help, but i remember seeing some switch for airport sources in FGo's preferences, last page...
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian stable 64bit - i7 8x2.8GHz - 20GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
Retired
 
Posts: 1577
Joined: Mon May 03, 2010 2:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian stable 64

Re: Simple FG GUI front-end for Linux

Postby santosdumont » Tue Dec 18, 2012 8:29 pm

I think you mean under the "Miscellaneous" tab where "Airport data source" gives the options of "Default" or "Scenery" but it makes no difference which is selected. What I can do is change FG_SCENERY from the "Scenery" folder to the "Terrasync" folder & then FGo finds just the "missing" airports, but Terrasync itself doesn't seem to be working, fly long & fast enough in the ufo & I soon run out of scenery (another problem I don't have in FGRun).
santosdumont
 
Posts: 168
Joined: Mon Nov 03, 2008 10:20 pm

PreviousNext

Return to New features

Who is online

Users browsing this forum: No registered users and 8 guests