Re: [Zim-wiki] Change editor for Edit Source
On Sat, Feb 9, 2013 at 4:11 AM, nomnex nom...@gmail.com wrote: On Fri, 8 Feb 2013 11:51:27 -0700 Steve Chadsey schad...@gmail.com 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 ToolEdit 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 schad...@gmail.com ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Change editor for Edit Source
On Fri, 8 Feb 2013 11:51:27 -0700 Steve Chadsey schad...@gmail.com 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 ToolEdit Source, Zim gives me the choice to set a default text editor. Does it work for you? --nomnex -- nomnex nom...@gmail.com Freenode: nomnex Registered Linux user #505281. Be counted at: http://linuxcounter.net ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Change editor for Edit Source
On 8 February 2013 19:51, Steve Chadsey schad...@gmail.com wrote: Hello, I'm running zim 0.59 on Ubuntu 12.04.1. Starting with the 0.57 release, the editor that is selected for Tools-Edit Source is not the one I want. Prior to 0.57, there was an Applications tab in the preferences dialog, in which I could specify my preferred text editor. That is gone now. Looking at the documentation, I see there is a reference to a Configure Applications dialog, but I don't see that option in any of the menus. Isn't that the Custom tools in the Tools menu? But you can't set the default editor there. 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'm Using LXDE on Debian/Sid. check .config/zim/preferences.conf: [GtkInterface] text_editor=xdg-open xdg-open is controlled by various mime types in .local/share/applications/mimeapps.list -- Svenn ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Change editor for Edit Source
On Fri, Feb 8, 2013 at 1:16 PM, Svenn Are Bjerkem svenn.bjer...@googlemail.com wrote: On 8 February 2013 19:51, Steve Chadsey schad...@gmail.com 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'm Using LXDE on Debian/Sid. check .config/zim/preferences.conf: [GtkInterface] text_editor=xdg-open xdg-open is controlled by various mime types in .local/share/applications/mimeapps.list Mine: text_editor=gvim gvim is the editor I want. gedit is what I'm getting. Changing the pref to text_editor=xdg-open (after closing zim) has no effect. From the command line, using xdg-open on a .txt file does launch gvim, so the mime setting should be good. Setting the pref to the full path of vim also does not solve it. Other ideas? Thanks, -- Steve Chadsey schad...@gmail.com ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp