Sort lines in one text file by order of matching part in another file https://askubuntu.com/questions/1566983/sort-lines-in-one-text-file-by-order-of-matching-part-in-another-file

I have two text files, one with a list of sample names like this:

51234_SampleName
52345_SampleName
53456_SampleName
54567_SampleName

And the other with the same names but truncated and in a different order, like this:

52345_SampleN
54567_SampleN
53456_SampleN
51234_SampleN

What I want to do is sort the entries in the first file so that they're in the same order as the second file based on the matching segments, but I'm very new to Linux and given that it's not just numerical and the entries don't match pefectly I'm struggling to figure out how I can do this. I tried using sort:

sort -t_ -n -k1 -o full_names.txt truncated_names.txt

But unfortunately that just seemed to sort numerically.

I've looked around and can't find a solution for these specific requirements. Can anyone suggest anything?
Thanks

How to create WhatsApp on ubuntu OS https://askubuntu.com/questions/1566982/how-to-create-whatsapp-on-ubuntu-os

i want to generate my own WhatsApp application that works in ubuntu linux
So i want help with the steps and codes

Xfce on Ubuntu 26.04 always starts in Wayland instead of X11 and Worksnaps screenshots become black https://askubuntu.com/questions/1566981/xfce-on-ubuntu-26-04-always-starts-in-wayland-instead-of-x11-and-worksnaps-scree

After upgrading to Ubuntu 26.04, my Xfce session always starts in Wayland even when selecting the normal Xfce session.

Commands output:

echo $XDG_SESSION_DESKTOP
xfce

echo $XDG_SESSION_TYPE
wayland

Installed sessions:

ls /usr/share/xsessions
lightdm-xsession.desktop
xfce.desktop

ls /usr/share/wayland-sessions
gnome.desktop
ubuntu.desktop
xfce-wayland.desktop

I am using GDM3:

cat /etc/X11/default-display-manager
/usr/sbin/gdm3

I also already disabled Wayland in GDM:

/etc/gdm3/custom.conf

[daemon]
WaylandEnable=false

But after reboot, Xfce still starts in Wayland.

The main issue is that Worksnaps screenshots are black under Wayland, and many of my old Xfce/X11 customizations stopped working after the upgrade.

X11 packages are installed correctly:

dpkg -l | grep xorg

shows the full Xorg stack installed.

Questions:

  1. How can I force Xfce to start in true X11 mode on Ubuntu 26.04?

  2. Is Ubuntu 26.04 automatically redirecting Xfce sessions to Wayland?

  3. Is there a recommended way to keep GDM3 while using Xfce on X11?

telnet connection refused on xubuntu 26.04 https://askubuntu.com/questions/1566974/telnet-connection-refused-on-xubuntu-26-04

I've install several packages trying to get telnet working on Xubuntu 26.04. I'm getting the error

telnet: Unable to connect to remote host: Connection refused

I've also installed openbsd-inetd and inetutils-inetd.

How do I get telnet working on 26.04

Some have suggested solutions which are applicable on earlier releases. Telnet support has undergone recent changes. Prior to 26.04, I don't remember, nor is there anything in my notes previously about things such as openbsd-inetd and inetutils-inetd.

Ubuntu machine cannot boot after replacing libgfortran library https://askubuntu.com/questions/1566973/ubuntu-machine-cannot-boot-after-replacing-libgfortran-library

I am on an Dell machine with Ubuntu 24.04

To try fixing an error on a software I mistakenly changed a /lib/x86_64-linux-gnu/libgfortran.so.3 with a version that was probably incompatible with the system. The machine immediately froze and cannot reboot. I tried rebooting with a USB live (hitting Fn+F12 at the Dell logo) but I get a bunch of errors like those in the attached screenshot I am unsure how I should proceed?

VideoDownloadHelper stopped working on ubuntu 22.04 in the latest firefox versions 150.0.3 (64-bit) and 151.0 ( 64-bit) https://askubuntu.com/questions/1566969/videodownloadhelper-stopped-working-on-ubuntu-22-04-in-the-latest-firefox-versio

VideoDownloadHelper stopped downloading mp4 videos on ubuntu 22.04 in the latest firefox versions 150.0.3 (64-bit) and 151.0 ( 64-bit), displaying the message:

Download failed

Sadly we failed at downloading that specific media

Test video:

https://www.youtube.com/watch?v=C0DPdy98e4c

How can I fix this?

Regards,

Albert

Is there an Ubuntu patch for ssh-keysign-pwn yet? [duplicate] https://askubuntu.com/questions/1566963/is-there-an-ubuntu-patch-for-ssh-keysign-pwn-yet

I'm just wondering if there is a patch for CVE-2026-46333 (aka ssh-keysign-pwn) yet?

I assume not, but wanted to double check to see if anyone knows anything,

So far I've gathered that we are to use this mitigation:

sudo sysctl -w kernel.yama.ptrace_scope=3 echo 'kernel.yama.ptrace_scope = 3' | sudo tee /etc/sysctl.d/99-ssh-keysign-pwn.conf

sudo sysctl -w kernel.yama.ptrace_scope=3

echo "kernel.yama.ptrace_scope = 3" | sudo tee /etc/sysctl.d/99-ptrace-hardening.conf

sudo sysctl --system

If there is any news, let me know, however I don't think there has even been a security patch for dirtyfrag yet lol

Boomaga is not available in 26.04. What now? https://askubuntu.com/questions/1566961/boomaga-is-not-available-in-26-04-what-now

As the link https://packages.ubuntu.com/search?keywords=boomaga&searchon=names&suite=all&section=all suggests, the Boomaga software is no longer available in Ubuntu 26.04.

I know that I can add the appropriate PPA and still use the old version (taking any risks).

However, my question is this:

What is the best way to easily preview printouts, rearrange pages, combine printouts, make booklets, or print multiple pages on a single sheet (all in one software) in Ubuntu 26.04?

Ubuntu 22.04 - keyboard - inverted question mark https://askubuntu.com/questions/1566959/ubuntu-22-04-keyboard-inverted-question-mark

Would you have some advice on a straightforward way to type in an inverted question mark using English (Us, alt. intl.) keyboard in Ubuntu 22.04?

I have tried many of the options as available from the community but none seems to work (at least for my simple installation of Ubuntu 22.04).

How to adapt apt_repository in ansible in Ubuntu 26.04 https://askubuntu.com/questions/1566955/how-to-adapt-apt-repository-in-ansible-in-ubuntu-26-04

I have used ansible to install firefox with the following block:

- name: Add Firefox repository
  apt_repository:
    repo: 'ppa:mozillateam/ppa'
    state: present
    update_cache: no
  become: yes

This has always worked but stopped working after switching to Ubuntu 26.04, giving the following error:

TASK [Add Firefox repository] **************************************************
[ERROR]: Task failed: Module failed: Unable to get required signing key
Origin: /home/user/ansible/task-desnap.yml:80:3

78     create: true
79
80 - name: Add Firefox repository
     ^ column 3

fatal: [localhost]: FAILED! => {"changed": false, "command": ["/usr/bin/gpg", "--no-tty", "--keyserver", "hkp://keyserver.ubuntu.com:80", "--export", "738BEB9321D1AAEC13EA9391AEBDF4819BE21867"], "msg": "Unable to get required signing key", "rc": 0, "stderr": "gpg: WARNING: nothing exported\n", "stderr_lines": ["gpg: WARNING: nothing exported"]}

I read that apt_repository is being deprecated in Ubuntu 26.04. But I am not sure whether it is the cause here.

Can someone help explain how I can fix the ansible block to install from the PPA?

This is with:

$ ansible --version
ansible [core 2.20.1]
  config file = None
  configured module search path = ['/home/user/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3/dist-packages/ansible
  ansible collection location = /home/user/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.14.4 (main, Apr  8 2026, 04:02:31) [GCC 15.2.0] (/usr/bin/python3)
  jinja version = 3.1.6
  pyyaml version = 6.0.3 (with libyaml v0.2.5)
How do I fix my computer's black screen after boot? https://askubuntu.com/questions/1566944/how-do-i-fix-my-computers-black-screen-after-boot

My computer is:

Host: Blade 14 - RZ09-053  
OS: Ubuntu 24.04.4 LTS x86_64  
CPU: AMD Ryzen AI 9 365 w/ Radeon 88  
GPU: NVIDIA c4:00.0 NVIDIA Corporation

neofetch in terminal

When I try to boot into it from power off, I unlock the disk with the disk password, the Ubuntu logo shows for a bit, flickers off, on, and then off... and then the screen goes and stays black.

I am able to boot into recovery mode from Grub, and then I can log into my user and use the OS normally.

The NVIDIA driver I use, found in Software & Updates, is nvidia-driver-595-open.

I also often get an error after booting into the OS and using it for a few minutes with the Title:

Xorg assert failure: Xorg: ../../../../dix/privates.c:382:dixRegisterPrivateKey:Assertion '!global_kays[type].created' failed

a screenshot of the beginning of the error

I believe they may be connected because I assume the screen going black is a driver issue, but I don't know.

Another thing to note is that sometimes my computer just randomly freezes, with no input available, and I have to power it off, which also sucks and might be related.

I have already done sudo apt update and sudo apt upgrade, I've done a lot of searching.

Thank you!

External monitors USB dock+HDMI misbehave on video fullscreen https://askubuntu.com/questions/1566919/external-monitors-usb-dockhdmi-misbehave-on-video-fullscreen

My Ubuntu 24.04.4 LTS laptop has two external displays connected via an USB dock with HDMI cables:

           27" monitor      27" monitor
              |                 |
             HDMI              HDMI
              |                 |
laptop ==> USB dock ------------+

When I use the laptop as the primary display, a video fullscreen covers the screen and the status icons on the top left show fine. When I try to use the 27" displays as primary display, the status icons disappear off screen. When I try to use fullscreen on a video, one side and bottom of video is off screen.

xrandr --listmonitors list the maximum sizes of the displays correctly, so the error must be in a higher layer somewhere? What do I do to debug this?

iwlwifi broken in 26.04 - kernel 7.0.0-15, works in 26.04 kernel 7.0.0-14 https://askubuntu.com/questions/1566891/iwlwifi-broken-in-26-04-kernel-7-0-0-15-works-in-26-04-kernel-7-0-0-14

After an upgrade from 25.10, I've lost wifi connection. After some tests and tries, I found it's coming from kernel 7.0.0-15. Reinstalling doesn't solve anything. Rebooting to the same install but on kernel 7.0.0-14 solves the issue.

I dudn't get anything special in the logs but:

2026-05-17T16:17:36.974307+02:00 FRPA1-0222 kernel: Loading modules backported from iwlwifi
2026-05-17T16:17:36.974307+02:00 FRPA1-0222 kernel: iwlwifi-stack-public:release/core103:14434:6861514a
2026-05-17T16:17:36.974347+02:00 FRPA1-0222 kernel: iwlwifi 0000:93:00.0: enabling device (0000 -> 0002)
2026-05-17T16:17:36.974348+02:00 FRPA1-0222 kernel: iwlwifi 0000:93:00.0: Detected crf-id 0x400410, cnv-id 0x400410 wfpm id 0x80000000
2026-05-17T16:17:36.974348+02:00 FRPA1-0222 kernel: iwlwifi 0000:93:00.0: PCI dev 2725/4020, rev=0x420, rfid=0x10d000
2026-05-17T16:17:36.974349+02:00 FRPA1-0222 kernel: iwlwifi 0000:93:00.0: Detected Intel(R) Wi-Fi 6E AX210 160MHz
2026-05-17T16:17:36.974352+02:00 FRPA1-0222 kernel: iwlwifi 0000:93:00.0: loaded firmware version 89.123cf747.0 ty-a0-gf-a0-89.ucode op_mode iwlmvm
2026-05-17T16:17:36.974357+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_beacon_update_cntdwn
2026-05-17T16:17:36.974357+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_beacon_update_cntdwn (err -22)
2026-05-17T16:17:36.974357+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_stop_tx_ba_session
2026-05-17T16:17:36.974358+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_stop_tx_ba_session (err -22)
2026-05-17T16:17:36.974358+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_gtk_rekey_notify
2026-05-17T16:17:36.974358+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_gtk_rekey_notify (err -22)
2026-05-17T16:17:36.974359+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol regulatory_set_wiphy_regd_sync
2026-05-17T16:17:36.974359+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol regulatory_set_wiphy_regd_sync (err -22)
2026-05-17T16:17:36.974359+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_start_tx_ba_cb_irqsafe
2026-05-17T16:17:36.974360+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_start_tx_ba_cb_irqsafe (err -22)
2026-05-17T16:17:36.974360+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_connection_loss
2026-05-17T16:17:36.974360+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_connection_loss (err -22)
2026-05-17T16:17:36.974361+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_report_wowlan_wakeup
2026-05-17T16:17:36.974361+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_report_wowlan_wakeup (err -22)
2026-05-17T16:17:36.974361+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_iterate_interfaces
2026-05-17T16:17:36.974362+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_iterate_interfaces (err -22)
2026-05-17T16:17:36.974362+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol cfg80211_vendor_cmd_get_sender
2026-05-17T16:17:36.974362+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol cfg80211_vendor_cmd_get_sender (err -22)
2026-05-17T16:17:36.974363+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_sched_scan_stopped
2026-05-17T16:17:36.974363+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_sched_scan_stopped (err -22)
2026-05-17T16:17:36.974363+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_chswitch_done
2026-05-17T16:17:36.974364+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_chswitch_done (err -22)
2026-05-17T16:17:36.974364+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol cfg80211_bss_iter
2026-05-17T16:17:36.974364+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol cfg80211_bss_iter (err -22)
2026-05-17T16:17:36.974365+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_unreserve_tid
2026-05-17T16:17:36.974365+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_unreserve_tid (err -22)

Under 7.0.0-14 kernel I've instead the logs:

026-05-17T16:17:36.974307+02:00 FRPA1-0222 kernel: Loading modules backported from iwlwifi
2026-05-17T16:17:36.974307+02:00 FRPA1-0222 kernel: iwlwifi-stack-public:release/core103:14434:6861514a
2026-05-17T16:17:36.974347+02:00 FRPA1-0222 kernel: iwlwifi 0000:93:00.0: enabling device (0000 -> 0002)
2026-05-17T16:17:36.974348+02:00 FRPA1-0222 kernel: iwlwifi 0000:93:00.0: Detected crf-id 0x400410, cnv-id 0x400410 wfpm id 0x80000000
2026-05-17T16:17:36.974348+02:00 FRPA1-0222 kernel: iwlwifi 0000:93:00.0: PCI dev 2725/4020, rev=0x420, rfid=0x10d000
2026-05-17T16:17:36.974349+02:00 FRPA1-0222 kernel: iwlwifi 0000:93:00.0: Detected Intel(R) Wi-Fi 6E AX210 160MHz
2026-05-17T16:17:36.974352+02:00 FRPA1-0222 kernel: iwlwifi 0000:93:00.0: loaded firmware version 89.123cf747.0 ty-a0-gf-a0-89.ucode op_mode iwlmvm
2026-05-17T16:17:36.974357+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_beacon_update_cntdwn
2026-05-17T16:17:36.974357+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_beacon_update_cntdwn (err -22)
2026-05-17T16:17:36.974357+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_stop_tx_ba_session
2026-05-17T16:17:36.974358+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_stop_tx_ba_session (err -22)
2026-05-17T16:17:36.974358+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_gtk_rekey_notify
2026-05-17T16:17:36.974358+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_gtk_rekey_notify (err -22)
2026-05-17T16:17:36.974359+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol regulatory_set_wiphy_regd_sync
2026-05-17T16:17:36.974359+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol regulatory_set_wiphy_regd_sync (err -22)
2026-05-17T16:17:36.974359+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_start_tx_ba_cb_irqsafe
2026-05-17T16:17:36.974360+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_start_tx_ba_cb_irqsafe (err -22)
2026-05-17T16:17:36.974360+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_connection_loss
2026-05-17T16:17:36.974360+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_connection_loss (err -22)
2026-05-17T16:17:36.974361+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_report_wowlan_wakeup
2026-05-17T16:17:36.974361+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_report_wowlan_wakeup (err -22)
2026-05-17T16:17:36.974361+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_iterate_interfaces
2026-05-17T16:17:36.974362+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_iterate_interfaces (err -22)
2026-05-17T16:17:36.974362+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol cfg80211_vendor_cmd_get_sender
2026-05-17T16:17:36.974362+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol cfg80211_vendor_cmd_get_sender (err -22)
2026-05-17T16:17:36.974363+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_sched_scan_stopped
2026-05-17T16:17:36.974363+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_sched_scan_stopped (err -22)
2026-05-17T16:17:36.974363+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_chswitch_done
2026-05-17T16:17:36.974364+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_chswitch_done (err -22)
2026-05-17T16:17:36.974364+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol cfg80211_bss_iter
2026-05-17T16:17:36.974364+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol cfg80211_bss_iter (err -22)
2026-05-17T16:17:36.974365+02:00 FRPA1-0222 kernel: iwlmvm: disagrees about version of symbol ieee80211_unreserve_tid
2026-05-17T16:17:36.974365+02:00 FRPA1-0222 kernel: iwlmvm: Unknown symbol ieee80211_unreserve_tid (err -22)

As asked in comment, no backport of iwlwifi is installed. Wifi works straight just in booting in 7.0.0-14 kernel.

dkms status:

digimend/13, 7.0.0-15-generic, x86_64: installed
evdi/1.14.15+dfsg, 6.17.0-29-generic, x86_64: installed (Built modules are missing in the kernel modules folder)
evdi/1.14.15+dfsg, 7.0.0-15-generic, x86_64: installed
ipt-netflow/2.6, 6.17.0-29-generic, x86_64: installed (Built modules are missing in the kernel modules folder)
ipt-netflow/2.6, 7.0.0-15-generic, x86_64: installed
apt list --installed | grep "iwl\|backport"
linux-main-modules-iwlwifi-7.0.0-15-generic/resolute-updates,now 7.0.0-15.15+1 amd64 [installed, automatic]
linux-modules-iwlwifi-generic/resolute-updates,now 7.0.0-15.15+1 amd64 [installed]

I can exclude issue with other part of the Wifi stack: plugging in an USB wifi card raise the connection instantly (driver of my other wifi card is rtl8xxxu, works on both 7.0.0-14 and 7.0.0-15)

I didn't find any questions / comments yet. Did someone encounter the same issue? What can I report to help?

Home and End keys of Logitech G213 keyboard not working after Kubuntu 26.04 upgrade https://askubuntu.com/questions/1566876/home-and-end-keys-of-logitech-g213-keyboard-not-working-after-kubuntu-26-04-upgr

My Home, End, and right-shift keys did not work on upgrade to Kubuntu 26.04 - the upgrade was performed in-place, using do-release-upgrade.

I tried some basic troubleshooting resulting in sudo apt install of libinput-tools, and --reinstall was done for udev and for kglobalacceld. KDE's keyboard configuration was set to 105 key international PC keyboard, using the GB layout.

Running sudo libinput debug-events --verbose 2>/dev/null showed spurious output for Home, appearing to have the sequence for Delete at the start.

How do I fix my G213 Logitech keyboard so that it's keys do the right thing?

Edit: Output of libinput debugging when pressing Home, End, and each Shift key:

$ sudo libinput debug-events /dev/input/event2 
-event2   DEVICE_ADDED                 Logitech Gaming Keyboard G213     seat0 default group1  cap:k event2
+2.710s  KEY_HOME (102) pressed ^[[3~ event2   
+2.904s     KEY_HOME (102) released event2   
+4.167s  KEY_END (107) pressed event2   
+4.377s  KEY_END (107) released event2   
+6.107s  *** (-1) pressed event2   
+6.303s  *** (-1) released event2   KEYBOARD_KEY                 
+7.581s  *** (-1) pressed event2   KEYBOARD_KEY                 
+7.776s  *** (-1) released event2   KEYBOARD_KEY                     
+10.557s *** (-1) pressed event2   KEYBOARD_KEY                 
+10.739s *** (-1) released event2   KEYBOARD_KEY
+14.018s KEY_END (107) pressed event2   KEYBOARD_KEY                 
+14.172s KEY_END (107) released event2   KEYBOARD_KEY                 
+16.115s KEY_HOME (102) pressed ^[[3~ event2   KEYBOARD_KEY                 
+16.260s    KEY_HOME (102) released event2   KEYBOARD_KEY                 
+20.205s KEY_HOME (102) pressed ^[[3~ event2   KEYBOARD_KEY                 
+20.350s    KEY_HOME (102) released
Question about `ath12k` driver error with Qualcomm QCN9274 chipset: qmi failed to load board data file:-2 https://askubuntu.com/questions/1566799/question-about-ath12k-driver-error-with-qualcomm-qcn9274-chipset-qmi-failed-t

I am trying to use a Qualcomm QCN9274 (Compex WLE7002E25) Wi-Fi card on my x86 machine, but it's not working with the ath12k driver.

I am using the official board-2.bin from the upstream repository here.

[  954.894565] ath12k_pci 0000:01:00.0: BAR 0 [mem 0x80400000-0x805fffff 64bit]: assigned
[  954.894706] ath12k_pci 0000:01:00.0: MSI vectors: 16
[  954.894709] ath12k_pci 0000:01:00.0: Hardware name: qcn9274 hw2.0
[  955.593136] ath12k_pci 0000:01:00.0: qmi dma allocation failed (29360128 B type 1), will try later with small size
[  955.606921] ath12k_pci 0000:01:00.0: memory type 10 not supported
[  955.612535] ath12k_pci 0000:01:00.0: chip_id 0x0 chip_family 0xb board_id 0x101a soc_id 0x401a2200
[  955.612548] ath12k_pci 0000:01:00.0: fw_version 0x141580c7 fw_build_timestamp 2024-11-11 11:03 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1
[  955.635702] ath12k_pci 0000:01:00.0: failed to fetch board data for bus=pci,qmi-chip-id=0,qmi-board-id=4122 from ath12k/QCN9274/hw2.0/board-2.bin
[  955.635707] ath12k_pci 0000:01:00.0: failed to fetch board data for bus=pci,qmi-chip-id=0,qmi-board-id=255 from ath12k/QCN9274/hw2.0/board-2.bin
[  955.635709] ath12k_pci 0000:01:00.0: failed to fetch board.bin from QCN9274/hw2.0
[  955.635711] ath12k_pci 0000:01:00.0: qmi failed to load bdf:
[  955.635712] ath12k_pci 0000:01:00.0: qmi failed to load board data file:-2

jack@jack-pc:~$ uname -a
Linux jack-pc 6.8.0-111-generic #111~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 14 17:13:45 UTC  x86_64 x86_64 x86_64 GNU/Linux

Does anyone know what the problem is?

My first experience on Kubuntu 26.04 is in a bad situation https://askubuntu.com/questions/1566794/my-first-experience-on-kubuntu-26-04-is-in-a-bad-situation

I've been encountering plenty of problems in Kubuntu 26.04 that won't let me use my PC normally:

  1. Translucently and wobble window effects get reapplied after each reboot without my consent.

  2. Chrome on xorg with using the built-in classic option from appearance aka colors, the title bar buttons disappear when I try to type on the address bar.

  3. Plymouth animation appears during transition from sddm to desktop (I have selected None as a transition).

  4. The locale on the time widget in taskbar rejects any effort to be changed and still uses the Greek time format ΠΜ, ΜΜ, When I clearly set it to American am pm. I use Greek only for the keyboard.

I have to note that I also use klassy. I seriously need to find a solution because the name implies LTS and I am disappointed.

I am using plasma 6.6.4. just upgraded.

Ubuntu 24.04.4 LTS, internet, bluetooth, speaker connection, and more disappeared. Some essential files might be missing https://askubuntu.com/questions/1566739/ubuntu-24-04-4-lts-internet-bluetooth-speaker-connection-and-more-disappeare

I have an Acer Aspire A715-72G laptop from 2018 with Ubuntu 24.04.4 LTS as its operating system. I made the switch to Ubuntu a few months ago and everything has been working fine until today. I have also been keeping mostly up-to-date with driver updates and such.

Upon turning on my laptop I noticed the touchpad is not working. When opening my browser I also noticed that there was no wifi connection either. It turns out, that WiFi, Bluetooth, speakers, touchpad, and potentially more, are not working. When opening the WiFi settings it said that no WiFi adapter was connected. The WiFi settings tab disappeared when I switched to a different setting and I cannot access it anymore. A tethered connection with my phone and a Ethernet connection both did not work. I tried the following steps to fix it:

  1. I checked the systemd-networkd status and it originally said inactive (dead), but I got it to start running again.
  2. I checked if there is an IP, and there is.
  3. I tried setting up an Ethernet connection with no success. That is when I noticed something strange: When I accessed the etc directory, and then the netplan directory, there was no 01-netcfg.yaml file. I have little experience with computers, but I gathered from research that this file should have existed.
  4. I tried, with help from a friend, setting up that file and applying it, but it did not fix the problem.

I tried fixing the internet connection first to check if there were driver updates I neglected to install. The strange thing is also that some settings have disappeared. The Quick Settings menu only shows the power mode setting and the theme. In the Network settings, it only gives me access to the VPN setup and the proxy settings. Audio settings do not show my device's speakers.

I suspect that there are more essential files missing like the one I described above, however I don't know how to check that. I have no idea why those files would've been deleted since all I did was turn the laptop off last night and power it back on today. I only use it for university-related tasks, such as accessing our online platforms, using git, etc. and have not accessed any unknown links or potentially dangerous websites. I am not excluding it being a hardware issue, though I cannot explain why it would suddenly have so many issues despite always being handled with care.

Does anyone have an Idea of how this could be fixed, or what the root cause might be?

Duplicate cursors are appearing when taking screenshots or attaching a second monitor https://askubuntu.com/questions/1566663/duplicate-cursors-are-appearing-when-taking-screenshots-or-attaching-a-second-mo

I have a Gigabyte g5 kc laptop with an Intel Core i5 10500H and a laptop Nividia RTX3060 running Ubuntu 24.04.4.

When I take a screenshot there is a high chance that my cursor gets deposited on the screen where it was at the time of taking the screenshot and sometimes when attaching a second monitor. These cursors persist above everything until I restart sometimes they are displayed over the shutdown screen. They are also not just static images as they can react to what the current mouse is doing changing to click sprite or typing sprite. I say chance because it doesn't happen every time with screenshots. It's consistently around 50%. As for connecting a second monitor I only just noticed that happening today, so I do not know the percentage of that.

Cursor Gif

I don't think it is the graphics driver, as I changed it and the issue persisted. It also persisted whether I was on Wayland or Xorg. I also tried a bunch of screenshot tools the standard Ubuntu screenshot, GNOME Screenshot and Flameshot to name a few and they all do it.

apt-offline fails to download requested upgrade files https://askubuntu.com/questions/1566658/apt-offline-fails-to-download-requested-upgrade-files

Background: I am trying to revive a neglected 22.04.4 Ubuntu (Lubuntu, actually) machine that lost its network connectivity, presumably due to an upgrade effecting its Realtek PCIe Gbe network card. That's a common problem, lots of traffic on it. The solution is to downgrade the kernel, or, in my case, probably to upgrade it (most of the solutions written about it were written before there was a widely available patch). The only prior kernel patch I had available (I forget the number) failed to resolve the problem.

I am running apt-offline 1.8.5 on both the online and offline machines.

My problem isn't about the offline machine, but someone is bound to ask. The offline machine a dual boot machine. The network card works fine in Windows, and it also works fine when I boot off a live USB running 24.04, although that may be a generic driver. I'm assuming the problem's been fixed in the past two years.

The best solution seems to be apt-offline. The offline machine generates an update sig just fine, the online machine reads the update sig without issue, downloads a bunch of files and generates the desired update data. The offline machine reads the update data just fine and throws an appropriate number of green messages to the screen saying it has synced various sources. Producing the upgrade sig also looks like it proceeds normally.

The trouble comes when I try to get the data requested by the upgrade sig using the online machine. It cannot access a single file. Every one of them fails with a 403 Forbidden. The machine is connected. I am using it to write this message. It can get to the repos, because I have gone through the cycle s a few times with different options, and it can always get the upDATE information, just never the upGRADE information.

I took a look in in the upgrade sig file, copied all the source URLs into an HTML doc, and used a browser to download all of them (I was tired enough to give up on thinking but not tired enough to give up, so I just right clicked on all 320 odd links and downloaded them). Not a single one failed. It really doesn't look like a permissions issue. The URLs are reachable from the online machine and active. The file sizes are all correct.

I tried setting the cache to the folder I dumped the files to, but some of them (about 60) had names that were different from the downloaded basename and failed. The other 260 or so were zipped up into the target file successfully. I parsed the signature file and renamed all those files with basenames different from their handles in the sig file, but that had no effect (I suspect when the two names in the sig file are different, it uses some combination of the two, but includes only the basename in the verbose error messages, not what is is looking for in the cache).

The simplest thing is to figure out what's going on with the apt-offline download of the upgrade files, instead of trying to hack around it.

The command I used is:
sudo apt-offline get upgrade.sig --threads 5 --bundle upgrade.zip --verbose

A snippet (every single file looks like this) of the verbose output is (I reran it with --threads 1 to stop interleaved messages):

ERROR: Failed to download libatomic1                                                                                        
VERBOSE: Item before split is: 'http://security.ubuntu.com/ubuntu/pool/main/g/gcc-12/libquadmath0_12.3.0-1ubuntu1%7e22.04.3_amd64.deb' libquadmath0_12.3.0-1ubuntu1~22.04.3_amd64.deb 153976 MD5Sum:81479a10a57088dc284c55cbe3a96515                    
                                                                                                                            
VERBOSE: Item after split is: 'http://security.ubuntu.com/ubuntu/pool/main/g/gcc-12/libquadmath0_12.3.0-1ubuntu1%7e22.04.3_amd64.deb' libquadmath0_12.3.0-1ubuntu1~22.04.3_amd64.deb 153976 MD5Sum:81479a10a57088dc284c55cbe3a96515                     
                                                                                                                            
VERBOSE: Stripped item URL is: http://security.ubuntu.com/ubuntu/pool/main/g/gcc-12/libquadmath0_12.3.0-1ubuntu1%7e22.04.3_amd64.deb                                                                                                                    
VERBOSE: Stripped item FILE is: libquadmath0_12.3.0-1ubuntu1~22.04.3_amd64.deb                                              
VERBOSE: Stripped item SIZE is: 153976                                                                                      
VERBOSE: Stripped item CHECKSUM is: MD5Sum:81479a10a57088dc284c55cbe3a96515                                                 
VERBOSE: Thread is Thread-1 (run)                                                                                           
Downloading libquadmath0 - 150 KiB                                                                                          
VERBOSE: http://security.ubuntu.com/ubuntu/pool/main/g/gcc-12/libquadmath0_12.3.0-1ubuntu1%7e22.04.3_amd64.deb - 403 - Forbidden                                                                                                                        
VERBOSE: Will still try with other package uris                                                                             
ERROR: Failed to download libquadmath0               

The procedure I used seemed straightforward, taken straight from many examples. I might be missing something super simple. I do the update and upgrade in separate steps, specifically to avoid the desynchronization issue I've seen mentioned. Obviously, I am copying the files between computers on a USB after each step.

On offline machine: sudo apt-offline set update.sig --update
On online machine: sudo apt-offline get update.sig --threads 5 --bundle update.zip
On offline machine: sudo apt-offline install update.zip
On offline machine: sudo apt-offline set upgrade.sig --upgrade
On online machine: sudo apt-offline get upgrade.sig --thread5 --bundle upgrade.zip

That last line is where it fails, and fails on every single file. The file upgrade.zip is empty (size 0). When I use the manually downloaded results to build a cache, I'm pretty sure it has data, but I don't think a partial update is a great idea.

What is the current state of Ubuntu MATE 26.04? https://askubuntu.com/questions/1566241/what-is-the-current-state-of-ubuntu-mate-26-04

No LTS by Ubuntu-Mate, no hesitation, please only indicate the current state. I would prefer it would be going on.

How to robustly connect to Android phone with KDEConnect/GSConnect when travelling between different networks, just like Apple ecosystem? https://askubuntu.com/questions/1565782/how-to-robustly-connect-to-android-phone-with-kdeconnect-gsconnect-when-travelli

I use KDE Connect between my phone and laptop on my University WiFi. Very often, the IP address changes and the connection stops working. I have to manually find the IP of the computer with the command ip address and put it in my phone and connect manually. The same thing happens when I connect to a different network.

Is there any way to automate the connection process? AFAIK know Apple's computers have some robust connection procedure with iOS devices.

I want to be able to do this for multiple computers with the same phone.

No sound from snap Thunderbird on new Ubuntu installation https://askubuntu.com/questions/1565628/no-sound-from-snap-thunderbird-on-new-ubuntu-installation

I had to reinstall Ubuntu 24.04 LTS on my Dell Latitude 5510, and all is well except that Thunderbird does not play any sound. Prior to reinstall it worked well, and I was notified when a new mail arrived.

ALSA works well (verified by using aplay to play sound files), and all other GUI apps with sound are working.

I have tried to connect the Thunderbird snap to ALSA:

sudo snap connect thunderbird:alsa
[sudo] password for bernt:
error: snap "thunderbird" has no plug named "alsa"

So that was not the thing to do.

Anyone?

After the latest Ubuntu Desktop 25.10 update, crashing and displaying a "kernel panic" message https://askubuntu.com/questions/1563306/after-the-latest-ubuntu-desktop-25-10-update-crashing-and-displaying-a-kernel

After the latest Ubuntu Desktop 25.10 update, my Lenovo IdealPad 1 started crashing and displaying a "kernel panic" message.

Kernel log with journalctl -k -p err:

Jan 26 22:07:14 ubuntu kernel: ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.GP17.VGA._STA], AE_ALREADY_EXIST>
Jan 26 22:07:14 ubuntu kernel: ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20240827/psobject-220)
Jan 26 22:07:14 ubuntu kernel: hub 6-0:1.0: config failed, hub doesn't have any ports! (err -19)
Jan 26 22:07:15 ubuntu kernel: lenovo_wmi_hotkey_utilities CE6C0974-0407-4F50-88BA-4FC3B6559AD8: probe with driver lenovo_wmi_h>
Jan 26 22:07:15 ubuntu kernel: i2c i2c-2: SMBus Timeout!
Jan 26 22:07:15 ubuntu kernel: i2c i2c-2: Failed reset at end of transaction (01)
Jan 26 22:07:15 ubuntu kernel: i2c i2c-2: Failed! (01)
Jan 26 22:07:46 ubuntu kernel: xhci_hcd 0000:04:00.0: xHCI host controller not responding, assume dead
Jan 26 22:07:46 ubuntu kernel: xhci_hcd 0000:04:00.0: HC died; cleaning up

I've already tried formatting, but it freezes before that.


8/4/2026

For a while, I used another machine, updating it gradually.

I performed many tests and several formatting processes on almost all the versions mentioned above.

I would like to present some details to the teams for future improvements and integrity checks. I will send more details to Lenovo to avoid exposing sensitive data here:

First, I tried running Memtest and initially it showed a GRUB error. I had to format, reconfigure the BIOS, and reinstall everything until I succeeded. After more than 15 tests, the process passed with Memtest. I reconfigured the BIOS and turned on the computer. I have updated the system about 3 more times since then.

Now, the problem only occurs when I turn on the PC. The same kernel error message appears, I restart, and it works. I left the computer on for more than 24 hours and I am using it; the problem only occurs when it shuts down and turns on again.

However, Memtest shows a machine with less than 6 GB of DDR4 RAM, while the PC model has 8 GB and soldered DDR5.

It could be a bug, I don't know yet, or a counterfeit.

Okay, it's usable, but the problem hasn't been solved yet.


19/5/2026

After several updates and a detailed analysis of the logs, the problem appears to be related to two factors: keeping the machine settings in performance mode (BIOS and OS) and disabling the security center in the apps that cause the error during use. Still under observation and testing.

df shows dm-uuid instead of /dev/mapper https://askubuntu.com/questions/1559306/df-shows-dm-uuid-instead-of-dev-mapper

Ubuntu TLS 24.04.3. Using df all of the filesystems except /usr show /dev/mapper/vg_root-lv..; /usr shows /dev/disk/by-id/dm-uuid-LVM-HpclzdbfvlleSS0aQI85ZzJQLBWB0kAUbKUaYbbzqfTcOcBp9evoFYRJuFz0Sqr0.

Partial output of df -h:

/dev/mapper/vg_root-lv_root                                                     
               15G  3.2G   11G  23% /                                           
/dev/disk/by-id/dm-uuid-LVM-HpclzdbfvlleSS0aQI85ZzJQLBWB0kAUbKUaYbbzqfTcOcBp9evo
FYRJuFz0Sqr0  4.9G  2.3G  2.4G  49% /usr 

Maybe not a big deal, but it makes the output of df difficult to read.

  • Has anyone else run into this before?
  • Is there a fix?

Thank you

How do I remap mouse left click to mouse scroll wheel? https://askubuntu.com/questions/1554270/how-do-i-remap-mouse-left-click-to-mouse-scroll-wheel

I tried input-remapper, but it was inconsistent. It did both scrolling and clicking, and it did not work when I scrolled the wheel faster.

How do I get the mouse wheel to do left clicking even when spinning fast?

24.04 Fresh Install "Invalid Partition Table"at Startup https://askubuntu.com/questions/1532686/24-04-fresh-install-invalid-partition-tableat-startup

Fresh Ubuntu install, get invalid partition Table at start. If I press enter, or F2, Ubuntu starts O K. Boot option list= Legacy,Advanced Boot Options= Enable Legacy Option ROMS, is enabled. Secure boot off. SSD is MBR. Any thoughts? Dell Latitude E6540

Continued issue with kex_exchange_identification: Connection closed by remote host https://askubuntu.com/questions/1413264/continued-issue-with-kex-exchange-identification-connection-closed-by-remote-ho

I've recently set up an ubuntu server on an old Dell Optiplex. I can remote in via ssh when on the same network. However, when I try to ssh in from a different network using the public IP, I get the following error:

kex_exchange_identification: Connection closed by remote host

I have searched this error on this forum as well as many others and have tried many different ways to fix this error, but nothing has worked so far. I have port forwarded to the server's static IP, I've allowed OpenSSH and opened port 22 on my server through UFW, and I've set up a VPN that connects my computer to my network. None of these have worked so far.

What am I doing wrong? If anyone has any other ideas that I could try, or anything that I should quadruple check that would be fantastic. Thanks so much.

How to enable telnet server https://askubuntu.com/questions/1068229/how-to-enable-telnet-server

I followed these instructions to install xinetd and telnetd but when doing telnet localhost or telnet localhost 23, getting unable to connect to remote host: connection refused. I also shut down firewall: sudo ufw disable.

When doing sudo /etc/init.d/xinetd status I get active (running)

I can do telnet to the internet e.g. telnet google.com 80 (I know this is telnet client)

More information: version 18.04.1 TLS, running on Oracle VM VirtualBox.

Disable dedicated Nvidia graphics card https://askubuntu.com/questions/1054579/disable-dedicated-nvidia-graphics-card

I have a laptop (Schenker S403) and installed Kubuntu 18.04. Previously I had 17.10 with no problems. I disabled the graphics card in the NVidia-x-server-settings.

Now my laptop runs hot and the fan spins nonstop although I also disabled it in the new installation (no upgrade but a totally new installation). Investigating I found and did some stuff:

  • My CPU governor is on powersafe on AC and DC.
  • I have tlp up and running.
  • prime-select query: intel
  • Nvidia X Server Settings shows Intel as the choice (power saving mode).

...but:

 nopinger@my-laptop ~ lspci
+00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
03:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
04:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 745M] (rev a1)

So there seems to be a problem, because the 3D controller is still NVIDIA stuff And really, PowerTOP shows a 100% usage of the graphics card:

100,0%        PCI-Gerät: NVIDIA Corporation GK107M [GeForce GT 745M]

How can I totally disable this stuff? It drains my battery and the fan is too noisy because of it.

The only useful answer I found is: How can I uninstall a nvidia driver completely ?

And it is quite old, nvidia-common doesn't exist anymore.

Update 1:

I did the following things:

nopinger@my-laptop ~ cat /etc/modprobe.d/blacklist.conf | grep nouveau
blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off

then updated (sudo update-initramfs -u)

  • updated grub to:
nopinger@my-laptop ~ cat /etc/default/grub | grep nouveau
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.runpm=0 nouveau.modeset=0"

then updated grub with sudo update-grub .

  • rebooted

Result:

  • Powertop show no change, the card has a 100% usage.
  • 3D Controller is also unchanged.

I don't understand how it is still working in a way.

Spd-say does not pronounce the argument https://askubuntu.com/questions/1041570/spd-say-does-not-pronounce-the-argument

I've written a script and the first part does not work:

#!/bin/bash
spd-say "What do you want?"
read a
if [ "$a" == "water" ] || [ "$a" == "Water" ]
then
spd-say "Take the bottle."
else 
spd-say "Sorry, we don't have water, choose something else."
fi

spd-say "Please pay the money."
read b
if [ "$b" == "yes" ] || [ "$b" == "Yes" ]
then
spd-say "Thanks."
else
spd-say "Sorry!"
fi

When i execute the code the first part asks the question but regardless of my answer it skips to the second question, while the second part after "Pay the money" works well. I don't know why, but the structure of both parts is the same. Can anyone help?