From: M0E L. <m0...@gm...> - 2008-08-13 20:36:55
|
I dont think it can use any of those plugins.... I thought the notifications were done via GTK On Wed, Aug 13, 2008 at 3:30 PM, Jose J. Rodriguez <jo...@gm...> wrote: > On 8/13/08, M0E Lnx <m0...@gm...> wrote: >> I really want to test this on my vl-light installs (on my older boxes) >> but for some reason vhalswitch is not included in vl-light. >> Can one of you guys send me your /sbin/vhalswitch? >> > > Can't remember if this list allows attachments and it is a short code, so: > > #!/bin/bash > > vdir=`dirname $0` > . $vdir/vasm-functions > check_root > > #if [ $DISPLAY ]; then > # DIALOG=Xdialog > #else > # DIALOG=dialog > #fi > $DCMD --backtitle "$BACKTITLE" --title "HAL Or VL-HOT?" --menu \ > "Would you like to use VL-Hot or HAL to manage your removable devices? \n > VL-Hot uses the kernel and udev to mount removable devices when they > are attached, > and HAL uses a polling daemon that continually scans the system for > recently attached hardware.\n > We recommend VL-Hot for older hardware. \n > Choose the system you would like to use, and we will disable the > other." 20 71 4\ > "VL-HOT" "udev-based external block device automounting system" \ > "HAL" "a daemon that implements hardware abstraction layer" \ > 2> $freply > result=$? > if [ $result != 0 ];then > exit 0 > fi > DRIVER="`cat $freply`" > #echo $DRIVER > case "$DRIVER" in > "VL-HOT") > #while [ ! "$(ps -ef|grep hal|wc|cut -d " " -f7)" = 1 ];do sh > /etc/rc.d/rc.hald stop; sleep 1;done > sh /etc/rc.d/rc.hald stop &>/dev/null > #sh /etc/rc.d/rc.messagebus stop &>/dev/null > chmod -x /etc/rc.d/rc.hald > #chmod -x /etc/rc.d/rc.messagebus > mv /etc/udev/rules.d/10-vl-hot.rules.disabled > /etc/udev/rules.d/10-vl-hot.rules &>/dev/null > exit 0 > ;; > "HAL") > chmod +x /etc/rc.d/rc.hald > #chmod +x /etc/rc.d/rc.messagebus > /etc/rc.d/rc.hald start &>/dev/null > #/etc/rc.d/rc.messagebus start &>/dev/null > mv /etc/udev/rules.d/10-vl-hot.rules > /etc/udev/rules.d/10-vl-hot.rules.disabled &>/dev/null > exit 0 > ;; > esac > > >> >> Notifications should work in LXDE too I assume. >> > > Don't know. Is there a notification plugin for LXDE, or can it use the > gnome notification plugin perhaps? > >> >> BTW Joe, I just signed up at berlios. >> Seems quite fast here too... I may end up moving my projects there >> (especially since google code is in read-only more again) >> > > Yes, I got your email from Berlios... :) > >> >> On Wed, Aug 13, 2008 at 3:20 PM, Jose J. Rodriguez <jo...@gm...> >> wrote: >>> Notice that to get the nice vl-hot_umount notification popup on XFCE, >>> you need to install libnotify, notification-daemon-xfce and libsexy. >>> Still need to work on the KDE notifications, as they use a different >>> engine. >>> >>> Regards, >>> Joe1962 > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Vectorlinux-devel mailing list > Vec...@li... > https://lists.sourceforge.net/lists/listinfo/vectorlinux-devel > |