[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dica para ativar o numlock no X no Debian



Andrea Viana da Silva wrote:

entra no link: le site de Debian e aperta no botao i386 e em cima de
qualquer
um dos repositorios
baixa o pacote numlockx_1.0-7_i386.deb # dpkg -i numlockx_1.0-7_i386.deb

Instalei este pacote a algum tempo, uso o sarge e agora pesquisando na página, vejo que só existe para unstable.
	Por quê será?
Outra coisa, pode-se instalar com o aptitude, não? Visto que está no repositório da unstable.

# cat /etc/X11/Xsession.d/55numlockx >> /etc/gdm/PreSession/Default

Segue meu script 55numlockx, está diferente do de alguém? Pois aqui a dica não funcionou. Só que utilizei a versão 1.0-7.

arawete:~# more /etc/X11/Xsession.d/55numlockx
# In the script that called this, set -e has been set. Errors in any
# command will abort the entire script and X won't start. By putting
# this part in a subshell, any errors will abort the subshell - which
# we want, in case numlockx fails.

# The 'true' at the end ensures that the entire script will never end
# with an error code, even if there was an error.

# Ariel Shkedi <asdebian@dsgml.com>

(
test -x /usr/bin/X11/numlockx && /usr/bin/X11/numlockx on
)

true

Valeu e abraços.
--
jupercio juliano
Jabber: jupercio at jabber.org

Debian-BR-CDD, Debian para desktop com a cara do Brasil
http://cdd.debian-br.org



Reply to: