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)
Trace/breakpoint trap (core dumped)
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)
Trace/breakpoint trap (core dumped)
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 usage or whatnot, but I cannot wait hours for the system to resolve the problem. I am running up-to-date 16.04 and I require this version of Ubuntu.
Note that my computers are not particularly old, both are from within the last three years and have a minimum of 8 GB RAM. I suspect that this memory issue is arising from a larger preponderance of Electron apps.
I run indicator-sysmonitor
which shows how much RAM memory is being used and can see that memory usage is clearly the problem because the freeze occurs when the memory usage is displayed at something like 97 % before things go bad.
So, the current solutions inbuilt in Ubuntu/GNU/Linux are not working for me.
Right now I imagine creating a blacklist of programs (e.g. Firefox, Chromium, Signal, Riot) with a small program killing these blacklisted programs in order of their memory usage if the total system memory usage approaches 97%.
EDIT: I have added swap details below:
$ swapon --summary
Filename Type Size Used Priority
/dev/sda5 partition 12469244 0 -1
$ free -h
total used free shared buff/cache available
Mem: 11G 1.9G 5.8G 943M 3.9G 8.4G
Swap: 11G 0B 11G
EDIT: As some have suggested, this is absolutely nothing to do with limiting the memory process of a single process (as described here). This is about looking at the total memory usage and then progressively taking actions against a blacklist of programs as an urgent measure to stop the computer freezing up. A solution is presented below. Please answer if there is a better approach to this.
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 Build) snap (64-bit)). The mouse cursor is tiny!
I have checked Slack, Postman, System Monitor and Calculator and the cursor is fine on those apps.
I've tried the instructions here to no avail: Gnome 3: How do I get the same mouse cursors in Chrome?
How can I change my mouse cursor to a normal size in Chromium?
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 used have varied, and now that I've finally got my shell etc the way I want it, I've started installing my work and productivity related apps for good.
A lot of these apps are electron because I'm trying to remain as cross platform as possible. I know some of these apps work because on previous installations they worked fine.
But I have started noticing that at some point since my last Re-installation of Ubuntu, all my electron based apps have stopped working.
I think it might have to do with my attempt at building and installing the launcher Hain. It was the only electron app I found that required being built and for some weird reason the node deps wouldn't auto install so I tried going down the tree manually and installing them myself.
I've removed all electron apps from my computer and I've tried to scrub it clean of any left over install of node or npm. But when I reinstall these electron apps they don't work. They don't properly show up in the Software Center installed apps location. Instead they only appear under extensions for some reason and they lack icons. When I try launching them from Software Center, nothing happens.
I tried launching Hyper.js and I can see it in the system monitor but the app itself does not appear.
The same is true of other electron apps. What should I do?
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 path but I was not able to do it from within my code, I got a right access issue which means I am not allowed to perform such action. I noticed inside the snap folder there is a .config
. I thought that dropping my .desktop
file there should work but nothing.
Is there a way to run my snap application on startup? Is there a command I should add to my .yml
file or is there a way to do it directly from my code?
Here is my config
[Desktop Entry]
Type=Application
Terminal=false
Exec=/snap/bin/rightplayer
X-GNOME-Autostart-enabled=true
StartupNotify=false
Name=myapp