Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computer:music_computer_setup_notes [2013/01/05 19:07] tdobes |
computer:music_computer_setup_notes [2013/01/06 18:46] (current) tdobes |
||
---|---|---|---|
Line 25: | Line 25: | ||
* aptitude install smartmontools | * aptitude install smartmontools | ||
* aptitude install vim | * aptitude install vim | ||
+ | * aptitude install python-serial | ||
maybe for future: fonts-freefont-ttf ??? different spacing than Windows fonts, maybe ??? | maybe for future: fonts-freefont-ttf ??? different spacing than Windows fonts, maybe ??? | ||
Line 30: | Line 31: | ||
* adduser tdobes adm | * adduser tdobes adm | ||
* /etc/vim/vimrc | * /etc/vim/vimrc | ||
+ | * edit /etc/default/unclutter to set START_UNCLUTTER to "false" (we'll start it manually from our xsession scripts) | ||
* edit /etc/pam.d/su to enable limits.conf (uncomment "session required pam_limits.so") | * edit /etc/pam.d/su to enable limits.conf (uncomment "session required pam_limits.so") | ||
* copy /etc/init.d/jackd and /etc/default/jackd | * copy /etc/init.d/jackd and /etc/default/jackd | ||
+ | * update-rc.d jackd defaults | ||
* copy /etc/mpd_multi and /etc/mpd directory | * copy /etc/mpd_multi and /etc/mpd directory | ||
* update-rc.d -f mpd remove && update-rc.d mpd_multi defaults && chmod -x /etc/init.d/mpd | * update-rc.d -f mpd remove && update-rc.d mpd_multi defaults && chmod -x /etc/init.d/mpd | ||
Line 45: | Line 48: | ||
* /etc/icecast/icecast2.xml /etc/default/icecast2 | * /etc/icecast/icecast2.xml /etc/default/icecast2 | ||
* /etc/darkice.cfg /etc/default/darkice | * /etc/darkice.cfg /etc/default/darkice | ||
+ | * chmod 600 /etc/darkice.cfg && chown mpd /etc/darkice.cfg | ||
* use /etc/init.d/darkice from old system (the one in debian has a bug and doesn't depend on icecast2) | * use /etc/init.d/darkice from old system (the one in debian has a bug and doesn't depend on icecast2) | ||
* update-rc.d -f darkice remove && update-rc.d darkice defaults && chmod -x /etc/init.d/darkice.orig | * update-rc.d -f darkice remove && update-rc.d darkice defaults && chmod -x /etc/init.d/darkice.orig | ||
Line 59: | Line 63: | ||
* ln -s /usr/local/bin/infodisplay-xsession.sh /home/display/.xsession | * ln -s /usr/local/bin/infodisplay-xsession.sh /home/display/.xsession | ||
* add to /etc/inittab: ''%%X:5:respawn:/bin/su -l -s /bin/sh -c "/usr/bin/startx -- :1 -layout infodisplay -sharevts" display%%'' | * add to /etc/inittab: ''%%X:5:respawn:/bin/su -l -s /bin/sh -c "/usr/bin/startx -- :1 -layout infodisplay -sharevts" display%%'' | ||
+ | * dpkg-reconfigure x11-common – and choose "Anybody" (this will update /etc/X11/Xwrapper.config) | ||
+ | * update initdefault to 5 in /etc/inittab | ||
+ | * adduser tdobes dialout | ||
+ | * adduser www-data dialout | ||
+ | * run sensors-detect |