Skip to content

Instantly share code, notes, and snippets.

@TylerJWhit
Created September 2, 2015 21:55
Show Gist options
  • Save TylerJWhit/d096cdab8e15139ff438 to your computer and use it in GitHub Desktop.
Save TylerJWhit/d096cdab8e15139ff438 to your computer and use it in GitHub Desktop.
When Ubuntu doesn't play nice with XFCE and mime types. Change generic to xfce in /usr/bin/xdg-open
detectDE
if [ x"$DE" = x"" ]; then
DE=xfce
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment