wok rev 2284

ivman: use desktop box for notification + start burnbox for blank CD
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 20 18:14:53 2009 +0100 (2009-02-20)
parents b2603ea1e6c0
children 13a75a74f772
files ivman/stuff/IvmConfigActions.xml
line diff
     1.1 --- a/ivman/stuff/IvmConfigActions.xml	Fri Feb 20 16:21:33 2009 +0000
     1.2 +++ b/ivman/stuff/IvmConfigActions.xml	Fri Feb 20 18:14:53 2009 +0100
     1.3 @@ -4,23 +4,31 @@
     1.4  
     1.5  	<ivm:Option name="checkOnInit" value="true" />
     1.6  
     1.7 -    <!-- mount everything we can -->
     1.8 -    <!-- 
     1.9 -    <ivm:Match name="ivm.mountable" value="true">
    1.10 -        <ivm:Option name="mount" value="true" />
    1.11 -    </ivm:Match>
    1.12 -    -->
    1.13 -
    1.14 -    <!-- rip CDs with audio tracks and no data tracks -->
    1.15 -    
    1.16 +    <!-- Audio CDs -->
    1.17      <ivm:Match name="hal.volume.disc.type" value="cd_rom">
    1.18          <ivm:Match name="hal.volume.disc.has_audio" value="true">
    1.19              <ivm:Match name="hal.volume.disc.has_data" value="false">
    1.20 -                <ivm:Option name="exec" value="asunder" />
    1.21 +                <ivm:Option name="exec" value="alsaplayer" />
    1.22              </ivm:Match>
    1.23          </ivm:Match>
    1.24      </ivm:Match>
    1.25      
    1.26 +    <!-- Start burnbox for blank cdrom -->
    1.27 +    <ivm:Match name="hal.info.category" value="volume">
    1.28 +        <ivm:Match name="hal.volume.is_disc" value="true">
    1.29 +             <ivm:Match name="hal.volume.disc.is_blank" value="true">
    1.30 +                 <ivm:Option name="exec" value="burnbox" />
    1.31 +             </ivm:Match>
    1.32 +       </ivm:Match>
    1.33 +    </ivm:Match>
    1.34 +
    1.35 +    <!-- Notification with desktopbox notify -->
    1.36 +    <ivm:Match name="hal.info.category" value="storage">
    1.37 +       <ivm:Match name="hal.storage.bus" value="usb">
    1.38 +           <ivm:Option name="exec" value="desktopbox notify 'USB storage device detected'" />
    1.39 +       </ivm:Match>
    1.40 +    </ivm:Match>
    1.41 +    
    1.42      <!-- Notification with dzen2 -->
    1.43      <!--
    1.44      <ivm:Match name="hal.info.category" value="storage">