Re: Display rates -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/02/2013 02:17 PM, Jon Ingason wrote:
> 2013-01-28 01:31, poma skrev:
> 
>>
>> Automation in da display manager style:
>> /etc/lightdm/lightdm.conf:
>> display-setup-script=/usr/bin/RandR
>> …
> 
> Where can I put such scipt if I am running gdm in F18 (Gnome 3.x)?
> 

/etc/gdm/Init/Default:
…

PATH="/usr/bin:$PATH"
OLD_IFS=$IFS

# ViewSonic VX2035wm - Gigabyte IGP
xrandr --newmode "1680x1050R" 119.00 1680 1728 1760 1840 1050 1053 1059
1080 +hsync -vsync >/dev/null 2>&1
xrandr --addmode VGA-0 1680x1050R >/dev/null 2>&1
xrandr --output VGA-0 --mode 1680x1050R >/dev/null 2>&1

gdmwhich () {
…

If it works with xrandr, it is good practice to tailor xorg.conf thereafter.
/etc/X11/xorg.conf:
Section "Monitor"
    Identifier  "ViewSonic VX2035wm"
    Modeline    "1680x1050R" 119.00 1680 1728 1760 1840 1050 1053 1059
1080 +HSync -VSync
    Option      "PreferredMode" "1680x1050R"
EndSection

Section "Device"
    Identifier  "Gigabyte IGP"
    Driver      "driver"
    Option      "Monitor-VGA-0" "ViewSonic VX2035wm"
EndSection

Section "Screen"
    Identifier  "Default Screen"
    Device      "Gigabyte IGP"
    Monitor     "ViewSonic VX2035wm"
EndSection

Section "ServerLayout"
   Identifier  "Default Layout"
   Screen      "Default Screen"
EndSection

man xorg.conf - MONITOR SECTION


>>
>> /usr/bin/RandR:
>> #!/bin/sh
>> # ViewSonic VX2035wm
>> xrandr --newmode "1680x1050R" 119.00 1680 1728 1760 1840 1050 1053 1059
>> 1080 +hsync -vsync >/dev/null 2>&1
>> xrandr --addmode VGA-0 1680x1050R >/dev/null 2>&1
>> xrandr --output VGA-0 --mode 1680x1050R >/dev/null 2>&1
>> exit 0
>>
>>
>> Cheers,
>> poma
>>
> 
> 

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux