I'm using OpenBox window manager without any desktop enviroment.
xdg-open behaves strangely. It opens everything with firefox.
I'm looking for simple program. Someting like reading every *.desktop file in /usr/share/applications/ folder and automatically setting xdg settings.