How to get CPU-G to run on 18.04

What is necessary to get CPU-G to run on 18.04? I have performed all of the necessary steps I can find (see this post and this post) and searched the internet generally, to no avail.Attempting to start the program using the Super key brings up the icon, but clicking the icon does nothing. Likewise, entering cpu-g in the Alt-F2 window also has no effect.I'm sure this must be something really basic, but I don't have the skills to know what to look for.Thank you....Read more

18.04 - Creating Custom Commands

I am creating bash scripts and placing them in bin to be executed as commands. I have had no problems until my most recent command. I am attempting to create a command to restart network-manager.My code:#!/bin/bashsudo service network-manager restartthis runs fine is run as the root user. If I run it as a non-root sudoer, the command prompts for a password and then fails with the following response (the command i made is called resnet):user2@pavilion: resnetFailed to restart natwork-manager.service: Unit natwork-manager.service not found.Any he...Read more

18.04 - Can't connect to emulator through ADB genymotion

I am trying to connect to an android vm running through genymotion. However, I keep getting the following error message when I try to connect via adb:adb server version (41) doesn't match this client (39); killing...I have seen many others have this issue, and I have tried everything and for some reason I still can't get it to work. I have genymotion using the android SDK instead of genymotion's default.I think the error might lie somehwere with me have trying to get genymotion working correctly under some other installation steps, as when I ex...Read more

18.04 - Opening a .jar .desktop file duplicates the icon on the favorite bar

This is the code of the .desktop[Desktop Entry]Type=ApplicationEncoding=UTF-8Name=GelAnalyzerComment=GelAnalyzerPath=/softwares/GelAnalyzer2010a/Exec=java -jar GelAnalyzer.jarIcon=/usr/share/icons/gel.pngTerminal=falseAnd i placed it on the favorite bar, but everytime i open it, it doesn't open on the fav icon, it opens in a new one, like the image shows:All the programs are open and have the green ball on their left, except for the gelanalyzer, which is a .jar file and opens a new windowsIs that "fixable"? I mean, can it open on it fav icon?...Read more

18.04 - Average of CPU and memory use of ALL process that appear during some time interval

I know some ways that I can see the average of CPU and memory use for one process, but I never saw a way to see the average of all process that appeared during some time.The goal is, for example, to see what process, since the moment I turned on my laptop, is consuming most CPU and memory. If I see just one process at a time I'll never get this, because I need to compare a process with the other processes....Read more

18.04 - How to delete PPA repository from dpkg

I am a new user of Linux currently using 18.04 on my HP laptop with AMD processor. Some times ago I have tried to install JDK11 from this repostiorysudo add-apt-repository ppa:linuxuprising/java then sudo apt-get update and finally hit this command sudo apt-get install oracle-java11-installer-local after doing this I have got error package is not installed, fine I closed my terminal then yesterday I am going to install sudo apt install ubuntu-restricted-extras then I have got this error every time when I use sudo apt update / sudo apt upgrade T...Read more

unity - I got this error when upgrading from 16.04 to 18.04

Reading package lists... DoneBuilding dependency tree Reading state information... DoneCorrecting dependencies... failed.The following packages have unmet dependencies: dh-python : Depends: python3-distutils but it is not installed libnautilus-extension1a : Depends: libglib2.0-0 (>= 2.51.2) but 2.48.2-0ubuntu4.3 is installed onboard : Depends: onboard-common (< 1.4.1-2ubuntu1.1) but it is not installed Depends: onboard-common (>= 1.4.1-2ubuntu1) but it is not installed Depends: python3 (>= 3.6~) but 3.5.1-3...Read more

18.04 - How to change the default terminal icon

I know it seems like a duplicate but I can't find anything especially related to terminal icon.What I tried so far:Modifying /usr/share/applications/gnome-terminal.desktop icon no changingI copied this file to ~/.local/share/applications hence created a new app in the menu => old terminal disappears new icon is there BUT when clicked terminal opens and appears with it's old icon in the dockI replaced every terminal icon I found in the themes but here again no changesAlso replaced the utilities-terminal.svg in humanity theme also no helpThe fun ...Read more

18.04 custom icon from .desktop file not populating in dock

I can't seem to get the proper icon to display on 18.04 dock using this custom launcher. The icon does display correctly along with the application name using the "Files" application. If I double click on the icon in the "Files" folder the application loads up no problem. I can then add it to dock favorites but dock uses some generic icon.Where did I mess up the contents of the .desktop file listed below?:[Desktop Entry]Encoding=UTF-8Version=1.1Type=ApplicationName=Songsheet GeneratorIcon=/home/hgh/BIN/songsheet.pngPath=/home/hgh/BINExec=java -...Read more