Running on Linux

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Post Reply
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Running on Linux

Post by Peter Florance »

Sorry I'm such a Linux newbie, but I am enjoying Ubuntu (Thanks Dave A)

How do I install the tar file in Linux?

Does the upgrade feature work in Linux?



Thanks!
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Running on Linux

Post by LT401Vette »

I will be putting together a nicer installer for Linux, at least the front running distro's like Ubuntu (that is what I am usually using these days too ).
But for now, just make a directory and untar it.
To run, use the TunerStudio.sh script.

Auto Update does work, except a problem with restart. So when the update is finished you will need to restart it yourself.

If you make a startup link for somewhere like your desktop, make sure it is running from the app dir as a working dir.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Re: Running on Linux

Post by Peter Florance »

Thanks Phil
I'll give that a try.
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Re: Running on Linux

Post by Peter Florance »

I am very close to never having to boot my laptop to the Windows partition ever again.
I can even pull photos off my phone via Bluetooth in Ubuntu. Can't do it in Windows.

I need to download some VE tables to be sure, but at least reading and running, it works well with the Dell D600 built-in serial port. Much better than any of the tuning programs under Windows. Thus the Rat-Shack USB-Serial dongle I was using.

Will advise

Good stuff, Phil!!
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Running on Linux

Post by LT401Vette »

Yeah, I've been putting Ubuntu on most of my newer machines. that is how I found myself without a Vista test machine :!: I have 11 computers running in the house 5 on XP, 1 on 2003 Server and 5 on Ubuntu :)
I used to have a SUSE and Fedora, but those are Ubuntu now too.

Ubuntu is the first Distro where i may just be brave enough to put it on my Wife's computer one of these days :)
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Re: Running on Linux

Post by Peter Florance »

Hi Phil
I'm having trouble making a launch icon. I'm assuming I point it to the script file (*.sh) ?
It doesn't seem to do anything when I click on it.

Any hand-holding would be appreciated

Thanks!
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Running on Linux

Post by LT401Vette »

Peter,
I got a chance to take a look at this. The missing link is the directory. If you create an application launcher with the right click on the desktop or menu bar, the working directory is not set, it just runs the script. So the script needs to be edited to change to the dir the app is installed in.

So edit TunerStudio.sh to look like this:

Code: Select all

cd ~/apps/TunerStudio/
java -Djava.library.path=lib -jar TunerStudioMS.jar 
But change the "cd ~/apps/TunerStudio/" line to point to what ever directory you put the app in.
Then it launches no problem.

Again, I will get this cleaned up, I need to make an install script, but to be honest my shell scripting is a bit weak.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Re: Running on Linux

Post by Peter Florance »

LT401Vette wrote:Peter,
I got a chance to take a look at this. The missing link is the directory. If you create an application launcher with the right click on the desktop or menu bar, the working directory is not set, it just runs the script. So the script needs to be edited to change to the dir the app is installed in.

So edit TunerStudio.sh to look like this:

Code: Select all

cd ~/apps/TunerStudio/
java -Djava.library.path=lib -jar TunerStudioMS.jar 
But change the "cd ~/apps/TunerStudio/" line to point to what ever directory you put the app in.
Then it launches no problem.

Again, I will get this cleaned up, I need to make an install script, but to be honest my shell scripting is a bit weak.
Thanks Phil
I'll try that
Should I have a directory off my home called /apps to put things like TunerStudio into?
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Running on Linux

Post by LT401Vette »

Should I have a directory off my home called /apps to put things like TunerStudio into?
Not necessarily, that is just my way.... As long as the path matches.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
xrattiracer
Experienced MS/Extra'er
Posts: 301
Joined: Fri Aug 01, 2008 2:25 pm

Re: Running on Linux

Post by xrattiracer »

Just installed TunerStudio in linux on my laptop as well (been meaning to do this for awhile). Very impressed, it just works. Havent tested it in the car yet, but will after work. Figured you might be interested to know that the TunerStudio.sh script in the latest download has the "cd ~/apps/TunerStudio/" line in it ;)
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Running on Linux

Post by LT401Vette »

Figured you might be interested to know that the TunerStudio.sh script in the latest download has the "cd ~/apps/TunerStudio/" line in it ;)
opps. What happened there is that I forgot to put a 0.975 linux build out, rather than try to check out the old code and build for linux, I just tared what was on my laptop that had been through an auto update :)
I had to add that line to the sh script so the desktop launcher would work. I really do want to get a better packaging system for linux and mac.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Re: Running on Linux

Post by Peter Florance »

Just to raise this topic from the dead: I finally got launch icons to work. In the launch icon properties, I had to chose type Type = Application in Terminal rather than Application.

I also had to modify the script per Phil's suggestions; now both MegaLogViewer and TunerStudio launch with a click.

This is Ubuntu 8.04 Hardy Heron

Thanks!
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
Post Reply