Please use the quoted instructions (below) to amend "/etc/default/grub" with any (or all) of the following:
NOTE: All instructions are the same, except for step 5; replace (or append) the PAC-MAN Tune. To test just the tune, I found an excellent online tool:
GRUB_INIT_TUNE tester v0.7.2 (html.head.title == "Grub tune tester v0.7.2"; why be consistent? smh)
Code: Select all
# Star Trek Tune...
GRUB_INIT_TUNE="2500 349 8 622 12 587 4 523 3 466 2 440 3 415 24 0 4 370 4 349 8 698 12 622 4 587 3 523 2 466 3 440 24 0 4 415 4 392 12 440 4 466 4 523 4 587 3 622 2 587 3 698 11 587 2 698 3 831 12 784 4 698 8 392 16 523 8 466 24"
Code: Select all
# Star Wars Force Tune...
GRUB_INIT_TUNE="1000 294 4 392 8 440 6 466 1 523 1 466 8 294 6 294 2 392 6 440 2 466 2 294 2 466 1 392 2 587 1 523 12"
Code: Select all
# Game of Thrones Tune...
GRUB_INIT_TUNE="1200 392 9 262 9 311 2 349 1 392 6 262 6 311 2 349 1 294 18 0 9 349 9 233 9 311 2 294 1 349 6 233 9 311 2 294 1 262 17"
M0rn1n6St4r wrote: Sun Aug 28, 2022 12:55 am Remember that all changes to /etc/default/grub must be committed (after saving) by running:Steps...Code: Select all
sudo update-grub
1. Open a terminal and run:2. Enter your sudo password and press <Enter>.Code: Select all
sudo nano /etc/default/grub
3. Locate the following line(s):orCode: Select all
# Uncomment to get a beep at grub start GRUB_INIT_TUNE
4. If you find "GRUB_INIT_TUNE", comment it out with "#". If you find "#GRUB_INIT_TUNE" (or nothing), go to step 5.Code: Select all
# Uncomment to get a beep at grub start #GRUB_INIT_TUNE
5. Add the following single lines below "#GRUB_INIT_TUNE" (or below "# Uncomment to get a beep at grub start"):NOTE: The first integer, "2000", is the tempo. Increasing that integer will increase the tempo; i.e. plays faster. Decreasing that integer will decrease the tempo; i.e. plays slower.Code: Select all
# PAC-MAN Tune... GRUB_INIT_TUNE="2000 494 3 0 2 988 3 740 3 0 2 588 3 988 3 740 3 0 2 588 3 0 2 123 3 523 3 0 2 1047 3 784 3 0 2 659 3 1047 3 784 3 0 2 659 3 0 2 131 3 494 3 0 2 988 3 740 3 0 2 588 3 988 3 740 3 0 2 588 3 0 2 123 2 588 2 659 2 698 2 698 2 740 2 784 2 784 2 831 2 880 2 988 2"
6. Press <Ctrl+o>, then <Enter> to save (/etc/default/grub). Press <Ctrl+x> to exit nano.
7. Commit the changes to grub.cfg by running:NOTE: "/etc/default/grub" and "grub.cfg" are not the same file; i.e. "grub.cfg" is located in subfolder(s) of "/boot" and should not be edited directly.Code: Select all
sudo update-grub
8. (if required) Enter your sudo password and press <Enter>.
9. Wait for the update-grub to complete.
10. Exit terminal.
To test, you will need to restart your PC.
BONUS:NOTE: Remember to comment out all but one "GRUB_INIT_TUNE" lines. I do not know the behavior including multiple active lines.Code: Select all
# Close Encounters Tune... GRUB_INIT_TUNE="720 900 2 1000 2 800 2 400 2 600 3"