In order to add a KDE menu launcher for the Arduino software, open the KDE Menu Editor, create a new item and put
cd /opt/arduino-0007/; ./arduinoin the Command field. Also, make sure that Run in terminal is checked and replace /opt/arduino-0007/ by your own installation path.
I'm sure there are thousands of other ways of doing this (including many than only require a few commands in the terminal) but at least this ways is pretty simple and and can be done without knowing that much about Linux.
1 comment:
I tried your method, but since i use gnome it did not work. however with a little probing i figured out two different way's to accomplish this in gnome.
One is to use this launcher command:
bash -c "cd /home/andrew/arduino-0012/; ./arduino"
and the other way was to create a script with the following code, rename it to "arduino", and copy it to /usr/local/bin
[code]#!/bin/sh
cd /home/andrew/arduino-0012
./arduino
[/code]
Post a Comment