Page 4 of 4 FirstFirst ... 234
Results 31 to 36 of 36

Thread: Screen lines at 75 hz

  1. #31
    Join Date
    Apr 2008
    Location
    Martigues, France
    Beans
    49
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Smile Re: Screen lines at 75 hz

    I found only one .xinitrc file, in /etc/X11/xinit. Can I try this one out safely?

    And am I just supposed to paste this:

    xrandr --newmode "cvt -r 1280 768 60" 79.50 1280 1344 1472 1664 768 771 781 798 -hsync +vsync
    xrandr --addmode HDMI-0 "cvt -r 1280 768 60"
    xrandr --output HDMI-0 --mode "cvt -r 1280 768 60"

    exit 0
    in the new file? With or without the 'exit 0' bit?

    Again, thank you for your help,

    FlyingMandarine

  2. #32
    Join Date
    Apr 2009
    Location
    Aotearoha
    Beans
    2,661
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Screen lines at 75 hz

    Don't know..
    How much harm can it do?

    The ~/.xinitrc/ I refer to is a hidden folder in your home folder..
    It may not exist.

    But your /etc/X11/xinit/xinitrc folder/file seems promising ..
    The definitive answer should be found on Xorg.org website..

    I would not add the "exit 0" to end of the new file.

  3. #33
    Join Date
    Apr 2008
    Location
    Martigues, France
    Beans
    49
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Smile Re: Screen lines at 75 hz

    I found the file where you suggested it would be. However, I'm afraid it's still not working.

    There is only one line of command in that file:

    . /etc/X11/Xsession
    I tried adding the following both before and after that line of command:

    xrandr --newmode "cvt -r 1280 768 60" 79.50 1280 1344 1472 1664 768 771 781 798 -hsync +vsync
    xrandr --addmode HDMI-0 "cvt -r 1280 768 60"
    xrandr --output HDMI-0 --mode "cvt -r 1280 768 60"
    But it didn't work. However, it still does work pretty well when I input those three commands manually in the Terminal after Ubuntu has booted.

  4. #34
    Join Date
    Apr 2009
    Location
    Aotearoha
    Beans
    2,661
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Screen lines at 75 hz

    It's possible the full path to executable is required
    /usr/bin/xrandr

    It is possible the best soln is a script in hidden folder in user home
    ~/.xinitrc/my_script
    Last edited by BicyclerBoy; February 16th, 2013 at 02:04 AM.

  5. #35
    Join Date
    Apr 2008
    Location
    Martigues, France
    Beans
    49
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Smile Re: Screen lines at 75 hz

    Well that's curious, I thought I had answered a few days ago...

    I added this full path, but it didn't work either.

    As for ~/.xinitrc/my_script, I didn't find it in my Home folder.

    Although I would like to know what the problem actually is, the fact is, I just have to enter those three commands in the terminal when I start my computer and everything is fine, so I don't want to bother you any longer, as I don't think it's worth the trouble.

    You've been incredibly helpful BicyclerBoy, and thanks to you my problem is practically solved, which is more than enough!

    Thank you for your time and patience,

    FlyingMandarine

  6. #36
    Join Date
    Apr 2009
    Location
    Aotearoha
    Beans
    2,661
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Screen lines at 75 hz

    You most likely do not have the hidden folder (& therefore any contents)..

    You have to create the hidden folder...& the script inside.

    I'll try some experiments on my computer & get back to you..

    Failing all that you could place the commands into a script (text file with execute bit set) & launch it from keyboard combo or desktop icon..
    Last edited by BicyclerBoy; February 23rd, 2013 at 09:22 AM.

Page 4 of 4 FirstFirst ... 234

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •