XTrkCad, one of the many model railroad track planning programs–and the only one I know that has both Windows and Linux versions–is going open source. This also means the program is now free.
You can’t download the source code yet but you can download binaries, enter a registration code, and play with it. I’ve been doing just that.