startupsound-mx is broken  [Solved]

Report Bugs, Issues and non- package Requests
Message
Author
User avatar
takobaba
Posts: 5
Joined: Mon Feb 03, 2020 9:12 pm

startupsound-mx is broken  [Solved]

#1 Post by takobaba »

on my mx-linux 23.5,
Linux mx 6.12.12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~mx23ahs (2025-02-06) x86_64 GNU/Linux

`/usr/bin/startupsound-mx`
had issues running,

/usr/bin/startupsound-mx: line 57: [: missing `]'

when I checked the script using vim, I realized the 'elapsed` was called wrong, it was missing the dollar sign($) and the square bracket ending was missing.
Here is the code after the change

Code: Select all

sudo vim /usr/bin/startupsound-mx

Code: Select all

if [ "$elapsed" -ge "$max_duration" ]; then
After making this change, I saved using `wq!` and rebooted. The sound was working again.

Is this an issue specific to me, maybe this helps someone else too!

User avatar
dolphin_oracle
Developer
Posts: 22251
Joined: Sun Dec 16, 2007 12:17 pm

Re: startupsound-mx is broken

#2 Post by dolphin_oracle »

ah thanks, will change it :)
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
takobaba
Posts: 5
Joined: Mon Feb 03, 2020 9:12 pm

Re: startupsound-mx is broken

#3 Post by takobaba »

dolphin_oracle wrote: Sun Feb 16, 2025 4:13 pm ah thanks, will change it :)
Thanks. Is there anyway, I could push a change to codebase, like github or anywhere? I just didn't know so I posted here!

User avatar
Eadwine Rose
Administrator
Posts: 14631
Joined: Wed Jul 12, 2006 2:10 am

Re: startupsound-mx is broken

#4 Post by Eadwine Rose »

I believe it just got fixed, reload on the updates.
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
takobaba
Posts: 5
Joined: Mon Feb 03, 2020 9:12 pm

Re: startupsound-mx is broken

#5 Post by takobaba »

I just seen there was an update but I think the `]` square bracket still missing? the dollar sign for elapsed seems to be fixed now tho!

User avatar
dolphin_oracle
Developer
Posts: 22251
Joined: Sun Dec 16, 2007 12:17 pm

Re: startupsound-mx is broken

#6 Post by dolphin_oracle »

yeah what I get for going too fast.

on the road, but change is made. update push out tomorrrow.

thanks again!

debs here: https://drive.google.com/file/d/171sUpi ... drive_link

but won't send to repo until tomorrow with some other stuff.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
takobaba
Posts: 5
Joined: Mon Feb 03, 2020 9:12 pm

Re: startupsound-mx is broken

#7 Post by takobaba »

dolphin_oracle wrote: Sun Feb 16, 2025 6:18 pm yeah what I get for going too fast.

on the road, but change is made. update push out tomorrrow.

thanks again!

debs here: https://drive.google.com/file/d/171sUpi ... drive_link

but won't send to repo until tomorrow with some other stuff.
That is amazing, thank you very much!! I would love to become a contributor, if there is a way for public contribution?

User avatar
dolphin_oracle
Developer
Posts: 22251
Joined: Sun Dec 16, 2007 12:17 pm

Re: startupsound-mx is broken

#8 Post by dolphin_oracle »

If you mean code contributions, then yeah, all of our stuff up on our MX Linux git hub. Best way is to clone into your own git repo and do pull requests. we definitely take them!
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

Post Reply

Return to “Bugs and Non-Package Requests Forum”