Urban Terror Forums: 4.3.3 Brightness issue - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

4.3.3 Brightness issue Rate Topic: -----

Game brightness setting not reset on game exit

#11 User is offline   Elgiantpopcorn Icon

Posted 20 February 2020 - 07:19 PM

That xrandr script saved me thanks!

View Postcobalt60, on 24 September 2018 - 05:42 AM, said:

I know your issue is solved, but maybe someone will find the following info useful.

I always use a startup script to launch UrT. Brightness is one of the things my script addresses. Here is a simple example of a startup script that will raise your brightness when the game starts, and set it back to nowmal upon exiting:


#!/bin/bash
# Urban Terror startup script
# /usr/local/bin/urt43

# raises brightness before starting UrT
xrandr --output DVI-I-0 --gamma 1.8:1.8:1.8

# launches UrT
/home/YOURUSERNAME/UrbanTerror43/Quake3-UrT.x86_64

# set brightness back to normal upon exiting
xrandr --output DVI-I-0 --gamma 1.0:1.0:1.0



In the above example, replace "DVI-I-0" with whatever your monitor is; you can find this by running xrandr. A good place to put this startup script is in "/usr/local/bin"; that way, you can just launch a terminal and type in whatever you named your script, for example, "urt".

Theres lots more you can do with a custom script, right now I am modifying mine to enable full screen anti-aliasing for UrT.


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Sponsored link
https://www.frozensand.com/


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942