Ubuntu Notes and How-Tos

Monday, July 25, 2005

Encoding mp3 with Sound-Juicer

Taken from http://www.emcken.dk/weblog/archives/99-MP3-encoding-with-Sound-Juicer.html


Checklist:
- gstreamer0.8-lame
- gstreamer0.8-mad (for playback)


1) Note: do not use root console:
$ gnome-audio-profiles-properties


2) Type the following values:
Profile name: CD Quality, 192Kbps
Profile Description: Decent source file
GStreamer Pipeline: audio/x-raw-int,rate=44100,channels=2 ! lame name=enc vbr=0 bitrate=192


Enjoy!

Saturday, July 23, 2005

Wacom Graphire



# /etc/X11/xorg.conf (xorg X Window System server configuration file)



#Section "InputDevice"
#Identifier "Configured Mouse"
#Driver "mouse"
#Option "CorePointer"
#Option "Device" "/dev/input/mice"
#Option "Protocol" "ImPS/2"
#Option "Emulate3Buttons" "true"
#Option "ZAxisMapping" "4 5"
#EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
Option "SHMconfig" "true"
EndSection

# WACOM GRAPHIRE
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/event2"
Option "Type" "cursor"
Option "Mode" "Relative" #THIS INDEED MAKES THE MOUSE ACT LIKE A REGULAR MOUSE :)
Option "USB" "on"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/event2"
Option "Type" "stylus"
Option "USB" "on"
Option "Mode" "Absolute"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/event2"
Option "Type" "eraser"
Option "USB" "on"
Option "Mode" "Absolute"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
#InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
InputDevice "cursor" "SendCoreEvents"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Sunday, July 17, 2005

Changing the default to Sun Java JDK/JRE

After installing Sun's Java SDK/JRE (whether via dpkg, apt-get, or whatever), do this:



And then set the JAVA_HOME environment variable: