Questions tagged [electron]

For questions related to Electron, which is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS.

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

How to trouble-shoot crashing apps when memory usage runs high?

When memory usage reaches around 85% (including buff/cache), electron apps (i.e. VS Code, Chrome and Spotify and Slack) crashes if running and won't open if not. No other applications crash or show ...
0
votes
0answers
14 views

Getting empty biometrics device list after build in electron application on Ubuntu 18.04

We implement the uareu-node NPM is working fine in development mode but when I am going to create electron build it gives the empty device list. My machine is running Ubuntu 18.04 The output is: { ...
1
vote
1answer
91 views

electron apps exit after a few minutes with message Killed

I need help figuring out why electron apps get killed after a few minutes of starting them. That is they do not log ERRORs (neither dmesg, /var/log/syslog nor when starting from console with --verbose)...
3
votes
0answers
263 views

Ubuntu 21.04 Wayland copy/paste intermittently fails

Ubuntu 21.04 Gnome 3.38.5 Wayland I've noticed that intermittently copy/paste starts failing. Anecdotally this only seems to happen when trying to paste into an electron app (slack/atom) but after ...
0
votes
0answers
103 views

Can I get nativefier to produce a .deb?

On macOS and Windows, the Electron JS app creator script nativefier is able to wrap a website into a .dmg or .exe. However, on Ubuntu, the nativefier script produces a big folder where you have to ...
0
votes
0answers
18 views

My electron Apps show "NORMAL" in top right [duplicate]

I use some electron apps, like every body, and i have a pixel "NORMAL" on top right corner of some of Apps, and inside menu of menubar. Screens of apps with NORMAL: Ferdi Visual Studio Code ...
1
vote
0answers
51 views

Nautilus "Select File" window invalid characters (□□□) on some snap applications (Ubuntu 20.04 Gnome)

Some applications downloaded from the Snap store, appear like this when I select to open a file. Other applications, such as Chromium, don't. This screenshot, in particular, is from Discord. I ...
0
votes
0answers
64 views

How do I log in to an Electron app running in Proton GE that uses an external login through the browser?

I've managed to install the Deezer Desktop app through Proton-5.9-GE-8-ST, and it starts up well, but when I click login it opens https://deezer.com/login?source=electron in my default native browser (...
0
votes
1answer
27 views

Can not type most letters on my keyboard into Electron apps

All numbers, punctuation, and special characters work normally. I can type normally in all non-Electron apps, but Discord, VSCode and Signal Desktop don't allow me to type anything except "f,w,j,...
2
votes
0answers
5k views

Pango-ERROR: Harfbuzz version too old (1.4.2)

I was trying to run this application but this error occurs on the startup of the application, is there a way to avoid this? (wanna:90765): Pango-ERROR **: 03:53:41.569: Harfbuzz version too old (1.4.2)...
0
votes
1answer
1k views

How can I fix this npm error installing electron?

When I use npm install electron -g, I get this error: npm ERR! code EEXIST npm ERR! path /usr/local/bin/electron npm ERR! Refusing to delete /usr/local/bin/electron: ../lib/node_modules/electron-...
1
vote
1answer
53 views

Electron based apps hang on resume

Whenever I resume my laptop, electron based apps (slack, gitkraken) hang and use around 10% cpu. After a while I get a dialog about the app not responding where I can then "Force Quit" the ...
0
votes
1answer
629 views

Trouble getting ElectronPlayer to work on Lubuntu

I been trying to get ElectronPlayer(for Netflix) to work on Lubuntu, it does seem to install successfully but I cannot find where it installed to open it, and when trying to open it via the terminal, ...
0
votes
2answers
809 views

how I can run an electron app on Ubuntu 18.04 ( I have only the binary )

I copied this application from one Pc to an other,both have Ubuntu 18.04, and I want to know what I need to run it, I don't have the source only those files ? I tried to 'chmod' for the eGestion app ...
2
votes
0answers
208 views

Ubuntu Core and third-party hardware and drivers

I'm doing tests to create a POS system in a very general stack (Ubuntu Core + Electron.js (snap) + mir-kiosk) and hardware (Raspberry PI 3 B+ + Display Touch + Printer Epson + Qr Code Scanner + Cam). ...
0
votes
1answer
159 views

How to Retrieve an Iconized Program from the Tray with a Keyboard shortcut

I know that many here don't love Electron, but it's here to stay, as many commercial solution providers are using to package the web applications and make them act/feel like desktop apps and have them ...
1
vote
0answers
422 views

Discord (Electron Application) Make GNOME freeze for 1 second when the tray icon change

Discord recently moved to new GNOME tray icon system (I don't know what they call it technically in GNOME). so when you click on tray icon it has shell theme style menu instead of GTK 2 theme. When ...
1
vote
0answers
105 views

ubuntu server 14.04 xvfb japanese characters as squares after release upgrade

Why did Japanese fonts suddenly stop displaying correctly? Very difficult tough complex situation, at one time this gaggle was working, broke after a platform upgrade that coincided with a new code ...
0
votes
1answer
3k views

Install SSL Certificate for Electron Application

I'm currently building a debian installation package to deploy a electron application to our internal linux desktop machines (Ubuntu 16.04). The app contacts an internal server that uses certificates ...
0
votes
1answer
34 views

Where does the folder /usr/lib/windows95 come from and how can I get rid of it?

Trying to free some space on my root partition I stumbled across a folder named /usr/lib/windows95 It contains the following files: -rw-r--r-- 1 4,2K blink_image_resources_200_percent.pak -rw-r--...
3
votes
0answers
99 views

How can a blacklist of programs be defined for halting if RAM memory usage goes beyond a certain point?

My computers have been freezing too much because of a lack of RAM. I need this to happen less. I am aware that the system in this high-RAM usage state is technically still solving the problem via SSD ...
0
votes
1answer
836 views

Failed to build snap package: The linker version '2.23' used by the base 'core' is incompatible with files in this snap

I am trying to build a snap package of electron app by using https://github.com/electron-userland/electron-installer-snap, but it results in following error: Priming desktop-gtk3 Files from the build ...
5
votes
5answers
11k views

Mouse cursor size is tiny in Chromium (Ubuntu 18.04)

I'm running Ubuntu 18.04 with default gnome and I installed Tweaks to change my themes. I'm using theme DMZ White for my cursors. Everything is OK except for Chromium (Version 69.0.3497.81 (Official ...
1
vote
0answers
427 views

How do I create a symlink from my app bin to /usr/bin?

So I have a deb package built using electron-installer-debian. When I sudo dpkg -i app.deb, it's unpacked in /usr/lib/myapp/myappbin and there's no symbolic link created. How do make it so the ...
3
votes
0answers
577 views

All electron based apps have stopped working, Ubuntu 18.04

I'm new to Linux and I've spent the last couple of weeks installing, reinstalling, trying different Desktop Environments, and setting up a personal cloud server. Along the way the applications I've ...
4
votes
1answer
9k views

How to run my snap application on startup

I have a snapcraft application build on top of electronJs. I would like that application to run on startup. I tried to directly drop a app_name.desktop file inside the current user config/autostart ...
0
votes
2answers
438 views

How can custom compose key combinations be defined for all applications?

Supposedly, new custom compose key combinations can be defined in the ~/.XCompose file. This seems to work well for GTK applications like gedit, firefox and gnome-terminal. But it isn't working for ...
0
votes
1answer
718 views

installing electron through npm error [duplicate]

I was trying to install Electron using NPM, and this showed up: adi@LMToshi2 ~ $ npm install electron --save-dev --save-exact npm ERR! Linux 4.8.0-53-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/...
2
votes
0answers
346 views

All electron apps crash me to login screen

Basically, as the title says, any electron app I try to run (atom, slack and vscode specifically) crash me out to the desktop. I was able to run slack for a long time on my machine, but when I ...
3
votes
0answers
207 views

Bring application that has been closed (hidden) to front

As Electron based apps have trouble using the "systray"/tray icons in Gnome, closing (pressing X) on such applications lead effectively to them being hidden, as they also disappear from the ...
0
votes
1answer
109 views

Electron Snap file is not build after running command

https://gist.github.com/popey/7803cfbda9b337fab792c403e50e4709 Im following this tutorial. After running npm run dist terminal outputs missing script: dist After running npm run lint since it is ...
12
votes
5answers
13k views

How can I install npm on 17.10?

I just wanted to install npm via terminal and now I am just stuck with some dependencies. It wants me to install a few dependencies, for example: libssl1.0-dev nodejs-dev node-gyp Even if I try to ...
0
votes
1answer
635 views

Ubuntu 17.10 .desktop wont launch electron app

I have created a simple .desktop file to launch an Electron app I am building. This should work, but launching from the .desktop doesn't seem to do anything. Other .desktop launchers seem to work. #!...
6
votes
2answers
5k views

Electron `chrome --type=renderer --field-trial-handle=...` won't shut down, eats up Memory

I am trying to build an app with electron. When I do this, however, it appears that several chrome processes are created that don't shut down after closing electron. These processes eat up a lot of ...
0
votes
2answers
2k views

Electron - Cannot run application on Ubuntu 64-bit

I have an executable file, that I create using Electron Packager, named "SteamCMD GUI". When I attempt to double-click it, it won't execute, but Ubuntu tries to execute it using PyPar2. Next, I typed ...
3
votes
3answers
11k views

Compress PDF files without Ghostscript

I would like to compress PDF files in my Node.JS application which will be generated by electron. I tried to compress these files with Ghostscript which worked fine btw but I cannot use this ...
3
votes
1answer
1k views

Keyboard shortcuts stop working intermittently

edit: As can be seen from the answer, this actually had nothing to do with standby or hibernation, but rather that it correlated with me often closing the app window (which triggered the bug) before ...
2
votes
1answer
4k views

AppIndicators not working for Electron applications (Skype for Linux, Discord etc.)

On upgrade to Ubuntu 17.04, AppIndicators for Electron applications are no longer working. I can't see the Discord AppIndicator, for example.
5
votes
0answers
615 views

What package do I need to install to have spell-checking work in Gitbook Editor?

I installed Gitbook Editor. The screenshots show that Gitbook Editor has spell-checking support on Linux. I checked the settings to enable spell-checking but I still don't have spell-checking ...
0
votes
3answers
1k views

Add an Electron app to Favorites (Gnome Shell)

Hello :) Anyone know why I can't add those Electron apps to Favorites in Gnome Shell?
5
votes
2answers
794 views

Electron App as PPA

I've been doing some research: You can't build PPA's from a Node.js application. Apparently, this is not a rule, since there are a few projects that have successfully achieve this. WebUDP8 is an ...
4
votes
1answer
608 views

Change order of electron tray icons

A few questions regarding ordering of the tray icons already have been asked (see here for example). This usually works great, electron apps behave somehow differently. When running an electron app (e....
3
votes
1answer
9k views

Notifications not showing up properly in Slack and other Electron apps

I recently upgraded from Ubuntu 15.10 to 16.04. Every this is working fine but I am not getting slack notification properly. I am getting slack notification like alert box like shown in below picture. ...
9
votes
1answer
1k views

Electron apps show notify-osd notifications incorrectly [duplicate]

I use Nylas N1 email client which is built using Electron. It used to present me with notify-osd notifications on Ubuntu 15.10. However, since the upgrade notifications look as follows: