With Ubuntu 26.04, running kernel 7.1.1, how do I enable use of the new NTFS driver? https://askubuntu.com/questions/1567859/with-ubuntu-26-04-running-kernel-7-1-1-how-do-i-enable-use-of-the-new-ntfs-dri

So far, every attempt to use the new NTFS driver results in my NTFS partitions being mounted with ntfs-3g. The new module is definitely there on my system:

modinfo ntfs

filename:       /lib/modules/7.1.1-070101-generic/kernel/fs/ntfs/ntfs.ko.zst  
license:        GPL  
description:    NTFS read-write filesystem driver  
author:         Namjae Jeon \<linkinjeon@kernel.org\>  
author:         Anton Altaparmakov \<anton@tuxera.com\>  
alias:          fs-ntfs  
srcversion:     091423F884CAF8508734076  
depends:          
intree:         Y  
name:           ntfs  
retpoline:      Y  
vermagic:       7.1.1-070101-generic SMP preempt mod_unload modversions   
sig_id:         PKCS#7  
signer:         Build time autogenerated kernel key  
sig_key:        1F:E1:EC:9E:F2:FC:21:B7:3E:FE:61:97:D8:19:B9:9F:82:7B:A2:97  
sig_hashalgo:   sha512

But this isn't working:

modprobe ntfs  
  
modprobe -R ntfs  
ntfs

mount -t ntfs /dev/sda1 /mnt/temp

mount -l | grep /dev/sda1  
/dev/sda1 on /mnt/temp type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096) \[Media\]
Legacy Nvidia drivers help https://askubuntu.com/questions/1567854/legacy-nvidia-drivers-help

I'm currently trying to install a Nvidia driver 390 on Ubuntu 24.04.4, but I have learned that it's not longer supported. I learned about the workaround with the kelebek333/nvidia-legacy repository, but apparently it's very buggy and sometimes will lead to a black screen and you have to purge the driver or something like that without entering the desktop.

I am not very experienced and I do not have enough confidence to do that. Is my only choice rolling back the Nvidia driver version or is there another workaround? My GPU is a GT540m and my kernel version is 6.17.

Lubuntu dual boot installation with hybrid EFI motherboard https://askubuntu.com/questions/1567852/lubuntu-dual-boot-installation-with-hybrid-efi-motherboard

I am trying to install Lubuntu 26.04 on an old computer, dual boot alongside Windows 10 on the same GPT SSD, however after a successful installation the computer boots into Windows. Grub does not appear, and I have no option to boot into Linux.

The motherboard is a Hybrid EFI Gigabyte 78LMT. Apparently it can make dual booting very tricky, but I lack the technical knowledge to understand details like these.

Specs:

  • Motherboard: Gigabyte GA-78LMT-USB3

  • CPU: AMD FX-8350 (8-core, 125W, AM3+)

  • RAM: 8GB DDR3 1600 MHz (2×4 GB Kingston HyperX)

  • GPU: AMD Radeon HD 7750 1GB GDDR5

I have tried this solution but boot-repair gives the following error:"The current session is in Bios-compatibility mode". I cannot setup the BIOS to boot USB in EFI mode, the option exists for CD/DVD only.

Unable to update, 1 of 2 HDs is full https://askubuntu.com/questions/1567851/unable-to-update-1-of-2-hds-is-full

I got a second 1TB SSD installed a while back because the standard 256GB SSD was getting filled up fast.

Now the OEM storage has no space left to complete the next required Ubuntu 26.04 update. It was then I realized that the second internal storage device has not been correctly mounted (if at all) as it is not visible, except that the BIOS can see it.

Before I got around to really looking into the issue, a bigger problem has occurred, that is when booting up the laptop, it won't finalize and go to the start/login page, but instead, just shows a blank screen (not totally pitch black though).

I've found that after and during a reboot, while holding down Ctrl+Windows+F3, a command terminal is brought up in order to log in, and thereafter for any further commands to be entered as needed.

From this point forward, is it possible to get that second internal storage device seen and usable via that now present ordinary looking terminal (with a blank screen background), bearing in mind that the information about the original main HD says it's 100% full.

Hard lockup when starting Cinnamon in fresh install of 26.04 https://askubuntu.com/questions/1567850/hard-lockup-when-starting-cinnamon-in-fresh-install-of-26-04

I freshly installed 26.04 on my new machine (Alienware Aurora R16 i7 desktop with RTX 5060ti). During install, I clicked the box to download 3rd party drivers, and I verified after install that the nvidia 595 drivers were present and active via nvidia-smi.

The Ubuntu default desktop starts normally, but I find that desktop awkward and basically unusable. So I installed Cinnamon via apt install cinnamon-desktop-environment. Logging in to Cinnamon hard locks the machine once the desktop starts drawing, requiring a power cycle. I couldn't move the mouse or get to a virtual terminal.

Does anyone know a fix or workaround for this? I had heard that there were issues with Nouveau, but I'm using the nvidia drivers, so I didn't expect any problems, especially showstoppers like this.

Only right speaker is playing sound on ubuntu 24.04, both work on windows. How to fix? https://askubuntu.com/questions/1567846/only-right-speaker-is-playing-sound-on-ubuntu-24-04-both-work-on-windows-how-t

Left speaker silent on Packard Bell Senna (Acer Gadget e10 ETBook) under Ubuntu 24.04

It is dual boot. Booting into windows, both speakers work fine.

How to fix so both speakers work?

Information below.

Hardware

  • Model: Packard Bell Senna i5 AMG (internal codename: Acer Gadget e10 ETBook)
  • Audio codec: Realtek ALC269VC
  • Subsystem ID: 0x1e507036 (Acer vendor space; Packard Bell is an Acer subsidiary)
  • HDA controller: Intel Alder Lake PCH-P HD Audio (8086:51c8, rev 01)
  • Kernel: 6.17.0-35-generic (Ubuntu 24.04.4 HWE)
  • OS: Ubuntu 24.04 LTS, default audio stack: PipeWire + WirePlumber

Symptoms

  • The right internal speaker works normally.
  • The headphone output (jack on right side) works normally.
  • The left internal speaker produces no sound under any circumstances.
  • This is a fresh Linux install; the right speaker and headphones work in the same dual-boot Windows install on the same hardware, so the speaker itself is functional. The issue is purely the Linux audio driver / routing.
  • System is dual boot with windows. On windows all speakers work fine.

Codec layout (the root of the issue)

The ALC269VC in this chassis uses an asymmetric routing: the right speaker and the left speaker live on two completely separate paths that share neither DACs nor mixers. There is no single "Speaker" DAC.

DAC 0x03 (stereo) ---> mixer 0x0d (stereo) ---> pin 0x14  [right speaker, works]
DAC 0x02 (stereo) ---> mixer 0x0c (stereo) ---> pin 0x15  [headphone jack, works]
DAC 0x02 (stereo) ---> mixer 0x0f (MONO)  ---> pin 0x17  [left speaker, SILENT]

Key facts from cat /proc/asound/card0/codec\#0:

  • Pin 0x17 is a Mono Amp-Out widget (wcaps 0x40050c).
  • Pin 0x17 has a BIOS default of 0x40000000 ("[N/A] Line Out at Ext N/A", DefAssociation = 0x0) — i.e. the BIOS has it disabled.
  • Pin 0x17 has Pincap 0x00000010: OUT only — no EAPD bit.
  • Mixer 0x0f is Mono with two inputs: 0x02 (DAC 0x02) and 0x0b (vendor widget, used for routing mic/line-in to output).
  • The right speaker pin 0x14's Connection: list is 0x0c 0x0d* — by default the driver selects mixer 0x0d (DAC 0x03).
  • The "Speaker" ALSA control corresponds to DAC 0x03, the "Headphone" ALSA control corresponds to DAC 0x02.

What has been tried

1. model= quirks (Phase 1 of original plan)

/etc/modprobe.d/snd-hda-intel.conf:

options snd-hda-intel model=acer-aspire-8930g

After update-initramfs -u and reboot: only the right speaker plays. amixer still shows a single "Speaker" control; no new control is created for pin 0x17. The model= binds the codec but the path through pin 0x17 remains silent.

2. Runtime hda-verb fix (the verbs that the codec path needs)

With PipeWire stopped, the following script was run via sudo:

#!/usr/bin/env bash
set -eu
DEV=/dev/snd/hwC0D0
SYSFS=/sys/class/sound/hwC0D0

# Tell parser pin 0x17 is a speaker
echo "0x17 0x90170110" > "$SYSFS/user_pin_configs"
echo 1                 > "$SYSFS/reconfig"
sleep 2

# Enable pin 0x17
hda-verb "$DEV" 0x17 0x707 0x40    # Pin-ctls: OUT
hda-verb "$DEV" 0x17 0x3a8 0x00    # Amp-Out: unmuted

# Route DAC 0x02 to mono mixer 0x0f
hda-verb "$DEV" 0x0f 0x701 0x00    # Select input 0 (DAC 0x02)
hda-verb "$DEV" 0x0f 0x3a8 0x00    # Amp-In: unmuted

Result:

  • The user_pin_configs + reconfig is accepted (no EBUSY once PipeWire is stopped).
  • The codec state changes as expected:
    • Pin 0x17: Pin-ctls: 0x40: OUT, Amp-Out vals: [0x00]
    • Mixer 0x0f: input 0 (DAC 0x02) unmuted.
  • A new ALSA mixer control appears: Simple mixer control 'Bass Speaker',0.
  • speaker-test -c2 -t sine -f440 -l1 plays on the right speaker only. The left speaker is still silent.

3. Re-routing pin 0x14 to share DAC 0x02

To test whether the failure is that DAC 0x02 is not bound to the "Speaker" PCM stream, the script additionally does:

hda-verb "$DEV" 0x14 0x701 0x00    # Pin 0x14 connection: input 0 (mixer 0x0c, DAC 0x02)

After this, both pin 0x14 (right) and pin 0x15 (headphone) connect to mixer 0x0c, which is fed by DAC 0x02. Pin 0x17 already connects via mixer 0x0f to DAC 0x02. So a single stereo stream into DAC 0x02 would drive both speakers and the headphone.

Result: the right speaker still plays but only one channel, the left speaker remains silent.

What this tells us

The ALC269VC codec hardware is capable of driving both speakers; the runtime verbs do configure the pin 0x17 path correctly. The remaining question is which DAC receives audio during "Speaker" playback under the standard snd-hda-intel driver.

For this codec, a stereo "Speaker" stream is bound to DAC 0x03 (the "Speaker" DAC). DAC 0x02 is bound only to the "Headphone" output. No matter how the codec is re-routed, audio sent to the "Speaker" PCM reaches DAC 0x03 only, leaving DAC 0x02 — and therefore pin 0x17 — silent.

The "Speaker" PCM needs to be reconfigured to drive both DACs (e.g. as a 4-channel output with channel map to both DACs), or a PipeWire combined sink needs to fan audio to both Speaker and Bass Speaker simultaneously. The first option requires a kernel-side fixup; the second is a userspace configuration.

How to reproduce

  1. Boot Ubuntu 24.04.4 with kernel 6.17.0-35-generic.
  2. Confirm the right speaker works, left doesn't: speaker-test -c2 -t sine -f440 -l1
  3. Confirm the codec layout: sudo cat /proc/asound/card0/codec\#0 | grep -E "0x14 |0x15 |0x17 |0x0c |0x0d |0x0f "
  4. (Optional) Apply the runtime script above to see the Bass Speaker control appear and confirm the codec path can be enabled.

Information that would help debug

  • The PCM stream binding during playback: cat /proc/asound/card0/stream0 while speaker-test is running.
  • The DAC 0xf01 response during playback: sudo hda-verb /dev/snd/hwC0D0 0x02 0xf01 0x00 and the same for 0x03.
  • Whether any existing model= quirk (e.g. acer-aspire-8930g for 2.1 speaker setups) is supposed to set up multi-DAC routing for this ALC269VC variant, and why it doesn't.
Applications suddenly not recognizing AMD GPU https://askubuntu.com/questions/1567844/applications-suddenly-not-recognizing-amd-gpu

I've been using Ubuntu for the past year. I noticed today that all of a sudden my games stopped using my GPU and are using my CPU's integrated graphics. It seems that the system is recognizing the card, but it's not using it for some reason. I heard it could be something to do with the drivers, but I don't recall doing anything to cause these problems. I'm using an AMD RX 5600 XT on Ubuntu 24.04.3 LTS and have been running with the drivers that came with my install.

System details showing my GPU

Minecraft showing only my CPU

pip, python, pdfcropmargins confusion : is pip, python, both, or something else the problem? https://askubuntu.com/questions/1567841/pip-python-pdfcropmargins-confusion-is-pip-python-both-or-something-else

system : Ubuntu 24.04.4 LTS / noble
pip and pip3 : 24.0 from /usr/lib/python3/dist-packages/pip (python 3.12)
pdfcropmargins : uncertain - can be observed in ~/.local/bin/ along with pdf-crop-margins. The installation instructions were followed exactly as its website instructs - all as user, not as root. package manager : apt

I want to use the program pdfCropMargins. I thought it was installed a long time ago and worked. Now it does not. I need to know what needs to be fixed - python, pip, pdfcropmargins, environmental variables, etc.

I thought I had installed pip (and pip3) locally, as a user - i.e. not system wide as root. They are verified to be in ~/.local/bin/pip. Now pdfcropmargins results in an error about No module named 'pdfCropMargins - which sounds like I should fix the python installation.

Meanwhile, pip reports the error error: externally-managed-environment.

I suspect a number of things:

  • python upgrades recently carried out by apt aren't for pdfCropMargins - or there is another python installation I am not accounting for (e.g. a local installation for some reason).
  • new environmental requirements I need to understand
  • pip / pip3 was not installed the way I thought.

before I start completely removing pip, python, etc., I need to know if I am overlooking any simple things like environmental variables or settings in the bash shell, that are interfering with the installations or running pdfcropmargins.

The most confusing thing is ~/.local/bin/pdfcropmargins while pip is claiming it is externally-managed-environment. And pip list or pip show does not pull up anything with pdf in the name.

Or, perhaps there is another pdfcropmargins I was using that is completely different - or something else changed.

UPDATE NOTE : --break-system-packages (see below) produces a functioning pdfcropmargins.

link to pdfcropmargins website with instructions : https://pypi.org/project/pdfCropMargins/

AMD RX 580 crashing and overheating https://askubuntu.com/questions/1567840/amd-rx-580-crashing-and-overheating

I have looked for solutions for this issue many times but couldn't find any asnwers.
My current GPU works mostly fine with things like apps and 2D games, but has problems with modern 3D games. I had a similar GPU before with no issues, and this one is used and had no problems on a different Windows machine.

My machine, Kubuntu 26.04 LTS (Resolute Raccoon) x86_64, Linux 7.0.0-22-generic, has the issue of: crashing in 3D games, sometimes it is seems the problem is loading certain shaders while others are harder to guess; an overheating issue, even though I have layout my hardware to be more cool, with new fans, and the program Corectl set to make the GPU fans spin more and the CPU itself use a bit less power. I have tried installing AMDGPU-pro, but no luck (I am currently relying on the drivers that come with the distro), and updating things over the course of months has no results.

I have bought the game Cyberpunk 2077, thinking that if The Witcher 3 had no problem running at high settings for hours, then maybe this one won't crash. It did, at first in the start up, then after changing proton, on the intro cinematic, then after limiting power, after character creation, still experiencing overheat to around 90°C.

I have checked syslog for things that might seem useful. This is the latest crash (log starts at a point I thought steam was trying to run the game).

https://pastebin.com/UcPXiEVq

I currently have no way of sanity checking the hardware on another machine or testing the GPU in this machine but with another OS.

An error occurred, please run Package Manager from the right-click menu pointing at makemkv [duplicate] https://askubuntu.com/questions/1567839/an-error-occurred-please-run-package-manager-from-the-right-click-menu-pointing

On Ubuntu 24.04.4 LTS I have the red 'do not enter' in the upper corner. I was looking to see why the system had not updated in a while and noticed the red icon. I have tried most of what I have seen here. I get

**E:** Conflicting values set for option Signed-By regarding source https://ppa.launchpadcontent.net/heyarje/makem  
kv-beta/ubuntu/ noble:
-----BEGIN PGP PUBLIC KEY BLOCK-----

followed but what I believe are two public key blocks and **E:** The list of sources could not be read.

I am unable to upgrade and unable to change the live patch location to try a different location.

Output of sudo apt update E: Conflicting values set for option Signed-By regarding source https://ppa.launchpadcontent.net/heyarje/makemkv-beta/ubuntu/ noble: -----BEGIN PGP PUBLIC KEY BLOCK----- mQINBFNwf5EBEADHr3Q9HEZsS/B/7B+tRIlBATZcDS8WIiMkTuYX8UEEeKx92mvc 5NaRfXgPkP26kpsovWYEJ4+fYv7pTjkNYB+QXootq7BwzPcW8iOe3LldEDUvAI6B zI9OuRTH+EzMZ3yz6cjCD+b/x5StMUOM2Z38PgSomW+uGzrmLtlzDWG4oSjSdEdl yoeLozKx58YBLludX4u2rE7rrBnnOiBAe9W79FrNNygNvL2wxV1Sv3mgA2864lfM HOK+J1mTSKiuNd3XmmSRWM/LkSpUWxOf3aWJCogo62jYoPjiSeRsS8OAPqv06WJX j85Qo6TygBqB7wrP5OEsdxx9E3oPkb+Do0PtcIX/Pc/13nHfLPX8Oyw6qYJxpXP3 YcUlBITYaYe3kqwJ5657gl4S62aUG1WcQjWwfCUR3MfTr/tyQHcbms9nYD4rg2Fi QwGFPMcSpP8PVupuSVkmd7NW97iBCg3ZroriCebe5O/12wfdbiE7opFPkHzfkX/9 FEIbyADN4N8M1HJWwuUhnZ4apdk5L9o0XUiV3FHpVrDgjAwM0PMlLfp2Brbf3dax WsatDpWfJnayGqI97Qr07s1VVl7JKGa8+it2th/v1qlyPs1WXhGtiEUzEYnhyAaN 8RhTInda5ZgoiCw34FKwLrHtKc8KBb6TGAdU5LYFgEvWoKHqMTR6w8XR6QARAQAB sAwAAGdwZwEAAAAAAAC0GkxhdW5jaHBhZCBQUEEgZm9yIGhqbW9vc2VzsAwAAGdw ZwIAAAAAAACJAjgEEwECACIFAlNwf5ECGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4B AheAAAoJEIVANWAZ9+Vbr3gQALlAMK4TZ6TcDxJ0l7mUvKaG85cMrVci0md46SDg aVZF/VWR4IoI6FVuF+JrORABOW9//F/OsD/e1gsbA3vekBXD+dY94Ta9zFsM5o6j T0uUicimLmZnmfeF+pOSbpupW0P+JzYeV0y5H5W6iV0fwyOMV+O05BhTE8HmXCKB cYoG8ZHNh6YQpzlxy6+hGms0zqhSIayO7mPdlfxW/CLlzuWyai13zMkssVogb3CC ydgJJW8qhrV24gHjhAzQrCjoH5EiOA3jPMKhOVbVIiFnpXgkAmamtRs77b0NsplY wd9aoz8J9E0VmXeNdUiZY/96hGyMS5bkWacn71l97QCdNhsinYj3ahVGY3p+PXjO eEZ+ktDFvx3RlnCrPaNke3LTgsCqK7NKTp//caQDFrRj30PAnt1pUYGONt294rPK pXxfXhJJ8ihM0saLzgq1zDwSRCmWjjcD1HwxvErWNw0+CF+0AzLi7LGsOZjrbDbd alo+/bDVo7P1NSw4mNhxgVBjAXCSMtZ6raGw+Lf7A6FwSn1NgwY2EjwZaSsm2mrz TjbvrwCughS5inZHhRFZzQ2uuWjbbi08PLOC9VyvVI0OIXLNfO6uqCI72isYAdnZ gVMfd3DRJZANSz52/roIPxQEg1nAmpHE2hxRFlY1PDkr070NQ2PUWZg76IWynkQx LX5ysAYAA2dwZwA= -----END PGP PUBLIC KEY BLOCK----- != -----BEGIN PGP PUBLIC KEY BLOCK----- mQINBFNwf5EBEADHr3Q9HEZsS/B/7B+tRIlBATZcDS8WIiMkTuYX8UEEeKx92mvc 5NaRfXgPkP26kpsovWYEJ4+fYv7pTjkNYB+QXootq7BwzPcW8iOe3LldEDUvAI6B zI9OuRTH+EzMZ3yz6cjCD+b/x5StMUOM2Z38PgSomW+uGzrmLtlzDWG4oSjSdEdl yoeLozKx58YBLludX4u2rE7rrBnnOiBAe9W79FrNNygNvL2wxV1Sv3mgA2864lfM HOK+J1mTSKiuNd3XmmSRWM/LkSpUWxOf3aWJCogo62jYoPjiSeRsS8OAPqv06WJX j85Qo6TygBqB7wrP5OEsdxx9E3oPkb+Do0PtcIX/Pc/13nHfLPX8Oyw6qYJxpXP3 YcUlBITYaYe3kqwJ5657gl4S62aUG1WcQjWwfCUR3MfTr/tyQHcbms9nYD4rg2Fi QwGFPMcSpP8PVupuSVkmd7NW97iBCg3ZroriCebe5O/12wfdbiE7opFPkHzfkX/9 FEIbyADN4N8M1HJWwuUhnZ4apdk5L9o0XUiV3FHpVrDgjAwM0PMlLfp2Brbf3dax WsatDpWfJnayGqI97Qr07s1VVl7JKGa8+it2th/v1qlyPs1WXhGtiEUzEYnhyAaN 8RhTInda5ZgoiCw34FKwLrHtKc8KBb6TGAdU5LYFgEvWoKHqMTR6w8XR6QARAQAB tBpMYXVuY2hwYWQgUFBBIGZvciBoam1vb3Nlc4kCOAQTAQIAIgUCU3B/kQIbAwYL CQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQhUA1YBn35VuveBAAuUAwrhNnpNwP EnSXuZS8pobzlwytVyLSZ3jpIOBpVkX9VZHgigjoVW4X4ms5EAE5b3/8X86wP97W CxsDe96QFcP51j3hNr3MWwzmjqNPS5SJyKYuZmeZ94X6k5Jum6lbQ/4nNh5XTLkf lbqJXR/DI4xX47TkGFMTweZcIoFxigbxkc2HphCnOXHLr6EaazTOqFIhrI7uY92V /Fb8IuXO5bJqLXfMySyxWiBvcILJ2AklbyqGtXbiAeOEDNCsKOgfkSI4DeM8wqE5 VtUiIWeleCQCZqa1GzvtvQ2ymVjB31qjPwn0TRWZd411SJlj/3qEbIxLluRZpyfv WX3tAJ02GyKdiPdqFUZjen49eM54Rn6S0MW/HdGWcKs9o2R7ctOCwKors0pOn/9x pAMWtGPfQ8Ce3WlRgY423b3is8qlfF9eEknyKEzSxovOCrXMPBJEKZaONwPUfDG8 StY3DT4IX7QDMuLssaw5mOtsNt1qWj79sNWjs/U1LDiY2HGBUGMBcJIy1nqtobD4 t/sDoXBKfU2DBjYSPBlpKybaavNONu+vAK6CFLmKdkeFEVnNDa65aNtuLTw8s4L1 XK9UjQ4hcs187q6oIjvaKxgB2dmBUx93cNElkA1LPnb+ugg/FASDWcCakcTaHFEW VjU8OSvTvQ1DY9RZmDvohbKeRDEtfnI= =x9SG -----END PGP PUBLIC KEY BLOCK----- E: The list of sources could not be read.

ubuntu pro on racoon server (minimal) https://askubuntu.com/questions/1567835/ubuntu-pro-on-racoon-server-minimal

I am trying to use ubuntu pro attach token on a racoon (26.04) server installation. Unfortunately pro is not installed: bash: pro: command not found I've found sudo snap connect desktop-security-center:system-observe, but this does not work on my server installation either, because the snap is not installed. Installing the snap is not an option either, because it would install mesa and other unnecessary desktop stuff.

Is there an option to use ubuntu pro without all the desktop stuff?

I'm trying to install Waydroid on my Kubuntu the last release https://askubuntu.com/questions/1567832/im-trying-to-install-waydroid-on-my-kubuntu-the-last-release

I'm trying to download and install Waydroid on my Kubuntu, the last release. I'm following the instructions, but after I type:

curl -s https://repo.waydro.id | sudo bash

...nothing happens. I tried to type:

curl -s https://repo.waydro.id | sudo bash -s resolute

...but there's no result.

Optimal method for Google Drive mirroring (perhaps rclone?) on Ubuntu 26.04 LTS running GNOME 50 https://askubuntu.com/questions/1567829/optimal-method-for-google-drive-mirroring-perhaps-rclone-on-ubuntu-26-04-lts

As https://www.omgubuntu.co.uk/2026/03/google-drive-not-working-nautilus-ubuntu-26-04 mentions, native Google Drive access via the Nautilus file manager was discontinued starting GNOME 50. Which is surprisingly bad timing given that I just inducted myself into Ubuntu via LTS 26.04 ('resolute').

TLDR; I need the best way to sync Google Drive on my Ubuntu with some local cache that allows me to keep working for a week max without internet.

I need a way to sync my Google Drive data both ways. I have some uncompromisable requirements and some weak ones:

Strong requirements:

  1. Offline cache that enables me to work offline for around a week with the files I have recently opened (within say the past 1 week), and syncs changes as soon as internet arrives.
  2. No unnecessary download of large folders. Preferable if the exclusion is on an intelligent (usage detection) basis, but I can work with manual exclusion.
  3. No download of folders shared with but not owned by me that I have organized into shortcut links in my own Google Drive.

About [2,3], I'm willing to sacrifice some internet if necessary, or willing to switch to server size moves only (although I think that causes deletion-reupload on my side as well?).

Weak requirements:

  1. No deletion and reuploading of entire folders due to a local rename operation. Just a corresponding online rename operation.
  2. No deletion of reuploading of entire files due to a local rename operation. Just a corresponding online rename operation.
  3. Display of shortcut links to externally owned shared folders without any (or minimal) cache associated with them.

What I have tried and fails:

  1. rclone vfs local mount: it somehow didn't cache files, although other requirements seemed alright (not sure about the no-reupload crtieria [Strong-2,3]). Nautilus with the gdrive folder open also froze completely as soon as I disconnected from the internet! Here is the code: maybe it can be fixed?
[Unit] Description=Google Drive Mount via rclone After=network-online.target Wants=network-online.target

[Service] Type=simple

#Create mount and cache directories

ExecStartPre=/usr/bin/mkdir -p %h/gdrive ExecStartPre=/usr/bin/mkdir -p %h/.cache/rclone

ExecStart=/usr/bin/rclone mount gdriveboi: %h/gdrive \
    --vfs-cache-mode full \
    --cache-dir %h/.cache/rclone \
    --vfs-cache-max-age 168h \
    --vfs-cache-max-size 100G \
    --dir-cache-time 15s \
    --poll-interval 15s \
    --allow-other

ExecStop=/usr/bin/fusermount -u %h/gdrive

Restart=always RestartSec=15

[Install] WantedBy=default.target
  1. Dolphin + Dolphin Plugins + Konqueror + KIO GDrive + KIO Admin: The Dolphin file browser as well as the KDE system settings app show blank (see image) when I want to add a Google Drive account / new online account respectively. Konqueror (deb package) doesn't open even (snap package opens but is unable to open any location).

Dolphin shows a blank Add Account page

Given that I'm a beginner, I'd strongly prefer an existing (GUI even better) solution (if exists) since arguably it has been tried and tested to serve optimally under a variety of use cases.

What I've tried, works, but needs optimization:

rclone bisync workflow: Here is the latest code. Can it be optimized if there are no other/better methods to achieve what I'm asking?

resync process for first fetch:

rclone bisync gdriveboi: ~/gdrive \
    --resync \
    --track-renames \
    --exclude-from ~/.config/rclone/gdrive-excludes.txt \
    --max-delete 50 \
    --log-file ~/.local/share/rclone-bisync.log \
    --log-level INFO \
    --progress

The service that enables background syncing:

[Unit]
Description=Google Drive BiSync

[Service]
Type=oneshot

ExecStart=/usr/bin/rclone bisync gdriveboi: %h/gdrive \
    --track-renames \
    --exclude-from %h/.config/rclone/gdrive-excludes.txt \
    --max-delete 50 \
    --log-file %h/.local/share/rclone-bisync.log \
    --log-level INFO

with an associated timer:

[Unit]
Description=Run Google Drive BiSync every 1 minute

[Timer]
OnBootSec=1min
OnUnitActiveSec=1min
Persistent=true

[Install]
WantedBy=timers.target

With regard to this workflow, are these optimal settings? Can I also include hashing to prevent file deletion-reupload on server side for a move on client side? How much resource is that going to consume? What else can I do that optimizes the sync upto (and possibly beyond) my requriements?

Nvidia 390.157 driver fails to compile on kernel 6.8 — GeForce GT 710 https://askubuntu.com/questions/1567827/nvidia-390-157-driver-fails-to-compile-on-kernel-6-8-geforce-gt-710

When upgrading Linux kernel 6.8.0 above version 110 (e.g., 124 in my case), Nvidia GPU drivers completely stopped being supported and working at all for my GeForce GT 710.

See my fix below. Edit: of course there's an inherent risk with remaining on an older kernel version without upgrading it. I'm hoping there will be a better fix in the long run.

Note that I had already reinstalled version 110 kernel and edited grub to access it, and also removed+installed various Nvidia drivers and dkms versions (390, 470, 535, 550).

VNC fails on Xubuntu for autologon user https://askubuntu.com/questions/1567820/vnc-fails-on-xubuntu-for-autologon-user

I've tried on Ubuntu 26.04 and Xubuntu 26.04. I want it to work without a monitor. I had remote desktop working on Ubuntu 25.04 with a vga monitor, but changing to a vga dummy dongle caused the connection to fail. There was a lot on Google about problems with Wayland and I thought I could get around that with Xubuntu. But I've had no success with that either.

Looking for a PDF Editor that can fill text into letter boxes in a scanned form https://askubuntu.com/questions/1567804/looking-for-a-pdf-editor-that-can-fill-text-into-letter-boxes-in-a-scanned-form

Recently had a friend help me switch from Windows 10 to Ubuntu 24.04.4 LTS.

Found myself struggling while filling out PDFs of scanned paper documents. On Windows, I used the free version of Adobe Acrobat. It has the option to format inserted text letter by letter into evenly spaced boxes, which is something a lot of these documents call for.

I can obviously kind of McGiver a similar result by inserting several spaces after each letter, incredibly clunky though.

Can someone recommend a PDF viewer and editor for Ubuntu that allows inserting text in this format?

Full disk encryption sometines fails on Ubuntu 26.04 https://askubuntu.com/questions/1567704/full-disk-encryption-sometines-fails-on-ubuntu-26-04

I installed Ubuntu 26.04 recently on a new device and enabled full disk encryption.

When I enter the password, sometimes the system does not recognize it and prompts me to enter it again. When I do that, it gets stuck on the loading screen and never boots. Pressing Esc showed me some error messages about the crypt library.

How can I solve this problem? I am forced to do a force restart at least once a day because of this. The keyboard layout is shown to be de, so I don't think it is related to a layout mismatch.

Logs below:

logs1

logs2

logs3

Executing journalctl:

journalctl

If I run reboot command the system logs in without peoblems. So i happens roughly 50% when booting from an off state. It does not happen at all on reboot.

Since I did not find any solution, I installed Ubuntu again and removed the encryption, however this revealed that the problem is as follows:

When I type the password, some characters require Shift + number, like $ = Shift + 4. But when I press Shift and anything else nothing is entered. This problem disappears if I press Fn + Esc (to toggle FnLock).

This does not happen all the time. It happens as follows:

  • When I take my laptop to the University (fully charged), I open it, and no problem appears. The laptop usually drops to ~40% before I close it and return home.

  • When I open the laptop at home (connected to the charger), the problem appears (always, even if I charge the laptop first, then open it).

Any help knowing why this is happening?

Ubuntu 22.04 / cron-service / disable mail globally https://askubuntu.com/questions/1567668/ubuntu-22-04-cron-service-disable-mail-globally

I would like to disable mail globally for all cron-jobs in /etc/cron.d/*

I tried the following different approaches without success:

  1. /etc/environment: Added MAILTO=""

  2. /etc/crontab: Added MAILTO=""

  3. /etc/systemd/system/crond.service.d/override.conf:

    [Service]
    Environment="MAILTO="
    

sudo systemctl daemon-reload
sudo systemctl restart cron


I would like to avoid setting MAILTO in every cron-file in /etc/cron.d/ ...

I hope you have some good ideas.

Kubuntu 26.04 UI freeze when moving mouse on external monitor https://askubuntu.com/questions/1566203/kubuntu-26-04-ui-freeze-when-moving-mouse-on-external-monitor

Today I upgraded to Kubuntu 26.04.

Moving my mouse coursor onto my second monitor using Wayland (Plasma) will permanently freeze the video output. This also happens in the login screen. I am able to circumvent it by using awesome-wm, but strongly prefer plasma. And it only occures when moving the mouse coursor there, having applications open and using keyboard shortcuts does not trigger it. Disabling the internal screen and just using the external one also does not help.

System is still running, as I am able to ssh in and reboot it.

I am on an optimus notebook with a 1060 6GB with kernel 7.0.0-14-generic, the following appears in the syslog:

2026-04-28T20:44:45.473990+02:00 notebook kernel: BUG: kernel NULL pointer dereference, address: 0000000000000028
2026-04-28T20:44:45.474007+02:00 notebook kernel: #PF: supervisor read access in kernel mode
2026-04-28T20:44:45.474009+02:00 notebook kernel: #PF: error_code(0x0000) - not-present page
2026-04-28T20:44:45.474009+02:00 notebook kernel: PGD 800000013626e067 P4D 800000013626e067 PUD 0 
2026-04-28T20:44:45.474018+02:00 notebook kernel: Oops: Oops: 0000 [#1] SMP PTI
2026-04-28T20:44:45.474018+02:00 notebook kernel: CPU: 5 UID: 1000 PID: 2469 Comm: kwin_wayland Tainted: P           OE       7.0.0-14-generic #14-Ubuntu PREEMPT(lazy) 
2026-04-28T20:44:45.474019+02:00 notebook kernel: Tainted: [P]=PROPRIETARY_MODULE, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
2026-04-28T20:44:45.474019+02:00 notebook kernel: Hardware name: Notebook                         N85_87HP6/N85_87HP6, BIOS 1.05.08RTM 08/08/2017
2026-04-28T20:44:45.474020+02:00 notebook kernel: RIP: 0010:_nv000582kms+0x4/0x10 [nvidia_modeset]
2026-04-28T20:44:45.474020+02:00 notebook kernel: Code: 87 50 01 00 00 20 20 2d c8 48 c7 87 38 01 00 00 70 1e 2d c8 48 c7 87 40 01 00 00 40 22 2d c8 c3 66 0f 1f 44 00 00 f3 0f 1e fa <0f> b6 47 28 c3 0f 1f 80 00 00 00 00 89 c9 48 8d 04 49 48 c1 e0 04
2026-04-28T20:44:45.474021+02:00 notebook kernel: RSP: 0018:ffffd54649d13af0 EFLAGS: 00010293
2026-04-28T20:44:45.474021+02:00 notebook kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffc82d2660
2026-04-28T20:44:45.474022+02:00 notebook kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
2026-04-28T20:44:45.474022+02:00 notebook kernel: RBP: ffffd54649d13bb0 R08: 0000000000000000 R09: 0000000000000000
2026-04-28T20:44:45.474022+02:00 notebook kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff8e0a87433500
2026-04-28T20:44:45.474023+02:00 notebook kernel: R13: ffffd54649d13b38 R14: ffff8e0a87433508 R15: 0000000000000000
2026-04-28T20:44:45.474023+02:00 notebook kernel: FS:  000075158ac2de80(0000) GS:ffff8e0e6a080000(0000) knlGS:0000000000000000
2026-04-28T20:44:45.474024+02:00 notebook kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2026-04-28T20:44:45.474024+02:00 notebook kernel: CR2: 0000000000000028 CR3: 000000017739e005 CR4: 00000000003706f0
2026-04-28T20:44:45.474024+02:00 notebook kernel: Call Trace:
2026-04-28T20:44:45.474025+02:00 notebook kernel:  <TASK>
2026-04-28T20:44:45.474025+02:00 notebook kernel:  ? nv_drm_framebuffer_create+0x2fa/0x760 [nvidia_drm]
2026-04-28T20:44:45.474026+02:00 notebook kernel:  drm_internal_framebuffer_create+0x100/0x210
2026-04-28T20:44:45.474026+02:00 notebook kernel:  drm_mode_addfb2+0x51/0x120
2026-04-28T20:44:45.474027+02:00 notebook kernel:  ? __pfx_drm_prime_fd_to_handle_ioctl+0x10/0x10
2026-04-28T20:44:45.474027+02:00 notebook kernel:  ? __pfx_drm_mode_addfb2_ioctl+0x10/0x10
2026-04-28T20:44:45.474027+02:00 notebook kernel:  drm_mode_addfb2_ioctl+0xe/0x20
2026-04-28T20:44:45.474028+02:00 notebook kernel:  drm_ioctl_kernel+0xb5/0x110
2026-04-28T20:44:45.474028+02:00 notebook kernel:  drm_ioctl+0x309/0x5f0
2026-04-28T20:44:45.474028+02:00 notebook kernel:  ? __pfx_drm_mode_addfb2_ioctl+0x10/0x10
2026-04-28T20:44:45.474029+02:00 notebook kernel:  nv_drm_ioctl+0x38/0x3f0 [nvidia_drm]
2026-04-28T20:44:45.474029+02:00 notebook kernel:  ? __x64_sys_ioctl+0xbd/0x100
2026-04-28T20:44:45.474030+02:00 notebook kernel:  __x64_sys_ioctl+0xa3/0x100
2026-04-28T20:44:45.474030+02:00 notebook kernel:  ? putname+0x41/0x90
2026-04-28T20:44:45.474030+02:00 notebook kernel:  x64_sys_call+0x103b/0x2390
2026-04-28T20:44:45.474031+02:00 notebook kernel:  do_syscall_64+0x115/0x5a0
2026-04-28T20:44:45.474043+02:00 notebook kernel:  ? __x64_sys_openat+0x5f/0xa0
2026-04-28T20:44:45.474044+02:00 notebook kernel:  ? arch_exit_to_user_mode_prepare.isra.0+0xd/0xe0
2026-04-28T20:44:45.474044+02:00 notebook kernel:  ? do_syscall_64+0x150/0x5a0
2026-04-28T20:44:45.474045+02:00 notebook kernel:  ? sysvec_apic_timer_interrupt+0x54/0xd0
2026-04-28T20:44:45.474045+02:00 notebook kernel:  entry_SYSCALL_64_after_hwframe+0x76/0x7e
2026-04-28T20:44:45.474046+02:00 notebook kernel: RIP: 0033:0x751591732cbd
2026-04-28T20:44:45.474046+02:00 notebook kernel: Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00
2026-04-28T20:44:45.474046+02:00 notebook kernel: RSP: 002b:00007ffe69e33c10 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
2026-04-28T20:44:45.474047+02:00 notebook kernel: RAX: ffffffffffffffda RBX: 00007ffe69e33df4 RCX: 0000751591732cbd
2026-04-28T20:44:45.474048+02:00 notebook kernel: RDX: 00007ffe69e33ca0 RSI: 00000000c06864b8 RDI: 0000000000000101
2026-04-28T20:44:45.474049+02:00 notebook kernel: RBP: 00007ffe69e33c60 R08: 00007ffe69e33e50 R09: 00006223a6af1ca8
2026-04-28T20:44:45.474050+02:00 notebook kernel: R10: 0000751594f2769b R11: 0000000000000246 R12: 00007ffe69e33ca0
2026-04-28T20:44:45.474051+02:00 notebook kernel: R13: 00000000c06864b8 R14: 0000000000000101 R15: 00006223a6af1c70
2026-04-28T20:44:45.474052+02:00 notebook kernel:  </TASK>
2026-04-28T20:44:45.474066+02:00 notebook kernel: Modules linked in: ccm udp_diag ib_core tcp_diag inet_diag xt_conntrack xt_MASQUERADE bridge stp llc xfrm_user xfrm_algo xt_set ip_set nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_addrtype nft_compat x_tables nf_tables vxlan ip6_udp_tunnel udp_tunnel rfcomm snd_seq_dummy snd_hrtimer overlay vboxnetadp(OE) qrtr vboxnetflt(OE) cmac algif_hash algif_skcipher af_alg bnep vboxdrv(OE) ccp binfmt_misc nvidia_uvm(PO) intel_rapl_msr intel_rapl_common intel_uncore_frequency intel_uncore_frequency_common snd_hda_codec_intelhdmi nvidia_drm(PO) nvidia_modeset(PO) intel_tcc_cooling snd_hda_codec_alc269 x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_realtek_lib snd_hda_scodec_component snd_hda_codec_nvhdmi snd_hda_codec_generic snd_hda_codec_hdmi snd_soc_avs kvm_intel snd_soc_hda_codec iwlmvm snd_hda_intel snd_hda_ext_core snd_hda_codec snd_hda_core snd_intel_dspcfg snd_intel_sdw_acpi snd_hwdep snd_seq_midi kvm mac80211 snd_seq_midi_event snd_soc_core uvcvideo videobuf2_vmalloc uvc irqbypass
2026-04-28T20:44:45.474067+02:00 notebook kernel:  snd_compress ac97_bus libarc4 rapl videobuf2_memops ee1004 btusb btmtk nvidia(PO) mei_hdcp mei_pxp intel_cstate snd_rawmidi snd_pcm_dmaengine mxm_wmi iwlwifi videobuf2_v4l2 videobuf2_common i2c_i801 snd_seq i2c_smbus btrtl videodev snd_pcm btbcm btintel snd_seq_device i915 i2c_mux cfg80211 mc bluetooth drm_buddy nls_iso8859_1 snd_timer drm_display_helper snd cec mei_me soundcore rc_core drm_ttm_helper ttm mei i2c_algo_bit intel_pmc_core pmt_telemetry pmt_discovery pmt_class intel_pmc_ssram_telemetry intel_vsec acpi_pad input_leds joydev mac_hid sch_fq_codel parport_pc lp ppdev coretemp parport msr nvme_fabrics efi_pstore nfnetlink dmi_sysfs autofs4 wacom hid_generic usbhid hid psmouse nvme rtsx_pci_sdmmc serio_raw ghash_clmulni_intel r8169 nvme_core nvme_keyring nvme_auth hkdf realtek rtsx_pci video ahci wmi libahci aesni_intel
2026-04-28T20:44:45.474068+02:00 notebook kernel: CR2: 0000000000000028
2026-04-28T20:44:45.474068+02:00 notebook kernel: ---[ end trace 0000000000000000 ]---
2026-04-28T20:44:45.474069+02:00 notebook kernel: RIP: 0010:_nv000582kms+0x4/0x10 [nvidia_modeset]
2026-04-28T20:44:45.474070+02:00 notebook kernel: Code: 87 50 01 00 00 20 20 2d c8 48 c7 87 38 01 00 00 70 1e 2d c8 48 c7 87 40 01 00 00 40 22 2d c8 c3 66 0f 1f 44 00 00 f3 0f 1e fa <0f> b6 47 28 c3 0f 1f 80 00 00 00 00 89 c9 48 8d 04 49 48 c1 e0 04
2026-04-28T20:44:45.474071+02:00 notebook kernel: RSP: 0018:ffffd54649d13af0 EFLAGS: 00010293
2026-04-28T20:44:45.474071+02:00 notebook kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffc82d2660
2026-04-28T20:44:45.474098+02:00 notebook kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
2026-04-28T20:44:45.474099+02:00 notebook kernel: RBP: ffffd54649d13bb0 R08: 0000000000000000 R09: 0000000000000000
2026-04-28T20:44:45.474100+02:00 notebook kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff8e0a87433500
2026-04-28T20:44:45.474101+02:00 notebook kernel: R13: ffffd54649d13b38 R14: ffff8e0a87433508 R15: 0000000000000000
2026-04-28T20:44:45.474102+02:00 notebook kernel: FS:  000075158ac2de80(0000) GS:ffff8e0e6a080000(0000) knlGS:0000000000000000
2026-04-28T20:44:45.474103+02:00 notebook kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2026-04-28T20:44:45.474104+02:00 notebook kernel: CR2: 0000000000000028 CR3: 000000017739e005 CR4: 00000000003706f0
2026-04-28T20:44:45.474105+02:00 notebook kernel: note: kwin_wayland[2469] exited with irqs disabled
2026-04-28T20:44:45.482324+02:00 notebook kwin_wayland_wrapper[2469]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"

Ouput of swapon

NAME      TYPE      SIZE USED PRIO
/dev/sda1 partition 7,5G   0B   -1

Output of dpkg -l *nvidia* | grep ii

ii  libnvidia-cfg1-580:amd64                       580.142-0ubuntu3              amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-580:i386                      580.142-0ubuntu3              i386         Shared files used by the NVIDIA libraries
ii  libnvidia-compute-580:amd64                    580.142-0ubuntu3              amd64        NVIDIA libcompute package
ii  libnvidia-compute-580:i386                     580.142-0ubuntu3              i386         NVIDIA libcompute package
ii  libnvidia-decode-580:amd64                     580.142-0ubuntu3              amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-580:i386                      580.142-0ubuntu3              i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-egl-wayland1:amd64                   1:1.1.21-1                    amd64        Wayland EGL External Platform library -- shared library
ii  libnvidia-egl-wayland1:i386                    1:1.1.21-1                    i386         Wayland EGL External Platform library -- shared library
ii  libnvidia-encode-580:amd64                     580.142-0ubuntu3              amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-580:i386                      580.142-0ubuntu3              i386         NVENC Video Encoding runtime library
ii  libnvidia-extra-580:amd64                      580.142-0ubuntu3              amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-580:amd64                       580.142-0ubuntu3              amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-580:i386                        580.142-0ubuntu3              i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-580:amd64                         580.142-0ubuntu3              amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-580:i386                          580.142-0ubuntu3              i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  linux-firmware-nvidia-graphics                 20260319.git217ca6e4-0ubuntu1 all          Firmware for Nvidia graphics
ii  linux-modules-nvidia-580-7.0.0-14-generic      7.0.0-14.14                   amd64        Linux kernel nvidia modules for version 7.0.0-14
ii  linux-modules-nvidia-580-generic               7.0.0-14.14                   amd64        Extra drivers for nvidia-580 for the generic flavour
ii  linux-objects-nvidia-580-7.0.0-14-generic      7.0.0-14.14                   amd64        Linux kernel nvidia modules for version 7.0.0-14 (objects)
ii  linux-signatures-nvidia-7.0.0-14-generic       7.0.0-14.14                   amd64        Linux kernel signatures for nvidia modules for version 7.0.0-14-generic
ii  nvidia-compute-utils-580                       580.142-0ubuntu3              amd64        NVIDIA compute utilities
ii  nvidia-driver-580                              580.142-0ubuntu3              amd64        NVIDIA driver metapackage
ii  nvidia-firmware-580-580.142                    580.142-0ubuntu3              amd64        Firmware files used by the kernel module
ii  nvidia-kernel-common-580                       580.142-0ubuntu3              amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-580                       580.142-0ubuntu3              amd64        NVIDIA kernel source package
ii  nvidia-prime                                   0.8.17.2build1                all          Tools to enable NVIDIA's Prime
ii  nvidia-settings                                510.47.03-0ubuntu7            amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-580                               580.142-0ubuntu3              amd64        NVIDIA driver support binaries
ii  xserver-xorg-video-nvidia-580                  580.142-0ubuntu3              amd64        NVIDIA binary Xorg driver

/var/crash/ is empty prime-select is on nvidia. I should not that I can switch to intel, but that also disables the HDMI port, so the problem cannot be replicated then.

Adding KWIN_FORCE_SW_CURSOR=1 to /etc/environment does not help.

Ubuntu 24.04 / 25.04 26.04 cannot shut down properly on ThinkPad P50s, but Windows and Kali Linux work https://askubuntu.com/questions/1562157/ubuntu-24-04-25-04-26-04-cannot-shut-down-properly-on-thinkpad-p50s-but-windo

I am encountering a persistent shutdown issue that seems to be specific to Ubuntu, and I would like help diagnosing it.

System Information:

Hardware: Lenovo ThinkPad P50s
Architecture: x86_64
Boot mode: UEFI
Storage: Internal SSD (issue also occurs with no external devices connected)

Affected Ubuntu Versions:

Ubuntu 24.04 LTS
Ubuntu 25.04
This issue occurs on both versions.

Other Operating Systems (for comparison):

Windows (same machine) → shuts down normally
Kali Linux (same machine) → shuts down normally

This suggests the problem is not hardware-related, but likely related to Ubuntu-specific kernel, systemd, ACPI, or power management behavior.

Problem Description:

When selecting Shut Down in Ubuntu
The shutdown process starts
The screen may go black or stay on a shutdown screen
However, the system never fully powers off
Power LED remains on, and sometimes fans keep running
The only way to turn the machine off is by holding down the power button.

Steps to reproduce:

Boot into Ubuntu (24.04 or 25.04)
Use the system normally (or even stay idle)
Click “Shut Down” from the system menu
System hangs and does not power off

What works:

Reboot usually works correctly
Shutdown works normally on Windows and Kali Linux

What I have tried:

Waiting several minutes during shutdown
Disconnecting all USB / external drives
Fully updating the system
Checking dmesg and journalctl for errors

Expected Behavior:

The system should power off completely after shutdown.

Actual Behavior:

Shutdown hangs and requires a forced power-off.

Suspicions / Questions:

Possible ACPI or power-off (poweroff.target) issue
Ubuntu-specific kernel or systemd configuration
Missing or incompatible kernel parameters for ThinkPad P50s

I would appreciate advice on:

What logs or debug options to collect
Kernel parameters (e.g. acpi=, reboot=) worth testing
Whether this is a known issue with recent Ubuntu kernels

cups (cups-browsed) doesn't see / recognize USB printer anymore https://askubuntu.com/questions/1490871/cups-cups-browsed-doesnt-see-recognize-usb-printer-anymore

I have a headless Ubuntu 20.04 with cups 2.3.1 and cups-browsed 1.27.4. Everything was groovy until I installed an x-server last week to make a package work. This seems to have severly messed with my cups settings because since then there is one (out of three) USB printers that cups doesn't 'see' anymore. I removed the x-server again in the meanwhile and purged both cups and cups-browsed.

lsusb can see the printer. The printer in question is the Brother DCP-L5500DN:

lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 009: ID 04f9:0399 Brother Industries, Ltd DCP-L5500DN series
Bus 004 Device 006: ID 0a5f:0080 Zebra ZTC GK420d
Bus 004 Device 008: ID 04f9:2028 Brother Industries, Ltd QL-570 P-touch Label Printer
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lpstat does already not recognize it as a USB printer:

lpstat -v
device for Brother_DCP_L5500DN_series_USB_wiyanna_opti: implicitclass://Brother_DCP_L5500DN_series_USB_wiyanna_opti/
device for Brother_QL-570: usb://Brother/QL-570?serial=D6Z656473
device for Brother_QL_570_Wiyanna_iMac: implicitclass://Brother_QL_570_Wiyanna_iMac/
device for Zebra_Technologies_ZTC_GK420d: usb://Zebra%20Technologies/ZTC%20GK420d?serial=28J164900175
device for Zebra_Technologies_ZTC_GK420d_Wiyanna_iMac: implicitclass://Zebra_Technologies_ZTC_GK420d_Wiyanna_iMac/
device for Zebra_Technologies_ZTC_GK420d_ZPL: usb://Zebra%20Technologies/ZTC%20GK420d?serial=28J164900175
device for Zebra_ZPL_wiyanna_opti: implicitclass://Zebra_ZPL_wiyanna_opti/

And the web interface for cups-browsed also does not show me the printer as a local printer in the 'Add printers' dialog.

enter image description here

I have installed the latest Brother DCP-L5500DN drivers from the Brother webpage. Also the printer used to work for years with this setup in the past. I'm out of ideas. How can I make cups / cups-browsed aware of this particular USB printer?

pip error on Ubuntu: externally-managed-environment × This environment is externally managed https://askubuntu.com/questions/1465218/pip-error-on-ubuntu-externally-managed-environment-%c3%97-this-environment-is-extern

I upgraded to Ubuntu 23.04. Now, when I run a pip command (installed using sudo apt install python3-pip), I get this error:

$ pip install --user <foobar>
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

What does this mean? How can I avoid this error?

What if I want to install a package user-wide (--user), not system-wide? How do I do that?

How do I turn off automatic updates COMPLETELY and FOR REAL? https://askubuntu.com/questions/1322292/how-do-i-turn-off-automatic-updates-completely-and-for-real

Running Ubuntu 18.04 on x64.

I need to COMPLETELY turn off the "automatic updates reminder" stuff on my Ubuntu system. The problem is that the machine is doing some unattended processing and the updates reminders interfere with it.

A while back, I Googled for help on this and got some pointers to go into Software Updater "settings" and set the "Remind me when" thing to "Never". That sorta (but not really) worked. It disables the big screen that comes up (the one that tells you that "We have new software for you"), but not the little one.

Anyway, I could go on more about how that doesn't work, but the point is that it is clear that it really, really wants you to do this and they have made the config hard to work - to really turn it off.

So, I need something lower level - not so "user-y" or "GUI-I" - because that just doesn't work. There has to be something lower level - some service or something that you can kill or disable to make this go away. Can you help me, please?

How can I keep Ubuntu updated automatically? https://askubuntu.com/questions/1260567/how-can-i-keep-ubuntu-updated-automatically

I want help to

  • make Ubuntu 'update && upgrade' itself automatically,
  • select the settings for this automatic system.

How can I do it? Please advice about

  • where to find the menu (GUI) or file (command line) to do it,
  • what settings that can be recommended (if different from the default).

As a bonus, please describe how different types of program packages are treated,

  • program packages from Ubuntu repositories and PPAs
  • snap packages
  • flatpak packages
  • other kinds of programs/packages.
Ubuntu 18.04 and systemctl service disappearing https://askubuntu.com/questions/1061588/ubuntu-18-04-and-systemctl-service-disappearing

I created and enabled a service:

$ sudo systemctl enable /path/to/imaservice.service
Created symlink /etc/systemd/system/multi-user.target.wants/imaservice.service → /path/to/imaservice.service.
Created symlink /etc/systemd/system/imaservice.service → /path/to/imaservice.service.

It exists and persists in both:

/etc/systemd/system/imaservice.service
/etc/systemd/system/multi-user.target.wants/imaservice.service

I can now start/stop/status it happily. When I reboot, I can't start it. I get the following:

$sudo systemctl is-enabled imaservice
enabled

However:

$sudo systemctl start imaservice
Failed to start imaservice.service: Unit imaservice.service not found.

Every time I reboot, I have to re-enable with:

$sudo systemctl enable imaservice
$sudo systemctl daemon-reload

And after this it's back to normal.

What am I doing wrong?

SMPlayer has no sound with any output driver https://askubuntu.com/questions/960883/smplayer-has-no-sound-with-any-output-driver

Yesterday I updated the SMPlayer to the 17.10.0 (revision 8701). After update I can not hear any sound. I tried all output drivers: ALSA, pulse, oss, jack, pcm, sdl and sndio but none of them works.

After that I did remove and purge smplayer* and removed .config/smplayer/ folder and reinstall SMPlayer but the problem still exists.

On the GNOME control panel>sound>Applications SMPlayer does not list there when it is open.

The weird thing is mpv media player has sound.

What went wrong on my SMPlayer? How can I fix it?

I'm Using: Ubuntu 16.04 GNOME

GNOME shell 3.18.5

Is there any software that blocks porn on all browsers that I can install? https://askubuntu.com/questions/695840/is-there-any-software-that-blocks-porn-on-all-browsers-that-i-can-install

I have to find a way to block porn sites on all browsers through something system-wide like iptables (just an idea)... Is there any way that I can do that.

Is it really possible to set up VLC to stream TV from TV tuner card ENCORE "ENLTV-FM3"? https://askubuntu.com/questions/527482/is-it-really-possible-to-set-up-vlc-to-stream-tv-from-tv-tuner-card-encore-enlt

After 2 weeks of searching for any solution, I could say that I didnt find any way to make this work. I'm on Xubuntu 12.04 from Work, and I saw that with VLC was possible to capture TV and then stream it. So, I decided to install my TV tuner, and then VLC. All those tutorials seemed to be so easy to configure and all that, but... no one helped me. First of all:

1 - VLC detects my TV tuner perfectly, and it seems to take signal, but it only shows that famous gray screen when no one channel could be tuned.

enter image description here

2 - I can't change channels, to see if TV tuner syntonizes some of them, at least one!!!.

3 - Of course I can't test streaming till I can't set up previous points. But, there's a problem... I couldnt find just only one tutorial to explain me the correct way to stream in VLC. There're a lot of them but referred to windows... those are very different than in Ubuntu, and it can't apply. Many people told me that they couldnt make VLC work, so... I dont know any other option in Ubuntu to do this what I need, so... I hope you can help me with this!

My idea was to capture TV from TV tuner, and then stream it; no in another software, but on a WEB page. Many tutorials say that it's possible! and they do it, but... or it's about windows, or VLC version they use is very old against the newest you find in Ubuntu Repositories and it's almost impossible to adapt it (of course when I try, it doesnt work anyway).

Any help would be very appreciated!

Installing proprietary NVIDIA driver for Geforce 9600 GT on Ubuntu 14.04 https://askubuntu.com/questions/463276/installing-proprietary-nvidia-driver-for-geforce-9600-gt-on-ubuntu-14-04

I would like to use CUDA on my Ubuntu machine with the graphics card NVIDIA Geforce 9600 GT. Installing CUDA is no problem but in order to run any CUDA code I need to install the proprietary NVIDIA driver as well.

I did so by choosing an appropriate one (for example, 331) from the list popping up in the "Additional drivers" menu. The installation works just fine but whenever I reboot the system all I see is a black screen with a blinking cursor.

After purging all NVIDIA related stuff (sudo apt-get remove --purge nvidia*), I'm able to use the system again after rebooting.

I read somewhere that this problem might be related to the fact that I have to use DVI instead of VGA as there are no other output ports on the card. However, switching from one DVI output port to another doesn't help either.

Any help is greatly appreciated.

Is there a GUI client for Git? https://askubuntu.com/questions/227554/is-there-a-gui-client-for-git

I am using git for version control of various projects.

Is there GUI software for navigating through commits and branches of a project and for retrieving versions in git projects?