The autodetect mode of Steve Todd¡¯s RPi-JMRI image can only detect the DCC system interface, not the command station type, and has a ¡°DCS100 (Chief)¡± command station as default in the profile ¡°LocoBuffer-USB¡± associated with Digitrax system. Open PanelPro, then select from the menu ¡®Edit¡¯ ¨C ¡®Preferences¡¯. Ensure the command station type setting (¡®Connections¡¯ in left window, tab ¡®Loconet¡¯) matches your DCS51.
?
To include commands for execution during each boot of the Pi (f.e. the xset commands in your case), include them in the file ¡°/etc/rc.local¡± at bottom just above the line ¡°exit0¡± (under the line ¡°iptables-restore < /etc/iptables.ipv4.nat¡±). This can be done with the command
sudo leafpad /etc/rc.local
Using the menu of leafpad, ¡°Save¡± the file and to quit this editor.
Alternatively, you can use the ¡°nano¡± text editor ¨C which ever you prefer.