Idea:1st click on Browse Device --- mount + browse in thunar + log this event
2nd click on Browse Device --- umount + log this event
Implementation:
Implementation:
0) sudo apt-get install obexfs
1) touch /var/log/thunar_obex.log
2) chmod a+rw /var/log/thunar_obex.log
3) sudo nano /usr/bin/thunar_obex.sh
4) sudo chmod +x /usr/bin/thunar_obex.sh
5) edit: Blueman tray icon -> Local Services -> Transfer -> Advanced to: /usr/bin/thunar_obex.sh %d
6) sudo chmod 777 /media
Source:
http://blueman-project.org/forum/viewtopic.php?f=7&t=80&start=10#p1110