Some files from mine HTPC setup, both scripts and configuration files. If you need file that is not listed here,
This e-mail address is being protected from spambots, you need JavaScript enabled to view it
:)
- home.tar.bz2 - home folder for user TV with all described scripts and configuration files. My advice is to first create user "tv" via your distribution default mechanisms and then extract content of this archive into that user's home folder. Watch for file permissions.
- xorg.conf - main X configuration file. Some of the crucial lines are NVidia-specific, but you may find it useful anyway.
- kdmrc - KDM (K Display Manager) configuration file that I'm using for running two X servers: one on VT8 with DISPLAY :1 that runs TV applications with autologin feature and second one that provides usual user login on VT7. On Debian, this file is located in /etc/kde3/kdm/kdmrc - just be careful for kdm version, this file is for 3.5.8 - check configuration first line "ConfigVersion" - this file is of version 2.3.
- udev-rules.tar.bz2 - some of mine custom udev rules for proper naming of TV tuner / webcam devices and for mounting USB drives. Place them in /etc/udev/rules.d/ of wherever your distribution looks for them.
- mount_usb - script stat is called by custom udev rule (link above) to mount USB disk drives. Make it executable and place it in /usr/local/bin/ folder.
- powerbtn.sh - script for handling Power button event. Use it if you want to use Power button on your case to do something useful, in this case prompts for confirmation and then restart all HTPC applications. Make it executable and place in /etc/acpi/ folder.
- onscreend.tar.bz2 - customized onscreend program for (clean) printing in OSD. Compile with "make", install with "sudo make install".
- smb.conf - configuration for Samba, shows how to enable anonymous read/write access to HTPC storage folders for users inside local network.



Resources

