In Tux Paint, to select a line, you can use the "Line Tool" from the toolbar. Click and hold on the canvas to set the starting point and release to set the end point of the line.