1

I followed this tutorial to set the brightness indicator on Unity. But when I run the

sudo /opt/indicator-brightness/indicator-brightness.py

command from a terminal, I get

(indicator-brightness.py:1734): Gtk-WARNING **: Impossible to find the theme engine in module_path : « pixmap »
Traceback (most recent call last):

  File "/opt/indicator-brightness/indicator-brightness.py", line 78, in <module>
    create_menu(ind)

  File "/opt/indicator-brightness/indicator-brightness.py", line 46, in create_menu
    curr_brightness = get_curr_brightness()

  File "/opt/indicator-brightness/indicator-brightness.py", line 33, in get_curr_brightness

    curr_brightness = int(p.communicate()[0])

ValueError: invalid literal for int() with base 10: 'No backlights were found on your system\n'

.

Any suggestion is most welcome.

2 Answers 2

2

That tutorial links to some random deb on the internet (you shouldn't trust posts like that), so it's likely that deb is out of date.

Instead try installing it from the developer's PPA and see if you get the error still. If you still do then you need to file a bug on that page with the brightness-indicator developers so they can see if it's a code problem.

1
  • Thanks you very much. That is really helpful. I am on it and give you a feedback when I am done Jan 4, 2012 at 1:05
0

This command works for me. I'm too lazy to install things. Hope this helps.

sudo setpci -s 00:02.0 F4.B=50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .