Author Topic: Easy fix for brightness in Edgy  (Read 4992 times)

enigma

  • Posts: 3
  • Turrets: +0/-0
Easy fix for brightness in Edgy
« on: January 13, 2007, 08:59:23 pm »
I just upgraded to Edgy and found that Tremulous had become too dark to play.  Here is a quick and painless fix:

Open a terminal and type
 
Code: [Select]
sudo gedit /etc/apt/sources.list

Find this line
Code: [Select]
deb http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse

and change it to this
Code: [Select]
deb http://archive.ubuntu.com/ubuntu feisty main restricted universe multiverse

Save it and start up Synaptic, Adept, or whatever you use.  Hit the reload button.  When it's done updating, search for libsdl1.2debian.  Right-click the package with that name and select upgrade.  Synaptic will also want to upgrade a few other packages.  Click apply.  When the update is complete, put your sources.list back the way it was and start playing Trem!

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Easy fix for brightness in Edgy
« Reply #1 on: January 13, 2007, 09:34:31 pm »
or you could just enable backports instead of risking something like edgy's early X breakage.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

enigma

  • Posts: 3
  • Turrets: +0/-0
Easy fix for brightness in Edgy
« Reply #2 on: January 14, 2007, 11:07:05 pm »
it didn't show up in the backports

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Easy fix for brightness in Edgy
« Reply #3 on: January 15, 2007, 03:24:18 am »
It might be better to apt-get source libsdl1.2debian after you change to the feisty repos. This will fetch the sources and will allow you to change back to edgy, so you can backport it yourself.

In fact, I just did that, and it works. Here's what I did:

In terminal: sudo apt-get build-dep libsdl1.2debian
Then I changed the repo location to feisty, as you said.
In terminal: sudo apt-get update && sudo apt-get source libsdl1.2debian
In terminal: cd libsdl1.2-1.2.11/
In terminal: sudo fakeroot debian/rules binary
After the build was done, I changed the repo back to edgy. I then installed(with dpkg -i) the built package of my choice(libsdl1.2debian-alsa where you downloaded the sources.
To fix unmet dependencies, install the built libsdl1.2-dev and libsdl1.2debian(base package) along with your libsdl1.2debian-soundprovider package. You should have no problems with dependencies with the edgy repo later on.

Caveman

  • Guest
Easy fix for brightness in Edgy
« Reply #4 on: January 15, 2007, 09:26:18 am »
why not just do a apt-get install libsdl1.2debian? That would give you version 1.2.11-7 w/o the hassle to compile?

NO ONE using debian should add any repository to his apt-source that are not made for his flavor debian.

yo mama!

  • Posts: 17
  • Turrets: +0/-0
Easy fix for brightness in Edgy
« Reply #5 on: January 15, 2007, 04:57:25 pm »
why cant you just push teh menu button on the monitor? THats what i did.
f you see yo mama comin eat your veggies!!!

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Easy fix for brightness in Edgy
« Reply #6 on: January 16, 2007, 01:21:07 am »
Quote from: "Caveman"
why not just do a apt-get install libsdl1.2debian? That would give you version 1.2.11-7 w/o the hassle to compile?

NO ONE using debian should add any repository to his apt-source that are not made for his flavor debian.
Because backporting it allows you to keep the edgy repositories. If you keep it as feisty, then it will attempt to upgrade everything else that is a higher version in feisty. It will also build libsdl1.2debian 1.2.11-7 with your current system libraries/etc and not the feisty ones.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Easy fix for brightness in Edgy
« Reply #7 on: January 16, 2007, 01:36:27 am »
why are you going through this effort anyway? fresh installs of edgy should have this fixed (so it's either in the backports repository, or the main one)
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Easy fix for brightness in Edgy
« Reply #8 on: January 16, 2007, 01:55:11 am »
Maybe we want the stability/surefire fixed version of 1.2.11? You tell me why people backport things.

Caveman

  • Guest
Easy fix for brightness in Edgy
« Reply #9 on: January 16, 2007, 02:39:50 am »
Odin, I was talking about DEBIAN .)
And in DEBIAN you just don't add sources that are not made for the flavor installed, else it _will_ break the system. And yes even backported stuff can break your system if you are a newbie and have not been warned of the dangers.

enigma

  • Posts: 3
  • Turrets: +0/-0
Easy fix for brightness in Edgy
« Reply #10 on: January 16, 2007, 02:44:02 am »
Alternatively, you could just brave libsdl.org and download the latest source.  The feisty version worked fine, but I like to be on the cutting edge.  The only problem is that the download speed was reminiscent of the days when I connected to the internet via a 2400 baud modem and thought it was fast.