← Back to team overview

zim-wiki team mailing list archive

Re: Change editor for "Edit Source"

 

On Sat, Feb 9, 2013 at 4:11 AM, nomnex <nomnex@xxxxxxxxx> wrote:
>> On Fri, 8 Feb 2013 11:51:27 -0700
>> Steve Chadsey <schadsey@xxxxxxxxx> wrote:
>
>> How do I specify the editor I want to be launched with Tools->Edit
>> Source?  I'm using XFCE if that makes any difference.
>
> I use XFCE Fedora, with Zim 0.59.
> To change my system text editor to Geany, I simply deleted the file
> defaults.list in my home directory
> Path: ~/.local/share/applications/defaults.list
> The next time I select Tool>Edit Source, Zim gives me the
> choice to set a default text editor. Does it work for you?

I did not have the file ~/.local/share/applications/defaults.list .
I quit zim, created the file with the contents:

  text/plain=gvim.desktop

Restarted zim, and now I am happy to report that Edit Source opens gvim.

Thanks for the help everyone.
-- 
Steve Chadsey <schadsey@xxxxxxxxx>


References