mechvibes icon indicating copy to clipboard operation
mechvibes copied to clipboard

Ubuntu Desktop or GNOME don't support sound in terminal or other desktop.

Open hariacharya80 opened this issue 1 year ago • 22 comments

To reproduce:

  1. Install Mechvibes Install Mechvibes in a linux distro running the GNOME desktop manager or Ubuntu-Desktop (Customized GNOME for Ubuntu)
  2. Start typing in the file manager or menu or terminal. No sound will be heard
  3. Start typing in any other apps that are not closely related to system or GNOME. Sound is heard.

Possible Cause: Conflict with system configuration or any other internal issues with mechvibes & GNOME

Possible fix: Investigation required.

hariacharya80 avatar Jul 02 '23 12:07 hariacharya80

This issue has been automatically marked as stale because it has not had any activity in the last 60 days. It will be closed in 7 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant.

github-actions[bot] avatar Feb 18 '24 06:02 github-actions[bot]

!unstale

hariacharya80 avatar Feb 18 '24 10:02 hariacharya80

Thanks for letting us know about this issue, however I believe this is an upstream bug with one of our dependencies and unfortunately we use a package that is no longer maintained, so it's unlikely a fix will exist.

I hope to continue to update electron moving forward, to add support for arm cpus which will allow us to update to a maintained version of the package, which will hopefully fix this issue, and if it doesn't we can file an issue with them to have it fixed.

NotLazy avatar Feb 19 '24 01:02 NotLazy

!unstale

redoxahmii avatar Mar 07 '24 15:03 redoxahmii

This issue has been automatically marked as stale because it has not had any activity in the last 60 days. It will be closed in 7 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant.

github-actions[bot] avatar May 06 '24 17:05 github-actions[bot]

Hi 👋 I just installed Mechvibes and experienced issues related to GNOME / Wayland. I found out about this issue a few hours ago. I'm sending this comment because the issue is going to be closed by github-action, so I'm just doing what's suggested above (leaving a comment since I believe the issue is still relevant).

Just for the record, I just switched to X11 and did some adjustments to make it work for me (I have a touchpad/touchscreen, so... you know) and I must say that Mechvibes is sooooooooooo satisfying to use. To be honest, after the Wayland incident I didn't expected it to work so well (it even works on GNOME's search and the display manager, everywhere I can type !), so thanks for this awesome piece of software ^^. But it would be nice if this issue gets fixed one day since a lot of distros pick Wayland as their default nowadays.

Any update on this particular issue since February ? It was said the issue was due to a now unmaintained version of a package, and updating Electron could possibly allow to fix this issue. What about this ? 👀

SpicyWasab avatar May 12 '24 16:05 SpicyWasab

Currently, Electron still does not natively support Wayland, so as an interim solution, I suggest using XWayland which allows X11 applications to run on a Wayland desktop without modification.

hainguyents13 avatar May 12 '24 20:05 hainguyents13

Hi, thanks for the answer ! I read about XWayland, and tried to install it but I realised I already have it. Now that I read your comment again, I guess there's a misunderstanding : this issue isn't about Mechvibes not running on Wayland, but it doesn't work on Wayland apps. We are able to run Mechvibes on our (X)Wayland desktops, and it does produce keyboard sounds on every X11 apps (Electron such as Visual Studio Code, Discord ; Native, like Edge...), but not on Wayland apps (the whole GNOME Desktop as well as libadwaita apps, Firefox...).

SpicyWasab avatar May 13 '24 17:05 SpicyWasab

Oh my bad, since Im not very familiar with Linux so yeah I misunderstood your comment. So in this situation, there is nothing we can do at the moment since this version of Mechvibes heavily depends on Electron

hainguyents13 avatar May 13 '24 18:05 hainguyents13

Yeah... :/

Since I saw in another issue that one of the maintainers (maybe you, idk) thought about moving Mechvibes to Tauri, I tried to do a bit of research about Tauri's compatibility with Wayland, but I don't know much about that. I'm not sure it would fix the issue either.

I guess our last hope is what NotLazy's previous answer was mentioning...

Thanks for letting us know about this issue, however I believe this is an upstream bug with one of our dependencies and unfortunately we use a package that is no longer maintained, so it's unlikely a fix will exist.

I hope to continue to update electron moving forward, to add support for arm cpus which will allow us to update to a maintained version of the package, which will hopefully fix this issue, and if it doesn't we can file an issue with them to have it fixed.

SpicyWasab avatar May 13 '24 18:05 SpicyWasab

Although, it been a long time.. did it got any solutions or if anything was discovered, is it an internal issue with electron, if so please reference the electron's issue if not let's investigate it. @NotLazy @SpicyWasab @hainguyents13

hariacharya80 avatar May 20 '24 03:05 hariacharya80

Hi, thanks for the answer ! I read about XWayland, and tried to install it but I realised I already have it. Now that I read your comment again, I guess there's a misunderstanding : this issue isn't about Mechvibes not running on Wayland, but it doesn't work on Wayland apps. We are able to run Mechvibes on our (X)Wayland desktops, and it does produce keyboard sounds on every X11 apps (Electron such as Visual Studio Code, Discord ; Native, like Edge...), but not on Wayland apps (the whole GNOME Desktop as well as libadwaita apps, Firefox...).

Is there any solution or work-around regarding this?

hariacharya80 avatar May 20 '24 03:05 hariacharya80

Although, it been a long time.. did it got any solutions or if anything was discovered, is it an internal issue with electron, if so please reference the electron's issue if not let's investigate it.

I am personally curious about which package NotLazy was talking about specifically, I guess it would be a good starting point for us to investigate.

SpicyWasab avatar May 20 '24 15:05 SpicyWasab

@SpicyWasab Im trying to build the app in other languages, csharp seem promising as MS says .net core is now has better crossplatform support

hainguyents13 avatar May 20 '24 15:05 hainguyents13

any fix?

I use Neptune, and it works fine...it is the same thing as a mechavibes

KukicVidan avatar Jun 04 '24 13:06 KukicVidan

Is there any non-wayland terminal for ubuntu?

TheNilesh avatar Jun 27 '24 08:06 TheNilesh

Is there any non-wayland terminal for ubuntu?

I'm not sure whetever it's really important that it is Wayland or not, but if you mean "Any terminal that work with Mechvibes?", then yes, I use Warp and I still have Mechvibe working.

madebylydia avatar Jun 27 '24 16:06 madebylydia

Is there any non-wayland terminal for ubuntu?

You can run any terminal as an x11 process and xwayland will handle the rest for its working in wayland session. Might have to tweak the scaling as that tends to change when switching between them.

redoxahmii avatar Jun 27 '24 16:06 redoxahmii