Recently I have installed LyX in my Ubuntu 12.04LTS for the purpose of text editing. But I am facing some problems while inserting images. Whenever I go to the "insert graphics" option, browse the picture I want to insert and click the file (.png, .jpg), the application closes automatically. I tried to reconfigure it also but still it shows the same problem. How can I fix this problem?