Re: sudo su Was:Re: [CBLX] Plage braille autoalimentée et netbook

[ Thread Index | Date Index | More lists.tuxfamily.org/carrefourblinux Archives ]


Yo Chris:

On Thu, Dec 15, 2011 at 02:39:09PM +0100, Delaunay Christophe wrote:
> Bonjour Aldo,
> 
> Tu as écrit:
> 
> >Si tu fais brltty en tant que Philippe sur Debian ça ne fonctionne pas non
> >plus.
> 
> Valable aussi sur des distribs RedHat-like. Il faut être root ou avoir
> les privilèges root pour lancer correctement brltty.
> 
> >d'où l'importance de faire en sorte que brltty se lance automatiquement dès
> >le démarrage (cf. conf /etc/default/brltty).
> 
> Argh. Zut. Je n'ai pas ce fichier sur ma machine. C'est probablement
> pour ça que je n'arrive pas à le faire démarrer au boot.

Non, sous Mandriva ou autre RedHat-alike comme tu dis, vois le fichier
rc.local où là tu peux très bien ajouter la ligne

/sbin/brltty

Et si ta config brltty.conf est correcte ça démarrera au bon moment, cad au
boot.
 
Alors pour Ubuntu, le fichier doit s'y trouver;
sinon voici celui de l'Ubuntu LTS de ma compagne:


## début ##
# This is a configuration file for /etc/init.d/brltty; it allows you to
# perform common modifications to the behavior of the brltty daemon
# startup.

# Arguments to pass to BRLTTY
ARGUMENTS="-q"

# If true (or yes) BRLTTY will be started during initramfs execution.
# If you change this setting, you have to run "update-initramfs -u" to have it
# take effect.  If this setting is on, "update-initramfs -u" also needs to be
# run if /etc/brltty.conf gets changed.
START_IN_INITRAMFS=false

# Set RUN_BRLTTY=yes to start brltty at boot time. You may need to
# configure it in /etc/brltty.conf.
RUN_BRLTTY=yes
## fin ##

Je met le fichier en pj, tu peux le copier sous le nom brltty dans
/etc/default/ (mode root root)
et redémarrer.

Et nous tenir au courant!

Aldo.



---
-- 
   CarrefourBLinuX MailingListe 
   Pour obtenir de l'aide, envoyez le sujet  help  à: 
   carrefourblinux-request@xxxxxxxxxxxxxxxxxxx
   Archives: 
   http://listengine.tuxfamily.org/lists.tuxfamily.org/carrefourblinux


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/