| fsmithred | How can I add ascii control characters to syslinux boot menu? | 12:22 |
|---|---|---|
| rrq | you mean into the conf file(s) ? that'd depend on which editor you use (?) | 12:32 |
| fsmithred | I want a bell to ring on certain boot menu entries just like they do in the minimal-live isos that I make. | 12:45 |
| fsmithred | There's a ^G at the end of the line and it rings a bell. When I add a ^G to mine, it just shows up as ^G. | 12:46 |
| fsmithred | mine = my menu | 12:46 |
| fsmithred | I did no create the minimal-live menu, I just keep copying it. | 12:46 |
| rrq | yes I think a ctrl-G character rings the bell, and it shows up as the two characters ^ and G | 12:47 |
| rrq | in vi you'd use ctrl-V to insert a ctrl-G; in emacs it's ctrl-Q | 12:48 |
| fsmithred | OK, I've got the bell working in the syslinux menu. I can't figure out where it goes in the grub menu. I tried a few different spots in the menuentries and got nothing. | 17:18 |
| golinux | Progress! | 17:24 |
| * onefang starts to wonder just how early in the boot process fsmithred wants the screen reader to start? Beeping in the boot loader now? | 20:15 | |
| onefang | I've started considering having sysv-init at least START with my script. As it scans for audio devices it can have espeak say "Welcome to EARS volume zero. This is audio device HDMI9." through each device as it finds them. | 20:17 |
| onefang | Other init systems I have not played with yet. | 20:18 |
| onefang | Then later, the user can get a chance to tell the system "Just use audio device Mobo3, that sounded best to me." Having heard that message through Mobo3, with the name "Mobo3" being said in the message. | 20:20 |
| onefang | Theoretically possible to stuff these things into the initramfs. lol | 20:21 |
| onefang | At tho moment EARS volume 0 is running from /etc/boot.d, which rc.local scans through. That happens at the end of the init process though. | 20:24 |
| fsmithred | onefang, the minimal-live already beeps on some of the boot menu entries. I just wanted to reproduce that. | 20:28 |
| fsmithred | I can do it by copy/paste, but I still have no idea how to add it if I don't already have one to copy. | 20:29 |
| onefang | "Welcome to EARS volume zero point zero. This is audio device Mobo number nine. Press the Any key if you want to hear me speak through this device." | 20:29 |
| onefang | "Too late. Trying the next audio device." | 20:30 |
| onefang | Or select by number. | 20:31 |
| onefang | Is this the sort of thing you are after? | 20:31 |
| fsmithred | that would work. That's how the installer works. | 20:31 |
| onefang | Gives me something to do today. B-) | 20:32 |
| fsmithred | I had mine speaking Italian a little while ago. | 20:32 |
| onefang | Mate, strictly spiccing 'Strine 'ear. | 20:32 |
| onefang | (Ask rrq for a translation when he wakes up.) | 20:33 |
| onefang | As for getting syslinux to speak, well I do intend to port a couple of features from rEFInd, speaking wasn't planned. | 20:35 |
| onefang | Those are - Scan all storage looking for anything it can boot and present the list. Add to the list the option of getting to the BIOS setup screen, coz my super desktop refuses to do that with the key it says it should work on, so I have to bounce through rEFInd. | 20:38 |
| * onefang wanders back to bed. | 20:47 | |
| rrq | fsmithred: grub doesn't do <BEL> character, but rather an audio tune (series of frequency and time) | 23:13 |
| rrq | "insmod play ; play 960 440 1 0 4 440 1" | 23:17 |
| rrq | not sure what it means... I think it's for the pc speaker though | 23:18 |
| rrq | I'm pretty sure there used to be documentation for it somewhere | 23:20 |
| rrq | https://www.gnu.org/software/grub/manual/grub/html_node/play.html | 23:20 |
| rrq | "Command: play file | tempo [pitch1 duration1] [pitch2 duration2] …" | 23:21 |
| rrq | hmm .. "normal A" for 1/16s, then quiet for 4/16s, then another "normal A" for 1/16s ... (maybe) | 23:26 |
| rrq | (1/16 = 60/960) | 23:28 |
| fsmithred | rrq, it makes a tone when the boot menu appears | 23:45 |
| fsmithred | not sure if I have 'insmod play' but I did uncomment the line in /etc/default/grub. | 23:45 |
| rrq | yes, with that "insmod...." in the conf; it is executed when the conf is read | 23:46 |
| fsmithred | anyone who can't see will just have to know the menu | 23:46 |
| fsmithred | first three items are good: full desktop, console only, other language (not sure how much of that works) | 23:47 |
| fsmithred | one other thing I noticed that might be a problem with the desktop is that it does not tell you when you are hovering over the menus in the top panel. | 23:48 |
| fsmithred | maybe there are keystrokes for that | 23:48 |
| fsmithred | I think grub plays abnormal A, normal A (480 440) | 23:50 |
| fsmithred | wait, I think 480 is C | 23:51 |
| fsmithred | 120*4 | 23:51 |
| rrq | there's the "pure scale" and the "natural scale" though I think they only differed ad F (or maybe E as well) | 23:52 |
| rrq | I did read about this some 40 years ago | 23:52 |
| fsmithred | tempered scale puts even spaces between the tones | 23:52 |
| fsmithred | natural (harmonic) scale is not even. Go up a couple octaves and you sound out of tune. | 23:53 |
| fsmithred | my tuning fork says 128 is C | 23:53 |
| rrq | well, if 440 is A then 220 is A and 110 is A ... so 128 might ell be C | 23:55 |
| rrq | w | 23:56 |
| fsmithred | yeah, it's engraved in the metal. I believe it. | 23:57 |
| rrq | :) .. would be 1 octave down from middle C | 23:57 |
| rrq | something to tune your alto recorder by I guess | 23:58 |
| fsmithred | lol | 23:58 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!