using sed to fix up HTML oversight https://askubuntu.com/questions/1568456/using-sed-to-fix-up-html-oversight

I'm using the following command to update HTML files

sed -e "s/SRC=\([A-Za-z0-9.\/_-]*\)/SRC=\"\1\" /gi"

I'm having trouble adding + and & to the above as valid filename/path characters. My best understanding is that these special characters need to be escaped, like so:

sed -e "s/SRC=\([A-Za-z0-9.\/_-\+\&]*\)/SRC=\"\1\" /gi"

but I suspect the added bash command line complexity has me stimied. TIA.

Suspension and Power Off problem in Kubuntu 26.04 LTS - Lenovo Ideapad Slim 3 15ARP10 https://askubuntu.com/questions/1568453/suspension-and-power-off-problem-in-kubuntu-26-04-lts-lenovo-ideapad-slim-3-15

After installing Kubuntu 26.04 on my Slim 3 with Ryzen 7 7735HS, i noticed that sometimes my machine wont wake up from suspension, it acts like it is suspended, with external devices RGB off and with the power button blinking as it should. but when trying to resume by pressing any key or pressing the power button once, it wont wake up. I need to hold the power button until it turns off and then press it once to turn on again, and when this happens the battery protection mode always turns off and i need to turn it back on. I made a post about that here before, and a suggestion was made by someone for me to update my BIOS. I did it through a HirensBoot formated with ventoy, since it was my only option (i dont have windows and the only installation media available is an .exe file on the lenovo site). Was pretty confident that this was going to solve my problem, but it persisted and now, a few days after the update, my computer wont turn off most of the time. In that state, everything looks exactly like when my computer is powered off: Black screen, no rgb in external devices, but the power button glows white as it does when the computer is on. And my battery drains somewhat fast (drained about 80 percent after one night and one morning). Can someone please help me with those problems??

kernel 6.17.0-40 issues https://askubuntu.com/questions/1568450/kernel-6-17-0-40-issues

My professional laptop Dell Precision is under Noble 24.04 installed after delivery (delivered under Jammy).

I am french so I used fr (bepo) keyboard layout.

I stay with X11 to use Gimp, have no issue with web-conferencing app …

Early may

I still had kernel update (6.17.0-22) that switched me under wayland and qwerty keyboard layout, I run in CLI: setxkbmap fr bepo that returns me: WARNING: Running setxkbmap against an Xwayland server, I swithed back to kernel 6.17.0-20 and X11.

This morning (17th jully)

After a first use, my laptop locked up after being idle for a while, then when I entered my password, I can't connect… it switched to qwerty. I also connect to the docking station to have external screen, but it stayed black, no external screen detected in display parameters. I had no more wifi connection, I should connect by cable.

I didn't find under grub connection to switch back to X11, so I switched in /etc/gdm3/custom.conf the WaylandEnable=false, but if I switch with success to X11, I still had no wifi, external screen.

grub update failing- kernel installation error [closed] https://askubuntu.com/questions/1568448/grub-update-failing-kernel-installation-error

Tried to redo the kernel installation, but fails using sudo apt upgrade -y. Had to rewrite initrd configuration before update-grub. Could you kindly check right now.

issue with screen resolution after software update https://askubuntu.com/questions/1568442/issue-with-screen-resolution-after-software-update

I've recently updated my system through the "Software Updater" app.

After restarting the system the screen resolution was wrong, much smaller than expected and if I look among the Settings I am not able to choose any other screen resolution.

Previously, I was able to solve it by playing around with the settings in the "Software & Updates" app (NB: which is different from "Software Updater").
Apparently, Canonical has decided to remove it from newest versions of Ubuntu (see more: https://www.omgubuntu.co.uk/2026/02/ubuntu-26-04-drops-software-and-updates-gui).

---

After looking around on the internet I followed some instructions:

  • I ran the cmmand ubuntu-drivers devices of which the below is the response from the terminal:
== /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0 ==
modalias : pci:v000010DEd00003893sv00001327sd0000413Bbc03sc00i00
vendor   : NVIDIA Corporation
model    : AD104 [GeForce RTX 4070 SUPER]
driver   : nvidia-driver-595-server-open - distro non-free
driver   : nvidia-driver-595 - distro non-free
driver   : nvidia-driver-580-server-open - distro non-free
driver   : nvidia-driver-595-server - distro non-free
driver   : nvidia-driver-580 - distro non-free
driver   : nvidia-driver-580-server - distro non-free
driver   : nvidia-driver-580-open - distro non-free
driver   : nvidia-driver-595-open - distro non-free recommended
driver   : xserver-xorg-video-nouveau - distro free builtin
  • I followed the instructions to install the recommended driver: sudo apt install nvidia-driver-595-open which returned the following response: nvidia-driver-595-open is already the newest version (595.71.05-0ubuntu0.26.04.1)

  • After rebooting the system, the problem persists

What else can I do to solve the problem?

Ubuntu cloud image ~200-300 Mbps vs RHEL ~8 Gbps on identical OpenStack host (virtio-net, RHOSP 17.1) [closed] https://askubuntu.com/questions/1568441/ubuntu-cloud-image-200-300-mbps-vs-rhel-8-gbps-on-identical-openstack-host-vi

Environment:

Red Hat OpenStack Platform 17.1 (OVN networking) Compute host: Broadcom NIC (bnxt_en driver), 25 GbE bonded uplinks Same host, same tenant network, same flavor — only the guest image differs

Problem: A VM booted from an Ubuntu cloud image gets only ~200-300 Mbps upload/download. A VM booted from a RHEL image on the same host and network gets ~8 Gbps. Roughly a 30x difference attributable solely to the guest image. Testing method: Multi-stream iperf3 (8 parallel streams), VM-to-VM. Platform capacity independently confirmed at multi-Gbps, so this is isolated to the Ubuntu guest. What I've already verified:

Network QoS policy allows 2 Gbps+ (not the limit) Physical NIC is 25 GbE with clean counters MTU is correct (1500 guest / geneve overlay) RHEL guest on the same host hits ~8 Gbps, so host/fabric is fine.

Question: What differs in the Ubuntu cloud image's default network configuration (virtio multiqueue, offload settings, driver/kernel) that would cause this large a throughput gap versus RHEL on the same virtio-net platform?

Apparmor interferes with CUPS PDF print https://askubuntu.com/questions/1568439/apparmor-interferes-with-cups-pdf-print

Could the issue be something other than apparmor? A 24.04 system on the same network gives the same DENIED type messages but, the print to PDF happens.

Using 26.04. CUPS print to PDF is working when the originator of the file is on the 26.04 system. The CUPS PDF print is shared with other systems in my local area network. At attempt print to PDF from an XP system in my local area network is failing. The system log contains a few lines such as this

2026-07-16T21:23:36.032922-05:00 localhost kernel: audit: type=1400 audit(1784255016.031:150402): apparmor="DENIED" operation="connect" class="file" profile="/usr/lib/cups/backend/cups-pdf" name="/run/samba/winbindd/pipe" pid=1158626 comm="cups-pdf" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0

Due to the presence of an XP system in my local area network, winbind is installed.

I've got rid of the above message from syslog by disabling apparmor with regard to cupsd (I think) but messages about dbus-daemon persist, an example is:

2026-07-17T10:06:37.333138-05:00 localhost kernel: audit: type=1107 audit(1784300797.331:152868): pid=1310 uid=995 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/com/redhat/PrinterSpooler" interface="com.redhat.PrinterSpooler" member="JobQueuedLocal" name=":1.8991" mask="receive" pid=349875 label="unconfined" peer_pid=1168372 peer_label="/usr/sbin/cupsd" peer_info="No such file or directory"

What do I need to change so that this works?

Chipset AIC8800D80 driver wifi ax900+bt5.4 https://askubuntu.com/questions/1568438/chipset-aic8800d80-driver-wifi-ax900bt5-4

I installed Ubuntu 24.04 on a PC that has a USB WiFi dongle. It uses the chipset

   idVendor 0xa69c
   idProduct 0x8d80

Ubuntu doesn't recognize it. It has an .exe driver in a partition inside the dongle.

I had to connect my PC through eth and install.

sudo apt install -y git build-essential dkms linux-headers-$(uname -r)

and then run a script that I downloaded from https://github.com/shenmintao/aic8800d80/blob/main/INSTALL_SCRIPT.md

I was wondering if you guys could add this driver in the next update.

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
nautilus is not showing my home directory contents https://askubuntu.com/questions/1568429/nautilus-is-not-showing-my-home-directory-contents

Up until couple of days ago, everything was honky-dory. Went thru few firmware updates using firmware-updater GUI, and reboot every time I was asked to earlier today. I am not sure if what is happening is tied to that action. I'm on Version 24.04 When I open nutil;us, all I see is a snap folder. When I launch terminal, I can see all my files but in nautilus only a snap folder. Any other link from the left panel, i.e., downloads, Documents, Music etc is giving me "Oops, something went wrong" message but displaying the correct path under it and said path is accessible and has the ownership of my user all throughout as I see it in my terminal. I used to be a Unix/Linux sysadmin back in the day but later switched to infosec and retired few years back. I can still find my way around bash but these GUI crap is all nonsense to me.

Error message about namespaces in Steam https://askubuntu.com/questions/1568428/error-message-about-namespaces-in-steam

I am getting this error message now when I try to use Steam,

Steam now requires user namespaces to be enabled.

This requirement is the same as for Flatpak, which has more detailed information available: https://github.com/flatpak/flatpak/wiki/User-namespace-requirements

The documentation on GitHub may as well be in Martian.

I am running Ubuntu 24.04.4 LTS, all up to date, on a Lenovo V15 G4 ABP. Steam is installed via the App Center.

This is set: kernel.apparmor_restrict_unprivileged_userns = 1

do-release-upgrade kernel complile failure [duplicate] https://askubuntu.com/questions/1568419/do-release-upgrade-kernel-complile-failure

Resolved

sudo apt update output:

 Hit:1 http://us.archive.ubuntu.com/ubuntu resolute InRelease
 Get:2 http://us.archive.ubuntu.com/ubuntu resolute-updates InRelease [137 kB]
 Hit:3 http://security.ubuntu.com/ubuntu resolute-security InRelease
 Hit:4 http://us.archive.ubuntu.com/ubuntu resolute-backports InRelease
 Get:5 http://us.archive.ubuntu.com/ubuntu resolute-updates/main amd64 Components [53.1 kB]
 Get:6 http://us.archive.ubuntu.com/ubuntu resolute-updates/universe amd64 Components [153 kB]
 Ign:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu resolute InRelease
 Err:8 https://ppa.launchpadcontent.net/ondrej/php/ubuntu resolute Release
   404  Not Found [IP: 185.125.189.188 443]
 Error: The repository 'https://ppa.launchpadcontent.net/ondrej/php/ubuntu resolute Release' does not have a Release file.
 Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
 Notice: See apt-secure(8) manpage for repository creation and user configuration details.

Build error:

Error! Bad return status for module build on kernel: 7.0.0-27-generic (X86-64)
contents of /var/lib/dkms/rtl8812au/4.3.6.12175.20140902+dfsg/build/make.log

 - DKMS (dkms-3.2.2) make.log for rtl8812au/4.3.8.12175.20140902+dfsg for kernel 7.0.0-27-generic (x86_64)
 - Thu Jul 16 08:45:19 AM EDT 2026
 - Building module(s)
 - '#' command: 'make' all KSRC=/lib/modules/7.0.0-27-generic/build KERNEL_VER=7.0.0-27-generic
 - make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/7.0.0-27-generic/build M=/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build  modules
 - make[1]: Entering directory '/usr/src/linux-headers-7.0.0-27-generic'
 - make[2]: Entering directory '/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build'
 - warning: the compiler differs from the one used to build the kernel
   - The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
   - You are using:           gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
 - warning: pahole version differs from the one used to build the kernel
   - The kernel was built with: 131
   - You are using:             0
   - CC [M]  core/rtw_cmd.o
 - core/rtw_cmd.c:22:10: fatal error: drv_types.h: No such file or directory
    - 22 | #include <drv_types.h>
       - |          ^~~~~~~~~~~~~
 - compilation terminated.
 - make[4]: *** [/usr/src/linux-headers-7.0.0-27-generic/scripts/Makefile.build:289: core/rtw_cmd.o] Error 1
 - make[3]: *** [/usr/src/linux-headers-7.0.0-27-generic/Makefile:2111: .]  - Error 2
 - make[2]: *** [/usr/src/linux-headers-7.0.0-27-generic/Makefile:248: __sub-make] 
- Error 2
 = make[2]: Leaving directory '/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build'
 - make[1]: *** [Makefile:248: __sub-make] Error 2
 - make[1]: Leaving directory '/usr/src/linux-headers-7.0.0-27-generic'
 - make: *** [Makefile:1457: modules] Error 2

 - '#' exit code: 2

Note: drv_types.h is in the source/include directory and Makefile includes the line 
 - EXTRA_CFLAGS += -I$(src)/include
Make Nautilus prompt for password to mount Windows share https://askubuntu.com/questions/1568414/make-nautilus-prompt-for-password-to-mount-windows-share

Is it possible to get Nautilus to prompt for a password when mounting a file-system that requires one, like how the mount command does, so I don't have to mount it separately from a command line first?

I have a Windows network share configured in /etc/fstab with:

//host/share /path/to/mount-point cifs user,username=Smylers@AD-DOMAIN.LOCAL 0 0

There's also an icon for it in the Gnome dock and an entry for it in the left column of Nautilus windows. Clicking either of those attempts to mount it without prompting for the required password, which obviously fails, giving an error message like:

Unable to access Password for (blurred): mount error(13): Permission denied. Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

At a command line I can do:

mount /path/to/share

and I get prompted for the Active Directory password required by the Windows server doing the sharing. When I provide that, I get access and can browse the location in Nautilus. (I get the same error as with Nautilus if I provide the wrong or no password.)

Can Nautilus be made to ask for the password, rather than trying to mount it without one, so I don't have to run the terminal command before clicking the icon? (Note I'm not interested in storing the password in a file or any method that mounts without being prompted for it. I want to have to enter it.)

This is using Ubuntu 24.04, with whichever versions of Nautilus and Gnome come with that.

Ubuntu 26.04 resolute sound crackling after upgrading to 26.04 https://askubuntu.com/questions/1568399/ubuntu-26-04-resolute-sound-crackling-after-upgrading-to-26-04

I write that here because I found the answer after looking for it.

I migrated from Ubuntu 25.10 to 26.04 just recently, and noticed quite quickly that the sound was crackling. At first I thought my jack was badly plugged, but I could not solve it physically. I searched several things.

Update available on the ubuntu firmware updater app but not showing an update button https://askubuntu.com/questions/1568393/update-available-on-the-ubuntu-firmware-updater-app-but-not-showing-an-update-bu

Image for referance

Hey guys. Im new to linux, and have built a new pc. Loving it so far, even if i dont understand a lot of stuff yet. Although everything works fine, it says that pretty much all my firmware is able to be updated. Id like to, but it doesnt seem to have a button like the images i have seen. Any help would be MUCH appreciated

nvidia driver not working after update https://askubuntu.com/questions/1567870/nvidia-driver-not-working-after-update

This subject has been around for a while but I think it needs an update. I have experienced the issue several times before and I have always been able to fix it by reinstalling the driver. However with a recent system update, no such luck.

My system is Ubuntu 22.04 with Kernel: 6.8.0-124-generic x86_64 bits, and a dual head graphics card NVIDIA GeForce GT 710. The correct driver is nvidia-driver-470.

The update installed the nvidia driver 535 which doesn't work. Attempts to install the 470 driver using apt install ignores the 470 driver and installs the 535 instead. I understand that this is because the 470 driver is no longer supported even though it is a common piece of hardware and is still available.

I was fortunate to discover after much gnashing of teeth that I could force the system to use a generic driver (Nouveau) by:

sudo apt purge "*nvidia*"

sudo apt autoremove --purge

sudo reboot

Then by going to Additional Drivers I found I could now select nvidia-driver-470 and install. Now things work again!

So my question is what exactly is going on? Also is it going to be safe to install future updates without breaking my system?

How can I override the sudo being used by ansible for a given host? https://askubuntu.com/questions/1566824/how-can-i-override-the-sudo-being-used-by-ansible-for-a-given-host

I have a number of hosts running Ubuntu in a lab managed by ansible. Ansible is used to upgrade and install specific deb and apt packages.

I've just upgraded one to 26.04 LTS. The upgrade caused a problem with ansible, triggered by the transition to sudo-rs.

How can I specify for a specific machine a different sudo executable; in this case, /usr/bin/sudo.ws?

Text-To-Speech for a Writer? https://askubuntu.com/questions/1566434/text-to-speech-for-a-writer

I'm on Ubuntu 24.04, I have installed rhvoice and speech-dispatcher, and this works fine from the command line.

My use case is that, as a writer, I want to be able to get the machine to read my text aloud to help check it. I used to use an online service but it's really expensive. I don't need Orca because I am not visually impaired and it would be overkill.

I write with Scrivener on WINE, so that's not going to integrate easily. I have tried getting LibreOffice to talk using the Read-Text extension but that's not working either (I have queried that on the LO forums because it's doing something truly weird).

My ideal would be being able to slap the text (a chapter at a time) into a text editor (for example) and have it read back (pausing would be great but a paragraph at a time would be acceptable).

So does anyone have any idea what I could use? Am I going the wrong way using speech-dispatcher even though standard APIs are good, right?

The speech output doesn't need to sound natural, in some ways it's better if it isn't for my purposes.

"kvm_amd CPU x isn't AMD or Hygon" at boot https://askubuntu.com/questions/1564432/kvm-amd-cpu-x-isnt-amd-or-hygon-at-boot

kvm_amd CPU x isn't AMD or Hygon?

This text appear early in the boot sequence.

Now this is not really causing any trouble, RIGHT NOW.
But I consider all similar messages to be a potential hazard to the stability of my machine.
Therefore I quite fiercely hunt them down, and "swat them out".
The more of these unwanted messages you have the greater potential for strange interference and malfunction.

These are apparently about virtualbox:
https://unix.stackexchange.com/questions/798132/why-and-how-were-kvm-modules-unexpectedly-enabled-in-ubuntu-24-04
KVM not supported shown in terminal while it is enabled

... but I have this on intel-based hardware,
an oldish i7-9750H-based Asus G731 laptop, with embedded GTX 1660 Ti.
NOTE: 6 cores+HT, so message does not appear for ALL cores(!?)
Virtualbox 7.2(?) IS installed though, but quite seldom used.

I have:
GRUB_CMDLINE_LINUX_DEFAULT= ... kvm.enable_virt_at_load=0
in /etc/default/grub

No go.


Another attempt to fix it:
$ sudo -i
# cat >/etc/modprobe.d/kvm.conf
blacklist kvm
blacklist kvm-amd
blacklist kvm-intel

CTRl+D

# update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-6.17.0-14-generic
...
# 

CTRl+D again

Reboot... I still get a black screen with these boot messages:

[    6.359851]
[   10.531179] kvm_amd: CPU 4 isn't AMD or Hygon
[   11.104935] kvm_amd: CPU 6 isn't AMD or Hygon
[   11.193682] kvm_amd: CPU 9 isn't AMD or Hygon
_

Still there:

[    6.479793]
[   10.253887] kvm_amd: CPU 9 isn't AMD or Hygon
[   10.901341] kvm_amd: CPU 3 isn't AMD or Hygon
[   10.987984] kvm_amd: CPU 5 isn't AMD or Hygon
_

Those CPU numbers appears to be somewhat random, another run: 0, 8 and 0 (yes, zero repeated) at around 10 seconds.

There has been some apt updates so now with:

$ uname -rv
6.17.0-29-generic #29~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon May 11 10:30:58 UTC 2

Does anyone have any more ideas on how to actually get rid of this?

I'm having trouble installing the Minecraft.deb file on Ubuntu25.10 and all distributions based on this version I'm getting a libgdk-pixbuf-2.0 error https://askubuntu.com/questions/1560741/im-having-trouble-installing-the-minecraft-deb-file-on-ubuntu25-10-and-all-dist

EN:My operating system: Ubuntu 25.10

The error message I received while installing the Minecraft.deb file:

The following packages have unmet dependencies:
  minecraft-launcher: Bağımlılıklar: libgdk-pixbuf2.0-0 (>= 2.22.0) but it is not installable

Please help.

TR:

İşletim sistemim:Ubuntu 25.10

Minecraft.deb dosyasını yüklerken aldığım hata mesajım :

The following packages have unmet dependencies:
  minecraft-launcher: Bağımlılıklar: libgdk-pixbuf2.0-0 (>= 2.22.0) but it is not installable

lütfen yardımcı olun. UPDATE:Now I use Kubuntu 25.10

Force Git to use customized .vimrc https://askubuntu.com/questions/1524070/force-git-to-use-customized-vimrc

After putting core.editor=vim to git's config is there a way to force git to launch vim with .vimrc other than $HOME/.vimrc? I mean I would like to have different settings for my day-to-day vim (which is $HOME/.vimrc) and other one for git tasks.

One can create aliases for all git commands (like git commit, git difftool) invoking vim. These aliases would, for example, launch external bash script that prepares everything, but it's not the way I would like to go for. Something I have in mind is:

  • Putting path to custom vimrc into ~/.gitconfig
  • Setting some variable similar to SSH OPTIONS

Is there something like that?

RDP Connection from windows to Ubuntu 24.04 LTS https://askubuntu.com/questions/1511923/rdp-connection-from-windows-to-ubuntu-24-04-lts

I am trying to connect through RDP from windows to Ubuntu 24.04, i am using remote desktop windows

enter image description here

rsync to Windows Server NTFS share always copies all files/folders https://askubuntu.com/questions/1414789/rsync-to-windows-server-ntfs-share-always-copies-all-files-folders

I am using rsync to backup a folder on my Lubuntu 20.04 host to an NTFS share on a Windows 2022 Server. The command below always copies every file and folder, despite the fact that no changes have been made:

rsync -av "/var/www/" "/media/server2022/web"

I've tried the options below, but it made no difference:

rsync -av --modify-window=1 "/var/www/" "/media/server2022/web"

rsync -av --modify-window=2 "/var/www/" "/media/server2022/web"

Any ideas for how I can sync only new or modified files/folders?

Pin messages to stay always on top with Thunderbird https://askubuntu.com/questions/1410513/pin-messages-to-stay-always-on-top-with-thunderbird

How can I make Thunderbird to pin selected emails to stay always on top?
I can't find this feature in Thunderbird, there is a pin icon but it looks like it only "keeps the filtering when changing folders", whose function is not too clear to me. Also, suggestions on this (and possibly other) add-ons are welcome.

How do I disable/remove Klipper in KDE Plamsa 5? https://askubuntu.com/questions/1380004/how-do-i-disable-remove-klipper-in-kde-plamsa-5

Klipper is frequently causing the system to hang on copy/paste actions. This is indicated by my taskbar being non-interactive on copy/paste. This will usually last for 10-30 seconds, or I will restart plasma through the terminal.

How do I disable/remove Klipper?

System Info:

Operating System: Kubuntu 21.10
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-22-generic (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2

Ubuntu won't boot on Asus Zenbook UX431 https://askubuntu.com/questions/1216468/ubuntu-wont-boot-on-asus-zenbook-ux431

Asus Zenbook UX431FA i5-8265U CPU, Integrated Intel UHD Graphics 620, Dual boot with windows 10

Ubuntu 18.04 LTS don't boot. I either get stuck on a blank purple screen, or right now, a blank purple screen flashes before going to a blank black screen. I got this laptop in August and still haven't figured out how to fix this. Replacing "quiet splash" with "nomodeset" or booting in recovery mode followed by safe graphics mode does allow it to boot, but then there are issues with display resolution which are bad enough to make certain windows unnavigable.

This problem has been posted and solved elsewhere, however they don't work for me or involve a Nvidia graphics cards which my laptop does not have. I have upgraded BIOS twice and neither time solved the problem. Entering dis_ucode_lds does nothing.

Ethernet connection is not showing in my ubuntu 14.04 https://askubuntu.com/questions/553605/ethernet-connection-is-not-showing-in-my-ubuntu-14-04

These are outputs of some useful commands:- May it helps...

1.-> ifconfig output-->

      lo        Link encap:Local Loopback  
      inet addr:127.0.0.1  Mask:255.0.0.0
      inet6 addr: ::1/128 Scope:Host
      UP LOOPBACK RUNNING  MTU:65536  Metric:1
      RX packets:9262 errors:0 dropped:0 overruns:0 frame:0
      TX packets:9262 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0 
      RX bytes:845156 (845.1 KB)  TX bytes:845156 (845.1 KB)

      wlan0     Link encap:Ethernet  HWaddr e0:ca:94:3e:ec:ef  
      inet addr:192.168.43.229  Bcast:192.168.43.255  Mask:255.255.255.0
      inet6 addr: fe80::e2ca:94ff:fe3e:ecef/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:223666 errors:0 dropped:0 overruns:0 frame:217706
      TX packets:180946 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:243037937 (243.0 MB)  TX bytes:16583971 (16.5 MB)
      Interrupt:16 
      (2).  cat /etc/nework/interfaces :->
      output--> # interfaces(5) file used by ifup(8) and ifdown(8)
      auto lo
      iface lo inet loopback

      (3). ifup eth0 :->
      output-->  Ignoring unknown interface eth0=eth0.

      (4) lspci -nn :->
      output--> 
       00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation CoreProcessor    
       Family DRAM Controller [8086:0104] (rev 09) 
       00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd   Generation      

     C ore Processor Family Integrated Graphics Controller [8086:0116] (rev 09)

     00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
     00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 04)
     00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04)
     00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b4)
     00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 04)
     00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49] (rev 04)
     00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 04)
     00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 04)
    01:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)

that it..

libEGL warning: DRI2: failed to authenticate https://askubuntu.com/questions/511076/libegl-warning-dri2-failed-to-authenticate

Trying to run a game & the game opens the closes right away & in the terminal it says "libEGL warning: DRI2: failed to authenticate"

I have searched for weeks trying to fix the problem. All I found is

  1. Ubuntu has a bug that has not been fixed yet?
  2. Nvidia drivers do not have DRI2 Support?

Anyone know how to fix this, Its driving me nuts. I have tried Nouveau drivers and I get even more libEGL warning errors

I am running Ubuntu 14.04

How do I install python through the terminal? https://askubuntu.com/questions/458061/how-do-i-install-python-through-the-terminal

I figured out my problem guys. I had to downlowd eclipse, and it ran through that. sudo apt-get install eclipse Sorry about my lack of info. :)

How to sort by row from terminal https://askubuntu.com/questions/447420/how-to-sort-by-row-from-terminal

I was looking at this question and I wondered if the following could be done from terminal. I did it in python, just want to see if it could be done from terminal, bash scripting or whatever.

Suppose I have a file that looks like so:

2,4,5,14,9
40,3,5,10,1

could it be sorted like so, by rows (lines)

2,4,5,9,14
1,3,5,10,40

or is it too complicated? I did it using python, I just want to know if it could be done so next time I might not use python. What I have done, is creating lists and sorting them.