Comment 4 for bug 1241750

Revision history for this message
Adnan Shameem (needadnan) wrote :

Mostafa Najafi (najafiyazdi-m) is right. If medit is ran with sudo, it doesn't crash.
I like medit so much that I arranged a temporary solution for myself.

- I have installed Main Menu with :
sudo apt-get install alacarte
- Then I opened Main Menu, navigated to Accessories, then "medit" menu item. Clicked Properties.
- In the "Command" field, I found the text "medit %F" (without quotes). I have added sudo before it, making it:
sudo medit %F
- Clicked OK and quit Main Menu.

Now medit doesn't crash when I open it from dash. After opening it from dash I have right-clicked on the launcher icon of medit and clicked Lock to Launcher. Now the launcher shortcut works ok. (I haven't used Software center to install medit, so I had to manually add the icon to Launcher. You may not need to do this.) This solution also works when you open a file with nautilus right click menu. Cool!

This is not a permanent solution, I know. But it lets you use medit until the bug is resolved.