1 |
Não, infelizmente nao conheco nem uma pagina com dica de regras. |
2 |
mas fucando com o comando "lshal" dá pra fazer muita coisa. |
3 |
por exemplo, eu modifiquei a regra para tocar dvd |
4 |
|
5 |
a original é: |
6 |
<!-- example - autoplay video DVDs --> |
7 |
<!-- video DVD detection is an ugly hack at the moment, because it's |
8 |
not |
9 |
possible to tell if a DVD contains video without mounting it |
10 |
first. |
11 |
That's why we don't use a 'Match' to tell if a volume is a |
12 |
video |
13 |
DVD yet. --> |
14 |
<!-- |
15 |
<ivm:Option name="execdvd" value="pumount '$hal.block.device$' |
16 |
&& /usr/bin/mplayer dvd://1 -really-quiet -fs" /> |
17 |
--> |
18 |
|
19 |
|
20 |
mas com o "lshal | less" eu descobri que a regra |
21 |
(um pouco mais dificil de entender) funciona melhor: |
22 |
|
23 |
|
24 |
<ivm:Match name="hal.volume.disc.type" value="dvd_rom"> |
25 |
<ivm:Match name="hal.volume.disc.has_audio" value="false"> |
26 |
<ivm:Match name="hal.volume.disc.has_data" value="true"> |
27 |
<ivm:Match name="hal.volume.disc.is_videodvd" |
28 |
value="true"> |
29 |
<ivm:Option name="exec" value="/usr/bin/xine |
30 |
dvd://'$hal.block.device$'" /> |
31 |
</ivm:Match> |
32 |
</ivm:Match> |
33 |
</ivm:Match> |
34 |
</ivm:Match> |
35 |
|
36 |
|
37 |
|
38 |
[]'s |
39 |
tenorio |
40 |
|
41 |
On Wed, 2006-04-26 at 18:37 -0300, Felipe Rafael Prenholato wrote: |
42 |
> -----BEGIN PGP SIGNED MESSAGE----- |
43 |
> Hash: SHA1 |
44 |
> |
45 |
> O ivman realmente é bem massa. Estou usando ele aqui a alguns dias |
46 |
> também e ta me quebrando mto galho. |
47 |
> |
48 |
> To usando hal,dbus, ivman em conjunto,funfa q é uma beleza. |
49 |
> Tentei o supermount (aplicando patch na unha no ck-sources com |
50 |
> fbsplash), submount, nada ia, ivman foi de cara. |
51 |
> |
52 |
> Só não tive tempo de fuçar em suas regras. Tenório, sabes de alguma |
53 |
> página com dicas de regras, etc? |
54 |
> |
55 |
|
56 |
|
57 |
|
58 |
-- |
59 |
gentoo-user-br@g.o mailing list |