This file is indexed.

/usr/share/denemo/templates/ChordChart.denemo is in denemo-data 2.2.0-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
<?xml version="1.0" encoding="UTF-8"?>
<score xmlns="http://denemo.org/xmlns/Denemo" version="8">
  <scheme> (let ((tag1 "CreateCustomizeChordSymbol")(tag2 "InsertCustomizeChordSymbol")(tag3 "ToggleTypeset")) 
   (d-PushPosition)
   (while (d-PreviousMovement))
   (d-HideMovement #t)
   (d-PopPosition)
  
   (CreateButton tag1 (string-append " &lt;span font_desc=\"16\" foreground=\"blue\"&gt;" (_ "Create/Load a custom Chord Symbol")"&lt;/span&gt;"))
    (d-SetDirectiveTagActionScript tag1 
        "(let ()
        	(if (eq? 1 (d-GetMovement))
        		(begin
           		 	(d-WarningDialog (_ \"For simple chord symbols don't use this:
just attach the text you want to use as the symbol
to the type of chord you are designing the symbol for.
This button will allow you to customize how a Chord Symbol is drawn using a vector graphics editor (e.g. Inkscape). 
For each type of chord you wish to modify, you create an \\\"ornament\\\" 
which is the symbol you want - e.g. 9sus4 or +7.
Placing one of these \\\"ornaments\\\" on the type of chord in this movement
will result in it being used in the Chord Chart itself,
which you construct in the next movement.
You must not delete this movement even though it is hidden, otherwise
the Chord Chart will not see the definitions.
In what follows, the chord symbols are referred to as 
\\\"ornaments\\\" because the custom ornament code is being re-used.\"
))
			(d-CustomOrnamentDefinition))
		(begin
			(d-WarningDialog (_ \"Use this button only in the Chord Symbol Definitions movement - the first movement\"))))
        )")
        
   (CreateButton tag2 (string-append " &lt;span font_desc=\"16\" foreground=\"green\"&gt;" (_ "Insert Chord Symbol Definition")"&lt;/span&gt;"))
    (d-SetDirectiveTagActionScript tag2 
        "(let ()
        	(if (eq? 1 (d-GetMovement))
            		(begin
				(d-ToggleCustomOrnament))
			(begin
				(d-WarningDialog (_ \"Use this button only in the Chord Symbol Definitions movement - the first movement\"))))
        )"   )
        
     (CreateButton tag3 (string-append " &lt;span font_desc=\"12\" foreground=\"red\"&gt;" (_ "(Un-)Typeset Definitions")"&lt;/span&gt;"))
    (d-SetDirectiveTagActionScript tag3 "(if (eq? 1 (d-GetMovement)) (d-HideMovement)
    											(d-WarningDialog (_ \"Use only in the first movement\")))")     
        
        (d-TypesetForScript "(d-PrintView)"))
        </scheme>
  <scoreheader-directives>
    <directive>
      <tag>ScoreTitle</tag>
      <postfix>title =  \markup { \with-url #'"scheme:(d-ScoreTitle)"  "Click Title"}

</postfix>
      <display>Click Title</display>
      <data>Click Title</data>
      <override>36</override>
    </directive>
  </scoreheader-directives>
  <paper-directives>
    <directive>
      <tag>PrintAllHeaders</tag>
      <postfix>
print-all-headers = ##t
</postfix>
    </directive>
    <directive>
      <tag>LimitInterSystemSpace</tag>
      <postfix>
page-limit-inter-system-space = ##t
page-limit-inter-system-space-factor = 1.2</postfix>
      <data>1.2</data>
    </directive>
    <directive>
      <tag>RaggedLast</tag>
      <postfix>
ragged-last = ##t</postfix>
      <override>4</override>
    </directive>
  </paper-directives>
  <thumbnail>
    <first-staff>1</first-staff>
    <last-staff>3</last-staff>
    <first-measure>1</first-measure>
    <last-measure>3</last-measure>
    <first-obj>0</first-obj>
    <last-obj>2147483647</last-obj>
  </thumbnail>
  <lilycontrol>
    <papersize>a4</papersize>
    <fontsize>18</fontsize>
    <orientation>1</orientation>
    <total-edit-time>1803</total-edit-time>
    <score-directives>
      <directive>
        <tag>ScoreIndent</tag>
        <prefix>\layout {indent = 0}
</prefix>
        <display>indent=0</display>
        <data>0</data>
        <override>4</override>
      </directive>
      <directive>
        <tag>CustomBarline</tag>
        <prefix>
\defineBarLine ":|]-RepeatEnd" #'(":|]" "|" "")

\defineBarLine "[|:-RepeatStart" #'("||" "[|:" "")

\defineBarLine "||-Double" #'("||" "|" "")

\defineBarLine "|-Single" #'("|" "|" "")
</prefix>
        <display>Custom Barlines</display>
        <data>'(("RepeatEnd" "|" ":|]" ":|]" "") ("RepeatStart" "[|:" "[|:" "||" "") ("Double" "|" "||" "||" "") ("Single" "|" "|" "|" ""))</data>
        <override>16</override>
      </directive>
      <directive>
        <tag>ChordChartStaff</tag>
        <prefix>
\defineBarLine "|" #'("|" "|" "|")
</prefix>
        <override>16</override>
      </directive>
      <directive>
        <tag>Allow
BarRepeatEnd</tag>
        <prefix>BarRepeatEnd = \bar ":|]-RepeatEnd"
</prefix>
        <display>BarRepeatEnd</display>
        <override>16</override>
      </directive>
      <directive>
        <tag>Allow
BarRepeatStart</tag>
        <prefix>BarRepeatStart = \bar "[|:-RepeatStart"
</prefix>
        <display>BarRepeatStart</display>
        <override>16</override>
      </directive>
      <directive>
        <tag>Allow
BarDouble</tag>
        <prefix>BarDouble = \bar "||-Double"
</prefix>
        <display>BarDouble</display>
        <override>16</override>
      </directive>
      <directive>
        <tag>Allow
BarSingle</tag>
        <prefix>BarSingle = \bar "|-Single"




</prefix>
        <display>BarSingle</display>
        <override>16</override>
      </directive>
      <directive>
        <tag>BarNumberingInterval</tag>
        <postfix>\override Score.BarNumber.break-visibility = #end-of-line-invisible
                \set Score.barNumberVisibility = #(every-nth-bar-number-visible 10000) </postfix>
        <display>BarNumberingInterval</display>
      </directive>
    </score-directives>
  </lilycontrol>
  <movement-number>2</movement-number>
  <movement>
    <edit-info>
      <staffno>1</staffno>
      <measureno>2</measureno>
      <cursorposition>0</cursorposition>
      <tonalcenter>0</tonalcenter>
      <zoom>100</zoom>
      <system-height>100</system-height>
      <page-zoom>100</page-zoom>
      <page-system-height>100</page-system-height>
    </edit-info>
    <header-directives>
      <directive>
        <tag>SuppressTitleRepeats</tag>
        <postfix>title = ##f
instrument = ##f
</postfix>
      </directive>
    </header-directives>
    <movementcontrol-directives>
      <directive>
        <tag>HideMovement</tag>
        <prefix>\void </prefix>
        <display>Non-printing Movement</display>
      </directive>
    </movementcontrol-directives>
    <score-info>
      <tempo>
        <duration>
          <numerator>1</numerator>
          <denominator>4</denominator>
        </duration>
        <bpm>120</bpm>
      </tempo>
    </score-info>
    <staves>
      <staff id="id0"></staff>
    </staves>
    <voices>
      <voice id="id1">
        <voice-info>
          <voice-name>Unnamed</voice-name>
          <first-measure-number>1</first-measure-number>
        </voice-info>
        <initial-voice-params>
          <staff-ref staff="id0"></staff-ref>
          <clef name="treble"></clef>
          <key-signature>
            <modal-key-signature note-name="C" mode="major"></modal-key-signature>
          </key-signature>
          <time-signature>
            <simple-time-signature>
              <numerator>4</numerator>
              <denominator>4</denominator>
            </simple-time-signature>
          </time-signature>
        </initial-voice-params>
        <voice-props>
          <number-of-lines>5</number-of-lines>
          <voice-control>1</voice-control>
          <transpose>0</transpose>
          <instrument></instrument>
          <device-port>NONE</device-port>
          <volume>127</volume>
          <override_volume>0</override_volume>
          <mute>0</mute>
          <midi_prognum>0</midi_prognum>
          <midi_channel>0</midi_channel>
          <hasfigures>0</hasfigures>
          <hasfakechords>0</hasfakechords>
          <staff-directives>
            <directive>
              <tag>InstrumentName</tag>
              <postfix>\set Staff.instrumentName = \markup {  \with-url #'"scheme:(d-GoToPosition 1 1 1 1)(let ((choice (d-PopupMenu (list (cons (_ \"Change Name\") d-InstrumentName)   (cons (_ \"Change Indent\") d-ScoreIndent)))))
                    (if choice (choice)))    " \transparent {"Unnamed" }}</postfix>
              <display>Unnamed</display>
              <override>4</override>
            </directive>
          </staff-directives>
        </voice-props>
        <measures>
          <measure>
            <chord show="true" id="id2">
              <duration base="whole"></duration>
              <notes>
                <note id="id3">
                  <middle-c-offset>0</middle-c-offset>
                </note>
                <note id="id4">
                  <middle-c-offset>2</middle-c-offset>
                </note>
                <note id="id5">
                  <middle-c-offset>4</middle-c-offset>
                </note>
              </notes>
            </chord>
          </measure>
          <measure>
            <chord show="true" id="id6">
              <duration base="whole"></duration>
              <notes>
                <note id="id7">
                  <middle-c-offset>0</middle-c-offset>
                </note>
                <note id="id8">
                  <middle-c-offset>2</middle-c-offset>
                  <accidental name="flat" show="true"></accidental>
                </note>
                <note id="id9">
                  <middle-c-offset>4</middle-c-offset>
                </note>
              </notes>
            </chord>
          </measure>
          <measure>
            <chord show="true" id="id10">
              <duration base="whole"></duration>
              <notes>
                <note id="id11">
                  <middle-c-offset>0</middle-c-offset>
                </note>
                <note id="id12">
                  <middle-c-offset>6</middle-c-offset>
                  <accidental name="flat" show="true"></accidental>
                </note>
              </notes>
            </chord>
          </measure>
          <measure>
            <chord show="true" id="id13">
              <duration base="whole"></duration>
              <notes>
                <note id="id14">
                  <middle-c-offset>0</middle-c-offset>
                </note>
                <note id="id15">
                  <middle-c-offset>5</middle-c-offset>
                </note>
              </notes>
            </chord>
          </measure>
          <measure>
            <chord show="true" id="id16">
              <duration base="whole"></duration>
              <notes>
                <note id="id17">
                  <middle-c-offset>0</middle-c-offset>
                </note>
                <note id="id18">
                  <middle-c-offset>2</middle-c-offset>
                  <accidental name="flat" show="true"></accidental>
                </note>
                <note id="id19">
                  <middle-c-offset>6</middle-c-offset>
                  <accidental name="flat" show="true"></accidental>
                </note>
              </notes>
            </chord>
          </measure>
          <measure>
            <chord show="true" id="id20">
              <duration base="whole"></duration>
              <notes>
                <note id="id21">
                  <middle-c-offset>0</middle-c-offset>
                </note>
                <note id="id22">
                  <middle-c-offset>2</middle-c-offset>
                  <accidental name="flat" show="true"></accidental>
                </note>
                <note id="id23">
                  <middle-c-offset>5</middle-c-offset>
                </note>
              </notes>
            </chord>
          </measure>
          <measure>
            <chord show="true" id="id24">
              <duration base="whole"></duration>
              <notes>
                <note id="id25">
                  <middle-c-offset>0</middle-c-offset>
                </note>
                <note id="id26">
                  <middle-c-offset>2</middle-c-offset>
                  <accidental name="flat" show="true"></accidental>
                </note>
                <note id="id27">
                  <middle-c-offset>4</middle-c-offset>
                  <accidental name="flat" show="true"></accidental>
                </note>
                <note id="id28">
                  <middle-c-offset>6</middle-c-offset>
                  <accidental name="flat" show="true"></accidental>
                </note>
              </notes>
            </chord>
          </measure>
          <measure>
            <chord show="true" id="id29">
              <duration base="whole"></duration>
              <notes>
                <note id="id30">
                  <middle-c-offset>0</middle-c-offset>
                </note>
                <note id="id31">
                  <middle-c-offset>3</middle-c-offset>
                </note>
                <note id="id32">
                  <middle-c-offset>6</middle-c-offset>
                  <accidental name="flat" show="true"></accidental>
                </note>
                <note id="id33">
                  <middle-c-offset>8</middle-c-offset>
                </note>
              </notes>
            </chord>
          </measure>
          <measure>
            <chord show="true" id="id34">
              <duration base="whole"></duration>
              <notes>
                <note id="id35">
                  <middle-c-offset>0</middle-c-offset>
                </note>
                <note id="id36">
                  <middle-c-offset>6</middle-c-offset>
                </note>
              </notes>
            </chord>
          </measure>
          <measure>
            <chord show="true" id="id37">
              <duration base="whole"></duration>
              <notes>
                <note id="id38">
                  <middle-c-offset>0</middle-c-offset>
                </note>
                <note id="id39">
                  <middle-c-offset>8</middle-c-offset>
                </note>
              </notes>
            </chord>
          </measure>
          <measure>
            <chord show="true" id="id40">
              <duration base="whole"></duration>
              <notes>
                <note id="id41">
                  <middle-c-offset>0</middle-c-offset>
                </note>
                <note id="id42">
                  <middle-c-offset>6</middle-c-offset>
                </note>
                <note id="id43">
                  <middle-c-offset>12</middle-c-offset>
                </note>
              </notes>
            </chord>
          </measure>
          <measure>
            <chord show="true" id="id44">
              <duration base="whole"></duration>
              <notes>
                <note id="id45">
                  <middle-c-offset>0</middle-c-offset>
                </note>
                <note id="id46">
                  <middle-c-offset>3</middle-c-offset>
                </note>
                <note id="id47">
                  <middle-c-offset>4</middle-c-offset>
                </note>
              </notes>
            </chord>
          </measure>
          <measure>
            <chord show="true" id="id48">
              <duration base="whole"></duration>
              <notes>
                <note id="id49">
                  <middle-c-offset>0</middle-c-offset>
                </note>
                <note id="id50">
                  <middle-c-offset>1</middle-c-offset>
                </note>
                <note id="id51">
                  <middle-c-offset>4</middle-c-offset>
                </note>
              </notes>
            </chord>
          </measure>
        </measures>
      </voice>
    </voices>
  </movement>
  <movement>
    <edit-info>
      <staffno>1</staffno>
      <measureno>1</measureno>
      <cursorposition>1</cursorposition>
      <tonalcenter>0</tonalcenter>
      <zoom>100</zoom>
      <system-height>100</system-height>
      <page-zoom>100</page-zoom>
      <page-system-height>100</page-system-height>
    </edit-info>
    <header-directives>
      <directive>
        <tag>SuppressTitleRepeats</tag>
        <postfix>title = ##f
instrument = ##f
</postfix>
      </directive>
    </header-directives>
    <layout-directives>
      <directive>
        <tag>ChordChartStaff</tag>
        <postfix>\set noChordSymbol = \markup \smaller \bold  "/"</postfix>
      </directive>
    </layout-directives>
    <score-info>
      <tempo>
        <duration>
          <numerator>1</numerator>
          <denominator>4</denominator>
        </duration>
        <bpm>120</bpm>
      </tempo>
    </score-info>
    <staves>
      <staff id="id52"></staff>
    </staves>
    <voices>
      <voice id="id53">
        <voice-info>
          <voice-name>Unnamed</voice-name>
          <first-measure-number>1</first-measure-number>
        </voice-info>
        <initial-voice-params>
          <staff-ref staff="id52"></staff-ref>
          <clef name="treble">
            <directives>
              <directive>
                <tag>ChordChartStaff</tag>
                <postfix>
</postfix>
                <override>1</override>
              </directive>
            </directives>
          </clef>
          <key-signature>
            <modal-key-signature note-name="C" mode="major"></modal-key-signature>
            <directives>
              <directive>
                <tag>ChordChartStaff</tag>
                <postfix>
</postfix>
                <override>17</override>
              </directive>
            </directives>
          </key-signature>
          <time-signature>
            <simple-time-signature>
              <numerator>4</numerator>
              <denominator>4</denominator>
            </simple-time-signature>
            <directives>
              <directive>
                <tag>ChordChartStaff</tag>
                <postfix>
</postfix>
                <display>4/4</display>
                <override>5</override>
              </directive>
            </directives>
          </time-signature>
        </initial-voice-params>
        <voice-props>
          <number-of-lines>5</number-of-lines>
          <voice-control>1</voice-control>
          <transpose>0</transpose>
          <instrument></instrument>
          <device-port>NONE</device-port>
          <volume>127</volume>
          <override_volume>0</override_volume>
          <mute>0</mute>
          <midi_prognum>0</midi_prognum>
          <midi_channel>0</midi_channel>
          <hasfigures>0</hasfigures>
          <hasfakechords>0</hasfakechords>
          <staff-directives>
            <directive>
              <tag>ChordChartStaff</tag>
              <display>ChordChartStaff</display>
              <override>21</override>
            </directive>
          </staff-directives>
          <voice-directives>
            <directive>
              <tag>ChordChartStaff</tag>
              <prefix>\new ChordNames \with {
chordNameExceptions = #(append
  (sequential-music-to-chord-exceptions MvmntIVoiceI #t)
  ignatzekExceptions)
                 \consists "Bar_engraver"
                 \consists "Script_engraver"
                 \consists "Text_engraver"
                 \consists "Time_signature_engraver"
                 \consists "Multi_measure_rest_engraver"
                 \override ChordName.font-size=#8
                 \override ChordName.extra-offset = #'(0 . -2)
                 \override BarLine.bar-extent = #'(-2 . 2)
                 \override BarLine #'hair-thickness = #6     
                 \numericTimeSignature 
            }
                                </prefix>
              <display>Chord Chart</display>
              <override>5</override>
            </directive>
          </voice-directives>
          <clef-directives>
            <directive>
              <tag>ChordChartStaff</tag>
              <postfix>
</postfix>
              <override>1</override>
            </directive>
          </clef-directives>
        </voice-props>
        <measures>
          <measure>
            <lily-directive>
              <tag>MultiLineTextAnnotation</tag>
              <prefix>&lt;&gt;-\tweak #'extra-offset #'( -0.18 . -8.36 )</prefix>
              <postfix>_\markup\scale #'(1 . 1)\column{\line\large{Delete this sample chord and these text markings and }\line\large{enter the chords for your song, customizing any chord}\line\large{symbols you wish to alter by editing the first movement.}
}</postfix>
              <display>Delete this sample chord and these text markings and 
enter the chords for your song, customizing any chord
symbols you wish to alter by editing the first movement.</display>
              <data>Delete this sample chord and these text markings and 
enter the chords for your song, customizing any chord
symbols you wish to alter by editing the first movement.</data>
              <minpixels>30</minpixels>
              <ty>79</ty>
            </lily-directive>
            <lily-directive>
              <tag>MultiLineTextAnnotation</tag>
              <prefix>&lt;&gt;</prefix>
              <postfix>^\markup\scale #'(1.5 . 1.5)\column{\line\large{Sample Chord Only}\line\large{This, the second movement, is the actual chord chart.}\line\large{It will use as chord symbols the markup added to the}\line\large{corresponding chord types in the first movment.}
}</postfix>
              <display>Sample Chord Only
This, the second movement, is the actual chord chart.
It will use as chord symbols the markup added to the
corresponding chord types in the first movment.</display>
              <data>Delete this sample chord and these text markings and 
enter the chords for your song, customizing any chord
symbols you wish to alter by editing the first movement.</data>
              <minpixels>30</minpixels>
              <tx>66</tx>
              <ty>-5</ty>
            </lily-directive>
            <chord show="true" id="id54">
              <duration base="whole"></duration>
              <notes>
                <note id="id55">
                  <middle-c-offset>3</middle-c-offset>
                </note>
                <note id="id56">
                  <middle-c-offset>5</middle-c-offset>
                  <accidental name="flat" show="true"></accidental>
                </note>
                <note id="id57">
                  <middle-c-offset>7</middle-c-offset>
                  <accidental name="flat" show="true"></accidental>
                </note>
                <note id="id58">
                  <middle-c-offset>9</middle-c-offset>
                  <accidental name="flat" show="true"></accidental>
                </note>
              </notes>
            </chord>
          </measure>
        </measures>
      </voice>
    </voices>
  </movement>
</score>