In KDE it is working fine. What DE do you use? Could you attach the output of sh -xx xdg-mime query default text/plain ?