Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

The system: OS: Linux Mint 15, Graphics card: Nvidia GeForce 9500 GT, Drivers: nvidia-310 proprietary drivers.

The problem: My monitor has a recommended refresh rate of 60hz, and I want to have it set at that. As stated I'm using Nvidia proprietary drivers and I can set the refresh rate to 60hz either from there or with xrandr, but everything resets after boot or login.

At the moment I have automatic login in my account. I put a line in .bashrc where xrandr sets my refresh rate back at 60hz. At boot the system sets the refresh rate correctly, i.e. the login screen has the correct refresh rate set, then, during login, it sets it to 75hz, and, once again, xrandr sets it back to 60hz. This simply prolongs the boot time with 1-2 minutes, which is really not pleasant.

The culprit: The thing that caused all this was the installation and starting of Tux Racer, after which the system started setting the refresh rate at 75hz. I've had the same problem on Ubuntu 13.04 where this started after playing TeeWorlds, but the result was the same.

To note is that this happens only on an account where the game was played, all other accounts do not exhibit such problems. Creating a new account would solve this problem, but I'm not really keen of porting my home folder, having used the system for a while.

Any help would be highly appreciated.

If possible, I would also like an explanation why this happens.

share|improve this question

closed as off-topic by vasa1, Warren Hill, Kevin Bowen, qbi, guntbert Oct 16 '13 at 20:02

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Community, Warren Hill, Kevin Bowen, qbi, guntbert
If this question can be reworded to fit the rules in the help center, please edit the question.

The system: OS: Linux Mint 15 –  user25656 Oct 16 '13 at 2:31
@vasa1 any problem with that? –  Dumitru Oct 16 '13 at 6:45
From: ... This is not the right place for: Linux Mint, Backtrack, Gnome-Remix (prior to 13.04) and other Linux distributions (try our friends at Unix & Linux Stack Exchange). –  user25656 Oct 16 '13 at 7:45
Linux Mint has its own support pages. If these don't help try Unix & Linux we do not support Mint here. –  Warren Hill Oct 16 '13 at 7:53
I'm asking about a problem on an Ubuntu derivative that reproduces exactly the same on Ubuntu. Whether I'm using Mint or Ubuntu right now doesn't seem relevant. –  Dumitru Oct 16 '13 at 10:18

1 Answer 1

Create a script, and add it to your /etc/lightdm/lightdm.conf. For example (the first three lines should already be there by default):


# Add these lines
# This line is for your login prompt
# This line is for your main desktop

Then in the scripts, do something like:


xrandr -s <your resolution> -r <your refresh>

Make sure to set them to be executable, i.e. sudo chmod a+x *

share|improve this answer
There is no change whatsoever. When I try to run the script manually, it gives me Rate 60.0 Hz not available for this size. –  Dumitru Oct 15 '13 at 20:14

Not the answer you're looking for? Browse other questions tagged or ask your own question.