lilypond-user
[Top][All Lists]
Advanced

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

Re: How to build LilyPond.app on macOS?


From: Sven Axelsson
Subject: Re: How to build LilyPond.app on macOS?
Date: Tue, 6 Dec 2016 15:14:40 +0100

On 6 December 2016 at 14:30, Mojca Miklavec <address@hidden> wrote:
On 6 December 2016 at 13:38, Sven Axelsson wrote:
> On 6 December 2016 at 12:46, Mojca Miklavec wrote:
>>
>> Dear Davide,
>>
>> (b) See the attached screenshot. If I click, I'm transferred to
>> LilyPond.app and I end up in the correct line and column to fix my
>> mistakes. With some notes:
>>
>>     (b.1) Usually this works. With the example in the screenshot with
>> non-ascii characters in the file name this is broken however and
>> LilyPond.app only opens a generic sample document. There must be a bug
>> somewhere, but I'm not sure where exactly.
>>
>>     (b.2) I would actually like to know how to change the behaviour,
>> so that my favourite text editor opens rather than LilyPond.app.
>
> Here's some information about how OSX url handlers work:
> http://superuser.com/questions/548119/how-do-i-configure-custom-url-handlers-on-os-x

The only entry there is

LSHandlerContentType com.unknown.ly
LSHandlerRoleAll com.macromates.textmate.preview

Which doesn't look like LilyPond.app responsible for opening textedit:// files.

Everything else is completely unrelated.

Unfortunately it seems like that plist does not contain the whole truth. Try `locate lsregister` -dump > lsinfo.txt and search for LilyPond. That shows (among lots of other things) the following:

claim id:            52580
name:          text editor via url
rank:          Default
roles:         Editor  
flags:         url-type  
icon:          
bindings:      textedit:

Changing the url handler is probably easiest done with duti.

--
Sven Axelsson
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.

reply via email to

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