Hi, thanks for your help. It gives the same result: if I go into my lilypond manifest or open lilypond with guix shell lilypond nano mercurial timidity++ I can’t create a document with: lilypond THE_FILENAME.ly with: guix shell lilypond nano -- nano test.ly I can create a document. I was able to clone your songbook but listen to it: > timidity delfini-tune.midi was impossible. nothing happend after entering this command to create a pdf was possible. May be missing packages like gtk stuff and something for midi. > with which command can I copy the songbook from this guix shell into my home folder? kind regards Gottfried Am 21.03.23 um 08:24 schrieb Dr. Arne Babenhauserheide: > Hi Gottfried, > > Gottfried writes: > >>> You use >>>> lilypond THE_FILENAME.ly >>>> to create the document, >> >> >> I tried to go into my lilypond profile > > How do you go into the lilypond profile? > guix shell lilypond? > >> and to create a lilypond file: >> >> lilypond test.ly >> >> but it doesn’t create a document. >> >> message: >> test.ly can’t be found. >> >> Than I created a file: >> touch test.ly >> >> and opended it with: >> gedit test.ly >> >> So I can edit this file but >> terminal message: >> TypeError: Couldn't find foreign struct converter for 'cairo.Context' > > This sounds like gtk stuff is missing. > >> Do I have to install something else? >> >> How can I create a .ly file in the terminal? > > As a start you can use the simplest editor: nano > > guix shell lilypond nano -- nano test.ly > > Just edit the file there, then press CTRL-o to save and CTRL-x to exit > nano. > > for starters: > > # get a shell with the required programs > guix shell lilypond nano mercurial timidity++ > > hg clone https://hg.sr.ht/~arnebab/draketos-songbook > cd draketos-songbook > # edit the file > nano delfini-tune.ly > # create pdf and midi > lilypond delfini-tune.ly > # see the output > evince delfini-tune.pdf > # listen to it > timidity delfini-tune.midi > > (that example is a song I set for my kids, so don’t expect anything fancy) > > Best wishes, > Arne