Changes to boards.txt not showing up [solved]

Hi,

I'm trying to use a USBtinyISP 3.0 to program an ATMEGA168-20PU which I've put in an Arduino UNO. My understanding is that I have to make changes to ~/arduino-0022/hardware/arduino/boards.txt before I can do this, and I've tried to do it by following these two instructions:

http://www.tuki-tam.net/blog/?p=140

Both of them seem to say that you just need to add some lines to boards.txt - which I've copy-pasted there from the mentioned blogs - and the changes will show up in ArduinoIDE's Tools->Board. But they don't. In fact, deleting the whole boards.txt file has no impact whatsoever to what can be found in the menus. I don't know why this is, and what do to.

I'm using ArduinoIDE 0022 and I'm on Ubuntu 11.10.

Did you restart the IDE?

If deleting it has no effect, you're editing the wrong copy of boards.txt

Yes, I did restart it.

I couldn't find any other copies of boards.txt, and anyway the advice blogs I referred to told me to edit the one in the hardware/arduino folder. Permissions of the boards.txt files would seem to be ok too, it's owned by me.

jjonas:
and anyway the advice blogs I referred to told me to edit the one in the hardware/arduino folder.

So? If a blog told you jump off of a cliff, would you?

If deleting the file doesn't cause the contents of your board menu to change (after restarting the IDE), then you are editing the wrong copy of the boards.txt.

Use whatever file search program your operating system has to find all copies of boards.txt.

Please. Both blogs seemed to achive what they were trying to do just by editing the file in the mentioned folder, so it does make sense to expect it would work for me too.

Here's the outcome of find:

jjonas@jonaskone:~$ find /home/jjonas -name 'boards.txt'
/home/jjonas/arduino-0022/hardware/arduino/boards.txt
jjonas@jonaskone:~$

I was indeed editing the wrong boards.txt. I had one in my home directory, but I didn't know there was another one in /usr/share/arduino/hardware/arduino. Probably the home directory Arduino folder was a hangover from a previous installation (with a different Linux distro I'm using now), whereas the one I'm using now was installed from Ubuntu repositories.