All of lore.kernel.org
 help / color / mirror / Atom feed
* Suggestion for grub beep notification
@ 2022-09-10  6:41 Nick F
  2022-09-16 21:07 ` Glenn Washburn
  0 siblings, 1 reply; 3+ messages in thread
From: Nick F @ 2022-09-10  6:41 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 644 bytes --]

Hi guys,

I am using grub to book a dual OS computer. When I start/restart the
computer, I want to be notified by a beep, so I can make the OS selection.
I enabled the beep by uncommenting the line GRUB_INIT_TUNE in
/etc/default/grub but the beep comes up a few seconds before the grub  menu
is displayed. While this is not a big issue, is it possible to change some
configuration so that the beep happens after the start menu is displayed?
It doesn't make much sense to me to have a beep then look at the black
screen for five seconds or more before I can make a selection.
 I use OpenSuse Leap 15.4 in case it matters.

Kind regards,
Nicolae

[-- Attachment #2: Type: text/html, Size: 742 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Suggestion for grub beep notification
  2022-09-10  6:41 Suggestion for grub beep notification Nick F
@ 2022-09-16 21:07 ` Glenn Washburn
  2022-09-17  2:27   ` Nick F
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Washburn @ 2022-09-16 21:07 UTC (permalink / raw)
  To: Nick F; +Cc: The development of GNU GRUB

On Sat, 10 Sep 2022 16:41:21 +1000
Nick F <nfieraru@gmail.com> wrote:

> Hi guys,
> 
> I am using grub to book a dual OS computer. When I start/restart the
> computer, I want to be notified by a beep, so I can make the OS selection.
> I enabled the beep by uncommenting the line GRUB_INIT_TUNE in
> /etc/default/grub but the beep comes up a few seconds before the grub  menu
> is displayed. While this is not a big issue, is it possible to change some
> configuration so that the beep happens after the start menu is displayed?
> It doesn't make much sense to me to have a beep then look at the black
> screen for five seconds or more before I can make a selection.
>  I use OpenSuse Leap 15.4 in case it matters.

I've not tried this, but what might get you what you want it to use the
"play" command to create a tone. I think if you put it at the end of
the grub.cfg it'll happen after the menu is displayed.

Glenn


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Suggestion for grub beep notification
  2022-09-16 21:07 ` Glenn Washburn
@ 2022-09-17  2:27   ` Nick F
  0 siblings, 0 replies; 3+ messages in thread
From: Nick F @ 2022-09-17  2:27 UTC (permalink / raw)
  To: development; +Cc: The development of GNU GRUB

[-- Attachment #1: Type: text/plain, Size: 1557 bytes --]

Hi Glenn, thanks for your answer. I edited /etc/default/grub and appended
to the last line the command
play 60 440 4
When I do update-bootloader, it tells me
+ /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg
/etc/default/grub: line 50: play: command not found

I tried next to use the command: play "60 440 4" but I got the same error.
I also tried moving the command GRUB_INIT_TUNE="480 440 1" to the last line
of the grub script, but the beep comes up about 6 seconds before the menu
is displayed.

Nicolae

On Sat, Sep 17, 2022 at 7:07 AM Glenn Washburn <development@efficientek.com>
wrote:

> On Sat, 10 Sep 2022 16:41:21 +1000
> Nick F <nfieraru@gmail.com> wrote:
>
> > Hi guys,
> >
> > I am using grub to book a dual OS computer. When I start/restart the
> > computer, I want to be notified by a beep, so I can make the OS
> selection.
> > I enabled the beep by uncommenting the line GRUB_INIT_TUNE in
> > /etc/default/grub but the beep comes up a few seconds before the grub
> menu
> > is displayed. While this is not a big issue, is it possible to change
> some
> > configuration so that the beep happens after the start menu is displayed?
> > It doesn't make much sense to me to have a beep then look at the black
> > screen for five seconds or more before I can make a selection.
> >  I use OpenSuse Leap 15.4 in case it matters.
>
> I've not tried this, but what might get you what you want it to use the
> "play" command to create a tone. I think if you put it at the end of
> the grub.cfg it'll happen after the menu is displayed.
>
> Glenn
>

[-- Attachment #2: Type: text/html, Size: 2160 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-17  2:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-10  6:41 Suggestion for grub beep notification Nick F
2022-09-16 21:07 ` Glenn Washburn
2022-09-17  2:27   ` Nick F

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.