Just install Xubuntu 8.04 and use the following for your /etc/X11/xorg.conf.
To do that, simply back up your existing xorg.conf . . .
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
And then . . .
sudo gedit /etc/X11/xorg.conf
–paste in the following, and then save:
Section "Files"
EndSection
#
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
#
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
#
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection
#
Section "Device"
Identifier "Intel Corporation 82815 CGC [Chipset Graphics Controller]"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
#
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 31.5-48.5
VertRefresh 40-70
EndSection
#
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82815 CGC [Chipset Graphics Controller]"
Monitor "Generic Monitor"
DefaultDepth 16
SubSection "Display"
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
#
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
#
# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
Exclude a Category from the Front Page in Wordpress
To prevent posts from a certain category from showing up on your front page in Wordpress, put this in your index.php (or the template where you want to exclude a category from your page, maybe archive.php) BEFORE the loop:
< ?php query_posts($query_string . '&cat=-53'); ?>The category number to exclude in my example is 53. You can replace that number with whichever category you want to exclude. To exclude more than one category, just separate with a comma, so:
< ?php query_posts($query_string . '&cat=-53,-13'); ?>To determine the category’s number, just open your admin panel, and go to –posts–categories and then hover your mouse pointer over the category in question, while watching the status bar of your browser, or just click on one of the category names there. The last bit in the url is the category number, like “cat_ID=53″
I wanted to exclude all video posts from my front page cannabisfantastic.com because they sort of block the news and other content. By using this method, I can still have a video category but the video posts don’t automatically show up on top distracting from my other posts. See the The Loop page at the Wordpress Codex for more information.