dswp.de
http://www.dswp.de/old/

Brightness
http://www.dswp.de/old/installation-updates-bugs/brightness-t2179-10.html
Page 2 of 2

Author:  AimMe [ 05.19.10 ]
Post subject:  Re: Brightness

I have 64-bit lynx and have no problems at all....

Author:  Cookie [ 05.19.10 ]
Post subject:  Re: Brightness

youre special :D

Author:  natirips [ 05.19.10 ]
Post subject:  Re: Brightness

Unclefragger wrote:
~/bin is a MUST have! but why do you add it at the end of $PATH and not in the beginning? You can't override other applications the way you use it

I put it at the end for three reasons:
1) If I want to override an app, I'll sudo cp override it the ugly way (I'm a wirdo that likes ugly methods) :idea: .
2) Not to accidentally override any system-critical app
3)
Code:
natirips@nati-lap:~$ ls bin
aniwall.sh    dswp.de            kompiz   ps_mem.py         urt~
aniwall.sh~   dswp.de~           kompiz~  ps_mem.py~        xjig.
datumi.perl   dswp_whoswhere.pl  lawl     randomamv.x86_64  ymail
datumi.perl~  googleearth        play     urt               ymail~
natirips@nati-lap:~$
 

Author:  eXtr33m [ 05.20.10 ]
Post subject:  Re: Brightness

I tried that optimized file, yea it runs better and i am better with it :) but unfortunately the problem is still unsolved...

Hmm naitirips if it is script it must run in the background waiting for UrT to end? i am not sure, sry i am just PC beginner :) :D

Author:  Rylius [ 05.20.10 ]
Post subject:  Re: Brightness

Third line only starts when UrT finishes, so you can use the script natirips posted "as-is"
(just change the executable path :D)

Author:  natirips [ 05.20.10 ]
Post subject:  Re: Brightness

The simplest solution follows:

Save the file I've attached in your home folder. Open it with a text editor of your choice (Gedit, kate, nano, vi, mousepad, ...) and change the middle line to point to your favorite urt binary. Save. Open a treminal (Applications->Accessories->Terminal) and type:
Code:
. urt.txt
Your urt should start with gamma set to 2 now. When it ends, the gamma will return back to normal.

Complications follow:

1) If you want you can rename the file to "urt" (without the .txt at the end, I only added .txt so I can upload here) for your convinience.

2) If you want to be able to run it from the Run dialog (ALT+F2) do the following:
Open a terminal and type following:
Code:
cd ~
mkdir bin
gedit .bashrc

Use "kate" istead of "gedit" if you are on KDE, or "nano" if you want to do this through the terminal. In nano you save with CTRL+O and exit with CTRL+X.
Now at the end of the file add this line:
Code:
PATH=`echo $PATH:/home/natirips/bin`
(change "natirips" with your own user name).
Save and exit.
At this point you have a "bin" directory where you can put your own executables.

Now, to add urt to it open a terminal:
Code:
cd ~
mv urt.txt bin/urt
chmod +x bin/urt

Or "mv urt bin/urt" if you removed .txt before.

Now you can run it by typing "urt" at the console or at a Run dialog (ALT+F2). You can also make a menu entry, the command you'll need will be "urt".

3) If you don't like my gamma setting, open the file in a text editor and change the value (2 in my case) in the first line.

The value in the last line (1 in my case) restores (or technically sets back) the gamma (back) to normal (the one used for normal desktop).

4) You can add any extra arguments you need for launching UrT at the end of the middle line of the file.

5) Tell me what went wrong if anything went wrong. :D Or if you need any extra info.

Author:  AimMe [ 05.20.10 ]
Post subject:  Re: Brightness

You might want to add mumble-overlay before your urban terror location, so:
Code:
mumble-overlay /your/urt/path/ioUrbanTerror.something

if you want to have mumble overlay, and didn't had it before (with just running urban terror).

Page 2 of 2 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/