[Thunar-dev] Fuse, scripts and thunar

Erlend Davidson E.R.M.Davidson at sms.ed.ac.uk
Wed Aug 29 15:08:58 CEST 2007


Is thunar to have support for Fuse filesystems?  They are becoming more 
popular and more useful.  I personally use the following script to 
handle my windows shares:

#! /bin/bash

MOUNTED=`mount | grep -c /mnt/samba`
if [ $MOUNTED -ne 0 ]; then
    echo "Samba shares already mounted on /mnt/samba"
else
    fusesmb -o allow_other /mnt/samba
fi


I was thinking it could be useful to have these scripts integrated in 
thunar as an icon the sidepane above the shortcuts (where Desktop, Trash 
and Filesystem are).  You could have an icon which when clicked runs a 
custom script before navigating to a directory.  In the above example it 
would run my script and then navigate to /mnt/samba, though you probably 
want the /mnt/samba to be a variable, and you probably want these 
mount-points to be somewhere else.

Thunar could come with scriptable-icons but users could also make their 
own (e.g. for things like trackerfs, sshfs as well as fusesmb).

Any thoughts on this?

Thanks,

Erlend



More information about the Thunar-dev mailing list