WSL on hp laptop 17-cp3005dx https://askubuntu.com/questions/1568535/wsl-on-hp-laptop-17-cp3005dx

Is any one currently running wsl on subject laptop and running Gnome Evolution? I used laptop laast summer for business trip as it is very light weigt. Was running evolution, nemo, firefox, lowriter without problems. Once back home, switch back to my Dell 7720. Getting ready for another trip and have had a huge problem getting thinhs working. Finally there with Edition Windows 11 Pro, Version 26H1, Installed on ‎7/‎10/‎2026, OS build 28000.2525, Experience Windows Feature Experience Pack 1000.26100.316.0, but had to drop back to Ubuntu 24.04 as 26.04 gave Webkit error messages that corrupted message text. No support from MS, hp. Used AI from MS copilot to work through enough of the bugs to get evolution, nemo, lo writer,and firefox working.

Ubuntu 24.04 LTS https://askubuntu.com/questions/1568532/ubuntu-24-04-lts

I just received a shipment of an HP Z2 Tower G1 Workstation Desktop with a NVIDIA RTX PRO 6000 GPU card. The unit shipped to my location with Ubuntu 24.04 Desktop. NVIDIA-SMI shows it has a 580+ series NVIDIA driver and CUDA 13.0. It appears the OEM Ubuntu Repo (or Packaging?) shipped from factory is "oem-stella-temujin-meta". My question is: How do I do Kernel, driver, CUDA, and other Ubuntu 24.04 software installation and updates without damaging the software install? Thank you.

Ubuntu does not return to GUI mode after updating to 24.04 from 22.04 https://askubuntu.com/questions/1568528/ubuntu-does-not-return-to-gui-mode-after-updating-to-24-04-from-22-04

Upgrade from dialog box: error message: some third-party entries in your ‘sources.list’ were disabled. You can re-enable after upgrading with ‘software-properties’ tool or your package manager.

Continue Y

Also during upgrade I was asked to Run ‘fwupdmgr get upgrades

The upgrade proceeded and left the laptop in the Terminal, so I ran: sudo apt-get clean && sudo apt-get autoremove && sudo apt reboot which resulted in an attempt to reboot to the GUI, but it failed and returned to Terminal mode:

Ubuntu 24.04 LTS cyborg-16290p-K-AA75A1 tty1
cyborg-16290P-K-AA75A1 login:
Only getting default Apache page in Vagrant VM https://askubuntu.com/questions/1568526/only-getting-default-apache-page-in-vagrant-vm

This is one of several VMs I have, all the others work, but even deleting the "html" directory, I still get the default page, so it's presumably the fallback.

The /etc/hosts file has this: 192.168.56.9 newbe.test

The Vagrantfile looks like this:

Vagrant.configure('2') do |config|
  # Set Box
  config.vm.box = "bento/ubuntu-24.04"
  # Set hostname
  config.vm.hostname = "newbe"
  config.vm.define "newbe"

  # Prevent vagrant-vbguests from being auto updated, this is time consuming and causes version mismatch with host
  if Vagrant.has_plugin? "vagrant-vbguest"
    config.vbguest.no_install  = false
    config.vbguest.auto_update = false
    config.vbguest.no_remote   = true
  end

  # Enable vagrant-bindfs support, if the plugin is installed
  # see https://github.com/gael-ian/vagrant-bindfs for details
  if Vagrant.has_plugin?("vagrant-bindfs")
    # The bindfs option has one more option, and the /var/nfs
    # is where the the folder is synced then it binds it to the
    # guest_path after.
    #
    # Ubuntu 22.04 has UDP disabled for NFS mounts
    # https://discourse.ubuntu.com/t/jammy-jellyfish-release-notes/24668
    config.vm.synced_folder ".", "/var/nfs", type: "nfs", nfs_udp: false
    # config.vm.synced_folder ".", "/var/nfs", type: "nfs"

    # This uses uid and gid of the user that started vagrant.
    config.nfs.map_uid = Process.uid
    config.nfs.map_gid = Process.gid
    config.bindfs.bind_folder "/var/nfs", "/var/www",
      # perms: 'u=rwx:g=rwx:o=rwx',
      # perms: 'u=rwX:g=rD:o=rD',
      perms: 'u=rwX:g=rwD',
      u: 'vagrant',
      g: 'www-data',
      o: 'nonempty'
  else
    # Enable NFS file system
    config.vm.synced_folder ".", "/var/www", type: "nfs",  nfs_udp: false
    # This uses uid and gid of the user that started vagrant.
    config.nfs.map_uid = Process.uid
    config.nfs.map_gid = Process.gid
  end

  # This uses the vagrant-disksize support, if the plugin is installed
  if Vagrant.has_plugin?("vagrant-disksize")
    config.disksize.size = '20GB'
  end

  # Configure RAM
  config.vm.provider "libvirt" do |vb|
    # Customize the amount of memory on the VM:
    vb.memory = "4096"
    vb.cpus = 2
  end

  # Specify private network
  config.vm.network "private_network", ip: "192.168.56.9"
  # Port requires for postgres
  config.vm.network :forwarded_port, guest: 5432, host: 5430
#   config.vm.network :forwarded_port, guest: 80, host: 8080

end

It's essentially the same as other working VMs I have.

The provisioning is inherited and will be changed, but it's one step at a time. To provision we SSH in and go to /var/www/local and run ./bootstrap10.sh of which the relevant part looks like this (I apologize for it being a mess, as I said, it's inherited, I will be switching it to ansible):

# Variables
DBHOST=localhost

DBNAME=xxxxxxdb
DBUSER=xxxxxxdbuser
DBPASSWD=xxxxxxdbpass

#DBHCNAME=herokudb
#DBHCUSER=herokudbuser
#DBHCPASSWD=herokudbpass

# Remotes from Production
REMOTEDB=DATABASE_URL # Production's Xxxxxx DB
REMOTEHOST=be-prod

# PHP version to install
OLD_PHP_VERSION=8.2
PHP_VERSION=8.3

echo -e "\n--- Adding Packages  ---\n"

echo -e "--- PHP Repo"
sudo add-apt-repository ppa:ondrej/php -y
sudo apt-get update

echo -e "\n--- make wget unzip curl apache2"
sudo apt-get -y install make wget unzip curl apache2

echo -e "\n--- php$PHP_VERSION"
sudo apt-get -y install php$PHP_VERSION

echo -e "\n--- libapache2-mod-php php-cli php-common php-mbstring php-gd php-intl php-pgsql php-zip php-curl php-dev"
sudo apt-get -y install libapache2-mod-php php$PHP_VERSION-cli php$PHP_VERSION-common php$PHP_VERSION-mbstring php$PHP_VERSION-gd php$PHP_VERSION-intl php$PHP_VERSION-pgsql php$PHP_VERSION-zip php$PHP_VERSION-curl php$PHP_VERSION-dev

echo -e "\n--- php-memcached memcached"
sudo apt-get -y install php$PHP_VERSION-memcached memcached

echo -e "\n[memcached]\nextension=memcached.so" | sudo tee -a /etc/php/$PHP_VERSION/apache2/php.ini

echo -e "--- php-opcache php-apcu"
sudo apt-get -y install php$PHP_VERSION-opcache php$PHP_VERSION-apcu

echo -e "\n--- php-xml php-uploadprogress"
sudo apt-get -y install php$PHP_VERSION-xml php$PHP_VERSION-uploadprogress

echo -e "\n--- git-all"
sudo apt-get -y install git-all

echo -e "\n--- channel-update pecl.php.net"
sudo pecl channel-update pecl.php.net

echo -e "\n--- pecl install mcrypt-1.0.2"
sudo apt-get -y install gcc make autoconf libc-dev pkg-config
sudo apt-get -y install libmcrypt-dev
sudo pecl install mcrypt-1.0.2

echo -e "\n--- Set-up apache2 site and PHP config  ---\n"
sudo cp ./fqdn.conf /etc/apache2/sites-available/
sudo a2dissite 000-default.conf
sudo a2ensite fqdn

sudo a2dismod php$OLD_PHP_VERSION
sudo a2enmod php$PHP_VERSION
sudo service apache2 restart || exit

echo -e "\n--- Set-up apache2 site config DONE  ---\n"

(The rest is just about fetching a database)

And finally the fqdn.conf is this:

DirectoryIndex index.php index.html

<VirtualHost *:80>
    DocumentRoot "/var/www/web"
    ServerName newbe.test
    ServerAlias www.newbe.test
    ErrorLog ${APACHE_LOG_DIR}/be_test_error.log
    CustomLog ${APACHE_LOG_DIR}/be_test_access.log combined

    <Directory "/var/www/web">
        AllowOverride All
        Options -Indexes +FollowSymLinks
        Require all granted
    </Directory>
</VirtualHost>
kernel module build failure after kernel update to 7.0.0 https://askubuntu.com/questions/1568523/kernel-module-build-failure-after-kernel-update-to-7-0-0

A recent update seems to have broken kernel modules. The kernel was updated from 6.17.0-40 to 7.0.0-28 but then the modules fail to build and the machine remains on the older kernel. I noticed this yesterday and the problem remains today.

This is what I see when doing an apt upgrade:

Setting up linux-image-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
Setting up imagemagick-6-common (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
Setting up wget (1.21.4-1ubuntu4.4) ...
Setting up libsqlite3-0:amd64 (3.45.1-1ubuntu2.7) ...
Setting up libmagickcore-6.q16-7t64:amd64 (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
Setting up linux-headers-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 7.0.0-28-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
KERNELDIR=/lib/modules/7.0.0-28-generic/build make modules....(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/lttng-modules-dkms.0.crash'
Error! Bad return status for module build on kernel: 7.0.0-28-generic (x86_64)
Consult /var/lib/dkms/lttng-modules/2.14.0/build/make.log for more information.
dkms autoinstall on 7.0.0-28-generic/x86_64 succeeded for usbio-drivers
dkms autoinstall on 7.0.0-28-generic/x86_64 failed for lttng-modules(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 7.0.0-28-generic
   ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-7.0.0-28-generic (--configure):
 installed linux-headers-7.0.0-28-generic package post-installation script subprocess returned error exit status 11
Setting up libmagickwand-6.q16-7t64:amd64 (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
Setting up libmagick++-6.q16-9t64:amd64 (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
Setting up imagemagick-6.q16 (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
dpkg: dependency problems prevent configuration of linux-headers-generic-hwe-24.04:
 linux-headers-generic-hwe-24.04 depends on linux-headers-7.0.0-28-generic; however:
  Package linux-headers-7.0.0-28-generic is not configured yet.

dpkg: error processing package linux-headers-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
Setting up libmagickcore-6.q16-7-extra:amd64 (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                                                                            Setting up libde265-0:amd64 (1.0.15-1ubuntu0.1) ...
Setting up libxfont2:amd64 (1:2.0.6-1+deb13u1build0.24.04.2) ...
Setting up libimage-magick-q16-perl (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04:
 linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= 7.0.0-28.28~24.04.1); however:
  Package linux-headers-generic-hwe-24.04 is not configured yet.

dpkg: error processing package linux-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
Setting up imagemagick (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                                                                            Setting up libimage-magick-perl (8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.7) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for install-info (7.1-3build2) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for linux-image-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 7.0.0-28-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
KERNELDIR=/lib/modules/7.0.0-28-generic/build make modules....(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/lttng-modules-dkms.0.crash'
Error! Bad return status for module build on kernel: 7.0.0-28-generic (x86_64)
Consult /var/lib/dkms/lttng-modules/2.14.0/build/make.log for more information.
dkms autoinstall on 7.0.0-28-generic/x86_64 succeeded for usbio-drivers
dkms autoinstall on 7.0.0-28-generic/x86_64 failed for lttng-modules(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 7.0.0-28-generic
   ...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-7.0.0-28-generic (--configure):
 installed linux-image-7.0.0-28-generic package post-installation script subprocess returned error exit status 11
No apport report written because MaxReports has already been reached
                                                                    Errors were encountered while processing:
 linux-headers-7.0.0-28-generic
 linux-headers-generic-hwe-24.04
 linux-generic-hwe-24.04
 linux-image-7.0.0-28-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
Updating skipped packages...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-headers-6.17.0-35-generic linux-hwe-6.17-headers-6.17.0-35 linux-hwe-6.17-tools-6.17.0-35 linux-image-6.17.0-35-generic linux-modules-6.17.0-35-generic
  linux-modules-extra-6.17.0-35-generic linux-modules-ipu6-6.17.0-35-generic linux-modules-usbio-6.17.0-35-generic linux-tools-6.17.0-35-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  snapd
1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
4 not fully installed or removed.
Need to get 36.4 MB of archives.
After this operation, 2,744 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 snapd amd64 2.76+ubuntu24.04 [36.4 MB]
Fetched 36.4 MB in 5s (7,806 kB/s)
(Reading database ... 435430 files and directories currently installed.)
Preparing to unpack .../snapd_2.76+ubuntu24.04_amd64.deb ...
Unpacking snapd (2.76+ubuntu24.04) over (2.75.2+ubuntu24.04) ...
Setting up snapd (2.76+ubuntu24.04) ...
Installing new version of config file /etc/apparmor.d/usr.lib.snapd.snap-confine.real ...
snapd.failure.service is a disabled or a static unit not running, not starting it.
snapd.gpio-chardev-setup.target is a disabled or a static unit not running, not starting it.
snapd.snap-repair.service is a disabled or a static unit not running, not starting it.
Setting up linux-image-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
Setting up linux-headers-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 7.0.0-28-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
KERNELDIR=/lib/modules/7.0.0-28-generic/build make modules....(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/lttng-modules-dkms.0.crash'
Error! Bad return status for module build on kernel: 7.0.0-28-generic (x86_64)
Consult /var/lib/dkms/lttng-modules/2.14.0/build/make.log for more information.
dkms autoinstall on 7.0.0-28-generic/x86_64 succeeded for usbio-drivers
dkms autoinstall on 7.0.0-28-generic/x86_64 failed for lttng-modules(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 7.0.0-28-generic
   ...fail!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
dpkg: error processing package linux-headers-7.0.0-28-generic (--configure):
 installed linux-headers-7.0.0-28-generic package post-installation script subprocess returned error exit status 11
dpkg: dependency problems prevent configuration of linux-headers-generic-hwe-24.04:
 linux-headers-generic-hwe-24.04 depends on linux-headers-7.0.0-28-generic; however:
  Package linux-headers-7.0.0-28-generic is not configured yet.

dpkg: error processing package linux-headers-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-hwe-24.04:
 linux-generic-hwe-24.04 depends on linux-headers-generic-hwe-24.04 (= 7.0.0-28.28~24.04.1); however:
  Package linux-headers-generic-hwe-24.04 is not configured yet.

dpkg: error processing package linux-generic-hwe-24.04 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                                                                            No apport report written because the error message indicates it's a follow-up error from a previous failure.
                           Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for dbus (1.14.10-4ubuntu4.1) ...
Processing triggers for linux-image-7.0.0-28-generic (7.0.0-28.28~24.04.1) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 7.0.0-28-generic
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
KERNELDIR=/lib/modules/7.0.0-28-generic/build make modules....(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/lttng-modules-dkms.0.crash'
Error! Bad return status for module build on kernel: 7.0.0-28-generic (x86_64)
Consult /var/lib/dkms/lttng-modules/2.14.0/build/make.log for more information.
dkms autoinstall on 7.0.0-28-generic/x86_64 succeeded for usbio-drivers
dkms autoinstall on 7.0.0-28-generic/x86_64 failed for lttng-modules(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 * dkms: autoinstall for kernel 7.0.0-28-generic
   ...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-7.0.0-28-generic (--configure):
 installed linux-image-7.0.0-28-generic package post-installation script subprocess returned error exit status 11
No apport report written because MaxReports has already been reached
                                                                    Errors were encountered while processing:
 linux-headers-7.0.0-28-generic
 linux-headers-generic-hwe-24.04
 linux-generic-hwe-24.04
 linux-image-7.0.0-28-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

How do I fix this? Thanks!

Ask Ctrl+Alt+T to open Ptyxis instead of gnome-terminal https://askubuntu.com/questions/1568519/ask-ctrlaltt-to-open-ptyxis-instead-of-gnome-terminal

I have the new Terminal by Ptyxis and the old gnome-terminal both in my Ubuntu 26.04. When I push Ctrl+Alt+T the old gnome-terminal appears. How to switch to modern Terminal by Ptyxis? I can call Terminal by Ptyxis manually, but I want to use Ctrl+Alt+T, and I don't want to remove gnome-terminal.

I have tried this without success:

$ sudo update-alternatives --config x-terminal-emulator
[sudo: authenticate] Password:  
There are 2 choices for the alternative x-terminal-emulator (providing /usr/bin/x-terminal-emulator).

  Selection    Path                             Priority   Status
------------------------------------------------------------
* 0            /usr/bin/ptyxis                   40        auto mode
  1            /usr/bin/gnome-terminal.wrapper   40        manual mode
  2            /usr/bin/ptyxis                   40        manual mode

Press <enter> to keep the current choice[*], or type selection number:

Then pressed enter key. But Ctrl+Alt+T still calls old gnome-terminal.

System stuck on GNU grub after auto install drivers on 20th July 2026 [closed] https://askubuntu.com/questions/1568518/system-stuck-on-gnu-grub-after-auto-install-drivers-on-20th-july-2026

I run auto install drivers command and rebooted system. After that it stuck to GNU GRUB scree. Ubuntu 24 I am using.

DW - DISTROWATCH (swap) [closed] https://askubuntu.com/questions/1568514/dw-distrowatch-swap

UUID=xyz / ext4 defaults 0 1 tmpfs / tmpfs rw=novfs,mode=1000

Thus, my swap (up) MIGHT NOT wake from my session oom (out-of-memory) WITH free ram/SYSCTL-Swap.

Depending 3d apps (game) noMATTER ram usage, swap GETs in place, BUT no while THAT /et/fstab file. EXCEPTION no ram avail.

Help with the resizing of my Ubuntu dual boot partition https://askubuntu.com/questions/1568513/help-with-the-resizing-of-my-ubuntu-dual-boot-partition

Space repartition:

Space repartition
Click the image to enlarge it.

Inability to scroll to the left with the slider:

enter image description here

I had lots of unused space on my (almost) unused Windows partition, so I wanted to switch it to Ubuntu. When I open gparted, here's what the diagram looks like:

[EFI system partition] -> [Microsoft boot partition] -> [Basic data partition (Microsoft's storage)] -> free space -> [Ubuntu partition].

The problem is that given that Ubuntu is at the right of the space I want to add to it, I can't fuse to the left nor move with gparted. I don't know what to do to be able to fuse the two.

At this point I'm almost ready to uninstall Ubuntu and create a new partition with more space. I've also seen that you can create a live USB key. If that's less far-fetched than all the black magic required to fuse a partition to the left, I'll take it.

Kubuntu 26.04 Won't Restart or Fully Shutdown https://askubuntu.com/questions/1568510/kubuntu-26-04-wont-restart-or-fully-shutdown

After a few updates last week my pc wont shutdown. just stays on a black screen but hardware is on. I can dual boot to win10 and it shutdown or restarts just fine. Also, my wife has same exact hardware and software and she doesn't have same problem. Her PC reboots flawlessly.

Can't open my LUKS device [closed] https://askubuntu.com/questions/1568509/cant-open-my-luks-device

I was using my Ubuntu normally, and then after a reboot I can't unlock my LUKS container. I've already tried dozens of passwords whether I forgot or have gone crazy, but nothing worked. On cryptsetup it appears to be healthy and normal. Unfortunately I don't have backups.

How to connect to a wifi network? [closed] https://askubuntu.com/questions/1568508/how-to-connect-to-a-wifi-network

How do I connect my Ubuntu computers using a wifi router?

Mount and use 2nd SSD for primary storage https://askubuntu.com/questions/1568507/mount-and-use-2nd-ssd-for-primary-storage

I am a very recent convert to Ubuntu, as in just this weekend. I put together a new computer, and decided to make the jump from Windows 10 to Ubuntu. I've been trying to search for answers as I can and make it work, but I'm having some trouble with this one.

I've got a fresh install of Ubuntu 26.04. As a practice with previous computers, I put the OS on a small dedicated SSD and use a larger SSD for apps and general storage.

I've tried following a few guides on how to mount an additional drive and have the OS automatically mount the drive on startup, but I've been unsuccessful so far.

I have successfully formatted and partitioned the 2nd drive as vfat using GParted, and added a line to /etc/fstab for the new drive as instructed by an instructional here. The issue could be that the instructional is 14 years old, and the method has changed since then. Any help is appreciated.

Google Earth GPG error NO_PUBKEY 32EE5355A6BC6E42 on Ubuntu 24.04 https://askubuntu.com/questions/1568503/google-earth-gpg-error-no-pubkey-32ee5355a6bc6e42-on-ubuntu-24-04

I am running Ubuntu 24.04 LTS (Noble Numbat) and keeping getting a GPG signature verification error whenever I run sudo apt update.Here is the exact terminal output log:

Hit:1 http://dl.google.com/linux/earth/deb stable InRelease
Hit:2 https://dl.google.com/linux/chrome-stable/deb stable InRelease
Err:1 http://dl.google.com/linux/earth/deb stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 32EE5355A6BC6E42
Hit:3 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu noble InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/earth/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 32EE5355A6BC6E42
W: Failed to fetch http://dl.google.com/linux/earth/deb/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 32EE5355A6BC6E42
W: Some index files failed to download. They have been ignored, or old ones used instead.`

The contents of my /etc/apt/sources.list.d/google-earth.list file are:

deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main

What I have tried so far:

1 .Manually downloading and piping the key with wget and gpg --dearmor into /etc/apt/trusted.gpg.d/ and /etc/apt/keyrings/. wget repeatedly fails with no valid openPGP data found or throws a parsing mismatch.

2 . Fetching via keyserver directly using gpg --keyserver keyserver.ubuntu.com --recv-keys 32EE5355A6BC6E42. This continuously results in a gpg: could not parse keyserver URL error.

3.Running apt-key adv --keyserver hkp://://ubuntu.com --recv-keys 32EE5355A6BC6E42, but the terminal throws a no such file or directory or layout execution block.Since the repo file is automatically re-configured by Google's background cron script, adding a local signed-by tag directly to the .list file gets overwritten.

How can I get Ubuntu 24.04 to properly ingest and retain this Google Earth public key globally?

Kernel 7.0.0-28-generic on Dell Latitude 7380 display issue: extremely dark https://askubuntu.com/questions/1568498/kernel-7-0-0-28-generic-on-dell-latitude-7380-display-issue-extremely-dark

Recently, on this Dell Latitude 7380, running Ubuntu 24.04.4 LTS with Wayland, the kernel updated from v. 6.17.0-40-generic to 7.0.0-28-generic. After rebooting the display became extremely dark, starting immediately after the selection of OS was made in grub. It was barely readable in a dimly lit room, and it also appeared to flicker slightly.

Rebooting and selecting kernel 6.17.0-40 from grub worked normally, with fully controllable brightness. Retesting both kernels gave consistent results. For now, I've changed the grub selection order so that 6.17.0-40 is the first, i.e., default entry. That kernel and its header also have been set on hold. However, I'd like to know what causes the issue, and if there is a workaround, or newer kernel in the pipeline that could be tested to see if the issue has been resolved.

The results of uname -a are as follows for the new and old kernels, respectively:

Linux <PC_NAME> 7.0.0-28-generic #28~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul  1 15:50:57 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Linux <PC_NAME> 6.17.0-40-generic #40~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jun 23 16:48:12 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Here are relevant parts of a system report:

Hardware Model:      Dell Inc. Latitude 7380
Memory:              16.0 GiB
Processor:           Intel® Core™ i7-6600U × 4
Graphics:            Intel® HD Graphics 520 (SKL GT2)
Disk Capacity:       512.1 GB
Firmware Version:    1.38.0
OS Name:             Ubuntu 24.04.4 LTS
GNOME Version:       46
Windowing System:    Wayland
Values /sys/class/backlight/intel_backlight/:
           Kernel: 6.17      7.0              
max_brightness:    7500     1023
actual_brightness: 2136     1023
brightness:        2136     1023
bi_power:             0        0
scale:             unknown  unknown
type:              raw      raw
uevent:            [null]  [null]

Has kernel 7.0.0-28-generic dropped support for hardware in this older Dell? This issue is about a Linux kernel update. Nothing in BIOS has changed.

Clones of the Dell 7380 (only slightly individualized per user) had been installed on four other laptops: two HP's, a low-end Acer, and an old Toshiba. Those machines receive the same updates as the Dell, and got kernel 7.0 (and any Wayland drivers) through Ubuntu Hardware Enablement (HWE) stack. Those four machines operate well with the new kernel; no issue has been noted, so the issue is peculiar to the Dell 7380 Latitude and its internal graphics.

Is there a conflict with Wayland windowing system?

Is there a driver needed?

Any help would be appreciated.

Built-in laptop screen very dim after an automatic Dell BIOS update (fwupd); external monitor is fine — Intel i915 https://askubuntu.com/questions/1568468/built-in-laptop-screen-very-dim-after-an-automatic-dell-bios-update-fwupd-ext

After a routine fwupd firmware update my laptop's built-in screen became very dim, even at "100%" brightness. An external monitor on the same machine looks completely normal.

  • Laptop: Dell Latitude 5430, Intel Iris Xe (Alder Lake, i915), internal eDP panel (AU Optronics).

  • OS: Ubuntu 24.04, GNOME.

  • Trigger: fwupd auto-flashed the Dell system BIOS from 1.36.0 to 1.39.1 (check with fwupdmgr get-history). The screen was fine before that.

What I already ruled out (none of these help):

  • Not a kernel regression — dim on every kernel I tried; the panel is only bright in recovery mode / with nomodeset (i.e. when i915 is not driving it).

  • Not gamma/ICCxrandr Brightness 1.0, Gamma 1.0, no VCGT in the ICC profile.

  • Not a software brightness slider/sys/class/backlight/intel_backlight reports brightness == actual_brightness == max_brightness (1023), yet the panel is dim.

  • Brightness keys only make it dimmer, never brighter.

  • Downgrading the BIOS is blocked: LVFS only offers 1.39.1, so fwupdmgr / GNOME Firmware cannot roll back.

How do I get the panel bright again without a BIOS downgrade?

Lubuntu 26.04 on HP Chromebook x2 - Trackpad not working correctly https://askubuntu.com/questions/1568431/lubuntu-26-04-on-hp-chromebook-x2-trackpad-not-working-correctly

Chromebook in question: HP Chromebook x2 - touchscreen tablet with detachable keyboard.

Following the guides on mrchromebox.tech, I was able to get Lubuntu installed. Everything is working great except the trackpad. The cursor "warps" to the corresponding location on the screen to wherever I touch the touchpad (if I touch the top left of the touchpad the cursor instantly moves to the top left of the screen) and it constantly clicks and drags as I move my finger around the touchpad.

Touchpad in question:

keyboard and mouse settings showing the touchpad on the Chromebook

I haven't used Linux in a decade or so so you'll have to excuse my ignorance. I used AI to give some bash commands for the below info. Let me know if I can provide more info.

user@chris-soraka:~$ cat /proc/bus/input/devices
I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/pci0000:00/0000:00:1f.0/PNP0C09:00/PNP0C0D:00/input/input0
U: Uniq=
H: Handlers=event0 
B: PROP=0
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/platform/LNXPWRBN:00/input/input1
U: Uniq=
H: Handlers=kbd event1 
B: PROP=0
B: EV=3
B: KEY=8000 10000000000000 0

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/pci0000:00/acpi.video_bus.0/input/input21
U: Uniq=
H: Handlers=kbd event10 
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0

I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="Intel Virtual Buttons"
P: Phys=
S: Sysfs=/devices/pci0000:00/0000:00:1f.0/PNP0C09:00/INT33D6:00/input/input22
U: Uniq=
H: Handlers=kbd event11 
B: PROP=0
B: EV=13
B: KEY=2000000000000 0 0 0 0 1000000000000 0 201c000000000000 0
B: MSC=10

I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="Intel Virtual Switches"
P: Phys=
S: Sysfs=/devices/pci0000:00/0000:00:1f.0/PNP0C09:00/INT33D6:00/input/input23
U: Uniq=
H: Handlers=event12 
B: PROP=0
B: EV=21
B: SW=2

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="AVS HDMI HDMI/DP"
P: Phys=ALSA
S: Sysfs=/devices/platform/avs_hdaudio.22.auto/sound/card3/input24
U: Uniq=
H: Handlers=event13 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="AVS HDMI HDMI/DP,pcm=1"
P: Phys=ALSA
S: Sysfs=/devices/platform/avs_hdaudio.22.auto/sound/card3/input25
U: Uniq=
H: Handlers=event14 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="AVS HDMI HDMI/DP,pcm=2"
P: Phys=ALSA
S: Sysfs=/devices/platform/avs_hdaudio.22.auto/sound/card3/input26
U: Uniq=
H: Handlers=event15 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="AVS I2S ALC5663 Headset Jack"
P: Phys=ALSA
S: Sysfs=/devices/platform/avs_rt5663.21.auto/sound/card4/input27
U: Uniq=
H: Handlers=kbd event16 
B: PROP=0
B: EV=23
B: KEY=40 0 0 0 0 0 0 1000000000 c000000000000 0
B: SW=14

I: Bus=0018 Vendor=2d1f Product=4877 Version=0100
N: Name="WCOMCOHO:00 2D1F:4877"
P: Phys=i2c-WCOMCOHO:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-WCOMCOHO:00/0018:2D1F:4877.0006/input/input35
U: Uniq=
H: Handlers=mouse2 event5 
B: PROP=2
B: EV=1b
B: KEY=400 0 0 0 0 0
B: ABS=2f3800000000003
B: MSC=20

I: Bus=0018 Vendor=2d1f Product=4877 Version=0100
N: Name="WCOMCOHO:00 2D1F:4877 UNKNOWN"
P: Phys=i2c-WCOMCOHO:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-WCOMCOHO:00/0018:2D1F:4877.0006/input/input36
U: Uniq=
H: Handlers=event6 
B: PROP=0
B: EV=9
B: ABS=10000000000

I: Bus=0018 Vendor=2d1f Product=4877 Version=0100
N: Name="WCOMCOHO:00 2D1F:4877 Stylus"
P: Phys=i2c-WCOMCOHO:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-WCOMCOHO:00/0018:2D1F:4877.0006/input/input37
U: Uniq=
H: Handlers=mouse3 event7 
B: PROP=2
B: EV=1b
B: KEY=1c03 0 0 0 0 0
B: ABS=1000003
B: MSC=11

I: Bus=0018 Vendor=2d1f Product=4877 Version=0100
N: Name="WCOMCOHO:00 2D1F:4877 UNKNOWN"
P: Phys=i2c-WCOMCOHO:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-WCOMCOHO:00/0018:2D1F:4877.0006/input/input38
U: Uniq=
H: Handlers=mouse4 event8 
B: PROP=2
B: EV=1b
B: KEY=400 1 0 0 0 0
B: ABS=1000003
B: MSC=11

I: Bus=0018 Vendor=2d1f Product=4877 Version=0100
N: Name="WCOMCOHO:00 2D1F:4877 Mouse"
P: Phys=i2c-WCOMCOHO:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-WCOMCOHO:00/0018:2D1F:4877.0006/input/input39
U: Uniq=
H: Handlers=mouse5 event9 js0 
B: PROP=0
B: EV=1b
B: KEY=30000 0 0 0 0
B: ABS=3
B: MSC=10

I: Bus=0003 Vendor=18d1 Product=502b Version=0100
N: Name="Google Inc. Hammer"
P: Phys=usb-0000:00:14.0-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:18D1:502B.0007/input/input40
U: Uniq=3c002b000a57414739313320
H: Handlers=sysrq kbd event2 
B: PROP=0
B: EV=100013
B: KEY=1000000000007 ff800000000007ff febeffdfffefffff fffffffffffffffe
B: MSC=10

I: Bus=0003 Vendor=18d1 Product=502b Version=0100
N: Name="Google Inc. Hammer"
P: Phys=usb-0000:00:14.0-2/input2
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/0003:18D1:502B.0008/input/input41
U: Uniq=3c002b000a57414739313320
H: Handlers=mouse1 event4 
B: PROP=7
B: EV=1b
B: KEY=e520 10000 0 0 0 0
B: ABS=673800001000003
B: MSC=20

I: Bus=0003 Vendor=046d Product=4080 Version=0111
N: Name="Logitech M350"
P: Phys=usb-0000:00:14.0-1/input1:1
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/0003:046D:C52F.000A/0003:046D:4080.000B/input/input42
U: Uniq=64-c1-67-36
H: Handlers=kbd mouse0 event3 
B: PROP=0
B: EV=1f
B: KEY=3f00733fff 0 0 483ffff17aff32d bfd4444600000000 ffff0001 130ff38b17d000 677bfad9415fed 19ed68000004400 10000002
B: REL=1943
B: ABS=100000000
B: MSC=10



user@chris-soraka:~$ # Kernel driver currently bound, and which .ko file it loaded from
modinfo hid_multitouch | grep filename
lsmod | grep hid_multitouch
filename:       /lib/modules/7.0.0-27-generic/kernel/drivers/hid/hid-multitouch.ko.zst
hid_multitouch         36864  0
hid                   278528  9 hid_google_hammer,i2c_hid,usbhid,hid_multitouch,hid_vivaldi_common,snd_soc_sdca,hid_generic,hid_logitech_dj,hid_logitech_hidpp



user@chris-soraka:~$ # udev's classification (touchpad vs touchscreen vs mouse)
udevadm info /dev/input/event4 | grep ID_INPUT
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_INPUT_TOUCHSCREEN=1
E: ID_INPUT_WIDTH_MM=100
E: ID_INPUT_HEIGHT_MM=57



user@chris-soraka:~$ # libinput's view of the device's capabilities
sudo libinput list-devices | grep -A18 "Google Inc. Hammer" | grep -A18 "Capabilities.*pointer"
Capabilities:            pointer touch 
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             disabled
Nat.scrolling:           disabled
Middle emulation:        n/a
Calibration:             identity matrix
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none

System info:

  • Lubuntu 26.04 LTS
  • 7.0.0-27-generic kernel
(Ubuntu 24.04.4 Desktop [Wayland]/Gnome 46.0/Linux 6.17.0) How do I rotate login screen portrait left? https://askubuntu.com/questions/1568079/ubuntu-24-04-4-desktop-wayland-gnome-46-0-linux-6-17-0-how-do-i-rotate-login

I have turned my monitor physically in portrait position. I adjusted Settings -> Displays so that the layout for my desktop is okay, but the login screen is still landscape.

I read that this problem could be fixed with following instructions:

sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config/
sudo chown gdm:gdm /var/lib/gdm3/.config/monitors.xml
sudo systemctl restart gdm3

But to no avail, it just does not work. No matter if I reboot or even completely turn off and back on computer. The login screen remains in landscape position.

According to mutter documentation monitors.xml is read from /etc/xdg. Copied file there but it did not work either. This is clearly an issue that cannot be fixed with blind workarounds.

I edited /etc/xdg/monitors.xml so that there were different settings than in ~/.config/monitors.xml. After that some settings was applied in gdm process login screen, but not the rotation it just wont budge, that change had effects only in user process desktop. Is it so that mutter under gdm does not have same capabilities than under user process desktop? If so, this is just banging head on the wall.

Could someone please explain the architecture behind all this gdm/mutter/gnome-shell mess?

Live patch works excellently - it just shows a red ! mark on the Panel https://askubuntu.com/questions/1535390/live-patch-works-excellently-it-just-shows-a-red-mark-on-the-panel

Opening Live Patch does not show any error, so why is there a red "!" mark on the shield icon in the Panel? I am using Ubuntu 22.04. I just restarted, and there are no errors on apt/snap level. nor on dpkg. Is this normal?

Screen brightness is super low after upgrade to 24.04.1 LTS https://askubuntu.com/questions/1525553/screen-brightness-is-super-low-after-upgrade-to-24-04-1-lts

After upgrading from Ubuntu Desktop 22.04 LTS to Ubuntu Desktop 24.04.1 LTS, I found out one of monitors to have low brightness. I couldn't find any control to change the brightness and when I googled for solutions, nothing helped me. Here are some outputs:

lspci -k | grep -EA3 'VGA|3D|Display':

00:02.0 VGA compatible controller: Intel Corporation CometLake-S GT2 [UHD Graphics 630] (rev 03)
    DeviceName: Onboard - Video
    Subsystem: Dell CometLake-S GT2 [UHD Graphics 630]
    Kernel driver in use: i915

neofetch:

OS: Ubuntu 24.04.1 LTS x86_64 
Host: OptiPlex 7480 AIO 
Kernel: 6.8.0-41-generic 
Uptime: 15 mins 
Packages: 2244 (dpkg), 22 (snap) 
Shell: bash 5.2.21 
Resolution: 1920x1080 
DE: GNOME 46.0 
WM: Mutter 
WM Theme: Adwaita 
Theme: Yaru-blue-dark [GTK2/3] 
Icons: Yaru-blue [GTK2/3] 
Terminal: gnome-terminal 
CPU: Intel i5-10500 (12) @ 4.500GHz 
GPU: Intel CometLake-S GT2 [UHD Graphics 63 
Memory: 3298MiB / 15677MiB 

sudo ubuntu-drivers list returns nothing, while sudo ubuntu-drivers install returns

All the available drivers are already installed.

ls -al /sys/class/backlight returns

total 0
drwxr-xr-x  2 root root 0 Sep  4 11:41 .
drwxr-xr-x 85 root root 0 Sep  4 11:22 ..

xrandr | grep " connected" | cut -f1 -d " ":

DP-1
HDMI-2

xrandr --output DP-1 --brightness 1 and xrandr --output HDMI-2 --brightness 1 does nothing.

I tried the hack with Brightness controller, editing grub, Secure Boot DISABLED.

I am more than welcome for any advice.


I have also had to do a fresh install of Ubuntu Desktop, because upgrade from Ubuntu 22.04 LTS failed.


Update with Hannu's response: After implementing the setdbr function I get:

martin@dell:~$ setdbr
Current displays, numbered:
     1  DP-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 510mm x 290mm
     2  HDMI-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 520mm x 290mm

And whatever I type, nothing changes. I tried setdbr 1 1.0, setdbr 2 1, setdrb 2 0, setdbr 1 0

UPDATE 2: I tried to turn on the night light and play with the intensity and both displays reacted. Thank to this I think the problem won't be Kernel-related and there is still some setting missing.

I am also missing the brightness slider in top right menu, maybe this could help? Top right menu

UPDATE 3: output of lspci:

00:00.0 Host bridge: Intel Corporation Comet Lake-S 6c Host Bridge/DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation CometLake-S GT2 [UHD Graphics 630] (rev 03)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Comet Lake PCH Thermal Controller
00:14.0 USB controller: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller
00:14.2 RAM memory: Intel Corporation Comet Lake PCH Shared SRAM
00:14.3 Network controller: Intel Corporation Comet Lake PCH CNVi WiFi
00:16.0 Communication controller: Intel Corporation Comet Lake HECI Controller
00:16.3 Serial controller: Intel Corporation Comet Lake Keyboard and Text (KT) Redirection
00:17.0 SATA controller: Intel Corporation Comet Lake SATA AHCI Controller
00:1c.0 PCI bridge: Intel Corporation Comet Lake PCIe Port #6 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Q470 Chipset LPC/eSPI Controller
00:1f.3 Audio device: Intel Corporation Comet Lake PCH cAVS
00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller
00:1f.5 Serial bus controller: Intel Corporation Comet Lake PCH SPI Controller
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (11) I219-LM
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
02:00.0 Non-Volatile memory controller: Micron/Crucial Technology P1 NVMe PCIe SSD[Frampton] (rev 03)

ls -al /sys/class/backlight returns nothing.

Noise when initiating play with handsfree https://askubuntu.com/questions/1506285/noise-when-initiating-play-with-handsfree

A loud tikk sound is played when starting with handsfree.

In each use of handsfree this problem occurs only once.

I don't have that problem with the speaker.

Audio:
 Device-1: Intel Haswell-ULT HD Audio driver: snd_hda_intel
 Device-2: Intel 8 Series HD Audio driver: snd_hda_intel
 API: ALSA v: k6.6.15-amd64 status: kernel-api
 Server-1: PipeWire v: 1.0.3 status: active
Issue with display driver on HP Elitebook 820 G1 after upgrading to Xubuntu 20.04.2 LTS from Xubuntu 18.04.5 LTS https://askubuntu.com/questions/1322550/issue-with-display-driver-on-hp-elitebook-820-g1-after-upgrading-to-xubuntu-20-0

After doing the upgrade to Xubuntu 20.04.2 LTS from Xubuntu 18.04.5 LTS on my HP Elitebook 820 G1 I've had an issue with my screen going blank at random. I can't see anything interesting in journalctl or dmesg.

The only way I've found to wake up the screen is to close and open the laptop lid.

I've tried changing the power management settings, but it doesn't help.

I'm starting to suspect that this is an issue with the new display driver not being fully compatible with my computer.

A solution might be to downgrade the display driver to the version used in Xubuntu 18.04.5 LTS?

Would be happy for suggestions for a solution for this problem!


Workarounds

Waking the screen by turning on and off the display

This command wakes the screen again:

xrandr --output eDP-1 --off && xrandr --output eDP-1 --auto

Waking the screen by hibernating and back

A better workaround is to program the power button as "hibernate" and push it to hibernate and then again to wake up. This resets the screen and has the pro of not messing up what's on what screen which happens when I run the above command.

curl: (7) Failed to connect to 127.0.0.1 port 5000: Connection refused when using Flask https://askubuntu.com/questions/824306/curl-7-failed-to-connect-to-127-0-0-1-port-5000-connection-refused-when-usin

I am following the Udacity course here: https://classroom.udacity.com/courses/ud388/lessons/4628431284/concepts/53174719510923

I am trying to run their python program using Flask. I started vagrant with vagrant ssh

I then tried to run that python file by typing python api_server.py. But when I go to http://0.0.0.0:5000/ on my browser, I get:

Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. 

Then I tried typing curl 'http://127.0.0.1:5000' in vagrant but got the error

vagrant@vagrant-ubuntu-trusty-32:~$ curl 'http://127.0.0.1:5000'
curl: (7) Failed to connect to 127.0.0.1 port 5000: Connection refused

The api_server.py file is below:

#THIS IS A WEBSERVER FOR DEMONSTRATING THE TYPES OF RESPONSES WE SEE FROM AN API ENDPOINT
from flask import Flask
app = Flask(__name__)

#GET REQUEST

@app.route('/readHello')
def getRequestHello():
    return "Hi, I got your GET Request!"

#POST REQUEST
@app.route('/createHello', methods = ['POST'])
def postRequestHello():
    return "I see you sent a POST message :-)"
#UPDATE REQUEST
@app.route('/updateHello', methods = ['PUT'])
def updateRequestHello():
    return "Sending Hello on an PUT request!"

#DELETE REQUEST
@app.route('/deleteHello', methods = ['DELETE'])
def deleteRequestHello():
    return "Deleting your hard drive.....haha just kidding! I received a     DELETE request!"

if __name__ == '__main__':
    app.debug = True
    app.run(host='0.0.0.0', port=5000)  
can't add key - keyserver timed out https://askubuntu.com/questions/757714/cant-add-key-keyserver-timed-out

I'm trying to install mongodb on ubuntu 15.10. While following this - Install Mongo 3.2 on Ubuntu 15.10 - i got the following error message:

W: GPG error: http://repo.mongodb.org trusty/mongodb-org/3.2 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D68FA50FEA312927

So then I attempted to add the key like this:

me@devbox:/etc/test$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D68FA50FEA312927

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.CWnpUGSg5w --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg --keyring /etc/apt/trusted.gpg.d/nginx_ubuntu_stable.gpg --keyring /etc/apt/trusted.gpg.d/webupd8team_ubuntu_java.gpg --keyserver keyserver.ubuntu.com --recv-keys D68FA50FEA312927
gpg: requesting key EA312927 from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error

Not sure what else to try. I'm currently looking other posts here on this site to see if this has been addressed.

EDIT 1:

Based on this post: Can't add repo keys

I tried to run the command :

sudo gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D68FA50FEA312927

and then retried:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D68FA50FEA312927

But it's still failing.

How to make password show asterisks as I type it when running `sudo` command? https://askubuntu.com/questions/387757/how-to-make-password-show-asterisks-as-i-type-it-when-running-sudo-command

Is it possible to make the password visible as asterisks (or any other character) on using sudo command?

Currently, it does not display anything, thus making it difficult to count the number of keystrokes pressed..

Huawei e173s 3G USB dongle won't switch into modem mode https://askubuntu.com/questions/381970/huawei-e173s-3g-usb-dongle-wont-switch-into-modem-mode

Output of

lsusb | grep Huawei

is

Bus 003 Device 003: ID 12d1:1c0b Huawei Technologies Co., Ltd. E173s 3G broadband stick (modem off)

I've checked if usb_modeswitch is set up properly as per https://wiki.archlinux.org/index.php/Huawei_E173s. It is.

Enabled usb_modeswitch logging. The log output is below. Seems like the device is identified by usb_modeswitch, and the switch message is sent, but no response. At this point I'm thinking that either there's a problem with the dongle's firmware (but it works fine under Windows), or udev can't communicate with it for whatever reason.

USB_ModeSwitch log from Mon Nov 25 14:38:11 2013

Using global config file: /etc/usb_modeswitch.conf

Raw args from udev: /3-2:1.0

Bus ID for device not given by udev.
 Trying to determine it from kernel name (3-2:1.0) ...
Using top device dir /sys/bus/usb/devices/3-2

USB dir exists: /sys/bus/usb/devices/3-2
Warning: USB attribute "serial" not readable.

SCSI dir exists: /sys/bus/usb/devices/3-2
Warning: SCSI attribute "vendor" not readable.
Warning: SCSI attribute "model" not readable.
Warning: SCSI attribute "rev" not readable.
----------------
USB values from sysfs:
  idVendor  12d1
  idProduct 1c0b
  manufacturer  HUAWEI
  product   HUAWEI Mobile
  serial    (null)
  bNumConfigurations    1
----------------
bNumConfigurations is 1 - don't check for active configuration
Found packed config collection /usr/share/usb_modeswitch/configPack.tar.gz
Searching entries named: /usr/share/usb_modeswitch/12d1:1c0b*
Searching overriding entries named: /etc/usb_modeswitch.d/12d1:1c0b*
SCSI attributes not needed, moving on.

Extracting config 12d1:1c0b from collection /usr/share/usb_modeswitch/configPack.tar.gz
config: TargetVendor set to 12d1
config: TargetProduct set to 1c05,1c07,1c08,1c10
Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1
! matched, now switching
Command to be run:
/usr/sbin/usb_modeswitch -I -W -D -s 20 -c /run/usb_modeswitch/current_cfg -u -1   -v 12d1 -p 1c0b 2>&1

Verbose debug output of usb_modeswitch and libusb follows
(Note that some USB errors are expected in the process)
--------------------------------

Reading config file: /run/usb_modeswitch/current_cfg

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 1.2.3 (C) Josua Dietze 2012
 * Based on libusb0 (0.1.12 and above)

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x1c0b
TargetVendor=   0x12d1
TargetProduct=  not set
TargetClass=    not set
TargetProductList="1c05,1c07,1c08,1c10"

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint=  not set
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
NeedResponse=0
ResponseEndpoint= not set

InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled


Looking for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 No devices in target mode or class found
Looking for default devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
   found matching product ID
   adding device
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Found device in default mode, class or configuration (1)
Accessing device 003 on bus 003 ...
Skipping the check for the current configuration
Using first interface: 0x00
Using endpoints 0x0f (out) and 0x8f (in)

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Looking for active driver ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached
Setting up communication with interface 0
Using endpoint 0x0f for message sending ...
Trying to send message 1 to endpoint 0x0f ...
 OK, message successfully sent
Resetting response endpoint 0x8f
Resetting message endpoint 0x0f

Checking for mode switch (max. 20 times, once per second) ...
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 Searching for target devices ...
  searching devices, found USB ID 1d6b:0003
  searching devices, found USB ID 12d1:1c0b
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 148f:2000
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 064e:e258
  searching devices, found USB ID 138a:0018
  searching devices, found USB ID 8087:0024
  searching devices, found USB ID 1d6b:0002
 No new devices in target mode or class found

Mode switch has failed. Bye.

fail:
--------------------------------
(end of usb_modeswitch output)

USB dir exists: /sys/bus/usb/devices/3-2
Warning: USB attribute "serial" not readable.

All done, exiting

UPDATE. Have set various delays. Quotation from http://www.draisberghof.de/usb_modeswitch/#trouble:

Annother way of influencing the kernel behaviour is the parameter "delay_use" of "usb-storage" which sets the time in seconds after plugging when the storage device will actually be used (and probably automounted). The default value is 5; this might affect the switching result under certain conditions. To change the default add in /etc/modprobe.conf:

options usb-storage delay_use=1 (or 10, or other)

With delay of 1-3, works sometimes. Sometimes doesn't.

UPDATE 2. After days of testing, I have an impression that it is not any particular delay setting which makes usb_modeswitch work, but changing this setting. Also I have a (very tentative) feeling that logging in/out and changing autologin settings somehow interferes with modeswitching.

How can I adjust the mouse scroll speed? https://askubuntu.com/questions/255890/how-can-i-adjust-the-mouse-scroll-speed

This question has been asked many times with no answer. I've used my basic Google skills and haven't come across a fix. This is system wide. My mouse simply scrolls too fast.

I'm new to ubuntu and linux in general. Would switching styles or whatever it is called (Ubuntu, KDE, Xubuntu) help at all? Is there a terminal code I can enter?

How to access second disk locally and over LAN https://askubuntu.com/questions/125964/how-to-access-second-disk-locally-and-over-lan

I have just added a second 1TB HD to my Ubuntu box and I can see it listed when I run blkid. But how do I

  1. reference it so I can use it as local storage
  2. share it on my LAN
What is the command to run System Settings from a terminal? https://askubuntu.com/questions/116655/what-is-the-command-to-run-system-settings-from-a-terminal

System Settings can be run from the launcher (pinned by default), the Dash, or the power cog. But what command would I enter in a terminal window if I want to run it from there?

Additional Language in KDE https://askubuntu.com/questions/102828/additional-language-in-kde

I just installed the KDE desktop environment and I want to install an additional language (Urdu) in Unity 2D. I was using it but in KDE it seems difficult to do so. I got to know about some change, something in etc/x11/xkb/symbols but when I tried I couldn't find such a directory. Please help me on how to write Urdu in KDE.