1 Nov 03:24
Re: rox-filer & gnome mime type default actions
Ken Hayber <ken <at> hayber.us>
2006-11-01 02:24:53 GMT
2006-11-01 02:24:53 GMT
Guillaume Millet wrote: > Hello, > > I recently installed rox-filer in replacement of Nautilus (too slow for > me) for Ubuntu. I found quite displeasing the need of redefining all my > default actions for rox-filer. As I didn't find any option or > information about that, I wrote this script : > > #! /bin/sh > app=$(gnomevfs-info -s "$1" | grep "Default app" | sed 's/.*\: //') > if [ -e ~/.local/share/applications/$app ];then exec $(grep "^Exec" > ~/.local/share/applications/$app | sed 's/Exec=//;s/%U//') "$@";fi > if [ -e /usr/share/applications/$app ];then exec $(grep "^Exec" > /usr/share/applications/$app | sed 's/Exec=//;s/%U//') "$@";fi > > which I save in ~/.config/rox.sourceforge.net/MIME-types/ as > "application", "video", "audio" and "image". > > Have I searched something that already existed ? > > Thanks to rox developpers for your great work. I don't think anything like this already exists. I think it is very interesting. But why not turn it around and make it a one-time migration script. Instead of using this script each time, why not process the existing associations into the rox-equivalent configuration generating all the necessary scripts or links in '~/.config/rox.sourceforge.net/MIME-types/' ?(Continue reading)
RSS Feed