Saturday, May 30, 2020

Fixing Dell Inspiron 3162 PgUp/PgDn/Home/End keys issue in Ubuntu

  1. Create file /etc/udev/hwdb.d/95-custom-keyboard.hwdb
  2. File contents must be

    # Dell Inspiron 3162
    evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*3162:pvr*
     KEYBOARD_KEY_c7=!home
     KEYBOARD_KEY_cf=!end
     KEYBOARD_KEY_c9=!pageup
     KEYBOARD_KEY_d1=!pagedown


  3. Important! There must be a space before KEYBOARD_KEY keyword.
     
  4. After editing the file, run the hwdb re-index:

    sudo udevadm hwdb --update && sudo sudo udevadm trigger

Source: http://wiki.archlinux.org/index.php/Dell_Inspiron_11_3000_(3162)

How to install Chirp on Ubuntu 20.04 Focal Fossa

The solution was proposed by Ephraim Gariguez DW1ZWS in his post How to install Chirp on Ubuntu 20.04.

What is the problem?

Chirp installation on Ubuntu is done requires the following commands sequence:

sudo apt-add-repository ppa:dansmith/chirp-snapshots
sudo apt-get update
sudo apt-get install chirp-daily


When you try to install Chirp on Ubuntu 20.04, you get the following output:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package chirp-daily


The solution


  1. Edit the /etc/apt/sources.list.d/dansmith-ubuntu-chirp-snapsots-focal.list and change the Ubuntu release from fossa to to xenial.
     
  2. Try to install Chirp again by running the following commands:

    sudo apt-get update
    sudo apt-get install chirp-daily


    This will result in dependencies error:

    The following packages have unmet dependencies:
    chirp-daily : Depends: python-libxslt1 but it is not installable
    Depends: python-gtk2 but it is not installable
    Depends: python-serial but it is not installable
    Depends: python-suds but it is not installable
    E: Unable to correct problems, you have held broken packages.

     
  3. Download DEB packages from https://drive.google.com/open?id=1irLlhwTVlC8wO9OhSt3-9j943CyimhmM and install them manually.
     
  4. Add yourself to dialout users group by running:

    sudo usermod -aG dialout $USER
  5. Install Chirp by running:

    sudo apt-get install chirp-daily

Displays overlapping on Kubuntu 20.04 on Asus ZenBook with Nvidia GPU

The problem ScreenXpert overlaps the main screen when Nvidia MX250 is chosen as main graphics card. The same thing doesn't happen with I...