Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Awesome window manager and have a textbox widget that I want to update with the current brightness level on an arbitrary interval of my choosing. Is there anyway to do this with Awesome and if so, how?

share|improve this question

This is a great question. It's mostly covered by using the information on the widgets in awesome page. I havent set it up myself, but intend to use the same concepts for other functions. I'd use a combination of awful.widget.progressbar (brightness level is 0-100%). If you wanted to use your textbox, you can. add a signal to a timer widget that updates the text property of your textbox or use the set_value() if you want to use the Progressbar. Checkout the large list of lua extensions that are packaged as libraries. There may be one that already does what you want or something very similar.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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