export DISPLAY=:0.1
totem --fullscreen "$1"
export DISPLAY=:0.0
Monday, 18 June 2007
Open video on svideo-out
Save to 'Fullscreen.sh', add to 'Open with'
Saturday, 16 June 2007
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 Audigy2) Control #211 switches between analog and digital mode. Found 211 using
amixer -c Audigy controls | grep Digital3) 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
"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
Subscribe to:
Posts (Atom)