Não consigo aumentar ou diminuir o brilho da minha tela em UBUNTU 15.10 [duplicado]

0

Apenas imaginando se alguém sabe qual é o problema. Eu uso o controle da barra de brilho com o teclado ou em opções, o computador mostra a barra de brilho aumentando ou diminuindo, mas a tela ainda está no brilho máximo.

Meu computador é: Gateway NV51M

CPU: Processador Intel Pentium T4500

Placa gráfica: Chipset Intel GM45 Express

SO: Ubuntu 15.10 64 bits

A barra de brilho muda, mas a tela não muda

Por favor, se alguém puder me ajudar, estou frustrado: (

    
por Lucas Gamaleri 28.10.2015 / 15:29

2 respostas

0

Depois de procurar por dias, cheguei à solução na última resposta de esta página .

Eu gostaria de escrever a resposta aqui, mas não conheço HTML. Sinto muito pelas pessoas que encontrarão essa resposta. Pelo menos eu quero ajudá-los a escrever o URL.

    
por Lucas Gamaleri 01.11.2015 / 18:42
0

Eu não sei se funciona para o seu computador também. Alguns escreveram que funciona para este Gateway NV44 (ubuntuforums.org) . S * ele acabou de usar o script fornecido: link para o script

Abra o terminal e digite (ou use qualquer outro texteditor

mousepad ./backlight_d.sh

Inserir no skript

#!/bin/bash

old_b=9;
declare -i curr_b=240;
declare -i target_b=240;

while : ; do
b='cat /sys/class/backlight/acpi_video0/brightness';
delay="0.5"

if [ $old_b != $b ]; then
old_b=$b
let "target_b=$b * 20 + 12"
#printf "Target: %10d\n" $target_b
fi

hex_b=".";

if [ "$curr_b" -lt "$target_b" ] ; then
let "curr_b=$curr_b + 2"
if [ "$curr_b" -gt "$target_b" ] ; then
let "curr_b=$target_b"
fi

hex_b="-"
elif [ "$curr_b" -gt "$target_b" ] ; then
let "curr_b=$curr_b - 2"
if [ "$curr_b" -lt "$target_b" ] ; then
let "curr_b=$target_b"
fi

hex_b="-"
fi

if [ $hex_b != "." ] ; then
hex_b='printf "%02X" $curr_b'
delay="0.005"
setpci -s 00:02.0 F4.B=$hex_b
fi

sleep $delay
done 

Salve o arquivo e feche o editor.

A seguir está copiando o arquivo em / etc e alterando os direitos do arquivo por (você pode ter que digitar sua senha)

sudo cp ./backlight_d.sh /etc/ && sudo chmod +x /etc/backlight_d.sh

Abra com um editor de texto o rc.local

sudo mousepad /etc/rc.local

e adicione saída 0;

nohup /etc/backlight_d.sh &

Salve o arquivo e feche o editor.

% bl0ck_qu0te%     
por JonnyTischbein 28.10.2015 / 16:12