Teen Programmers Unite  
 

 

Return to forum top

screen resolution in Linux

Posted by jay_dee [send private reply] at August 05, 2002, 08:43:58 PM

How do you change the screen resolution in Mandrake8.2? I made a post about this a while back about doing it in Red Hat but now I have a new computer and Mandrake insted of RH.

Posted by mop [send private reply] at August 05, 2002, 09:45:25 PM

You can hand code the resolution into the X configuration files.

It worked for me, but I wouldn't recommend it unless you've messed around/up with your xfree files before (I use xfree86-4, and got it right the first time). If it doesn't work, don't blame me, if it does, pay me.

That was in Red Hat 7.3 though, but I bet that doesn't matter.

Posted by Neumann [send private reply] at August 05, 2002, 10:21:43 PM

Strange new world...

At the time I used Linux, messing with XFree86 config files were the only way to change the screen settings! :)

Posted by mop [send private reply] at August 05, 2002, 10:26:15 PM

Well, there probably is a program, such as xconfigurator...
although last time I ran it I needed to reformat shortly after.

Hand coding is the way to go for xfree I find. The best thing to do, is backup your old config file before you mess it up, and write a shell script to replace it or something. That way, when you goto restart x, and it doesn't start up again, you can just replace it again.

Posted by gian [send private reply] at August 05, 2002, 11:26:05 PM

I think there is also some key code to cycle through available video modes.

Posted by mrnorman [send private reply] at August 06, 2002, 12:39:22 PM

In RedHat, there's a program called xConfigurator that will change your screen settings in the xfree86 files for you. It's not under the normal PATH, and I can't remember for the life of me where it's at. Something like /usr/bin/X11/share or something like that. You might have it on Mandrake8.2, so I'd search that file up if you can't seem to configure the xfree86 file manually.

Posted by mop [send private reply] at August 06, 2002, 02:33:31 PM

actually, in redhat you just type 'xConfigurator' into the terminal (after su of course). I really do NOT like it. I recommend hand coding.

Posted by jay_dee [send private reply] at August 06, 2002, 07:17:17 PM

alrihgt, thanks. I'll mess around with it a little.

Posted by gian [send private reply] at August 07, 2002, 07:15:00 PM

XConfigurator is the correct capitalization, from memory.

Posted by unknown_lamer [send private reply] at August 08, 2002, 10:55:38 AM

/me remember using mandrake

Debian handles this all for you with dexconf now :) Just install discover before X and it will probe your hardware and automagically detect stuff like the modes your monitor can use (if it was made after 1996 or so and provides vbe(?) support). You can sort-of run xf4.2 without any modelines at all now (just make sure to select what resolutions you want and it will use the ones you listed from the available list of resolutions). XFree86 is getting nicer every day now...(one of the goals for XF5 is to remove the need for any configuration file at all!)

Posted by mop [send private reply] at August 08, 2002, 01:29:15 PM

Oh but now no need for configuration would take all the fun (and money for me) out of it now, wouldn't it?

Posted by unknown_lamer [send private reply] at August 08, 2002, 01:40:17 PM

It would make everyone's like easier.

Posted by mop [send private reply] at August 08, 2002, 03:01:50 PM

I can't deny that.

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.