You are not logged in.
Hi guys,
I have a problem with skype settings.
When I receive a file and click in the skype's File Transfers window it opens firefox pointing to: file:///home/myusername
Did someone had similar problems.
I'm running openbox and would like to start thunar when I click on "open file" or "open file location".
I also tried
cd ~/.Skype/ && grep firefox . -r
but didn't get any useful information.
I also googled around but I didn't found any information about how to set thunar instead of firefox.
Thank you very much for any tip or suggestion.
Last edited by ArchArael (2008-07-09 16:23:27)
Offline
Skype probably uses xdg-utils to open files and, if I remember correctly, xdg-open script uses the browser to open files if it finds that neither kde, gnome, or xfce are running.
Offline
Thank you fwojciec,
you are right. I was missing xdg-utils. And the command
xdg-open /home/myusername
opens the browser.
Right now I am googling and searching some way to use and configure xdg-utils in openbox.
I will post a solution if I find it.
Last edited by ArchArael (2008-07-09 14:03:56)
Offline
I don't know if there is a way to configure xdg-utils... You can always edit the script itself, find the section that says:
generic)
open_generic "$url"
;;
And change it to
generic)
open_xfce "$url"
;;
It's a nasty hack, and it will get overwritten when xdg-utils package is updated, but it should produce the effect you're looking for.
Offline
Thank you again fwojciec,
Inspired by your suggestion I looked at the xdg-open script and noticed this code:
#--------------------------------------
# Checks for known desktop environments
# set variable DE to the desktop environments name, lowercase
detectDE()
{
if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde;
elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;
elif xprop -root _DT_SAVE_MODE | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
fi
}
Then I just added this to my .config/openbox/autostart.sh
export DE=xfce
And now skype opens thunar instead of firefox.
Maybe there are better solutions but this one just works...and I even don't have to modify my xdg-open script so I can also upgrade xdg-utils without worrying.
Thank you again for the suggestion...
ArchArael
Last edited by ArchArael (2008-07-09 17:16:57)
Offline
That's much more elegant than what I came up with
Offline