Setting brightness automatically in Ubuntu