dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[BUG] Electron 35 window appears on startup despite disabling it.

Open imsherl opened this issue 6 months ago • 4 comments

Describe the bug

Hello, an Electron 35 window pops up on every startup. I can't stop it. It's a little bit annoying.

I found out this is caused by the ML4W Welcome App auto-starting via the ml4w-autostart.sh script. I tried to disable it by:

Creating the file ~/.cache/ml4w-welcome-autostart as suggested in the script to prevent the welcome app from launching.

Commenting out or removing the lines in ml4w-autostart.sh that call flatpak run com.ml4w.welcome.

However, the Electron window still appears on startup.

I also checked other autostart scripts, and hyprctl.sh, but couldn’t find any other references to Electron or the welcome app.

Could this be a bug or an incomplete disabling mechanism? How can I completely prevent the Electron window from showing at startup?

Thank you!

Steps to reproduce

  1. Clone or install the ML4W Hyprland configuration on a clean system.
  2. Reboot or log into your Hyprland session.
  3. Observe the Electron 35 window that appears with the message: To run a local app, execute the following on the command line: /usr/lib/electron35/electron path-to-app
  4. Try to disable the welcome app:
  • Create a file: touch ~/.cache/ml4w-welcome-autostart
  • Comment out or delete the flatpak run com.ml4w.welcome lines in ~/.config/ml4w/scripts/ml4w-autostart.sh
  1. Reboot the system again.
  2. The Electron 35 window still appears.

Expected behavior

The Electron 35 window should not appear at startup after disabling or commenting out the welcome app launch lines in ml4w-autostart.sh, or after creating the .cache/ml4w-welcome-autostart marker file as intended by the script logic.

Screenshots

Image

Distribution

EndeavourOS

If Other, specify

No response

Additional context

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

imsherl avatar Jun 15 '25 21:06 imsherl

I don't think ml4w causing this electron window to appear. It never ever once appeared on my installs and I also never disabled it mainly because I didn't knew it exists. Are you sure you didn't installed any additional software?

ArekKubinski avatar Jun 16 '25 05:06 ArekKubinski

I don't think ml4w causing this electron window to appear. It never ever once appeared on my installs and I also never disabled it mainly because I didn't knew it exists. Are you sure you didn't installed any additional software?

Yes, I've been experiencing this issue ever since I started using ML4W. I'm quite sure I didn't manually install anything related to Electron 35, and this window appears consistently on every startup.

I've searched through all exec and exec-once entries in my Hyprland configuration, including the modular files, and I couldn't locate anything that would launch Electron 35 explicitly.

Could you please help me trace where this might be coming from? I'm stuck and unable to identify the source of the launch.

Thank you in advance!

imsherl avatar Jun 16 '25 10:06 imsherl

You can check first by executing systemctl list-unit-files | grep enabled in terminal, it should give you list of enabled services so we can see if there are any that might launch it on startup.

ArekKubinski avatar Jun 16 '25 11:06 ArekKubinski

Any updates on this? This can't be a dotfiles issue.

mylinuxforwork avatar Aug 27 '25 14:08 mylinuxforwork