lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lilypond mini-IDE


From: Francisco Vila
Subject: Re: Lilypond mini-IDE
Date: Fri, 23 Jan 2009 00:38:10 +0100

2009/1/21 Johan Vromans <address@hidden>:
> The kit includes two scripts, lilyide and textedit-url-handler. These
> scripts should be installed somewhere where you can execute them
> easily, e.g., in your PATH.
>
> To enable point'n'click support, you need to tell Gnome that you want
> a URL handler for textedit:// URLs. A sample config file is included
> as %config.xml.

There is a %gconf.xml into the zip file.

> This file must be placed in
> ~/.gconf/desktop/gnome/url-handlers/texedit/%config.xml.

I have a .gconf/desktop/gnome directory but there is no url-handlers/
or /texedit/ in it, should I create one?

Also, I assume that again the pathname ends in %gconf.xml here.

>  Change the
> location of the textedit-url-handler script first, to match your
> install.
>
> Alternatively, you can use the Gnome configuration editor to create
> this config.

the gconf-editor tool shows a desktop/gnome/url-handlers entry on the
tree, but there is not a texedit entry in it, how do I create one?
Whenever I'll get one, what to do then? I'm afraid I have never tried
seriously to set up P&C before.

>
> Use:
>
>  - Start your Emacs (if not already running)
>  - Start the Emacs server (if not already running)
>
>    M-x start-server RET
>
>  - Start lilyide with the name of the ly source file. The source file
>    will be opened in your Emacs. If there's no PDF yet, lilypond will
>    be run to create one. Finally, the Gnome PDF viewer Evince is
>    started to show the PDF document.

> Now you can edit the document as usual. Every time you save the
> document lilyide will automatically run lilypond again, and update the
> PDF view in Evince.

This is not necessary at least with latest evince on Ubuntu 8.10, as
it refreshes the view automatically if the document changes. I have a
similar script for gedit that always called evince after lilypond, and
the evince window first pops up automatically and then once again on
my script call, thus showing an unwanted double flicker.

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]