Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it L'avatar di lion1810
    Registrato dal
    Nov 2002
    Messaggi
    1,543

    configurazione IvmConfigActions.xml

    volevo configurare ivman (utilizzato assieme con icewm+rox) ma non ci riesco.. mi spiego:
    nel file di configurazione IvmConfigActions.xml


    <?xml version="1.0" encoding="UTF-8"?>
    <ivm:ActionsConfig version="0.2" xmlns:ivm="http://www.eikke.com/ivm">



    <ivm:Match name="ivm.mountable" value="true">
    <ivm:Option name="mount" value="true" />
    </ivm:Match>


    <ivm:Match name="hal.volume.disc.type" value="cd_rom">
    <ivm:Match name="hal.volume.disc.has_audio" value="true">
    <ivm:Match name="hal.volume.disc.has_data" value="false">
    <ivm:Option name="exec" value="/usr/bin/beep-media-player" />
    </ivm:Match>
    </ivm:Match>
    </ivm:Match>

    <!-- When attaching a wireless card, if we connect to network with Nickname 'QUT-Wireless',
    start 'vpnc-connect' to connect to VPN; when we remove wireless card, disconnect
    from the VPN. Replace the 'NETID' with your own wireless network Nickname. -->
    <!--
    <ivm:Match name="hal.info.category" value="net.80211">
    <ivm:Option name="exec" value="NETID=&apos;QUT-Wireless&apos;; i=0; while ! { /sbin/ifconfig $hal.net.interface$ | grep 'inet addr' &>/dev/null || [ $i -gt 45 ]; }; do sleep 1; i=`expr $i + 1`; done; ps aux | grep -v grep | grep vpnc &> /dev/null || { c=0; while ! { [ "`/usr/sbin/iwconfig $hal.net.interface$ 2>&1 | sed -n -r -e 's/.*Nickname:"([^"]+)".*/1/ p'`" = "${NETID}"] || [ $c -ge 10 ]; }; do sleep 1; c=`expr $c + 1`; done; [ $c -lt 10 ] && sudo vpnc-connect; }" />
    <ivm:Option name="execun" value="sudo vpnc-disconnect" />
    </ivm:Match>
    -->


    <!--
    <ivm:Match name="hal.volume.disc.type" value="dvd_rom">
    <ivm:Option name="execdvd" value="PLAYER='xine'; PLAYEROPT='-f dvd://'; pumount $hal.volume.mount_point$ && ${PLAYER} ${PLAYEROPT}$hal.block.device$" />
    </ivm:Match>
    -->


    <!-- If you would like a little box to pop-up in KDE and notify when a new
    device is detected, Windows-style, uncomment this entire block.
    Feel free to add entries for devices which aren't handled yet... -->
    <!--
    <ivm:Match name="hal.info.category" value="storage">
    <ivm:Match name="hal.storage.bus" value="usb">
    <ivm:Option name="exec" value="kdialog --passivepopup 'USB storage device detected: $hal.info.vendor$ $hal.info.product$' 4" />
    </ivm:Match>
    </ivm:Match>
    <ivm:Match name="hal.info.category" value="scanner">
    <ivm:Match name="hal.storage.bus" value="usb">
    <ivm:Option name="exec" value="kdialog --passivepopup 'USB scanner detected: $hal.info.vendor$ $hal.info.product$' 4" />
    </ivm:Match>
    </ivm:Match>
    <ivm:Match name="hal.info.category" value="printer">
    <ivm:Match name="hal.info.bus" value="usb">
    <ivm:Option name="exec" value="kdialog --passivepopup 'USB printer detected: $hal.info.vendor$ $hal.info.product$' 4" />
    </ivm:Match>
    </ivm:Match>
    -->


    </ivm:ActionsConfig>

    ho provato a modificare questo :

    <ivm:Match name="hal.volume.disc.type" value="cd_rom">
    <ivm:Match name="hal.volume.disc.has_audio" value="true">
    <ivm:Match name="hal.volume.disc.has_data" value="false">
    <ivm:Option name="exec" value="/usr/bin/beep-media-player" />
    </ivm:Match>
    </ivm:Match>
    </ivm:Match>

    per far partire x un cd audio bmp ... pero' non mi funziona. Avevo pensato che di sbagliato ci sia name="hal.volume.disc.type" value="cd_rom" inserito di default. Su che file trovo queste indicazioni (hal.volume.disc.type) o avete qualche altro suggerimento???

  2. #2
    Utente di HTML.it L'avatar di lion1810
    Registrato dal
    Nov 2002
    Messaggi
    1,543
    :master:

    non ci credo che nessuno abbia mai modificato quel file!!!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.