No 3.5mm analogue audio output option? Kodi on Rpi 3

The /flash boot partition is read-only by default, so we need to remount it in read-write mode:

  • mount -o remount,rw /flash
    Use the nano text editor to modify the file. Save changes with ctrl+o and exit using ctrl+x:
  • nano /flash/config.txt

add the following:
dtoverlay=pisound
dtparam=audio=on

After editing set the /flash partition back to read-only mode:

  • mount -o remount,ro /flash
    And reboot for the changes in config.txt to be applied:
  • reboot After reboot you can change in Kodi to headphone.

NordVPN Ubuntu 22.04 LTS fix

NordVPN: Whoops! Connection failed. Please try again. If the problem persists, contact our customer support. FIX;

sudo dpkg -P nordvpn
sudo dpkg -P nordvpn-release
cd ~/Downloads
sudo wget -qnc https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn-release_1.0.0_all.deb
sudo dpkg -i ~/Downloads/nordvpn-release_1.0.0_all.deb
sudo apt update
sudo apt install nordvpn
sudo ln -s /usr/bin/resolvectl /usr/bin/systemd-resolve
nordvpn login
nordvpn connect

Canonical Ubuntu 22.04 LTS is released

Tags: 22.04 LTS , LTS , Ubuntu

London, 21 April 2022. Canonical Ubuntu 22.04 LTS is now generally available, featuring significant leaps forward in cloud confidential computing, real-time kernel for industrial applications, and enterprise Active Directory, PCI-DSS, HIPAA, FIPS and FedRAMP compliance – raising the bar for open source from cloud to edge, IoT and workstations. Canonical partners with industry leaders to deliver enterprise-grade security, long-term maintenance and support on all major architectures, hardware and clouds.

“Our mission is to be a secure, reliable and consistent open-source platform – everywhere”, said Mark Shuttleworth, CEO of Canonical. “Ubuntu 22.04 LTS unlocks innovation for industries with demanding infrastructure security requirements, such as telecommunications and industrial automation, underpinning their digital transformation.“

Lees verder →

VMWare Workstation Pro 16.2.9 on Ubuntu High CPU and free GUI

This fixed my problem on my Dell XPS 13 and XPS 15 on KDE Neon en Kernel 5.15.32-xanmod1

(MWe$)-[/etc/sysctl.d]$ cat 10-vmware-workstation.conf  
# Disable kcompactd0 to work around a conflict with VMWare Workstation.
vm.compaction_proactiveness=0
(MWe$)-[/etc/sysctl.d]$

Or “sudo sysctl vm.compaction_proactiveness=0”

See “https://communities.vmware.com/t5/VMware-Workstation-Pro/VMWare-workstation-in-a-fistfight-with-Linux-Memory-Compactor/td-p/2876992”

Scaling dual monitors on Ubuntu Desktop 20.04 without flickering mouse (KDE Neon)

I have a dual monitor set-up and, as such, I have 200% scaling on my primary screen (13 inch up to 4k) and 100% scaling on my second monitor.

Example:

#!/bin/sh
sudo xrandr --output DP-1 --off
sudo xrandr --output eDP-1 --primary --mode 3456x2160 --pos 0x0 --rotate normal --scale 0.9999x0.9999 --output DP-1 --mode 1920x1080 --pos 3456x0 --rotate normal --scale 2x2 --output HDMI-1 --off --output DP-2 --off --output DP-3 --off --output DP-4 --off

#randr --output eDP-1 --primary --mode 3456x2160 --pos 0x0 --rotate normal --scale 0.9999x0.9999 --output DP-1 --mode 1920x1080 --pos 3456x0 --rotate normal --scale 2x2 -r 59.94 --output HDMI-1 --off --output DP-2 --off --output DP-3 --off --output DP-4 --off

#!/bin/bash
DEVICE=$1
if [ "$1" == "" ] ; then
    DEVICE="DP-1"
fi
MODELINE=\"$(cvt 1920 1080 | grep -e "^#" -v | cut -d '"' -f 2-)
MODENAME=$(echo $MODELINE | cut -d " " -f 1)
MODEPARAMS=$(echo $MODELINE | cut -d " " -f 2-)
sudo xrandr --newmode $MODENAME $MODEPARAMS
sudo xrandr --addmode $DEVICE $MODENAME

xrandr –output DP-1 –off # for after setting you have the correct wallpaper format on secondary screen
–scale 0.9999×0.9999 on eDP-1 #for disableing flickering mouse
–scale 2×2 -r 59.94 # for secondary monitor 1920×1080