[Thunar-dev] Summer of Code Proposal.

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Thu May 4 09:26:39 CEST 2006


Brian J. Tarricone wrote:
>>>>Hey,
>>>>Thunar already detects and mounts CDs or USB sticks that are plugged
>>>>in (on Linux, using HAL), so I'm not sure what's new in your idea.
>>>
>>>Automounting is still an open topic, tho. Google already rejected the
>>>Xfce project for this years SoC, but you may try to get your proposal
>>>accepted. 
> 
> That doesn't really sound like much of a project though.  Changing
> thunar's volume manager to automount would only require a couple lines
> of code per volume manager impl, no?  Or one each, even.
> 
> Or one could write a little daemon in like 50 lines that uses thunar-vfs
> and automounts every time something gets plugged in.  Ok, here's one in
> 48 lines:
> http://spuriousinterrupt.org/files/xfce4/thunar-vfs-automounter.c
> Well, ok, now that I added the license header, it's more than 50 lines.
>  Sue me.
> 
> (Note: wrote it in about 5 minutes, not tested beyond plugging in my
> ipod to see if it automounts.  If it causes your computer to explode, or
> insults your mother, I disclaim responsibility.)

IMHO the automounter should do a bit more than just automount. ;-)

It should be configurable and probably also use HAL on Linux to detect
audio cds and such, that are not supported by the volume manager. It
should implement the XDG autostart spec (the autoopen part, the
autostart part itself is implemented by xfce4-session).

> 	-brian

Benedikt



More information about the Thunar-dev mailing list