Sunday, December 21, 2008

screen resolution in sidux virtualbox

i fired up my sidux 2008-03 virtual machine today to check for updates. updating is an issue i'm wrestling with in another distro (slackware) but i'll talk about that later. first i want to set the resolution in sidux. i've had sidux in virtualbox for awhile now and i like it but i haven't spent much time tweaking it. with the virtualbox guest additions installed i can simply grab the corner of the virtualbox window and dynamically resize sidux to any resolution i want but i thought it would be nice if sidux just booted to the 1440x1050 size i like. by default it boots to 1024x768. so what do i need to do?
first i open up KRandRTray but the highest res it offers is 1280x800 so this tool won't work at this time.
next i try the sidux control center. there's an option to configure the x-server but i don't see where to add the exact resolution i want. i'll have to manually edit xorg.conf and add the res i want.
simply adding a Modes line with the res in the correct section will give the res i want. this is where KRandRTray gets its options from and when most distros boot up and start the x server this is where the x server gets its resolution from.

example:
Section "Screen"
Identifier "Screen 0"
Monitor "Monitor 0"
DefaultColorDepth 24
SubSection "Display"
Depth 8
Modes "1440x1050"
EndSubSection
SubSection "Display"
Depth 15
Modes "1440x1050"
EndSubSection
SubSection "Display"
Depth 16
Modes "1440x1050"
EndSubSection
SubSection "Display"
Depth 24
Modes "1440x1050"
EndSubSection
EndSection
the x server reads the Modes line and selects the first resolution. in this case 1440x1050.

now i'm off to figure out how to update my sidux and slackware virtual machines.




Friday, December 19, 2008

snow day

the tv went dead for a while. i should catch up on some blog posts if the web doesn't go down for me. keep up the good work comcast.

mlive ann arbor news

Washtenaw County to close non-essential services
by By Tracy Davis | The Ann Arbor News
Friday December 19, 2008, 11:04 AM

Washtenaw County is shutting down all non-essential services at noon today because of weather conditions.

Essential services that will continue operating include workers such as those in the jail, juvenile detention, emergency management and some other parts of county operations.

Departments deemed non-essential will be closed entirely for the day.

County director of emergency management Marc Breckenridge said he could not recall the last time the county had shut down because of weather.

"We haven't done this in a long time," he said.