LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to select screen resolution with kernel paramters (https://www.linuxquestions.org/questions/linux-general-1/how-to-select-screen-resolution-with-kernel-paramters-919392/)

tobad 12-18-2011 06:47 PM

How to select screen resolution with kernel paramters
 
Hi,
I would like to be able to select what screen resolution is used at startup. What I am trying to accomplish is to have it easy for the user to select what resolution to use in the grub menu because the user will not have access to gnome. I know it is not that hard to change the resolution but in this case I do not want the user to have any knowledge of the underlying system (he should not have to care). The user just starts the computer, can then select in the startup what resolution to use, and thereafter sees the program he is using. I know I could have auto detect but that is not always what is best.
Does anybody have a idea how this can be done, and does it matter if I use the Nvidia driver?

Thanks in advance

teckk 12-18-2011 07:09 PM

Are you talking about the monitor resolution in X or lines of resolution in shell?

If in X then specify it in your xorg.conf. Some big desktop environments like KDE have tools like Krandr to set it.

If you mean the console then you need to tell what flavor of Linux you are using.

tobad 12-18-2011 08:36 PM

Hi teckk,

I am talking about the monitor resolution in X. If there are configured different resolution in the xorg.conf file what needs to be done so that it is possible to choose those resolution with the grub menu before X starts? First I guess that I need to add some more lines in grub.conf to be able to choose, but what exactly must I put in those lines?

Thanks.

teckk 12-19-2011 03:48 PM

You haven't said what your using....

Maybe these links will help.
http://tldp.org/HOWTO/XWindow-User-HOWTO/runningx.html
http://www.slax.org/forum.php?action=view&parentID=447
https://bbs.archlinux.org/viewtopic.php?pid=707446

You could add a xrandr line to each users ~/.xinitrc

tobad 12-20-2011 06:21 PM

Hi,

I am no expert but I think I cannot achieve what I am trying to do with the information given in those links.
I want the user to be able to select different resolution easily. What I would like is for the user to be able to select different resolution at startup (like when selecting different operating system with grub). Then the computer would start with the selected resolution. The user does not have issue any commands, he just selects the line with the corresponding resolution from the menu and the computer starts with that.
I am using Fedoras 8 to 14.

Thanks.


All times are GMT -5. The time now is 08:06 PM.