i prefer the gnome desktop to KDE - but I prefer the Kate text editor to gedit - but gedit is the default in gnome.
How do I set it so that the default application when I double-click a file is Kate?
|
i prefer the gnome desktop to KDE - but I prefer the Kate text editor to gedit - but gedit is the default in gnome. How do I set it so that the default application when I double-click a file is Kate?
| |||
|
feedback
|
|
Try this little tutorial. Or, if you want a simpler way, just right click on the file and choose to open with the application you want. | |||
feedback
|
|
I wanted to change my default editor to emacsclient (which opens a file in the current emacs session, running in server mode). The problem was, I didn't have an emacsclient.desktop file anywhere. It worked when I just adapted the /usr/share/applications/emacs23.desktop file and put it in ~/.local/share/applications/emacsclient.desktop This was based on the description at http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg12557.html | |||
|
feedback
|
|
This may be useful. I use it to accomplish the same thing as the tutorial alex linked. Should work on Ubnutu Karmic to Lucid.
It's not perfect in that it will bring in a duplicate mime type line if you have more than just gedit in your existing preferences line. It will also break the file format if you have more sections than just [Added Associations]. Perhaps a wizard will come along and come up with a better script. | |||
|
feedback
|