I have 2 dell monitors (16x9) and a dual dvi-out capable nvidia 8800 something. I like to use the second monitor as basically 9x16. this makes reading documents and webpages easier, as they are almost all longer than they are wider.
Here is my xorg.conf file:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@vernadsky) Tue Mar 4 20:24:34 UTC 2008
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" 1920 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "ServerFlags"
Option "Xinerama" "1"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL 2405FPW"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "DELL 2005FPW"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS"
Option "RandRRotation" "on"
Option "Rotate" "CCW"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8800 GTS"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8800 GTS"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP-1: 1920x1200 +0+0; DFP-1: 800x600 +0+0; DFP-1: 640x480 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP-0: 1680x1050 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Thursday, May 29, 2008
Thursday, May 22, 2008
jenn-caves
mencoder temp.avi -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4 -vf scale -zoom -xy 640 -o temp3.avi -channels 2
mencoder s01e04\ -\ Caves.avi -ss 00:37:56 -endpos 00:01:23 -oac copy -ovc copy -o temp.avi
mencoder s01e04\ -\ Caves.avi -ss 00:37:56 -endpos 00:01:23 -oac copy -ovc copy -o temp.avi
Monday, May 19, 2008
Ubuntu Hardy Heron - ZODB
ZODB doesn't work by default in the heron. To fix you need to:
1. sudo apt-get install build-essential
2. sudo apt-get install python-dev
3. sudo apt-get isntall python-setuptools
4. sudo easy_install ZODB3
1. sudo apt-get install build-essential
2. sudo apt-get install python-dev
3. sudo apt-get isntall python-setuptools
4. sudo easy_install ZODB3
Sunday, May 18, 2008
ubuntu - hardy heron - pulseaudio
I just got done spending almost an entire day on this.
1. It seems the alsa 5.1 channels are all muted, for whatever reason. Since pulseaudio just sits on top of alsa that means 5.1 sound appears not to work. Just use the mixer and put all the channels up full in alsa.
2. Flash on firefox still won't work because you need to:
sudo apt-get install libflashsupport
This library does something to enable the sound to work.
3. set everything alsa to use pulse by adding the following to ~/.asoundrc
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
Why they made pulseaudio the default, firefox the default, and didn't include this library is beyond me...
4. they make pulseaudio the default, but don't include the tools. interesting. run this and install all the configurations and tools for pulseaudio:
1. It seems the alsa 5.1 channels are all muted, for whatever reason. Since pulseaudio just sits on top of alsa that means 5.1 sound appears not to work. Just use the mixer and put all the channels up full in alsa.
2. Flash on firefox still won't work because you need to:
sudo apt-get install libflashsupport
This library does something to enable the sound to work.
3. set everything alsa to use pulse by adding the following to ~/.asoundrc
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
Why they made pulseaudio the default, firefox the default, and didn't include this library is beyond me...
4. they make pulseaudio the default, but don't include the tools. interesting. run this and install all the configurations and tools for pulseaudio:
sudo apt-get install libasound2-plugins "pulseaudio-*" paman padevchooser paprefs pavucontrol pavumeter
Labels:
firefox flash audio,
hardy,
hardy heron,
heron,
pulseaudio,
ubuntu
Monday, May 12, 2008
Special Keyboard or Remote Keys and Binding
I have a remote that has buttons on it not recognized by ubuntu. In order to get the remote to behave the way I would like I just want to bind some buttons to different keys, here's how I do it.
1. xev - This command will open a window and print the keycode for whatever key you press. For my new remote I press the key with a "<-" on it and I get this:
Add this to start-up if you want it to always load on boot.
1. xev - This command will open a window and print the keycode for whatever key you press. For my new remote I press the key with a "<-" on it and I get this:
KeyPress event, serial 28, synthetic NO, window 0x1c00001,2. vi ~/.xmodmap - create this file if it doesn't exist and use it to add your new keys. I want the back button to be the "escape" key, as that exits and/or backs up a menu level. so I open .xmodmap and type something like:
root 0x13b, subw 0x0, time 113488598, (381,88), root:(388,139),
state 0x10, keycode 234 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
keycode 234 = Escape3. xmodmap ~/.xmodmap - this will add my new key binding to the map and immediately should start working.
Add this to start-up if you want it to always load on boot.
Labels:
bind key,
bind keys,
change keyboard keys,
keyboard bindings,
keymap
Subscribe to:
Comments (Atom)