Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Asus skript na jas - surne prosim  (Přečteno 974 krát)

5taPo

  • Návštěvník
  • Příspěvků: 11
Asus skript na jas - surne prosim
« kdy: 16 Října 2009, 17:55:49 »
Dobry den!

Snazim sa podla tohto navodu rozbehat jas na displeji mojho notebooku ASUS M50sr:
Citace
1. Screen Brightness

The ambient light sensor is the cause of the dim screen, we’ll have to turn it off. To fix this we will have to create a shell script that will be run on boot up that will turn of the ambient light sensor.

A) Open Terminal (Menu->Accessories), and type the following:
sudo nano brightness

B) Now paste the following in the Terminal window:
#!/bin/sh
echo 0 > /sys/devices/platform/asus-laptop/ls_switch

C) Hit Ctrl-O to save and then Ctrl-X to exit.

D) Now we will copy our new shell script to the appropriate directory, make it executable and add the following links by typing the following in Terminal:
sudo mv brightness /etc/init.d
and then
sudo chmod 755 /etc/init.d/brightness
and then
sudo update-rc.d brightness defaults 90

E) Reboot, and you will have regained control of your brightness level.

Ale po zadani prikazu
Citace
sudo update-rc.d brightness defaults 90
mi vypise ze
Citace
update-rc.d: warning: /etc/init.d/brightness missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>

Ako mam upravit tento skript aby vyhoval podmienkam, dakujem vopred za odpoved

 

Provoz zaštiťuje spolek OpenAlt.