Logo Hardware.com.br
mshonorato
mshonorato General de Pijama Registrado
3.8K Mensagens 156 Curtidas

Como faço para nao precisar digitar um comando sempre que ligar o pc?

#1 Por mshonorato 04/06/2009 - 16:05
Sempre que ligo o pc preciso digitar o comando:

xset -dpms

Para que o monitor não fique entrando em standby

Como eu faço para que esse comando fique fixo?

Obrigado!
Raptor.X
Raptor.X Veterano Registrado
947 Mensagens 37 Curtidas
#5 Por Raptor.X
04/06/2009 - 18:27
mshonorato disse:


Tente coloca-lo em /etc/rc.local assim será executado antes que o login seja feito.
Portanto ele não sera executado nem como root nem como usuário normal.

Abraço
Proc. I5 4570 - Mobo Intel Q87 Exp Chipset
16GB Smart DDR3 1666 - GForce GT 720 - SSD HyperX Kingston 480GB
“O talento educa-se na calma; o carácter, no tumulto da vida.” by Goethe


Raptor.X
Raptor.X Veterano Registrado
947 Mensagens 37 Curtidas
#11 Por Raptor.X
05/06/2009 - 09:28
Oi
Ola, não tenho certeza mas... dentro do arquivo, procure o bloco de texto:

Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce 3 to GeForce 4"
Driver "nvidia"
Option "DPMS" "false"
Option "RenderAccel" "false"
Option "DynamicTwinView" "false"
Option "AddARGBGLXVisuals"
Option "IgnoreEDID" "1"
EndSection

Deixe a linha como esta acima neglito.
Abraço!
Proc. I5 4570 - Mobo Intel Q87 Exp Chipset
16GB Smart DDR3 1666 - GForce GT 720 - SSD HyperX Kingston 480GB
“O talento educa-se na calma; o carácter, no tumulto da vida.” by Goethe


mshonorato
mshonorato General de Pijama Registrado
3.8K Mensagens 156 Curtidas
#12 Por mshonorato
05/06/2009 - 09:37
Meu xorg.conf está assim:


# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "abnt2"
Option "XkbLayout" "br"
Option "XkbVariant" "abnt2"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
EndSection

Marcos Honorato
Debian Bullseye
kubuntu 22.04.2 LTS
Raptor.X
Raptor.X Veterano Registrado
947 Mensagens 37 Curtidas
#13 Por Raptor.X
05/06/2009 - 09:42
Ok
Tente deixa-lo assim:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "abnt2"
Option "XkbLayout" "br"
Option "XkbVariant" "abnt2"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Device"
Identifier "Configured Video Device"
arkRed">Option "DPMS" "false"
EndSection

Section "Monitor"
Identifier "Configured Monitor"

EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
EndSection


Testa ai e posta os resultados!
Proc. I5 4570 - Mobo Intel Q87 Exp Chipset
16GB Smart DDR3 1666 - GForce GT 720 - SSD HyperX Kingston 480GB
“O talento educa-se na calma; o carácter, no tumulto da vida.” by Goethe


© 1999-2025 Hardware.com.br. Todos os direitos reservados.
Imagem do Modal