Board index FlightGear Support Installation Linux

Can't install Flighgear head track add-on  Topic is solved

Installing FlightGear, scenery, aircraft etc. on Linux systems like Ubuntu.

Can't install Flighgear head track add-on  

Postby mahela007 » Thu May 05, 2022 5:25 pm

I am trying to install the headtracker addon for use with flightgear on linux mint 19.
I have downloaded the SVN repository with the SVN command to the following folder:
/home/myuser/.fgfs/Headtracker

the contents of this folder are listed below with the ls -l command.
Code: Select all
ls -al ~/.fgfs/Headtracker/
total 48
drwxrwxr-x  5 myuser myuser 4096 May  5 21:39 .
drwxr-xr-x 11 myuser myuser 4096 May  5 21:35 ..
-rw-rw-r--  1 myuser myuser 1848 May  5 21:36 addon-config.xml
-rw-rw-r--  1 myuser myuser 1551 May  5 21:36 addon-main.nas
-rw-rw-r--  1 myuser myuser  911 May  5 21:36 addon-menubar-items.xml
-rw-rw-r--  1 myuser myuser 2781 May  5 21:36 addon-metadata.xml
drwxrwxr-x  3 myuser myuser 4096 May  5 21:36 FGData
drwxrwxr-x  3 myuser myuser 4096 May  5 21:36 gui
-rw-rw-r--  1 myuser myuser 7543 May  5 21:36 headtracker.nas
-rw-rw-r--  1 myuser myuser 2071 May  5 21:36 README
drwxrwxr-x  4 myuser myuser 4096 May  5 21:36 .svn


To run the addon with FG,
i tried to add the following options in the settings window of the flightgear launcher:

Code: Select all
--addon=/home/myuser/.fgfs/Headtracker


Instead of the addon launching, I get this error:
Code: Select all
Unable to register an add-on
Error registering an add-on:
unable to find the add-on metadata file '/home/myuser/.fgfs/Headtracker/addon-metadata.xml


As you can see, that file already exists. :/
and it is not empty.


Why can't FG see the metadafile and install the addon?
Last edited by mahela007 on Thu May 05, 2022 6:30 pm, edited 1 time in total.
mahela007
 
Posts: 41
Joined: Sat Nov 02, 2013 8:35 am
OS: Linux Mint 18

Re: Can't install Flighgear head track add-on

Postby mahela007 » Thu May 05, 2022 5:54 pm

Ive also noticed that the file picker dialog box , which opens when I click the small + sign on the flight gear launcher cannot see most of the folders on my system.

Super weird!
mahela007
 
Posts: 41
Joined: Sat Nov 02, 2013 8:35 am
OS: Linux Mint 18

Re: Can't install Flighgear head track add-on

Postby TheEagle » Thu May 05, 2022 6:19 pm

You probably can't see the .fgfs folder in the file chooser dialog because hidden files and folders (those whose name begins with a dot) are not shown by default - to show them, in the file chooser dialog right-click and tick the "Show hidden files". But anyways, you shouldn't put anything into .fgfs yourself - instead, create a proper folder somewhere (for example /home/user/fgfs-addons) and put everything in there. Also you should replace your username in the paths with some dummy like "user" - it's generally not wise to show it in the public to people you don't trust (talking hackers).
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3414
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Can't install Flighgear head track add-on

Postby mahela007 » Thu May 05, 2022 6:26 pm

Thanks for the security tip..
I made hidden folders visible. But even then when navigate to and select the Headtrack folder, I get an error saying the addon-metadata.xml file cannot be found!

I tried putting the Headtrack folder on the desktop as well. Still FGFS is not seeing the addon-metadata.xml file
I've sent days configuring head tracking and it's so frustrating to be stuck at this point!!
mahela007
 
Posts: 41
Joined: Sat Nov 02, 2013 8:35 am
OS: Linux Mint 18

Re: Can't install Flighgear head track add-on

Postby TheEagle » Thu May 05, 2022 6:33 pm

Then the problem must be a space at the start or end of that file … please navigate to it using your file manager, right-click, select "Rename" and paste in everything between the quotes: "addon-metadata.xml"
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3414
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Can't install Flighgear head track add-on

Postby mahela007 » Thu May 05, 2022 7:26 pm

Omg I found the problem!
I've installed do flightgear via Flatpak.
There is some stupid mechanism by which Flatpak apps access to hard drive files is restricted.

You can remove this by Issuing
Code: Select all
Flatpak override --user --filesystem=(path to add on folder) org.flightgear.Flightgear


Thank you for you help. :)
mahela007
 
Posts: 41
Joined: Sat Nov 02, 2013 8:35 am
OS: Linux Mint 18

Re: Can't install Flighgear head track add-on

Postby TheEagle » Thu May 05, 2022 8:04 pm

Glad it works ! :) Please do not forget to mark this topic solved !
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3414
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Can't install Flighgear head track add-on

Postby mahela007 » Fri May 06, 2022 3:20 am

I can't figure out how to do that. :/
mahela007
 
Posts: 41
Joined: Sat Nov 02, 2013 8:35 am
OS: Linux Mint 18

Re: Can't install Flighgear head track add-on

Postby TheEagle » Fri May 06, 2022 8:45 am

Use the small green checkmark at the top-right of any post ! :wink:
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3414
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Can't install Flighgear head track add-on

Postby Dudeurodude » Tue Feb 21, 2023 10:55 pm

this might sound stupid but i'm having troble installing an svn file. where do i install it from? do i paste the command into terminal / command prompt? when i do so all i get is a long list of files from flightgear. is there a command I have to put before?
Dudeurodude
 
Posts: 2
Joined: Tue Mar 01, 2022 9:12 pm

Re: Can't install Flighgear head track add-on

Postby TheEagle » Tue Feb 21, 2023 11:50 pm

Wait, one thing after another. Which "SVN file" ? There are no SVN files, just repos. And which command ?
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3414
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Can't install Flighgear head track add-on

Postby wkitty42 » Wed Feb 22, 2023 12:50 pm

Dudeurodude wrote in Tue Feb 21, 2023 10:55 pm:this might sound stupid but i'm having troble installing an svn file. where do i install it from? do i paste the command into terminal / command prompt? when i do so all i get is a long list of files from flightgear. is there a command I have to put before?

does this have anything to do with installing FG with headtracking? if not, you should start your own topic with a concise title of what the problem is and then describe your problem in the post body... be sure to include the commands you have been told to try as well as the output from them... most of all, remember that we cannot see what you are doing from this side of the screen...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9148
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest