lilypond-user
[Top][All Lists]
Advanced

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

Re: Getting point-and-click working


From: Federico Bruni
Subject: Re: Getting point-and-click working
Date: Sun, 10 Feb 2019 10:07:28 +0100



Il giorno sab 9 feb 2019 alle 20:03, David Sumbler <address@hidden> ha scritto:
On Sat, 2019-02-09 at 11:05 +0100, Federico Bruni wrote:
[...]

 So far so good.
 By the way, it opens once or twice? If you are using a LilyPond
 installer released before October 2018 (today the answer is yes),
 you might get two windows. If you are using a version provided by
 your distro, you won't probably have this bug. See this PR:
 <https://github.com/gperciva/gub/pull/48>

It opens once.  I am using LilyPond 2.19.82 downloaded last August.


Ok, this might depend on the editor you use.
I remember Gedit opened twice before that fix.

In case you have troubles with other editors, you can safely delete "-e main" in the exec line in lilypond-wrapper.guile.



When I click on a link in the displayed file, I get:

Feb  9 18:11:38 vesta kernel: [  992.243804] audit: type=1400
audit(1549735898.161:48): apparmor="DENIED"
operation="exec" profile="/usr/bin/evince"
name="/usr/local/bin/lilypond-wrapper.guile" pid=3261
comm="evince" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0

Although all of the other 71 files in ~/.local/share/applications/ have
me as owner and group, the file mimeapps.list has owner and group set
to root.  I looked at my partner's computer, which is running Ubuntu
16.04, and there the corresponding file has owner and group set to the
user, rather than root.  (Presumably this is some change made in
Ubuntu, since I don't think I can have done anything to change it.)

So I tried changing the ownership of that file on my computer, and sure
enough, I no longer see an error in the log file when evince is
started.  But when I click on a link in the Lilypond file I still get:

Feb  9 18:34:45 vesta kernel: [  200.968460] audit: type=1400
audit(1549737285.711:45): apparmor="DENIED"
operation="exec" profile="/usr/bin/evince"
name="/usr/local/bin/lilypond-wrapper.guile" pid=2507
comm="evince" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0


0 is the root user id. 1000 is your user id.
ouid is the object owner id and it's assigned to the root user. No idea what is the object here... if it's the executable, then it's correct.


Clearly I can't sensibly change the ownership of
/usr/local/bin/lilypond-wrapper.guile, and presumably this is the sort
of thing AppArmor is supposed to sort out.  I did, however, try adding
a line specifically for this file in
/etc/apparmor.d/local/usr.bin.evince, but it hasn't helped.


You should not change the ownership of the scripts in /usr/local/bin.

You might search for other files owned by root in your home directory, e.g.:

$ find ~/.local -user root
$ find ~/.config -user root






reply via email to

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