Re: Frescobaldi+LilyPond flatpak package now available

2020-11-06 Thread J Martin Rushton

Hi Federico

Inline

On 06/11/2020 21:06, Federico Bruni wrote:
Il giorno ven 6 nov 2020 alle 16:29, J Martin Rushton 
 ha scritto:

Now running as myself:

$ flatpak remote-add --if-not-exists flathub 
https://flathub.org/repo/flathub.flatpakrepo

$ flatpak remotes
Name    Options
flathub system
$ flatpak install flathub org.frescobaldi.Frescobaldi
Required runtime for org.frescobaldi.Frescobaldi/x86_64/stable 
(runtime/org.kde.Platform/x86_64/5.15) found in remote flathub

Do you want to install it? [y/n]: y
Installing in system:
org.kde.Platform/x86_64/5.15  flathub 61f67bf3e852
org.freedesktop.Platform.GL.default/x86_64/20.08  flathub 82a8e234463f
org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08 flathub 842257eb3e76
org.freedesktop.Platform.openh264/x86_64/2.0  flathub 73f998362a6f
org.kde.KStyle.Adwaita/x86_64/5.15    flathub 2f6e4ae8bc10
org.kde.Platform.Locale/x86_64/5.15   flathub 01ece85ac288
org.frescobaldi.Frescobaldi/x86_64/stable flathub 54532dddeb5d
  permissions: ipc, network, pulseaudio, x11, devices
  file access: home, xdg-config/kdeglobals:ro
  dbus access: com.canonical.AppMenu.Registrar
org.frescobaldi.Frescobaldi.Locale/x86_64/stable  flathub cc17a220dabb
Is this ok [y/n]: y
Installing: org.kde.Platform/x86_64/5.15 from flathub
error: Failed to install org.kde.Platform/x86_64/5.15: 
openat(refs/remotes/flathub/runtime/org.kde.Platform/x86_64/5.15): 
Permission denied




You likely have wrong permissions in some directory in /var.
The error occurs when trying to install the first dependency.

Check /var/tmp.  I have:

$ ls -lhd /var/tmp
drwxrwxrwt. 1 root root 3,4K 6 nov 21.50 /var/tmp


# ls -ld /var/tmp
drwxrwxrwt. 133 root root 16384 Nov  6 21:30 /var/tmp

Another possibility is that you don't have enough disk space in /var. 
But this is just a guess, as it implies a wrong error message from flatpak.


# df -h /var
Filesystem Size  Used Avail Use% Mounted on
/dev/mapper/Tamar-Var   20G  9.9G  8.3G  55% /var

--
J Martin Rushton MBCS



Re: Frescobaldi+LilyPond flatpak package now available

2020-11-06 Thread Federico Bruni
Il giorno ven 6 nov 2020 alle 16:29, J Martin Rushton 
 ha scritto:

Now running as myself:

$ flatpak remote-add --if-not-exists flathub 
https://flathub.org/repo/flathub.flatpakrepo

$ flatpak remotes
NameOptions
flathub system
$ flatpak install flathub org.frescobaldi.Frescobaldi
Required runtime for org.frescobaldi.Frescobaldi/x86_64/stable 
(runtime/org.kde.Platform/x86_64/5.15) found in remote flathub

Do you want to install it? [y/n]: y
Installing in system:
org.kde.Platform/x86_64/5.15  flathub 61f67bf3e852
org.freedesktop.Platform.GL.default/x86_64/20.08  flathub 82a8e234463f
org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08 flathub 842257eb3e76
org.freedesktop.Platform.openh264/x86_64/2.0  flathub 73f998362a6f
org.kde.KStyle.Adwaita/x86_64/5.15flathub 2f6e4ae8bc10
org.kde.Platform.Locale/x86_64/5.15   flathub 01ece85ac288
org.frescobaldi.Frescobaldi/x86_64/stable flathub 54532dddeb5d
  permissions: ipc, network, pulseaudio, x11, devices
  file access: home, xdg-config/kdeglobals:ro
  dbus access: com.canonical.AppMenu.Registrar
org.frescobaldi.Frescobaldi.Locale/x86_64/stable  flathub cc17a220dabb
Is this ok [y/n]: y
Installing: org.kde.Platform/x86_64/5.15 from flathub
error: Failed to install org.kde.Platform/x86_64/5.15: 
openat(refs/remotes/flathub/runtime/org.kde.Platform/x86_64/5.15): 
Permission denied




You likely have wrong permissions in some directory in /var.
The error occurs when trying to install the first dependency.

Check /var/tmp.  I have:

$ ls -lhd /var/tmp
drwxrwxrwt. 1 root root 3,4K 6 nov 21.50 /var/tmp

Another possibility is that you don't have enough disk space in /var. 
But this is just a guess, as it implies a wrong error message from 
flatpak.







Re: Custom page numbers in table of contents

2020-11-06 Thread Jon Arnold
No need to be sorry! Glad we could figure out the problem.

On Fri, Nov 6, 2020, 1:39 PM Noah Landis  wrote:

> > The tocitem needs to go right above or in each score block. You've put
> them
> > on the same page as your table of contents, which is why they're
> displaying
> > the same page number.
> Oh man, sorry for all that then. I more or less just copied a snippet
> from the manual; more specifically this one:
>
> \book {
>   \markuplist \table-of-contents
>   \tocItem \markup { Allegro }
>   \tocItem \markup { Largo }
> \markup \null
> }
>


Re: Like \bendAfter but before a note

2020-11-06 Thread Robin Bannister

John Burt wrote:


 How can I handle the swooping up part?



Look here for one way:

https://lists.gnu.org/archive/html/lilypond-user/2019-10/msg00274.html


Cheers,
Robin



Re: Custom page numbers in table of contents

2020-11-06 Thread Noah Landis
> The tocitem needs to go right above or in each score block. You've put them
> on the same page as your table of contents, which is why they're displaying
> the same page number.
Oh man, sorry for all that then. I more or less just copied a snippet
from the manual; more specifically this one:

\book {
  \markuplist \table-of-contents
  \tocItem \markup { Allegro }
  \tocItem \markup { Largo }
\markup \null
}



Re: Custom page numbers in table of contents

2020-11-06 Thread Jon Arnold
The tocitem needs to go right above or in each score block. You've put them
on the same page as your table of contents, which is why they're displaying
the same page number.

On Fri, Nov 6, 2020 at 1:21 PM Noah Landis  wrote:

> > Could you provide an actual skeletal example of what you described?
> Sure. Since I sent the last email I actually started to section the
> pages with \bookpart instead of \pageBreak, but it is still happening
> nonetheless.
>
> \version "2.20.0"
>
> \paper {
>   (formatting stuff)
> }
>
> \layout {
>   (staff size)
> }
>
> \bookpart {
> (copyright in \header)
>   (big title on first page with \markup)
> }
>
> \bookpart {
>   \markuplist \table-of-contents
>   \tocItem \markup { (piece one) }
>   \tocItem \markup { (piece two) }
>   \tocItem \markup { (piece three) }
>   \markup \null
> }
>
> \bookpart {
>   (tagline in \header)
>
> score {
>   (\header)
> (\new Staff)
> }
> score {
>   (\header)
> (\new Staff)
> }
> score {
>   (\header)
> (\new Staff)
> }
> }
>
>


Re: Custom page numbers in table of contents

2020-11-06 Thread Noah Landis
> Could you provide an actual skeletal example of what you described?
Sure. Since I sent the last email I actually started to section the
pages with \bookpart instead of \pageBreak, but it is still happening
nonetheless.

\version "2.20.0"

\paper {
  (formatting stuff)
}

\layout {
  (staff size)
}

\bookpart {
(copyright in \header)
  (big title on first page with \markup)
}

\bookpart {
  \markuplist \table-of-contents
  \tocItem \markup { (piece one) }
  \tocItem \markup { (piece two) }
  \tocItem \markup { (piece three) }
  \markup \null
}

\bookpart {
  (tagline in \header)

score {
  (\header)
(\new Staff)
}
score {
  (\header)
(\new Staff)
}
score {
  (\header)
(\new Staff)
}
}



Re: Frescobaldi+LilyPond flatpak package now available

2020-11-06 Thread J Martin Rushton

Hi Federico

Some good news at last!  I've got it running on the C8 VM :-)

The remote-add command needed authentication to install, and the actual 
installation asked for my password twice for every file!  Normally that 
means that it has installed as root (using sudo).  Now all I need to do 
is persuade the host machine to accept sound from the VM.


Thanks for your help in this, I'd guess it is an issue with down rev 
flatpak in C7.  I'll drop a line once I've checked out Fedora, but I 
doubt that there'll be any problems now.


Many thanks,
Martin

On 06/11/2020 16:29, J Martin Rushton wrote:

Hi Federico

I first looked at a yum remove flatpak, but the dependencies were such 
that I abandoned that idea!  I then ran (as root):


# flatpak list
Ref   Options
org.frescobaldi.Frescobaldi/x86_64/stable system,current
org.freedesktop.Platform.GL.default/x86_64/20.08  system,runtime
org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08 system,runtime
org.freedesktop.Platform.openh264/x86_64/2.0  system,runtime
org.kde.KStyle.Adwaita/x86_64/5.15    system,runtime
org.kde.Platform/x86_64/5.15  system,runtime
# flatpak uninstall --all
Uninstalling from system:
org.freedesktop.Platform.GL.default/x86_64/20.08
org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08
org.freedesktop.Platform.openh264/x86_64/2.0
org.frescobaldi.Frescobaldi/x86_64/stable
org.frescobaldi.Frescobaldi.Locale/x86_64/stable
org.kde.KStyle.Adwaita/x86_64/5.15
org.kde.Platform/x86_64/5.15
org.kde.Platform.Locale/x86_64/5.15
Is this ok [y/n]: y
Uninstalling: org.freedesktop.Platform.GL.default/x86_64/20.08
Uninstalling: org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08
Uninstalling: org.freedesktop.Platform.openh264/x86_64/2.0
Uninstalling: org.frescobaldi.Frescobaldi/x86_64/stable
Uninstalling: org.frescobaldi.Frescobaldi.Locale/x86_64/stable
Uninstalling: org.kde.KStyle.Adwaita/x86_64/5.15
Uninstalling: org.kde.Platform/x86_64/5.15
Uninstalling: org.kde.Platform.Locale/x86_64/5.15
# flatpak list

# flatpak remotes
Name    Options
flathub system
# flatpak remote-delete flathub
# flatpak remotes

#

Now running as myself:

$ flatpak remote-add --if-not-exists flathub 
https://flathub.org/repo/flathub.flatpakrepo

$ flatpak remotes
Name    Options
flathub system
$ flatpak install flathub org.frescobaldi.Frescobaldi
Required runtime for org.frescobaldi.Frescobaldi/x86_64/stable 
(runtime/org.kde.Platform/x86_64/5.15) found in remote flathub

Do you want to install it? [y/n]: y
Installing in system:
org.kde.Platform/x86_64/5.15  flathub 61f67bf3e852
org.freedesktop.Platform.GL.default/x86_64/20.08  flathub 82a8e234463f
org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08 flathub 842257eb3e76
org.freedesktop.Platform.openh264/x86_64/2.0  flathub 73f998362a6f
org.kde.KStyle.Adwaita/x86_64/5.15    flathub 2f6e4ae8bc10
org.kde.Platform.Locale/x86_64/5.15   flathub 01ece85ac288
org.frescobaldi.Frescobaldi/x86_64/stable flathub 54532dddeb5d
   permissions: ipc, network, pulseaudio, x11, devices
   file access: home, xdg-config/kdeglobals:ro
   dbus access: com.canonical.AppMenu.Registrar
org.frescobaldi.Frescobaldi.Locale/x86_64/stable  flathub cc17a220dabb
Is this ok [y/n]: y
Installing: org.kde.Platform/x86_64/5.15 from flathub
error: Failed to install org.kde.Platform/x86_64/5.15: 
openat(refs/remotes/flathub/runtime/org.kde.Platform/x86_64/5.15): 
Permission denied


The remote-add command triggered a request for authorisation whereas the 
second command didn't - just failed.


I've been running this on my CentOS 7 host machine.  I'll give it a try 
on the C8 VM since C7 is getting a bit old now.  If that fails I'll try 
the Fedora 33 VM.


Regards,
Martin




On 06/11/2020 15:39, Federico Bruni wrote:
Il giorno ven 6 nov 2020 alle 12:02, J Martin Rushton 
 ha scritto:

I just followed links:
https://flathub.org/apps/details/org.frescobaldi.Frescobaldi
-> https://flatpak.org/setup/
-> https://flatpak.org/setup/CentOS/


Following up to my "wipe all" suggestion.

I read on Fedora setup here:
https://flatpak.org/setup/Fedora/

"""
The above links should work on the default GNOME and KDE Fedora 
installations, but if they fail for some reason you can manually add 
the Flathub remote by running:


flatpak remote-add --if-not-exists flathub 
https://flathub.org/repo/flathub.flatpakrepo

"""

So uninstall all flatpak apps, delete all remotes (flatpak 
remote-delete) and then add it back again _as user_ using above command.


--
J Martin Rushton MBCS



edition-engraver mod on first note

2020-11-06 Thread damianlegassick

Hi


I can't persuade edition-engraver to add an \editionMod starting on the 
downbeat of the first bar. I can't even do it with the example.ly from the repo 
(is that why there's an R1 at the top?).


any clues for a workaround or am I being dumb?


Damian

Re: Frescobaldi+LilyPond flatpak package now available

2020-11-06 Thread J Martin Rushton

Hi Federico

I first looked at a yum remove flatpak, but the dependencies were such 
that I abandoned that idea!  I then ran (as root):


# flatpak list
Ref   Options
org.frescobaldi.Frescobaldi/x86_64/stable system,current
org.freedesktop.Platform.GL.default/x86_64/20.08  system,runtime
org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08 system,runtime
org.freedesktop.Platform.openh264/x86_64/2.0  system,runtime
org.kde.KStyle.Adwaita/x86_64/5.15system,runtime
org.kde.Platform/x86_64/5.15  system,runtime
# flatpak uninstall --all
Uninstalling from system:
org.freedesktop.Platform.GL.default/x86_64/20.08
org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08
org.freedesktop.Platform.openh264/x86_64/2.0
org.frescobaldi.Frescobaldi/x86_64/stable
org.frescobaldi.Frescobaldi.Locale/x86_64/stable
org.kde.KStyle.Adwaita/x86_64/5.15
org.kde.Platform/x86_64/5.15
org.kde.Platform.Locale/x86_64/5.15
Is this ok [y/n]: y
Uninstalling: org.freedesktop.Platform.GL.default/x86_64/20.08
Uninstalling: org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08
Uninstalling: org.freedesktop.Platform.openh264/x86_64/2.0
Uninstalling: org.frescobaldi.Frescobaldi/x86_64/stable
Uninstalling: org.frescobaldi.Frescobaldi.Locale/x86_64/stable
Uninstalling: org.kde.KStyle.Adwaita/x86_64/5.15
Uninstalling: org.kde.Platform/x86_64/5.15
Uninstalling: org.kde.Platform.Locale/x86_64/5.15
# flatpak list

# flatpak remotes
NameOptions
flathub system
# flatpak remote-delete flathub
# flatpak remotes

#

Now running as myself:

$ flatpak remote-add --if-not-exists flathub 
https://flathub.org/repo/flathub.flatpakrepo

$ flatpak remotes
NameOptions
flathub system
$ flatpak install flathub org.frescobaldi.Frescobaldi
Required runtime for org.frescobaldi.Frescobaldi/x86_64/stable 
(runtime/org.kde.Platform/x86_64/5.15) found in remote flathub

Do you want to install it? [y/n]: y
Installing in system:
org.kde.Platform/x86_64/5.15  flathub 61f67bf3e852
org.freedesktop.Platform.GL.default/x86_64/20.08  flathub 82a8e234463f
org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08 flathub 842257eb3e76
org.freedesktop.Platform.openh264/x86_64/2.0  flathub 73f998362a6f
org.kde.KStyle.Adwaita/x86_64/5.15flathub 2f6e4ae8bc10
org.kde.Platform.Locale/x86_64/5.15   flathub 01ece85ac288
org.frescobaldi.Frescobaldi/x86_64/stable flathub 54532dddeb5d
  permissions: ipc, network, pulseaudio, x11, devices
  file access: home, xdg-config/kdeglobals:ro
  dbus access: com.canonical.AppMenu.Registrar
org.frescobaldi.Frescobaldi.Locale/x86_64/stable  flathub cc17a220dabb
Is this ok [y/n]: y
Installing: org.kde.Platform/x86_64/5.15 from flathub
error: Failed to install org.kde.Platform/x86_64/5.15: 
openat(refs/remotes/flathub/runtime/org.kde.Platform/x86_64/5.15): 
Permission denied


The remote-add command triggered a request for authorisation whereas the 
second command didn't - just failed.


I've been running this on my CentOS 7 host machine.  I'll give it a try 
on the C8 VM since C7 is getting a bit old now.  If that fails I'll try 
the Fedora 33 VM.


Regards,
Martin




On 06/11/2020 15:39, Federico Bruni wrote:
Il giorno ven 6 nov 2020 alle 12:02, J Martin Rushton 
 ha scritto:

I just followed links:
https://flathub.org/apps/details/org.frescobaldi.Frescobaldi
-> https://flatpak.org/setup/
-> https://flatpak.org/setup/CentOS/


Following up to my "wipe all" suggestion.

I read on Fedora setup here:
https://flatpak.org/setup/Fedora/

"""
The above links should work on the default GNOME and KDE Fedora 
installations, but if they fail for some reason you can manually add the 
Flathub remote by running:


flatpak remote-add --if-not-exists flathub 
https://flathub.org/repo/flathub.flatpakrepo

"""

So uninstall all flatpak apps, delete all remotes (flatpak 
remote-delete) and then add it back again _as user_ using above command.

--
J Martin Rushton MBCS



Like \bendAfter but before a note

2020-11-06 Thread John Burt
I'm trying to render a vocal call in which the singer swoops up to the note
and then swoops down. I know I can do the swooping down part with
\bendAfter. How can I handle the swooping up part?
with thanks
John Burt


Re: Frescobaldi+LilyPond flatpak package now available

2020-11-06 Thread Federico Bruni
Il giorno ven 6 nov 2020 alle 12:02, J Martin Rushton 
 ha scritto:

I just followed links:
https://flathub.org/apps/details/org.frescobaldi.Frescobaldi
-> https://flatpak.org/setup/
-> https://flatpak.org/setup/CentOS/


Following up to my "wipe all" suggestion.

I read on Fedora setup here:
https://flatpak.org/setup/Fedora/

"""
The above links should work on the default GNOME and KDE Fedora 
installations, but if they fail for some reason you can manually add 
the Flathub remote by running:


flatpak remote-add --if-not-exists flathub 
https://flathub.org/repo/flathub.flatpakrepo

"""

So uninstall all flatpak apps, delete all remotes (flatpak 
remote-delete) and then add it back again _as user_ using above command.







Re: Frescobaldi+LilyPond flatpak package now available

2020-11-06 Thread Federico Bruni
Il giorno ven 6 nov 2020 alle 15:13, J Martin Rushton 
 ha scritto:

Hi Federico,

Update 2.  I noticed that there is a /root/.var directory so created 
$HOME/.var, still no luck.


Yes, this was created when you launched Frescobaldi as root.
~/.var (or /root/.var in case of root) is where configuration and app 
files are stored.



 I then tried flatpack list as myself and had errors for the following 
directories.  The permissions were 750, I changed them to 755:




I have 755 by default on Fedora:

$ ls -ld /var/lib/flatpak
drwxr-xr-x. 9 root root 4096  6 nov 09.53 /var/lib/flatpak



/var/lib/flatpak/app
/var/lib/flatpak/app/org.frescobaldi.Frescobaldi
/var/lib/flatpak/app/org.frescobaldi.Frescobaldi/x86_64
/var/lib/flatpak/runtime
/var/lib/flatpak/runtime/*
/var/lib/flatpak/runtime/org.kde.Platform/x86_64

I could then run flatpak list, but the only output was a blank line. 
When I tried to run Frescibaldi I then saw "error: 
app/org.frescobaldi.Frescobaldi/x86_64/stable not installed" which of 
course was not tue.  I set the permissions to 755 and then got 
"error: Error opening file 
/var/lib/flatpak/app/org.frescobaldi.Frescobaldi/x86_64/stable/54532dddeb5db92fc66c20b9ca4147e9d76b366587e8d5d573ea2d8dd74fa8f5/metadata: 
Permission denied"


The long hex directory must be a temporary and doesn't exist.

Following the Troubleshooting section of the flatpak docs link you 
gave me, I ran:


# flatpak repair
Verifying flathub:runtime/org.kde.Platform.Locale/x86_64/5.15...
Verifying 
flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/20.08...

Verifying flathub:runtime/org.kde.KStyle.Adwaita/x86_64/5.15...
Verifying 
flathub:runtime/org.frescobaldi.Frescobaldi.Locale/x86_64/stable...

Verifying flathub:appstream2/x86_64...
Verifying flathub:runtime/org.kde.Platform/x86_64/5.15...
Verifying flathub:app/org.frescobaldi.Frescobaldi/x86_64/stable...
Verifying 
flathub:runtime/org.freedesktop.Platform.openh264/x86_64/2.0...
Verifying 
flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08...

Pruning objects
# flatpak permission-reset org.frescobaldi.Frescobaldi

but I'm still getting a repeat of the last error message.



I would try wiping everything and start again from scratch being sure 
to run every command as normal user and not root.









Re: Frescobaldi+LilyPond flatpak package now available

2020-11-06 Thread J Martin Rushton

Hi Federico,

Update 2.  I noticed that there is a /root/.var directory so created 
$HOME/.var, still no luck.  I then tried flatpack list as myself and had 
errors for the following directories.  The permissions were 750, I 
changed them to 755:


/var/lib/flatpak/app
/var/lib/flatpak/app/org.frescobaldi.Frescobaldi
/var/lib/flatpak/app/org.frescobaldi.Frescobaldi/x86_64
/var/lib/flatpak/runtime
/var/lib/flatpak/runtime/*
/var/lib/flatpak/runtime/org.kde.Platform/x86_64

I could then run flatpak list, but the only output was a blank line. 
When I tried to run Frescibaldi I then saw "error: 
app/org.frescobaldi.Frescobaldi/x86_64/stable not installed" which of 
course was not tue.  I set the permissions to 755 and then got "error: 
Error opening file 
/var/lib/flatpak/app/org.frescobaldi.Frescobaldi/x86_64/stable/54532dddeb5db92fc66c20b9ca4147e9d76b366587e8d5d573ea2d8dd74fa8f5/metadata: 
Permission denied"


The long hex directory must be a temporary and doesn't exist.

Following the Troubleshooting section of the flatpak docs link you gave 
me, I ran:


# flatpak repair
Verifying flathub:runtime/org.kde.Platform.Locale/x86_64/5.15...
Verifying 
flathub:runtime/org.freedesktop.Platform.GL.default/x86_64/20.08...

Verifying flathub:runtime/org.kde.KStyle.Adwaita/x86_64/5.15...
Verifying 
flathub:runtime/org.frescobaldi.Frescobaldi.Locale/x86_64/stable...

Verifying flathub:appstream2/x86_64...
Verifying flathub:runtime/org.kde.Platform/x86_64/5.15...
Verifying flathub:app/org.frescobaldi.Frescobaldi/x86_64/stable...
Verifying flathub:runtime/org.freedesktop.Platform.openh264/x86_64/2.0...
Verifying 
flathub:runtime/org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08...

Pruning objects
# flatpak permission-reset org.frescobaldi.Frescobaldi

but I'm still getting a repeat of the last error message.

Regards,
Martin

On 06/11/2020 13:49, J Martin Rushton wrote:

Hi Federico,

Update.  When checking nothing had changed overnight (ie after a 
reboot), I accidentally ran it as root again.  This time it didn't jam 
and I could create a new piece from the template, compile it and play it 
under MIDI, and then change a note and recompile and play.  All seems 
fine, so I think that it must be either a permissions problem (which I 
though flatpak avoided), or else there is some initialisation in the 
root account that is not in my account.


Regards,
Martin

On 06/11/2020 12:02, J Martin Rushton wrote:

Hi Federico,

Inline

On 05/11/2020 22:47, Federico Bruni wrote:

Hi Martin

Perhaps you added the flathub repository as root using the --user 
switch? (wrong)


I didn't use --user

Can you paste the output of this command both as root and as normal 
user?


  flatpak remotes

$ flatpak remotes
Name    Options
flathub system

# flatpak remotes
Name    Options
flathub system



I have this as normal user:

$ flatpak remotes
Name Options
flathub system
flathub-beta user

Did you read this page?
https://docs.flatpak.org/en/latest/using-flatpak.html#system-versus-user


No, I just followed links:
https://flathub.org/apps/details/org.frescobaldi.Frescobaldi
-> https://flatpak.org/setup/
-> https://flatpak.org/setup/CentOS/


You shouldn't be root to install any flatpak application.


That's what I thought, but I get permission errors.  I tried the 
installation three times: as root, as me and as root again.


I can't remember if adding the repository at system level requires 
root privileges.


Apparently so.

In a nutshell, if you add a repository using the --user switch, any 
application installed from that repository will be installed at user 
level and available only to that user; otherwise the default is 
system level.




I did the installation by cut-and-paste:

flatpak install flathub org.frescobaldi.Frescobaldi

It installed a load of other system-type things as well:
# flatpak list
Ref   Options
org.frescobaldi.Frescobaldi/x86_64/stable system,current
org.freedesktop.Platform.GL.default/x86_64/20.08  system,runtime
org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08 system,runtime
org.freedesktop.Platform.openh264/x86_64/2.0  system,runtime
org.kde.KStyle.Adwaita/x86_64/5.15    system,runtime
org.kde.Platform/x86_64/5.15  system,runtime

One thing I did notice, the Quick Setup page says: "Flatpak is 
installed by default on CentOS 7, when using GNOME" and I don't run 
gnome.  I use Mate on C7 systems, but gnome is available from the 
login page so all resources should be there.


Many thans and kind regards,
Martin



Il giorno gio 5 nov 2020 alle 21:47, J Martin Rushton 
 ha scritto:

Hi Federico,

I welcome this since I've been having problems with Frescobaldi 
under both CentOS 7 and 8 for a while.


I followed the setup guide on the host CentOS8 machine and 
downloaded the flathub repository file.  First problem: I had to be 
root to install it - I thought flatpak was meant to be at user level?


I then installed Frescobaldi

Re: Custom page numbers in table of contents

2020-11-06 Thread Hwaen Ch'uqi
Greetings Noah,

Could you provide an actual skeletal example of what you described?
Without it, I don't know how helpful people can be. Under the
conditions you presented, you shouldn't need to manually change page
numbers.

Hwaen Ch'uqi


On 11/5/20, Noah Landis  wrote:
> Hello list,
>
> I have two uses of \pageBreak making three total pages. There is a
> title page on the first, my table of contents (using
> \table-of-contents) on the second, and some songs on the third.
>
> Currently the table of contents is displaying for song, the same page
> number as the one that the table of contents is itself on (the table
> of contents is on page 0 and says the songs are as well, which they
> aren't).
>
> How do I manually change the page number displayed for the songs in
> \table-of-contents?
>
> Thank you in advance.
>
>



Re: Frescobaldi+LilyPond flatpak package now available

2020-11-06 Thread J Martin Rushton

Hi Federico,

Update.  When checking nothing had changed overnight (ie after a 
reboot), I accidentally ran it as root again.  This time it didn't jam 
and I could create a new piece from the template, compile it and play it 
under MIDI, and then change a note and recompile and play.  All seems 
fine, so I think that it must be either a permissions problem (which I 
though flatpak avoided), or else there is some initialisation in the 
root account that is not in my account.


Regards,
Martin

On 06/11/2020 12:02, J Martin Rushton wrote:

Hi Federico,

Inline

On 05/11/2020 22:47, Federico Bruni wrote:

Hi Martin

Perhaps you added the flathub repository as root using the --user 
switch? (wrong)


I didn't use --user


Can you paste the output of this command both as root and as normal user?

  flatpak remotes

$ flatpak remotes
Name    Options
flathub system

# flatpak remotes
Name    Options
flathub system



I have this as normal user:

$ flatpak remotes
Name Options
flathub system
flathub-beta user

Did you read this page?
https://docs.flatpak.org/en/latest/using-flatpak.html#system-versus-user


No, I just followed links:
https://flathub.org/apps/details/org.frescobaldi.Frescobaldi
-> https://flatpak.org/setup/
-> https://flatpak.org/setup/CentOS/


You shouldn't be root to install any flatpak application.


That's what I thought, but I get permission errors.  I tried the 
installation three times: as root, as me and as root again.


I can't remember if adding the repository at system level requires 
root privileges.


Apparently so.

In a nutshell, if you add a repository using the --user switch, any 
application installed from that repository will be installed at user 
level and available only to that user; otherwise the default is system 
level.




I did the installation by cut-and-paste:

flatpak install flathub org.frescobaldi.Frescobaldi

It installed a load of other system-type things as well:
# flatpak list
Ref   Options
org.frescobaldi.Frescobaldi/x86_64/stable system,current
org.freedesktop.Platform.GL.default/x86_64/20.08  system,runtime
org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08 system,runtime
org.freedesktop.Platform.openh264/x86_64/2.0  system,runtime
org.kde.KStyle.Adwaita/x86_64/5.15    system,runtime
org.kde.Platform/x86_64/5.15  system,runtime

One thing I did notice, the Quick Setup page says: "Flatpak is installed 
by default on CentOS 7, when using GNOME" and I don't run gnome.  I use 
Mate on C7 systems, but gnome is available from the login page so all 
resources should be there.


Many thans and kind regards,
Martin



Il giorno gio 5 nov 2020 alle 21:47, J Martin Rushton 
 ha scritto:

Hi Federico,

I welcome this since I've been having problems with Frescobaldi under 
both CentOS 7 and 8 for a while.


I followed the setup guide on the host CentOS8 machine and downloaded 
the flathub repository file.  First problem: I had to be root to 
install it - I thought flatpak was meant to be at user level?


I then installed Frescobaldi (using cut-and-paste).  If I tried to 
run it as a user I got the message: "error: 
app/org.frescobaldi.Frescobaldi/x86_64/master not installed".  As a 
test I tried running it as root (I know, bad practice) and the window 
opened, but then hung and would not die.


Any suggestions?

Regards,
Martin

On 05/11/2020 20:48, Federico Bruni wrote:

Hi folks

I'm happy to announce that Frescobaldi is now available for Linux 
users also as flatpak on Flathub:

https://flathub.org/apps/details/org.frescobaldi.Frescobaldi

Advantages:
- LilyPond is bundled, so it's a very simple installation.
- All runtime dependencies are included.
- Sandbox.

Bugs:
- Doumentation browser is not working.
There's something wrong in the way I built PyQtWebEngine...


Current stable installed size is 287 MB. (not including the KDE 
runtime)
Current beta release shipping lilypond 2.21.80 is 245 MB (no need 
to include python2).


Installing the stable version should be straightforward.
If you want to install the beta version (which currently has only 
the "stable RC" of lilypond), run these commands:


flatpak remote-add --user flathub-beta 
https://flathub.org/beta-repo/flathub-beta.flatpakrepo

flatpak install --user flathub-beta org.frescobaldi.Frescobaldi


Cheers
Federico



--
J Martin Rushton MBCS








--
J Martin Rushton MBCS



Re: Frescobaldi+LilyPond flatpak package now available

2020-11-06 Thread J Martin Rushton

Hi Federico,

Inline

On 05/11/2020 22:47, Federico Bruni wrote:

Hi Martin

Perhaps you added the flathub repository as root using the --user 
switch? (wrong)


I didn't use --user


Can you paste the output of this command both as root and as normal user?

  flatpak remotes

$ flatpak remotes
NameOptions
flathub system

# flatpak remotes
NameOptions
flathub system



I have this as normal user:

$ flatpak remotes
Name Options
flathub system
flathub-beta user

Did you read this page?
https://docs.flatpak.org/en/latest/using-flatpak.html#system-versus-user


No, I just followed links:
https://flathub.org/apps/details/org.frescobaldi.Frescobaldi
-> https://flatpak.org/setup/
-> https://flatpak.org/setup/CentOS/


You shouldn't be root to install any flatpak application.


That's what I thought, but I get permission errors.  I tried the 
installation three times: as root, as me and as root again.


I can't 
remember if adding the repository at system level requires root privileges.


Apparently so.

In a nutshell, if you add a repository using the --user switch, any 
application installed from that repository will be installed at user 
level and available only to that user; otherwise the default is system 
level.




I did the installation by cut-and-paste:

flatpak install flathub org.frescobaldi.Frescobaldi

It installed a load of other system-type things as well:
# flatpak list
Ref   Options
org.frescobaldi.Frescobaldi/x86_64/stable system,current
org.freedesktop.Platform.GL.default/x86_64/20.08  system,runtime
org.freedesktop.Platform.VAAPI.Intel/x86_64/20.08 system,runtime
org.freedesktop.Platform.openh264/x86_64/2.0  system,runtime
org.kde.KStyle.Adwaita/x86_64/5.15system,runtime
org.kde.Platform/x86_64/5.15  system,runtime

One thing I did notice, the Quick Setup page says: "Flatpak is installed 
by default on CentOS 7, when using GNOME" and I don't run gnome.  I use 
Mate on C7 systems, but gnome is available from the login page so all 
resources should be there.


Many thans and kind regards,
Martin



Il giorno gio 5 nov 2020 alle 21:47, J Martin Rushton 
 ha scritto:

Hi Federico,

I welcome this since I've been having problems with Frescobaldi under 
both CentOS 7 and 8 for a while.


I followed the setup guide on the host CentOS8 machine and downloaded 
the flathub repository file.  First problem: I had to be root to 
install it - I thought flatpak was meant to be at user level?


I then installed Frescobaldi (using cut-and-paste).  If I tried to run 
it as a user I got the message: "error: 
app/org.frescobaldi.Frescobaldi/x86_64/master not installed".  As a 
test I tried running it as root (I know, bad practice) and the window 
opened, but then hung and would not die.


Any suggestions?

Regards,
Martin

On 05/11/2020 20:48, Federico Bruni wrote:

Hi folks

I'm happy to announce that Frescobaldi is now available for Linux 
users also as flatpak on Flathub:

https://flathub.org/apps/details/org.frescobaldi.Frescobaldi

Advantages:
- LilyPond is bundled, so it's a very simple installation.
- All runtime dependencies are included.
- Sandbox.

Bugs:
- Doumentation browser is not working.
There's something wrong in the way I built PyQtWebEngine...


Current stable installed size is 287 MB. (not including the KDE runtime)
Current beta release shipping lilypond 2.21.80 is 245 MB (no need 
to include python2).


Installing the stable version should be straightforward.
If you want to install the beta version (which currently has only 
the "stable RC" of lilypond), run these commands:


flatpak remote-add --user flathub-beta 
https://flathub.org/beta-repo/flathub-beta.flatpakrepo

flatpak install --user flathub-beta org.frescobaldi.Frescobaldi


Cheers
Federico



--
J Martin Rushton MBCS






--
J Martin Rushton MBCS