Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Saturday, January 9, 2021

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 Intel graphics as primary card.

The solution is to disable the ScreenXpert monitor before the welcome screen loads.

The first step will be to find the name of the ScreenXpert monitor. In order to do it, run the following command:

xrandr --query

In the output find the monitor with only two resolutions:

HDMI-2 connected (normal left inverted right x axis y axis)
1080x2160 50.03 +
504x1000 50.03


HDMI-2 is what we are looking for.

After having found the monitor name we need to edit the file
/usr/share/sddm/scripts/Xsetup
and add the following line at its end:

xrandr --output HDMI-2 --off

Source: https://www.reddit.com/r/kde/comments/755q9a/sddm_and_triple_monitors.

Running Zenmap on Ubuntu 20.04

  1. Download Zenmap packages and convert rpm packages to deb as described here.
  2. Install python 2.x by running

    sudo apt-get install python

    If you try to run Zenmap now, you'll get the following error:

    Could not import the zenmapGUI.App module: 'No module named gtk'
  3. Download the following packages from Debian repositories:
  4. Install python-gobject-2, then python-cairo and then python-gtk2.

    You may need to fix dependency problems by running

    sudo apt --fix-broken install.

  5. Enjoy Zenmap!

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

Wednesday, April 29, 2020

Ubuntu 19.xx/20.xx hangs on splash screen during boot

The solution is to disable the splash screen during boot.
  1. Open /etc/default/grub file in editor as superuser.
  2. Find the following line:

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
     
  3. Change quiet splash to quiet or nosplash.
  4. Save the file and run the following command:

    sudo update-grub2

Source: How do I disable the boot splash screen, and only show kernel and boot text instead?

Saturday, August 25, 2018

Installing Remmina on Debian Stretch

  1. Add the repository to apt. Create the file /etc/apt/sources.list.d/remmina.list with the following content:

    deb http://ftp.debian.org/debian stretch-backports main

  2. Update packages:

    sudo apt-get update

  3. Install Remmina:

    sudo apt install -t stretch-backports remmina remmina-plugin-rdp remmina-plugin-secret


Source: https://remmina.org/how-to-install-remmina/

Friday, August 24, 2018

Installing WineHQ on Debian Stretch

  1. Install the apt-transport-https package:

    sudo apt-get install apt-transport-https

  2. Enable 32-bit packages:

    sudo dpkg --add-architecture i386

  3. Install the key which is used to sign the packages:

    wget -nc https://dl.winehq.org/wine-builds/Release.key
    sudo apt-key add Release.key

  4. Add the repository to /etc/apt/sources.list or create a wine.list file under /etc/apt/sources.list.d/ with the following content:

    deb https://dl.winehq.org/wine-builds/debian/ stretch main

  5. Update packages:

    sudo apt-get update

  6. Install WineHQ:

    sudo apt-get install --install-recommends winehq-stable

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...