Archive for July, 2007

New Post

Sunday, July 29th, 2007

New post

Change screen resolution by editing xorg.conf

Wednesday, July 25th, 2007

Ref:
http://www.linuxquestions.org/questions/showthread.php?t=331153

Most common solution, assuming you’re using the right driver, etc., is this one, which I copied from one of many threads here that lay it out.

vim /etc/X11/XF86Config-4

Find the section that looks like this:


Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV18 [GeForce4 MX - nForce GPU]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

and make it look like this:


Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV18 [GeForce4 MX - nForce GPU]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Debian sources.list file contents

Tuesday, July 3rd, 2007

Ref:
http://www.mayin.org/ajayshah/COMPUTING/debian-principles.html

The sources.list for using stable reads —
# See sources.list(5) for more information
deb http://http.us.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free

security.debian.org is only relevant for stable since the core stable is supposed to be constant. With the other distributions, security updates are just normal package updates.

As the comment points out, you can say man 5 sources.list to learn the file format.

How to install kernel headers in Linux?

Tuesday, July 3rd, 2007

Ref: http://ubuntuforums.org/archive/index.php/t-25258.html

Install the headers for the release of the kernel you have installed. To find this out you can type
uname -r

To get the header you can apt-get install them,

sudo apt-get install linux-headers-`uname -r`