Mostrando postagens com marcador Debian. Mostrar todas as postagens
Mostrando postagens com marcador Debian. Mostrar todas as postagens

Botão desligar e reiniciar no menu do fluxbox


Botão desligar e reiniciar no menu do fluxbox

Estes procedimentos foram excutados no Debian Squeeze , ou Debian 6 ,como preferir .

No terminal logado como root execute o comando

#adduser nome_de_usuario sudo

em seguida abra o arquivo :

#nano /etc/sudoers

Ao invéns do nano , você pode usar outro editor de texto , fica a seu critério

Caso queira executar os comandos sem precisar digitar a senha substitua a linha

%sudo ALL=(ALL) ALL

por esta

%sudo ALL=NOPASSWD: ALL

Salve o arquivo , feche o terminal .


Agora novamente no terminal execute :

$nano ~/.fluxbox/menu

Novamente ao invéns do nano , você pode usar outro editor de texto , fica a seu critério

Adicione os sequintes comandos :

[exec] ( Reiniciar ) { sudo reboot}
[exec] ( Desligar ) {sudo poweroff}

Aqui também poderia ser da sequinte maneira e o efeito seria o mesmo :

[exec] (Reiniciar) {sudo /sbin/reboot}
[exec] (Desligar) {sudo /sbin/halt}

Salve .

Fechar tudo , pressionar Ctrl + Alt + F1 , ira entrar em modo texto . 
Então pressionar Ctrl + Alt + Del

Ira reiniciar , e pronto , logar normalmente em sua conta . Abra o menu e certifique-se que os comandos estão funcionando .



Emesene - erro plugins


You are using emesene 1.6.3 - "Uberlândia" so you're free to complain here:
http://forum.emesene.org/index.php/board,19.0.html
Check already existing tickets for duplicates first, please.
Traceback (most recent call last):
File "/usr/share/emesene/Controller.py", line 422, in on_login_successful
self.sound = Sound.SoundHandler(self, self.msn, action='start')
File "/usr/share/emesene/Sound.py", line 137, in __init__
self.sound = Sound(self.theme)
File "/usr/share/emesene/Sound.py", line 56, in __init__
self.player = gst.element_factory_make("playbin", "player")
ElementNotFoundError: playbin
Solucão :

apt-get install gstreamer0.10-plugins-base
sem som ?

apt-get install gstreamer0.10-plugins-good

Sources.list completa para Debian 5 Lenny

Pra quem acabou de instalar o debian , ta ae um adianto , estou usando aqui e ta normal .
Vc pode copiar e colar , use o nautilus , pressione ALT+F2 digite sua senha , dps vai em /etc/apt



deb ftp://ftp.br.debian.org/debian/ stable main contrib non-free
deb ftp://mirrors.kernel.org/debian/ stable main contrib non-free
deb http://ftp.br.debian.org/debian/ lenny main contrib
deb http://ftp.br.debian.org/debian/ lenny main contrib non-free
deb http://ftp.br.debian.org/debian/ lenny-proposed-updates contrib main
deb http://ftp.br.debian.org/debian-multimedia/ lenny main
deb http://ftp.br.debian.org/debian-multimedia/ lenny main
deb http://ftp.br.debian.org/debian/ oldstable main
deb http://ftp.br.debian.org/debian/ stable main
deb http://ftp.br.debian.org/debian/ stable main contrib non-free
deb http://packages.dotdeb.org stable all
deb http://security.debian.org/ lenny/updates main contrib
deb http://security.debian.org/ lenny/updates main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb http://www.backports.org/debian lenny-backports main contrib non-free
deb http://www.debian-multimedia.org stable main
deb-src ftp://ftp.br.debian.org/debian/ stable main contrib non-free
deb-src ftp://mirrors.kernel.org/debian/ stable main contrib non-free
deb-src http://ftp.br.debian.org/debian/ lenny main contrib
deb-src http://ftp.br.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.br.debian.org/debian/ lenny-proposed-updates contrib main
deb-src http://ftp.br.debian.org/debian/ oldstable main
deb-src http://ftp.br.debian.org/debian/ stable main
deb-src http://ftp.br.debian.org/debian/ stable main contrib non-free
deb-src http://packages.dotdeb.org stable all
deb-src http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main contrib non-free
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://www.backports.org/debian lenny-backports main contrib non-free
deb-src http://www.debian-multimedia.org stable main