LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-21-2005, 07:44 AM   #1
dazdaz
Member
 
Registered: Aug 2003
Location: Europe
Distribution: RHEL 6.x, 5.x, Fedora 20, Kubuntu 12.04, Solaris 10,8
Posts: 321

Rep: Reputation: 17
Setting the xrandr setting permanently


Hi there,

I'm in the final stages of configuring my X server.

I want to set the xrandr settings in my /etc/X11/xorf.conf file to number 4.

I can do this manually by using

# xrandr -s 4

But i'd like to set this permanently within the X configuration.

How do I do that ?? I can't find any clear reference so far to this.

I believe this part should be enabled in xorg.conf, but how do I select option number 4 ?

Section "ServerFlags"
Option "RandR" "On"
EndSection


[root@blahblah ~]# xrandr -q
SZ: Pixels Physical Refresh
0 1400 x 1050 ( 382mm x 281mm ) 85 75
1 1280 x 1024 ( 382mm x 281mm ) 85 75
2 1280 x 960 ( 382mm x 281mm ) 85
3 1152 x 864 ( 382mm x 281mm ) 85 75
*4 1024 x 768 ( 382mm x 281mm ) *85 75
5 832 x 624 ( 382mm x 281mm ) 75
6 800 x 600 ( 382mm x 281mm ) 85 75
7 700 x 525 ( 382mm x 281mm ) 85 75
8 640 x 512 ( 382mm x 281mm ) 85 75
9 640 x 480 ( 382mm x 281mm ) 85
10 576 x 432 ( 382mm x 281mm ) 85 75
11 512 x 384 ( 382mm x 281mm ) 85 75
12 416 x 312 ( 382mm x 281mm ) 75
13 400 x 300 ( 382mm x 281mm ) 85 75
14 320 x 240 ( 382mm x 281mm ) 85
Current rotation - normal
Current reflection - none
Rotations possible - normal
Reflections possible - none


Thanks !

PS I can post my entire X config, but I don't think it's necessary.
 
Old 11-22-2005, 04:51 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
well you wouldn't select "4" as "4" is just an arbitrary enumeration that xrandr provides. open /etc/X11/xorg.conf find the screen section, find the display subsection relevant to your chosen colordepth and just move your preferred resolution to be the first in the list. e.g.
Code:
    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
here it's first come first served, so by default i'll get 1280x1024, followed by 1024....yada yada yada
 
Old 11-24-2005, 01:57 AM   #3
dazdaz
Member
 
Registered: Aug 2003
Location: Europe
Distribution: RHEL 6.x, 5.x, Fedora 20, Kubuntu 12.04, Solaris 10,8
Posts: 321

Original Poster
Rep: Reputation: 17
That worked, thanks !!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
setting alias in bash, permanently allelopath Linux - General 6 10-24-2008 04:10 AM
setting the default GW permanently hcclnoodles Linux - Networking 6 09-15-2005 09:38 AM
Permanently Setting the Java_Home Dynapen Linux - Newbie 2 08-04-2004 01:53 PM
setting shell limit permanently? Alf829 Linux - General 2 07-30-2003 11:14 AM
setting PATH permanently evian Linux - Software 3 03-14-2003 11:29 AM


All times are GMT -5. The time now is 03:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration