* Re: [Comm] Три вопроса:
@ 2009-10-05 9:20 ` Andriy Dobrovol`s`kii
2009-10-05 16:39 ` Olexander Chernetskyy
1 sibling, 1 reply; 4+ messages in thread
From: Andriy Dobrovol`s`kii @ 2009-10-05 9:20 UTC (permalink / raw)
To: ALT Linux Community general discussions
2009/10/5 Павел Скрылёв <3ahyga@gmail.com>:
> Приветствую всех.
> 3. На десктопе у меня (в томже Ковчеге) выставилось разрешение 800х600, хотя
> acc говорит, что возможно 1280х1024, однако, судя по отчёту, intelовский
> драйвер, почему-то, выставляет именно 800х600, как сие поправить?
>
С Интелами и не то бывает. Поставьте принудительно. Можно через запись
в конфиг Ксорга. Желаемый режим должен быть первым в списке доступных
или единственным.
> Павел
>
--
Regards,
Andrii Dobrovol`s`kyj
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Три вопроса:
2009-10-05 9:20 ` [Comm] Три вопроса: Andriy Dobrovol`s`kii
@ 2009-10-05 16:39 ` Olexander Chernetskyy
1 sibling, 0 replies; 4+ messages in thread
From: Olexander Chernetskyy @ 2009-10-05 16:39 UTC (permalink / raw)
To: ALT Linux Community general discussions
>
> 2. На нотике последний предрелиз (Ковчег) ведёт себя с дисплеем как-то
> странно. То выставляет ему максимальную яркость, например, после
> минимальной
> выставленной биосом, то минимальную, после максимайльной выставленной тем
> же
> биосом. такое впечатление, что он просто обращает текущее значение. Есть
> некая программулина во Гноме, с помощью которой можно управлять яркостью,
> но
> запускать её каждый раз после загрузки системы не с руки. Как управлять
> яркостью, или лучше выставить её в определённое значение во время
> загрузки?
>
>
> Павел
Или я что-то пропустил или про управление яркостью никто ничего не сказал.
Вообще-то у меня не ноут, просто монитор находится на расстоянии больше
вытянутой руки. И когда мне надоело отрывать зад от кресла, чтобы
подрегулировать яркость/контрастность я сделал такой вот скрипт и ярлык
повесил на десктоп.
-------------------------------------------------------------------------------
#/bin/sh
DIALOG=${DIALOG=kdialog}
if [ ! -c /dev/i2c-2 ]
then
sudo /sbin/modprobe i2c-dev
sleep 1
sudo /bin/chmod a+rw /dev/i2c-2
fi
choice=`$DIALOG \
--combobox "Ставим Яркость-Контрастность экрана" \
"20-20" "30-30" "40-40" "50-50" \
"60-50" "70-50" "80-50"`
retval=$?
if [ "$retval" = "1" ]
then exit
fi
case $choice in
"20-20")
sudo ddccontrol -r 0x10 -w 20 dev:/dev/i2c-2 >/dev/null 2>&1
sudo ddccontrol -r 0x12 -w 20 dev:/dev/i2c-2 >/dev/null
2>&1;;
"30-30")
sudo ddccontrol -r 0x10 -w 30 dev:/dev/i2c-2 >/dev/null 2>&1
sudo ddccontrol -r 0x12 -w 30 dev:/dev/i2c-2 >/dev/null
2>&1;;
"40-40")
sudo ddccontrol -r 0x10 -w 40 dev:/dev/i2c-2 >/dev/null 2>&1
sudo ddccontrol -r 0x12 -w 40 dev:/dev/i2c-2 >/dev/null
2>&1;;
"50-50")
sudo ddccontrol -r 0x10 -w 50 dev:/dev/i2c-2 >/dev/null 2>&1
sudo ddccontrol -r 0x12 -w 50 dev:/dev/i2c-2 >/dev/null
2>&1;;
"60-50")
sudo ddccontrol -r 0x10 -w 60 dev:/dev/i2c-2 >/dev/null 2>&1
sudo ddccontrol -r 0x12 -w 50 dev:/dev/i2c-2 >/dev/null
2>&1;;
"70-50")
sudo ddccontrol -r 0x10 -w 70 dev:/dev/i2c-2 >/dev/null 2>&1
sudo ddccontrol -r 0x12 -w 50 dev:/dev/i2c-2 >/dev/null
2>&1;;
"80-50")
sudo ddccontrol -r 0x10 -w 80 dev:/dev/i2c-2 >/dev/null 2>&1
sudo ddccontrol -r 0x12 -w 50 dev:/dev/i2c-2 >/dev/null
2>&1;;
esac
-------------------------------------------------------------------------------
Только, пожалуйста, не нужно тыкать меня харей, что это неправильно, криво
и т.д. Скрипт писАлся методом научного тыка, как сумел так и сделал. Меня
он устраивает, может и кому-то еще поможет.
--
Best regards,
ArCher
^ permalink raw reply [flat|nested] 4+ messages in thread