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
0 answers
124 views

graphical glitches in electron-based apps

Context: Testing electron-based applications on a Ubuntu 22.04 (LTS) VM (upgraded from 21.10). Specifically, I'm using VMWare workstation 12 on Windows 10, and the VM has the following OpenGL specs (...
0 votes
1 answer
38 views

App/Tool to encapsulate a web page into like an independent app

I'm looking for functionality equivalent to Electron apps, but I want to do it myself with any web page. There is an equivalent app for Mac, called Unite: https://www.bzgapps.com/unite
0 votes
0 answers
73 views

Auto start After Install

We have a Installer application Extension .Debian, I want to Start my application after install is this possible on Linux OS, on Electron Installer.
  • 1
1 vote
1 answer
405 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)...
  • 111
6 votes
0 answers
594 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 ...
  • 444
0 votes
0 answers
141 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
0 answers
19 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
1 vote
0 answers
146 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 ...
  • 223
0 votes
1 answer
38 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,...
3 votes
0 answers
6k 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)...
  • 1,306
1 vote
1 answer
2k 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-...
  • 23
1 vote
1 answer
60 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
1 answer
1k 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
2 answers
1k 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
0 answers
260 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
1 answer
216 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 ...
  • 4,658
1 vote
0 answers
476 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 ...
  • 2,045
1 vote
0 answers
134 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 ...
  • 111
0 votes
1 answer
4k 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 ...
  • 226
0 votes
1 answer
36 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--...
  • 5,846
3 votes
0 answers
111 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
1 answer
861 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 ...
6 votes
5 answers
12k 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 ...
  • 275
2 votes
0 answers
630 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 ...
  • 251
3 votes
0 answers
644 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 ...
5 votes
1 answer
12k 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
2 answers
551 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
1 answer
779 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
0 answers
404 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 ...
  • 121
3 votes
0 answers
259 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 ...
  • 578
0 votes
1 answer
125 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 ...
  • 71
13 votes
5 answers
14k 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 ...
  • 279
0 votes
1 answer
703 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. #!...
  • 995
7 votes
2 answers
6k 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 ...
  • 171
0 votes
2 answers
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 ...
user avatar
4 votes
2 answers
13k 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 ...
4 votes
1 answer
2k 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 ...
  • 578
2 votes
1 answer
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.
  • 1,913
5 votes
0 answers
667 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 ...
  • 12.6k
3 votes
3 answers
2k 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?
  • 1,035
6 votes
2 answers
895 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 ...
  • 161
4 votes
1 answer
666 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....
  • 880
3 votes
1 answer
10k 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
1 answer
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:
  • 12.6k