Monday 18 June 2007

Open video on svideo-out

Save to 'Fullscreen.sh', add to 'Open with'

export DISPLAY=:0.1
totem --fullscreen "$1"
export DISPLAY=:0.0

Saturday 16 June 2007

autofsck

Installed AutoFsck which should get rid of the "system mounted 30 times, now I'm going to ruin your life" message.

Tuesday 12 June 2007

Make Creative Audigy default soundcard and start in analog mode

1) Set Audigy as the default soundcard
sudo asoundconf set-default-card Audigy
2) Control #211 switches between analog and digital mode. Found 211 using
amixer -c Audigy controls | grep Digital
3) Create switch-audigy-to-analog.sh and add to startup programs.
# Switch Audigy to analog out
amixer -c Audigy cset numid=211 off

Broken MIME types

Double clicking file in Nautilus gives:
"The filename "foo.txt" indicates that this file is of type "txt document". The contents of the file indicate that the file is of type "plain text document". If you open this file, the file might present a security risk to your system.

1) removed all files from ~/.local/share/mime/application and ~/.local/share/mime/packages
2) sudo update-mime-database ~/.local/share/mime
3) removed affected file types from ~/.local/share/mime/globs