Categories
Linux Mastering Development

Focal Fossa :- ACPI Error: No handler for Region [RAM_] ((____ptrval____)) [EmbeddedControl] 20190816/evregion-127

I am getting folowing error messages on 20.04 Focal I tried finding out if it is answered I could not find a satisfatory answer so this Query I am attaching the Image with other errors as well ( Just in case they are related )

Categories
Linux Mastering Development

ERROR: Command errored out with exit status 1

Tried to install pygame using pip3 install pygame in Ubuntu 20.04 I came out with the error. Any sort of help is appreciated My error looks like this ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-9w9lq7il/pygame/setup.py’"’"’; file=’"’"’/tmp/pip-install-9w9lq7il/pygame/setup.py’"’"’;f=getattr(tokenize, ‘"’"’open’"’"’, open)(file);code=f.read().replace(‘"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"’exec’"’"’))’ egg_info –egg-base /tmp/pip-install-9w9lq7il/pygame/pip-egg-info […]

Categories
Linux Mastering Development

Files lost by encfs

I would like to ask you for a help. I recently used the software encfs in my ubuntu 18.04 laptop. I created a new stash using the same software in my desktop. I would like to list the steps…. *I created a new stash (using green plus) in my desktop with same name (Desktop) and […]

Categories
Linux Mastering Development

enp3s0 link DOWN after playing Quake Champions

Playing Quake Champions on steamplay. A few minutes into the game, my PC gets disconnected from my router. Things get back to normal a few minutes after, but sometimes I have to restart the PC. ip addr‘s output after I get the problem: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen […]

Categories
Linux Mastering Development

Ubuntu & OpenSwan Issue

I am trying to bring up VPN using Openswan (version 5.6.2) on an Ubuntu machine. But when I initiate the following command, it says "missing configuration name": sudo swanctl –initiate vpn-name initiate failed: missing configuration name This is the output of IPSEC Statusall command: sudo ipsec statusall Status of IKE charon daemon (strongSwan 5.6.2, Linux […]

Categories
Linux Mastering Development Ubuntu

System Monitor shows only 1.1GB swap, where as there is 15GB swap

I’ve dual-booted my laptop with Windows 10 and Ubuntu 18.04. While installing Ubuntu, I created a swap space of 15GB. My laptop has 8GB RAM. I hadn’t noticed earlier, but now that my system is running out of memory, I noticed that System Monitor shows only 1.1GB swap. Turning off swap and turning it on […]

Categories
Linux Mastering Development Ubuntu

Sound card not detected after headphone unplugged

This is some kind of frustrating. I am using Ubuntu 18.04.4 LTS for a long time now. I am noticing this behavior since few months. Every time I plugged headphone and unplugged it then my laptop stops playing the sound. Even after I unplugged the headphone it still shows as if I have still plugged […]

Categories
Linux Mastering Development Ubuntu

How to disable Bluetooth power saving?

I’ve been using a Bluetooth keyboard with Ubuntu for years now. To begin with it was quite tricky to get it to pair, but for the last several releases it’s been rock solid. After updating to 20.04 (from 19.10) it still works great, but it has acquired a new feature in which the keyboard goes […]

Categories
Linux Mastering Development

Acquire::By-Hash apt option does not work

I’m trying to make apt-get use Acquire::By-Hash option, so it will download packages identifying them by cryptographic hash, not by package version. This should prevent race conditions and "Hash Sum Mismatch" errors happening sometimes while trying to apt-get install something. I can’t make apt-get use this method. I tried Putting Acquire::By-Hash "force"; to /etc/apt/apt.conf.d/51acquire_by_hash Changing […]

Categories
Linux Mastering Development

Find the maximum every 10 rows in a particular column and print the entire row

I would like to find the maximum value in the column no. 5 (Determine) for every 10 rows and then print the corresponding entire row. For eg. in the first 10 rows, the maximum value in the 5th column is ‘1.1824’ and the corresponding entire row is "10_M62 6: 3.0561 405.69 1.1824". I want to […]