Keyboard Mapping Kubuntu 20.04

Submitted by Greg Nowak on 2020-05-26

Very interesting:

And useful when you want danish keyboard layout with a thai keyboard for instance. I really needed to map backslash "\" to a key on the keyboard because the key does not exist on a thai keyboard when danish keyboard layout is used.

My .Xmodmap file: keycode 49 = backslash


Suspend Issue AMD Graphics Driver Kubuntu 20.04

Submitted by Greg Nowak on 2020-05-24

If you have the black screen of death when trying to get back from suspend mode, you might want to check out this bug description and possible resolutions:

Otherwise disable compositor: qdbus org.kde.KWin /Compositor suspend

Check if compositor is enabled: qdbus org.kde.KWin /Compositor
Or: qdbus org.kde.KWin /KWin supportInformation


Android Flutter Notes

Submitted by Greg Nowak on 2020-05-09

Currently running flutter in ubuntu 20.04.

KVM installation: sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virtinst virt-manager
Old info: sudo apt install qemu qemu-kvm virt-manager (Remember to enable VT Virtualization in the Bios) - run: sudo kvm-ok (to check)

sudo systemctl is-active libvirtd (check if virtualization works).


Reading Samsung Exfat K-Ubuntu 19.10

Submitted by Greg Nowak on 2019-11-17

When trying to read any exfat formatted SD card it suddenly was not recognised by my system, so I tried to upgrade from Kubuntu 18.10 to 19.10, and it didn't help. Then I found a post about that Exfat is not supported by the kernel before version 5.4, but Kubuntu 19.10 is shipped with 5.3, but the packages exfat-fuse and exfat-utils should take care of it, but they were already installed and did not work apparently. And also my kernel is 5.0.x for some reason (5.0.0-36-generic).


Composer tips and tricks

Submitted by Greg Nowak on 2019-05-30

Composer without root

Run this in ~/composer: curl -sS | php

Put this in .bashrc: alias composer="php ~/composer/composer.phar"

Install Drupal 8 With Composer In Custom Web Folder

composer create-project drupal-composer/drupal-project:8.x-dev my_site_name_dir --no-interaction --no-install
Adjust web folder in composer.json file and then run "composer install".

Check available versions of a package

composer show package_name --available

Fixing HTTPRL Core Drupal Network Configuratoin Error

Submitted by Greg Nowak on 2018-05-02
You see something like this: Your system or network configuration does not allow Drupal to access web pages. This could be due to your webserver configuration or PHP settings.
HTTPRL - Core drupal_http_request()
You then go into your httprl config: /admin/config/development/httprl

And set the field "IP Address to send all self server requests to" to -1