OpenSourcePhysics / tracker

Video analysis and modeling tool built on the Open Source Physics framework
GNU General Public License v3.0
206 stars 52 forks source link

Linux installation doesn't work #15

Open Revilum opened 5 years ago

Revilum commented 5 years ago

when i run the newest 64 bit version of the Linux Installer in Debian buster (unstable) it gives me an error (look at screenshot) I tried to follow https://bbs.archlinux.org/viewtopic.php?id=237150 but I had no clue what to do and it was the only issue I could find. Maybe the devs could create a .deb file because they're much better to install. grafik (I just realized it's German so it sais that there's an error when trying to read /root/.config/users-dirs.dirs)

dobrown commented 5 years ago

Thanks for the report. I'll look into it.

Revilum commented 5 years ago

Well I've noticed the file doesn't exist because I have to login as on a graphical inerface to dreate user-dirs.dirs but I can'T do that because it's blocked fpr security reasons to login as root via the login manager. I could copy the file from my user normal useraccout but I would prefer a .deb file or just die java archive. Revilum

4rnoP commented 5 years ago

Same problem on Fedora 28

Revilum commented 5 years ago

just do cp /home/<user>/.config/user-dirs.dirs /root/.config

oldaccountdeadname commented 4 years ago

If anyone's on a minimal OS (i.e., void, arch) you'll need to actually install xdg-user-dirs (https://wiki.archlinux.org/index.php/XDG_user_directories). Then tracker will install to /opt/tracker, which may or may not be on your path. You'll need to mark /opt/tracker/tracker.sh as executable, and then /opt/tracker/jre/bin/java as executable. Once you've done that (and maybe added /opt/tracker to your path) you can run /opt/tracker/tracker.sh to actually run it. I've opened an issue to ask for a Flatpak or AppImage to make this much simpler, but this works for now.