maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Jolla1 & TOH (https://talk.maemo.org/forumdisplay.php?f=56)
-   -   lauch script when oth is removed or installed (https://talk.maemo.org/showthread.php?t=92275)

bob_bipbip 2014-01-04 20:52

lauch script when oth is removed or installed
 
hello, is someone know how to launch a script when the oth is removed or installed ?
thanks :cool:

Mikkosssss 2014-01-04 21:29

Re: lauch script when oth is removed or installed
 
I dont know how it took so long to understand your post. :p

But I would like to know too. Maybe some day I find some use for it.

pycage 2014-01-05 08:57

Re: lauch script when oth is removed or installed
 
You can watch D-Bus for the signals and take actions on it. Look for com.jolla.tohd on the system bus.

bob_bipbip 2014-01-05 11:56

Re: lauch script when oth is removed or installed
 
Quote:

Originally Posted by Mikkosssss (Post 1403830)
But I would like to know too. Maybe some day I find some use for it.

ok, my jolla have a strange behaviour about sd card mount. it just DON'T automatically mount. but it's not a bad thing, because the default mounting point is not that good.

this is what i've done with my sd card:
mount:
/dev/mmcblk1 on /data/sdcard type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)
/dev/mmcblk1 on /home/nemo/Videos type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)
/dev/mmcblk1 on /home/nemo/Desktop type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)
/dev/mmcblk1 on /home/nemo/Documents type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)
/dev/mmcblk1 on /home/nemo/Downloads type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)
/dev/mmcblk1 on /home/nemo/Music type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)
/dev/mmcblk1 on /home/nemo/Pictures type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)
/dev/mmcblk1 on /home/nemo/Public type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)
/dev/mmcblk1 on /home/nemo/Templates type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache)

now, i want to unmount and mount my sdcard when i put the other half on and off, for not having a corrupt filesystem ;)


All times are GMT. The time now is 23:09.

vBulletin® Version 3.8.8