Thursday, November 13, 2008

Little things:Sound, Mount HDD etc

To make sound work,
  • go into alsamixer
  • Go to playback panel (use TAB if need be)
  • Make sure Master and PCM are nonmute & nonzero

Now test it:
paplay /usr/share/sounds/alsa/Front_Center.wav
aplay /usr/share/sounds/alsa/Front_Left.wav
speaker-test -c2 -Ddefault -twav
To get mic recoding into audacity
amixer set "Capture" cap
amixer set "Capture" 0
alsactl store
alsamixer -V capture
hit space on the capture thingy to turn it ON
alsactl store
To stop mic feedback, go into alsamixer and mute (press M) the MIC channel on the 'Capture' panel (hit tab to switch between panels)

Mount / UnMount HDD
# finds what the HDD is called
sudo fdisk -l

# unmount before mount
sudo umount /mnt/SamHDD

sudo mount -t ntfs /dev/sdc1 /mnt/SamHDD -o force
Mount ISO (so Wine can read it)
mount -o loop your.iso /mnt/X

wine /home/spud/.wine/drive_c/Program\ Files/Nuance/NaturallySpeaking10/Program/natspeak.exe 2>&1 | uniq -c

spud@spud-laptop:~$ ps -A | grep 'notepad'
8503 ? 00:00:05 notepad.exe
spud@spud-laptop:~$ kill 8503

set WINEDEBUG=+all
wine ./natspeak.exe 2>&1 | grep -F RegisterHotKey

history | tail -n 20

mount -o loop ~/Desktop/Dragon/DNS_v10_Preferred__UltimateNoobFighterz.Release/Dragon_NaturallySpeaking_Preferred_10_ENGLISH_original_DVD1.iso/Dragon_NaturallySpeaking_Preferred_10_original_no-serial/Dragon_NaturallySpeaking_Preferred_10.iso /mnt/DragISO

PS1="\[$(tput setaf 1)\]\u@\h \W $ \[$(tput setaf 2)\]"

No comments: