Showing posts with label crunchbang linux. Show all posts
Showing posts with label crunchbang linux. Show all posts

Sunday, February 6, 2011

NTS:: Aureal brand Infrared remote

Here's where to get the instructions for the patch to get this "Computer Remoter Control" "P-01RN" working.

Saturday, February 5, 2011

NTS:: XBMC + MP3 playback

This took some checking to find, and it's kinda counter-intuitive... do not, not ever, use Crossfade in XBMC if you want MP3 playback to work with a guri el-cheapo spdif soundcard to work under XBMC.

Under Crunchbang 9.01, avoid PulseAudio, ALSA works just fine, thanks very much - here's my asound.conf if you're in the same boat as I was:

pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0660
slave {
pcm "hw:0,1"
rate 48000
channels 2
format S32_LE
period_time 0
period_size 1024
buffer_time 0
buffer_size 4096
}
}

pcm.!default {
type plug
slave.pcm "dmixer"
}

Thursday, November 11, 2010

NTS:: #! setup

CrunchBang is my favourite Linux distro, and I have it running on my fileserver, which is running on a paltry 256Mb of RAM.

I discovered after poking around how to shutdown OpenBox properly, without the whole sudo shutdown problem (I found it would hang, and power-off). This script allows me to power-off once downloads are complete, using auto-shutdown, together with DownThemAll.

#/bin/bash
#
let wait_time=$1*60
echo "will shutdown in $1 minutes"
sleep $wait_time
gdm-control --shutdown && openbox --exit
exit 0

One of the things I've got going nicely is DropBox, which normally works well under Nautilus, so not really so good on OpenBox. DropBox works well following the instructions on the OpenBox wiki.