Dock colors panel in KolourPaint https://askubuntu.com/questions/1565166/dock-colors-panel-in-kolourpaint

I was playing around with KolourPaint and I managed to undock the Colors panel. Never found how to dock it back.

Picture of the current (undocked) situation

I have Kubuntu 24.04 with KDE Plasma 5.27.12.

I can't type on the keyboard when I get to the login screen to enter my password - ASUS TUF F15 FX506LH https://askubuntu.com/questions/1565165/i-cant-type-on-the-keyboard-when-i-get-to-the-login-screen-to-enter-my-password

I have an ASUS TUF F15 FX506LH laptop, and I’ve disconnected the battery because I’m running Linux—Ubuntu 24.04.4 LTS. On Windows 11, I used MyASUS to set the battery to 60% to extend its life. The problem is when I enter my user password to log into Linux: I can’t type anything at all on the keyboard when I first open it. I have to restart the laptop to be able to type on the keyboard and log in. What can I do to fix this problem?

OpenVPN won't connect on 24.04 https://askubuntu.com/questions/1565163/openvpn-wont-connect-on-24-04

I'm using Ubuntu 22.04 and I usually use OpenVPN for gaming, but it's stopped working. It just keeps loading for a few minutes and then says "connection failed." I tried to fix it for a few hours with solutions I found in some posts, but none of them worked. Image showing NetworkManager notification error.

Network problem in my ubuntu 24.04 lts https://askubuntu.com/questions/1565159/network-problem-in-my-ubuntu-24-04-lts

I use google chrome and firefox in ubuntu 24.04.3, most of the web site are not open like github, etea, pypl, etc. why and how to resolve it.

Mouse Logitech MX Master 3S freezes with dongle https://askubuntu.com/questions/1565158/mouse-logitech-mx-master-3s-freezes-with-dongle

I use Ubuntu 24.04 in a notebook Dell 5000 series. I bought a mouse, Logitech MX Master 3S, and connected it via dongle. It works bad, because from time to time, it freezes with no signal. It can occur after a click, scrolling, moving the mouse... It's not suspension by unused time.

I searched on internet in a lot of ways to fix it, but none worked. I changed grub file using this line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=0" 

instead of the original. I created a new rule file in /etc/udev/rules.d/, "50-logitech-bolt.rules", with this line:

ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c548", ATTR{power/control}="on", ATTR{power/autosuspend}="-1"

I tried some other configurations and nothing works. So I tried to use Bluetooth connection, but the mouse became extremely slow, even configuring more speed didn't improve it.

All of these configurations above I restart the computer, turn off the mouse and even remove the dongle.

What else can I do to resolve this problem, please?

Steam adds way to many shortcuts https://askubuntu.com/questions/1565156/steam-adds-way-to-many-shortcuts

i installed Ubuntu 24.04.4 LTS on a laptop and when i install steam games for some reason it adds like 40ish shortcuts so when i look in the apps all my games have 40ish. I would like to be able to just have 1 of each or none would even work as i can launch though steam.

How to change the name of a paired blue tooth device? https://askubuntu.com/questions/1565154/how-to-change-the-name-of-a-paired-blue-tooth-device

I connect my system at various times to one or another of two blue tooth receivers to play music. Both receivers are the same model from the same manufacturer so they show up in the device list with the same name. I never power them both on at the same time. I would like to either have the device list indicate which unit is powered and transmitting, or modify the device names with a suffix identifying its location. As it is now I have to connect by trial and error. That effort is complicated by the fact that the devices apparently do not appear in the list in the same order from one time to the next.

Linux Mint won't boot with virtual machines without amd_iommu=off [closed] https://askubuntu.com/questions/1565153/linux-mint-wont-boot-with-virtual-machines-without-amd-iommu-off

I'm running Linux Mint on an AMD system and I want to use virtual machines, but if I boot normally, the system gets stuck on a black screen. The only way it works is by adding the kernel parameter:

amd_iommu=off

is there a way to fix this so I can run Linux Mint normally and still use virtual machines without always using amd_iommu=off?

System Information:

Kernel driver in use: amdgpu
Kernel modules: amdgpu```

GPU Information:
```04:00.0 VGA compatible controller: AMD Raven Ridge [Radeon Vega Mobile Series]
Kernel driver in use: amdgpu
Kernel modules: amdgpu```

Kernel Version:
```6.17.0-19-generic```

Boot Parameters:
```BOOT_IMAGE=/boot/vmlinuz-6.17.0-19-generic root=UUID=8728be9f-2cf0-4b6a-933a-c845a69bad62 ro quiet splash amd_iommu=off```

Relevant Boot Logs:
```pcieport 0000:00:01.2: PCIe Bus Error: severity=Correctable, type=Data Link Layer
  device [1022:15d3] error status/mask=000000c0/00006000
    [6] BadTLP
    [7] BadDLLP
ath10k_pci 0000:01:00.0: PCIe Bus Error: severity=Correctable, type=Physical Layer
  device [168c:0042] error status/mask=00001181/00006000
    [0] RxErr
    [7] BadDLLP
    [8] Rollover
    [12] Timeout```
I can't use my laptop touchpad with Ubuntu 25.10 https://askubuntu.com/questions/1565140/i-cant-use-my-laptop-touchpad-with-ubuntu-25-10

My laptop is Lenovo ThinkBook 16+. I can't use my laptop touchpad with Ubuntu 25.10

Do you have any idea? [openclaw can't fix it. It tells me it's a bug.]

$ xinput --list
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ xwayland-pointer:16                       id=6    [slave  pointer  (2)]
⎜   ↳ xwayland-relative-pointer:16              id=7    [slave  pointer  (2)]
⎜   ↳ xwayland-pointer-gestures:16              id=8    [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ xwayland-keyboard:16                      id=9    [slave  keyboard (3)]
Why am I getting a black screen for 10-15 seconds on wake from suspend on Ubuntu 25.10 on an HP Envy x360 laptop? https://askubuntu.com/questions/1565135/why-am-i-getting-a-black-screen-for-10-15-seconds-on-wake-from-suspend-on-ubuntu

I've been having issues with my laptop taking an abnormally long time to wake from suspend, either via terminal or when closing the lid.

The laptop is a dual boot setup with Windows, and the problem persists between distros (Ubuntu 24.04, 25.10, Fedora 43), but does not appear when using Windows.

Specs:

  • Model: HP Envy x360 2-in-1 Laptop 15-fh0xxx

  • Processor: AMD Ryzen 7 7730U with Radeon Graphics x 16

  • Graphics: AMD Radeon Graphics

  • Hard Drive: NVMe - SAMSUNG MZVL4512HBLU-00BH1 (lshw details below.)

     *-nvme                    
           description: NVMe device
           product: SAMSUNG MZVL4512HBLU-00BH1
           vendor: Samsung Electronics Co Ltd
           physical id: 0
           bus info: pci@0000:03:00.0
           logical name: /dev/nvme0
           version: HPS3NHAV
           serial: S6B5NU0W821162
           width: 64 bits
           clock: 33MHz
           capabilities: nvme pm pciexpress msix nvm_express bus_master cap_list
           configuration: driver=nvme latency=0 nqn=nqn.1994-11.com.samsung:nvme:PM9B1:M.2:S6B5NU0W821162 state=live
           resources: irq:71 memory:d0600000-d0603fff
         *-namespace:0
              description: NVMe disk
              physical id: 0
              logical name: hwmon3
         *-namespace:1
              description: NVMe disk
              physical id: 2
              logical name: /dev/ng0n1
         *-namespace:2
              description: NVMe disk
              physical id: 1
              bus info: nvme@0:1
              logical name: /dev/nvme0n1
              size: 476GiB (512GB)
              capabilities: gpt-1.00 partitioned partitioned:gpt
              configuration: guid=aa5d5547-0984-4b85-956c-c5bdc23f4354 logicalsectorsize=512 sectorsize=512 wwid=nvme.144d-533642354e553057383231313632-53414d53554e47204d5a564c3435313248424c552d3030424831-00000001
      *-sata:0
           description: SATA controller
           product: FCH SATA Controller [AHCI mode]
           vendor: Advanced Micro Devices, Inc. [AMD]
           physical id: 0
           bus info: pci@0000:05:00.0
           version: 81
           width: 32 bits
           clock: 33MHz
           capabilities: sata pm pciexpress msi ahci_1.0 bus_master cap_list
           configuration: driver=ahci latency=0
           resources: irq:68 memory:d0001000-d00017ff
      *-sata:1
           description: SATA controller
           product: FCH SATA Controller [AHCI mode]
           vendor: Advanced Micro Devices, Inc. [AMD]
           physical id: 0.1
           bus info: pci@0000:05:00.1
           version: 81
           width: 32 bits
           clock: 33MHz
           capabilities: sata pm pciexpress msi ahci_1.0 bus_master cap_list
           configuration: driver=ahci latency=0
           resources: irq:70 memory:d0000000-d00007ff
    
  • Firmware: F.14

  • OS: Ubuntu 25.10, 64-bit

  • GNOME Version: 49

  • Windowing System: Wayland

  • Kernel Version: Linux 6.17.0-19-generic

After doing a small amount of research + looking at various logs, a consistent pattern seems to show in dmesg; suspend from terminal below:

####### systemctl suspend called at ~ [2863] #####################
[ 2863.074088] wlo1: deauthenticating from c6:00:35:18:39:80 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 2864.519866] amdgpu 0000:04:00.0: [drm] *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
####### ~ 30 seconds later, keyboard backlight turns off... ######################
[ 2894.193615] PM: suspend entry (s2idle)
[ 2894.197363] Filesystems sync: 0.003 seconds
[ 2894.200209] Freezing user space processes
[ 2894.202286] Freezing user space processes completed (elapsed 0.002 seconds)
[ 2894.202293] OOM killer disabled.
[ 2894.202296] Freezing remaining freezable tasks
[ 2894.203231] Freezing remaining freezable tasks completed (elapsed 0.000 seconds)
[ 2894.203238] printk: Suspending console(s) (use no_console_suspend to debug)
[ 2894.218203] ipheth 3-2:4.2: Apple iPhone USB Ethernet now disconnected
[ 2894.228330] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Asserting Reset
[ 2904.207699] PM: suspend of devices complete after 10001.408 msecs
[ 2904.207710] PM: start suspend of devices complete after 10005.576 msecs
[ 2904.209319] Disabling GPIO #12 interrupt for suspend.
[ 2904.209326] Disabling GPIO #17 interrupt for suspend.
[ 2904.209335] Disabling GPIO #31 interrupt for suspend.
[ 2904.209340] Clearing debounce for GPIO #31 during suspend.
[ 2904.209671] PM: late suspend of devices complete after 1.955 msecs
[ 2904.210974] ACPI: EC: interrupt blocked
[ 2904.244940] PM: noirq suspend of devices complete after 35.041 msecs
[ 2904.245239] ACPI: \_SB_.PEP_: Successfully transitioned to state screen off
[ 2904.245850] ACPI: \_SB_.PEP_: Successfully transitioned to state unknown
[ 2904.246140] ACPI: \_SB_.PEP_: Successfully transitioned to state lps0 ms entry
[ 2904.246354] ACPI: \_SB_.PEP_: Successfully transitioned to state lps0 entry
[ 2904.247548] PM: suspend-to-idle
[ 2904.247593] amd_pmc: SMU idlemask s0i3: 0xc02f0eb5
######### [2920] (about a minute later) tried to wake laptop ################################
[ 2920.651565] Timekeeping suspended for 15.948 seconds
[ 2920.651616] PM: Triggering wakeup from IRQ 9
[ 2920.651713] ACPI: PM: ACPI fixed event wakeup
[ 2920.651720] PM: resume from suspend-to-idle
[ 2920.653751]    evmisc-0132 ev_queue_notify_reques: Dispatching Notify on [GPP3] (Device) Value 0x01 (Device Check) Node 0000000088e1c3be
[ 2920.653810] ACPI: \_SB_.PEP_: Successfully transitioned to state screen off
[ 2920.654097] ACPI: \_SB_.PEP_: Successfully transitioned to state lps0 exit
[ 2920.654405] ACPI: \_SB_.PEP_: Successfully transitioned to state lps0 ms exit
[ 2920.654585]    evmisc-0132 ev_queue_notify_reques: Dispatching Notify on [GPP3] (Device) Value 0x01 (Device Check) Node 0000000088e1c3be
[ 2920.654611] ACPI: \_SB_.PEP_: Successfully transitioned to state screen on
[ 2920.655309] ACPI: EC: interrupt unblocked
[ 2920.687914] PM: noirq resume of devices complete after 33.299 msecs
[ 2920.689852] PM: early resume of devices complete after 1.623 msecs
[ 2920.692667] [drm] PCIE GART of 1024M enabled.
[ 2920.692672] [drm] PTB located at 0x000000F41FC00000
[ 2920.692709] amdgpu 0000:04:00.0: amdgpu: SMU is resuming...
[ 2920.693768] amdgpu 0000:04:00.0: amdgpu: dpm has been disabled
[ 2920.694689] nvme nvme0: D3 entry latency set to 8 seconds
[ 2920.694778] amdgpu 0000:04:00.0: amdgpu: SMU is resumed successfully!
[ 2920.702969] nvme nvme0: 16/0/0 default/read/poll queues
[ 2920.708686] nvme nvme0: Ignoring bogus Namespace Identifiers
[ 2920.720387] amdgpu 0000:04:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
[ 2920.720395] amdgpu 0000:04:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[ 2920.720401] amdgpu 0000:04:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[ 2920.720405] amdgpu 0000:04:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[ 2920.720409] amdgpu 0000:04:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[ 2920.720413] amdgpu 0000:04:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[ 2920.720417] amdgpu 0000:04:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[ 2920.720421] amdgpu 0000:04:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[ 2920.720425] amdgpu 0000:04:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[ 2920.720429] amdgpu 0000:04:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 11 on hub 0
[ 2920.720433] amdgpu 0000:04:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 8
[ 2920.720437] amdgpu 0000:04:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 8
[ 2920.720441] amdgpu 0000:04:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 8
[ 2920.720445] amdgpu 0000:04:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 8
[ 2920.720449] amdgpu 0000:04:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 8
[ 2920.758826]    evmisc-0132 ev_queue_notify_reques: Dispatching Notify on [UBTC] (Device) Value 0x80 (Status Change) Node 00000000f6d1c200
[ 2920.760167] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8be9.wmfw: format 3 timestamp 0x6128e16b
[ 2920.760175] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8be9.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
[ 2920.770033]    evmisc-0132 ev_queue_notify_reques: Dispatching Notify on [UBTC] (Device) Value 0x80 (Status Change) Node 00000000f6d1c200
[ 2920.779272] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8be9.wmfw: format 3 timestamp 0x6128e16b
[ 2920.779281] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8be9.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
[ 2920.867377] usb 1-3: reset full-speed USB device number 2 using xhci_hcd
[ 2920.931684] GPIO 17 is active: 0x10141b00
[ 2920.938747] GPIO 17 is active: 0x10141b00
[ 2920.945302] GPIO 17 is active: 0x10141b00
[ 2920.953184] GPIO 17 is active: 0x10141b00
[ 2920.960114] GPIO 17 is active: 0x10141b00
[ 2920.967022] GPIO 17 is active: 0x10141b00
[ 2920.973950] GPIO 17 is active: 0x10141b00
[ 2920.980869] GPIO 17 is active: 0x10141b00
[ 2920.987800] GPIO 17 is active: 0x10141b00
[ 2920.994707] GPIO 17 is active: 0x10141b00
[ 2920.997975] ata2: SATA link down (SStatus 0 SControl 300)
[ 2920.998464] ata1: SATA link down (SStatus 0 SControl 300)
[ 2921.001627] GPIO 17 is active: 0x10141b00
[ 2921.008540] GPIO 17 is active: 0x10141b00
[ 2921.015477] GPIO 17 is active: 0x10141b00
[ 2921.022378] GPIO 17 is active: 0x10141b00
[ 2921.029302] GPIO 17 is active: 0x10141b00
[ 2921.036234] GPIO 17 is active: 0x10141b00
[ 2921.043165] GPIO 17 is active: 0x10141b00
[ 2921.050070] GPIO 17 is active: 0x10141b00
[ 2921.056989] GPIO 17 is active: 0x10141b00
[ 2921.063900] GPIO 17 is active: 0x10141b00
[ 2921.070829] GPIO 17 is active: 0x10141b00
[ 2921.077735] GPIO 17 is active: 0x10141b00
[ 2921.084656] GPIO 17 is active: 0x10141b00
[ 2921.091592] GPIO 17 is active: 0x10141b00
[ 2921.098507] GPIO 17 is active: 0x10141b00
[ 2921.105438] GPIO 17 is active: 0x10141b00
[ 2921.112360] GPIO 17 is active: 0x10141b00
[ 2921.119278] GPIO 17 is active: 0x10141b00
[ 2921.126213] GPIO 17 is active: 0x10141b00
[ 2921.133127] GPIO 17 is active: 0x10141b00
[ 2921.140039] GPIO 17 is active: 0x10141b00
[ 2921.146951] GPIO 17 is active: 0x10141b00
[ 2921.153895] GPIO 17 is active: 0x10141b00
[ 2921.160804] GPIO 17 is active: 0x10141b00
[ 2921.167698] GPIO 17 is active: 0x10141b00
[ 2921.174261] GPIO 17 is active: 0x10141b00
[ 2921.716487] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
[ 2921.887571] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8be9-spkid1-r0.bin: v0.43.1
[ 2921.887582] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: spk-prot: C:\Users\tlu\Desktop\HP_Consumer\CY23\Goldy\Official_release\20221118_RDL\103C8BDF_221118_V1_A1.bin
[ 2922.564039] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
[ 2922.577826] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8be9-spkid1-l0.bin: v0.43.1
[ 2922.577834] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: spk-prot: C:\Users\tlu\Desktop\HP_Consumer\CY23\Goldy\Official_release\20221118_RDL\103C8BDF_221118_V1_A0.bin
[ 2922.707264] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Calibration applied: R0=10850
[ 2922.709983] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Calibration applied: R0=10485
[ 2922.746230] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Firmware Loaded - Type: spk-prot, Gain: 17
[ 2922.747350] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Firmware Loaded - Type: spk-prot, Gain: 17
[ 2930.691106] PM: resume of devices complete after 10002.410 msecs
[ 2930.693644] OOM killer enabled.
[ 2930.693651] Restarting tasks: Starting
[ 2930.695198] Restarting tasks: Done
[ 2930.695246] random: crng reseeded on system resumption
[ 2930.698057] PM: suspend exit
###################### login screen appears ##########################
[ 2930.700504] ipheth 3-2:4.2: ipheth_enable_ncm: usb_control_msg: 0
[ 2930.701080] ipheth 3-2:4.2: Apple iPhone USB Ethernet device attached
[ 2930.705433] Bluetooth: hci0: RTL: examining hci_ver=0c hci_rev=000c lmp_ver=0c lmp_subver=8852
[ 2930.707411] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 2930.707421] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852cu_fw_v2.bin
[ 2930.708317] Bluetooth: hci0: RTL: loading rtl_bt/rtl8852cu_config.bin
[ 2930.709509] Bluetooth: hci0: RTL: cfg_sz 6, total sz 71983
[ 2930.716220] ipheth 3-2:4.2 enx4e20b8d11d27: renamed from eth0
[ 2931.360661] Bluetooth: hci0: RTL: fw version 0x040d7225
[ 2931.489431] Bluetooth: hci0: AOSP extensions version v1.00
[ 2931.489443] Bluetooth: hci0: AOSP quality report is supported
[ 2931.489775] Bluetooth: MGMT ver 1.23
[ 2931.547264]    evmisc-0132 ev_queue_notify_reques: Dispatching Notify on [WMID] (Device) Value 0x80 (Status Change) Node 00000000b75b3b47
[ 2931.547387] hp_wmi: Unknown event_id - 131073 - 0x0
[ 2935.659003] wlo1: authenticate with 74:9e:75:b2:48:93 (local address=40:1a:58:83:e4:44)
[ 2935.659016] wlo1: send auth to 74:9e:75:b2:48:93 (try 1/3)
[ 2935.660330] wlo1: authenticated
[ 2935.660760] wlo1: associate with 74:9e:75:b2:48:93 (try 1/3)
[ 2935.663484] wlo1: RX AssocResp from 74:9e:75:b2:48:93 (capab=0x11 status=0 aid=2)
[ 2935.768351] wlo1: associated

Suspend by closing lid shown below.

####### laptop lid closed around ~ [2863] #####################
[ 3639.889163]    evmisc-0132 ev_queue_notify_reques: Dispatching Notify on [LID_] (Device) Value 0x80 (Status Change) Node 00000000a9455b95
[ 3639.962904] wlo1: deauthenticating from 74:9e:75:b2:48:93 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 3641.434778] amdgpu 0000:04:00.0: [drm] *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
[ 3643.383042] PM: suspend entry (s2idle)
[ 3643.391655] Filesystems sync: 0.008 seconds
[ 3643.394624] Freezing user space processes
[ 3643.396642] Freezing user space processes completed (elapsed 0.002 seconds)
[ 3643.396649] OOM killer disabled.
[ 3643.396652] Freezing remaining freezable tasks
[ 3643.398070] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[ 3643.398078] printk: Suspending console(s) (use no_console_suspend to debug)
[ 3643.415504] ipheth 3-2:4.2: Apple iPhone USB Ethernet now disconnected
[ 3643.423225] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Asserting Reset
[ 3653.402351] PM: suspend of devices complete after 10001.199 msecs
[ 3653.402365] PM: start suspend of devices complete after 10005.482 msecs
[ 3653.404337] Disabling GPIO #12 interrupt for suspend.
[ 3653.404349] Disabling GPIO #17 interrupt for suspend.
[ 3653.404359] Disabling GPIO #31 interrupt for suspend.
[ 3653.404365] Clearing debounce for GPIO #31 during suspend.
[ 3653.404749] PM: late suspend of devices complete after 2.377 msecs
[ 3653.406118] ACPI: EC: interrupt blocked
[ 3653.439479] PM: noirq suspend of devices complete after 34.494 msecs
[ 3653.439747] ACPI: \_SB_.PEP_: Successfully transitioned to state screen off
[ 3653.440385] ACPI: \_SB_.PEP_: Successfully transitioned to state unknown
[ 3653.440678] ACPI: \_SB_.PEP_: Successfully transitioned to state lps0 ms entry
[ 3653.440997] ACPI: \_SB_.PEP_: Successfully transitioned to state lps0 entry
[ 3653.442513] PM: suspend-to-idle
[ 3653.442561] amd_pmc: SMU idlemask s0i3: 0xc02f0eb5
############# laptop lid reopened around 40 secondslater
[ 3680.982531] Timekeeping suspended for 26.751 seconds
[ 3680.982583] PM: Triggering wakeup from IRQ 9
[ 3680.982711] ACPI: EC: ACPI EC GPE status set
[ 3680.982742] ACPI: EC: ACPI EC GPE dispatched
[ 3680.984215]    evmisc-0132 ev_queue_notify_reques: Dispatching Notify on [LID_] (Device) Value 0x80 (Status Change) Node 00000000a9455b95
[ 3680.985788] PM: Triggering wakeup from IRQ 7
[ 3680.985899]    evmisc-0132 ev_queue_notify_reques: Dispatching Notify on [LID_] (Device) Value 0x80 (Status Change) Node 00000000a9455b95
[ 3680.991254] ACPI: EC: ACPI EC work flushed
[ 3680.991267] ACPI: PM: Wakeup after ACPI Notify sync
[ 3680.991270] PM: resume from suspend-to-idle
[ 3680.992174]    evmisc-0132 ev_queue_notify_reques: Dispatching Notify on [GPP3] (Device) Value 0x01 (Device Check) Node 0000000088e1c3be
[ 3680.992217] ACPI: \_SB_.PEP_: Successfully transitioned to state screen off
[ 3680.992446] ACPI: \_SB_.PEP_: Successfully transitioned to state lps0 exit
[ 3680.992682] ACPI: \_SB_.PEP_: Successfully transitioned to state lps0 ms exit
[ 3680.992903]    evmisc-0132 ev_queue_notify_reques: Dispatching Notify on [GPP3] (Device) Value 0x01 (Device Check) Node 0000000088e1c3be
[ 3680.992936] ACPI: \_SB_.PEP_: Successfully transitioned to state screen on
[ 3680.993524] ACPI: EC: interrupt unblocked
[ 3681.029821] PM: noirq resume of devices complete after 36.880 msecs
[ 3681.029885] GPIO 17 is active: 0x10147b00
[ 3681.029907] PM: Triggering wakeup from IRQ 0
[ 3681.032024] PM: early resume of devices complete after 1.901 msecs
[ 3681.034429] [drm] PCIE GART of 1024M enabled.
[ 3681.034434] [drm] PTB located at 0x000000F41FC00000
[ 3681.034499] amdgpu 0000:04:00.0: amdgpu: SMU is resuming...
[ 3681.035277] GPIO 17 is active: 0x10141b00
[ 3681.036231] nvme nvme0: D3 entry latency set to 8 seconds
[ 3681.037015] amdgpu 0000:04:00.0: amdgpu: dpm has been disabled
[ 3681.037101] GPIO 17 is active: 0x10141b00
[ 3681.038974] amdgpu 0000:04:00.0: amdgpu: SMU is resumed successfully!
[ 3681.044535] nvme nvme0: 16/0/0 default/read/poll queues
[ 3681.050227] nvme nvme0: Ignoring bogus Namespace Identifiers
[ 3681.052901] amdgpu 0000:04:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
[ 3681.052910] amdgpu 0000:04:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[ 3681.052917] amdgpu 0000:04:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[ 3681.052921] amdgpu 0000:04:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[ 3681.052924] amdgpu 0000:04:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[ 3681.052928] amdgpu 0000:04:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[ 3681.052931] amdgpu 0000:04:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[ 3681.052935] amdgpu 0000:04:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[ 3681.052939] amdgpu 0000:04:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[ 3681.052943] amdgpu 0000:04:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 11 on hub 0
[ 3681.052946] amdgpu 0000:04:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 8
[ 3681.052949] amdgpu 0000:04:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 8
[ 3681.052952] amdgpu 0000:04:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 8
[ 3681.052955] amdgpu 0000:04:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 8
[ 3681.052957] amdgpu 0000:04:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 8
[ 3681.089190]    evmisc-0132 ev_queue_notify_reques: Dispatching Notify on [UBTC] (Device) Value 0x80 (Status Change) Node 00000000f6d1c200
[ 3681.091090] GPIO 17 is active: 0x10141b00
[ 3681.098007] GPIO 17 is active: 0x10141b00
[ 3681.104913] GPIO 17 is active: 0x10141b00
[ 3681.106066] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8be9.wmfw: format 3 timestamp 0x6128e16b
[ 3681.106082] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8be9.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
[ 3681.109183]    evmisc-0132 ev_queue_notify_reques: Dispatching Notify on [UBTC] (Device) Value 0x80 (Status Change) Node 00000000f6d1c200
[ 3681.111862] GPIO 17 is active: 0x10141b00
[ 3681.118815] GPIO 17 is active: 0x10141b00
[ 3681.125744] GPIO 17 is active: 0x10141b00
[ 3681.132664] GPIO 17 is active: 0x10141b00
[ 3681.139590] GPIO 17 is active: 0x10141b00
[ 3681.146516] GPIO 17 is active: 0x10141b00
[ 3681.153440] GPIO 17 is active: 0x10141b00
[ 3681.160377] GPIO 17 is active: 0x10141b00
[ 3681.167294] GPIO 17 is active: 0x10141b00
[ 3681.172025] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8be9.wmfw: format 3 timestamp 0x6128e16b
[ 3681.172038] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8be9.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
[ 3681.174206] GPIO 17 is active: 0x10141b00
[ 3681.181151] GPIO 17 is active: 0x10141b00
[ 3681.188081] GPIO 17 is active: 0x10141b00
[ 3681.194990] GPIO 17 is active: 0x10141b00
[ 3681.201920] GPIO 17 is active: 0x10141b00
[ 3681.208839] GPIO 17 is active: 0x10141b00
[ 3681.210856] usb 1-3: reset full-speed USB device number 2 using xhci_hcd
[ 3681.215771] GPIO 17 is active: 0x10141b00
[ 3681.222699] GPIO 17 is active: 0x10141b00
[ 3681.229626] GPIO 17 is active: 0x10141b00
[ 3681.236540] GPIO 17 is active: 0x10141b00
[ 3681.243423] GPIO 17 is active: 0x10141b00
[ 3681.250002] GPIO 17 is active: 0x10141b00
[ 3681.338850] ata2: SATA link down (SStatus 0 SControl 300)
[ 3681.339019] ata1: SATA link down (SStatus 0 SControl 300)
[ 3682.026415] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
[ 3682.233522] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8be9-spkid1-r0.bin: v0.43.1
[ 3682.233530] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: DSP1: spk-prot: C:\Users\tlu\Desktop\HP_Consumer\CY23\Goldy\Official_release\20221118_RDL\103C8BDF_221118_V1_A1.bin
[ 3682.910189] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
[ 3682.923938] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8be9-spkid1-l0.bin: v0.43.1
[ 3682.923943] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: DSP1: spk-prot: C:\Users\tlu\Desktop\HP_Consumer\CY23\Goldy\Official_release\20221118_RDL\103C8BDF_221118_V1_A0.bin
[ 3683.053051] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Calibration applied: R0=10850
[ 3683.055687] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Calibration applied: R0=10485
[ 3683.088874] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Firmware Loaded - Type: spk-prot, Gain: 17
[ 3683.089868] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Firmware Loaded - Type: spk-prot, Gain: 17
[ 3691.033589] PM: resume of devices complete after 10002.789 msecs
[ 3691.035756] OOM killer enabled.
[ 3691.035762] Restarting tasks: Starting
[ 3691.037487] Restarting tasks: Done
[ 3691.037543] random: crng reseeded on system resumption
[ 3691.040032] PM: suspend exit
#### login screen appears ##########3

And when running a test using amd_s2idle; as shown on Pastebin: There seems to be a consistent 8-second hang sometime during wake from startup around here:

[ 3683.053051] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Calibration applied: R0=10850
[ 3683.055687] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Calibration applied: R0=10485
[ 3683.088874] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.1: Firmware Loaded - Type: spk-prot, Gain: 17
[ 3683.089868] cs35l41-hda i2c-CSC3551:00-cs35l41-hda.0: Firmware Loaded - Type: spk-prot, Gain: 17
[ 3691.033589] PM: resume of devices complete after 10002.789 msecs
[ 3691.035756] OOM killer enabled.

I'm also worried it has to do with the following line:

[ 3681.036231] nvme nvme0: D3 entry latency set to 8 seconds
cat /sys/power/mem_sleep
[s2idle]

Partial s2idle report:

s2idle report created on 2026-02-08 17:10:04.255834 using amd-s2idle 0.2.13
 
⚓ Prerequisite checks
Measured 2026-02-08 17:09:13.
 💻 AMD Ryzen 7 7730U with Radeon Graphics (family 19 model 50)
 💻 HP HP Envy x360 2-in-1 Laptop 15-fh0xxx (103C_5335M8 HP Envy)
 🐧 Ubuntu 25.10
 🐧 Kernel 6.17.0-12-generic
 🔋 Battery BAT1 (Hewlett-Packard PABAS0241231) is operating at 83.80% of design
 ✅ ASPM policy set to 'default'
 ✅ GPIO driver `pinctrl_amd` available
 ✅ PMC driver `amd_pmc` loaded (Program 0 Firmware 64.74.0)
 ✅ USB3 driver `xhci_hcd` bound to 0000:04:00.3, 0000:04:00.4
 ✅ System is configured for s2idle
 🚦 AHCI is not configured for DevSlp in BIOS
 ✅ GPU driver `amdgpu` bound to 0000:04:00.0
 🚦 Unable to discover CPU topology, didn't find socket level
 ✅ PC6 and CC6 enabled
 ✅ SMT enabled
 ✅ ACPI FADT supports Low-power S0 idle
 ✅ Logs are provided via cysystemd
 ✅ LPS0 _DSM enabled
 ✅ WLAN driver `rtw89_8852ce` bound to 0000:01:00.0
 
Cycle Data
╒═════════╤════════════════════════════════════════════════════════════════╕
│   Cycle │ data                                                           │
╞═════════╪════════════════════════════════════════════════════════════════╡
│       0 │ 💤 Hardware sleep cycle count: 1                                │
│         │ 💤 Notify devices ['GPP3', 'UBTC', 'WMID'] found during suspend │
╘═════════╧════════════════════════════════════════════════════════════════╛
 
🦟 Debug Data
DMI|value
bios_date| 12/03/2025
bios_release| 15.14
bios_vendor| Insyde
bios_version| F.14
board_name| 8BE9
board_vendor| HP
board_version| 75.44
chassis_type| 31
chassis_vendor| HP
chassis_version| Chassis Version
ec_firmware_release| 75.44
product_sku| 7H1T1UA#ABA
product_version| Type1ProductConfigId
VCE feature version: 0, firmware version: 0x00000000
UVD feature version: 0, firmware version: 0x00000000
MC feature version: 0, firmware version: 0x00000000
ME feature version: 54, firmware version: 0x000000a7
PFP feature version: 54, firmware version: 0x000000c3
CE feature version: 54, firmware version: 0x00000050
RLC feature version: 1, firmware version: 0x0000003c
RLC SRLC feature version: 1, firmware version: 0x00000001
RLC SRLG feature version: 1, firmware version: 0x00000001
RLC SRLS feature version: 1, firmware version: 0x00000001
RLCP feature version: 0, firmware version: 0x00000000
RLCV feature version: 0, firmware version: 0x00000000
MEC feature version: 54, firmware version: 0x000001d8
IMU feature version: 0, firmware version: 0x00000000
SOS feature version: 0, firmware version: 0x00000000
ASD feature version: 0, firmware version: 0x210000e0
TA XGMI feature version: 0x00000000, firmware version: 0x00000000
TA RAS feature version: 0x00000000, firmware version: 0x00000000
TA HDCP feature version: 0x00000000, firmware version: 0x17000041
TA DTM feature version: 0x00000000, firmware version: 0x12000018
TA RAP feature version: 0x00000000, firmware version: 0x00000000
TA SECUREDISPLAY feature version: 0x00000000, firmware version: 0x00000000
SMC feature version: 0, program: 0, firmware version: 0x00404a00 (64.74.0)
SDMA0 feature version: 41, firmware version: 0x00000028
VCN feature version: 0, firmware version: 0x08118003
DMCU feature version: 0, firmware version: 0x00000000
DMCUB feature version: 0, firmware version: 0x0101002b
TOC feature version: 0, firmware version: 0x00000000
MES_KIQ feature version: 0, firmware version: 0x00000000
MES feature version: 0, firmware version: 0x00000000
VPE feature version: 0, firmware version: 0x00000000
VBIOS version: 113-BARCELO-004
LOGIND: no configuration changes
EDID for /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/drm/card1/card1-eDP-1/edid:
│ Block 0, Base EDID:
│ EDID Structure Version & Revision: 1.4
│ Vendor & Product Identification:
│ Manufacturer: CMN
│ Model: 5394
│ Made in: week 21 of 2019
│ Basic Display Parameters & Features:
│ Digital display
│ Bits per primary color channel: 6
│ DisplayPort interface
│ Maximum image size: 34 cm x 19 cm
│ Gamma: 2.20
│ Supported color formats: RGB 4:4:4
│ First detailed timing includes the native pixel format and preferred refresh rate
│ Display supports continuous frequencies
│ Color Characteristics:
│ Red  : 0.5898, 0.3496
│ Green: 0.3300, 0.5546
│ Blue : 0.1533, 0.1191
│ White: 0.3134, 0.3291
│ Established Timings I & II: none
│ Standard Timings: none
│ Detailed Timing Descriptors:
│ DTD 1:  1920x1080   60.001655 Hz  16:9     67.442 kHz    145.000000 MHz (344 mm x 193 mm)
│ Hfront   48 Hsync  32 Hback  150 Hpol P
│ Vfront    6 Vsync   8 Vback   30 Vpol N
│ DTD 2:  1920x1080   40.002483 Hz  16:9     44.963 kHz     96.670000 MHz (344 mm x 193 mm)
│ Hfront   48 Hsync  32 Hback  150 Hpol P
│ Vfront    6 Vsync   8 Vback   30 Vpol N
│ Checksum: 0xd0
│ ----------------
└─ EDID conformity: PASS


shows that my laptop doesn't have the option for deep (d3) suspend in the first place, so this makes me particularly suspicious. 

Attempted fixes:

- Switching distros to provide a clean boot experience
- Messing with kernel boot parameters like
  - `nvme_core.default_ps_max_latency_us=0`
  - `mem_sleep_default=s2idle` 
  - `pci=no_d3`
  - `nvme_core.quirks=144d:a80b:0`

- Updating to the most recent BIOS firmware available for the laptop by HP (2025)

- Attempting to change AHCI settings in BIOS

  - *No such options exist on my BIOS for some reason, and I was having trouble booting into any custom "advanced" options, trying various keybinds with little luck. I'm not particularly enthusiastic to run a modified or custom BIOS just for the sake of changing it, either.*

I'm starting to hit a dead end here, and while it's not the complete end of the world, a 15 second wait *every time* I open my laptop has been frustrating. Is there something I'm missing?
Piping video stream to VLC https://askubuntu.com/questions/1565026/piping-video-stream-to-vlc

I'm using Ubuntu 24.04. I am trying to pipe a stream to VLC. When it was rtmp I could do it, but I'm having trouble with hls/m3u8. An example link (https://ppv.to/live/247-family-guy). I have tried searching the network console in Firefox, but I couldn't find the master URL. video downloadhelper extension is able to download the stream, so I should be able to pipe it to VLC, right?

I have found the master URL, though I'm receiving a 403 Forbidden error. Why can the extension download the stream, but ffmpeg and yt-dlp can't?

I believe the answer is missing http headers. I have tried adding some that I know (user-agent, origin, referrer), but I'm still having no luck. Does anyone know how to find which headers are missing?

Issues getting wallpaper script to run with (X)Wayland https://askubuntu.com/questions/1564993/issues-getting-wallpaper-script-to-run-with-xwayland

I'm using a script I modified from here to change my wallpaper(and in-terminal colors to match). It works when I run it from the command line, but not when I use crontab trying to make it run automatically.

The script:

#!/bin/bash
[[ "$(uname -s)" = "Darwin" ]] && PATH="/usr/local/bin:${PATH}" && export PATH
command -v gdate >/dev/null 2>&1 && date() { command gdate "${@}"; }

load_prev_weather () {
    w_type=$(sed '1q;d' /tmp/prev_weather.dat)
    t_type=$(sed '2q;d' /tmp/prev_weather.dat)

    rm /tmp/prev_weather.dat
}

get_weather () {
    weatherdata=$(curl -s "wttr.in/?format=j1")

    if jq -e . >/dev/null 2>&1 <<< "$weatherdata"; then
        temp=$(echo "$weatherdata" | jq -r '.current_condition[0].temp_F' )
        w_type=$(echo "$weatherdata" | jq -r '.current_condition[0].weatherDesc[0].value')
        sunrise=$(echo "$weatherdata" | jq -r '.weather[0].astronomy[0].sunrise' | tr -d ":AM[:space:]" | sed 's/^0//')
        sunset=$(echo "$weatherdata" | jq -r '.weather[0].astronomy[0].sunset'| tr -d ":PM[:space:]" | sed 's/^0//')
        sunset=$((sunset + 1200))
    else
        echo "wttr.in failure, using previous weather."
        wttr_fail=1
    fi

}

get_time_chunk () {
    time_day=$(date +%-k%M)

    echo "$sunrise ~ $time_day ~ $sunset"

    t_type="Day"

    if (( time_day < sunrise )); then
        t_type="Night"
    elif (( time_day >= sunrise )) && (( time_day < sunrise + 130 )); then
        t_type="Morning"
    elif (( time_day < sunset - 130 )) && (( time_day > sunrise + 130 )); then
        t_type="Day"
    elif (( time_day > sunset - 100 )) && (( time_day < sunset )); then
        t_type="Evening"
    else
        t_type="Night"
    fi
}

get_simple_weather () {
    echo "Temp: $temp"

    if echo "$w_type" | grep -i -q -E "sun|sunny|clear" && (( temp >= 34 )); then
        w_type="Sun"
    elif echo "$w_type" | grep -q -i "snow" || ((temp < 34)); then
        w_type="Snow"
    elif echo "$w_type" | grep -i -q -E "rain|overcast|Light drizzle"; then
        w_type="Rain"
    else
        w_type="Misc"
    fi
}

set_pape () {
    # if ! pape=$(find "$pape_prefix"/"$t_type"/"$w_type"/* "$pape_prefix"/"$t_type"/Misc/* | shuf -n 1); then
    if ! pape=$(find "$pape_prefix"/"$t_type"/"$w_type"/* | shuf -n 1); then
        pape=$(find "$pape_prefix"/"$t_type"/* | shuf -n 1)
    fi

    if [[ $embed -eq 1 ]]; then
        if which osascript; then
            res=$(/usr/sbin/system_profiler SPDisplaysDataType | grep Resolution | awk '{print $2, $4}' | tr " " "x")
        else
        pos_res=$(xrandr | awk '/ connected.*[0-9]+x[0-9]+/ {if ($3 == "primary") {print $4} else {print $3} }' | cut -f 1 -d '+')
            res=$(echo "$pos_res" | head -n 1)
        fi

        echo "Res: $res"
        convert "$pape" -resize "$res" resized_pape.png
        pape="resized_pape.png"

        rm embed_pape_*
        convert <( curl -s "wttr.in/_tqp0.png" ) weather_report.png
        convert "$pape" "weather_report.png" -gravity center -geometry +0+0 -composite "embed_pape.png"
        stamped_pape="embed_pape_$(date +%T).png"
        cp embed_pape.png "$stamped_pape"
        convert <( curl -s "wttr.in/_tqp0.png" ) -resize 175% weather_report.png
        convert "$pape" "weather_report.png" -gravity center -geometry +0+0 -composite "$stamped_pape"
        pape="$stamped_pape"
    fi

    pape=$(realpath $pape)

    if which osascript; then
        rm ~/Pictures/Weather\ Wallpaper/*
        cp "$pape" ~/Pictures/Weather\ Wallpaper/
    else
        case $XDG_CURRENT_DESKTOP in
            *XFCE*)
                export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$UID/bus"
                    xfconf-query -c xfce4-desktop -l | \
                grep --color=never last-image | \
                while read -r path; do xfconf-query --channel xfce4-desktop --property "$path" -s "$pape"; done
                ;;
        *GNOME*)
        export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$UID/bus"
                gsettings set org.gnome.desktop.background picture-uri-dark "file://$pape"
        ;;
        *)
                feh --randomize --bg-center "$pape"
                ;;
        esac

    fi

    if [[ $use_wal -eq 1 ]]; then
        if ! which wal; then
            PATH="$HOME/.local/bin":${PATH} && export PATH
        fi

        if which wal; then
            wal -i "$pape" -n --saturate 1.0
        else
            echo "Trying to use wal but it's not installed"
        fi
    fi

    rm -f weather_report.png
    rm -f resized_pape.png
    #rm "$stamped_pape"
    rm -f /tmp/prev_weather.dat
    echo "$w_type" >> /tmp/prev_weather.dat
    echo "$t_type" >> /tmp/prev_weather.dat
}

exit_help () {
    echo "ERROR: $1"
    echo "USAGE: dynamicWallpaper -p [PAPER_PREFIX]"
    printf "\t-p: The prefix of your wallpaper folder without a trailing /\n"
    printf "\t-e: Embed a little weather preview png in the wallpaper\n"
    printf "\t--wal: Use pywal if it's installed\n"
    exit 1
}

pape_prefix="/home/drift/Pictures/Wallpapers"
use_wal=1
embed=0
wttr_fail=0

while [[ $# -gt 0 ]]; do
    arg="$1"

    case $arg in
        -p)
            pape_prefix="$2"
            shift; shift
            ;;
        --wal)
            use_wal=1
            shift;
            ;;
        -e)
            embed=1
            shift;
            ;;
        *)
            exit_help "Unrecognized argument"
            ;;
    esac
done

if [[ "$pape_prefix" == "0" ]]; then
    exit_help "The paper prefix is unset."
fi

get_weather
echo "Real Weather: $w_type"

if [[ wttr_fail -eq 1 ]]; then
    load_prev_weather
    embed=0
else
    get_time_chunk
    get_simple_weather
fi

echo "Time Type: $t_type, Weather Type: $w_type"

if [[ "$t_type" == "Night" ]] && [[ "$w_type" == "Sun" ]]; then
    w_type="Misc"
fi

set_pape

crontab that's not working:

SHELL=/bin/bash
* * * * * /home/drift/custom-scripts/dynamicWallpaper -p /home/drift/Pictures/Wallpapers --wal
* * * * * /home/drift/custom-scripts/testing-feh
@reboot sleep 30 && /home/drift/custom-scripts/dynamicWallpaper --wal
#Back In Time system entry, this will be edited by the gui:
0 * * * * /usr/bin/nice -n19 /usr/bin/ionice -c2 -n7 /usr/bin/backintime --debug backup-job >/dev/null

(note the newline at the end)

After a lot of troubleshooting, I think this is failing because of one of 3 issues:

  • feh isn't working correctly, which would be a big problem, because ubuntu 25.10 is lacking support to replace it(not supporting X11 anymore). I could switch over to another desktop environment, but not without losing all of the setup I've put into this one (correct me if I'm wrong)

  • cron isn't working correctly, which would also be a big problem. I'm aware I can run it as a systemd service(in theory--more on that later) but the backup app I use, Back in Time, uses cron as well, and I need that to work.

  • I somehow haven't given correct permissions to some file or other?

It might be something else as well, because there's another script that I can't run automatically no matter how hard I try. I'm trying to focus on one problem at a time so I haven't looked into it nearly as much, but it's worth mentioning that this second script also didn't run automatically as a systemd service.

Things I've tried:

  • the entire damn list under Why crontab scripts are not working?, not joking or exaggerating

  • rebuilding the script line by line and seeing where it fails, which is pretty much instantly, and it gives the error:

    (process:65604): dconf-WARNING **: 02:26:01.922: failed to commit changes=
    to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY
    feh ERROR: Can't open X display. It *is* running, yeah?
    

    Then when I provide the display either at the top of the script or in cron itself, it gives me this error instead:

    xrdb: Resource temporarily unavailable
    xrdb: Can't open display ':0'
    

    which is what made me think it's a wayland issue. I messed around with environmental variables a lot before I found the post about X11 not being supported.

  • editing my bashrc with paths (every time something failed to work I removed it again, so it should be back to default state now)

  • went through my entire journalctl from reboot to see if cron runs. Yes it does, and it runs the commands seemingly fine. Notable code:

    Mar 19 02:13:11 DriftPC (cron)[2105]: cron.service: Referenced but unset environment variable evaluates to an empty string: EXTRA_OPTS
    Mar 19 02:13:11 DriftPC cron[2105]: (CRON) INFO (pidfile fd = 3)
    Mar 19 02:13:11 DriftPC cron[2105]: (CRON) INFO (Running @reboot jobs)
    Mar 19 02:13:11 DriftPC CRON[2110]: pam_unix(cron:session): session opened for user drift(uid=1000) by drift(uid=0)
    Mar 19 02:13:11 DriftPC CRON[2111]: pam_unix(cron:session): session opened for user drift(uid=1000) by drift(uid=0)
    Mar 19 02:13:11 DriftPC CRON[2128]: (drift) CMD (dynamicWallpaper --wal)
    Mar 19 02:13:11 DriftPC CRON[2129]: (drift) CMD (/home/drift/custom-scripts/audio-hallelujah.sh)
    Mar 19 02:13:11 DriftPC CRON[2110]: pam_unix(cron:session): session closed for user drift
    

    Note that the cron commands were later edited to include the full path and no periods and a sleep command beforehand, and testing that achieved the same result. Later removed the script audio-hallelujah from crontab to try it as a systemd service instead, which as mentioned also didn't work.

Notably, the full script's --wal does work. Whenever the full script runs through cron, it changes my terminal font colors. (25.10 has Ptyxis as a terminal and I can not find a way to get the background to change too, so I've just accepted it)

After running * * * * * DISPLAY=:0 XAUTHORITY=/run/user/1000/gdm/Xauthority /home/drift/custom-scripts/dynamicWallpaper -p /home/drift/Pictures/Wallpapers --wal 2> /tmp/somefile >&2 on comment suggestion, the contents of somefile are

Real Weather: null
null ~ 700 ~ 1200
Temp: null
Time Type: Day, Weather Type: Snow
Authorization required, but no authorization protocol specified

feh ERROR: Can't open X display. It *is* running, yeah?
/home/drift/.local/bin/wal
[[1;32mI[0m] [1;31mimage[0m: Using image [1;37mart_therapy_20220702171825.png[0m.
[[1;32mI[0m] [1;31mtheme[0m: Set theme to [1;37m_home_drift_Pictures_Wallpapers_Day_Snow_art_therapy_20220702171825_png_dark_None_1.0_459151_2.0.0.json[0m.
[[1;32mI[0m] [1;31mcolors[0m: Found cached colorscheme.
[[1;32mI[0m] [1;31msequences[0m: Set terminal colors.
[[1;32mI[0m] [1;31mexport[0m: Reading system templates from: /home/drift/.local/share/pipx/venvs/pywal16/lib/python3.13/site-packages/pywal/templates
[[1;32mI[0m] [1;31mexport[0m: Reading user templates from: /home/drift/.config/wal/templates
[[1;32mI[0m] [1;31mexport[0m: Exported all files.
[[1;32mI[0m] [1;31mexport[0m: Exported all user files to /home/drift/.cache/wal
Authorization required, but no authorization protocol specified

xrdb: Resource temporarily unavailable
xrdb: Can't open display ':0'
[[1;32mI[0m] [1;31mreload[0m: Reloaded environment.
[[1;32mI[0m] [1;31mdonation[0m: if you enjoy pywal16 consider donating at: https://github.com/eylles/pywal16

Again, it's working fine when I run it as dynamicWallpaper from the terminal. The issue is to make it run automatically at specified intervals.

Google Chrome opens links from external applications in wrong window https://askubuntu.com/questions/1564963/google-chrome-opens-links-from-external-applications-in-wrong-window

For some days or weeks my chrome changed behavior to the worse.

When I click on a link in my Thunderbird (or in a PDF file or just opening a HTML file), chrome opens this in the worst possible window (a window which is even on another workspace).

Earlier chrome always chose the last active window, which is my wanted behavior. Now it seems that it always opens it in "window no. 1"

Since I always have several windows open scattered over different workspaces, this is really annoying.

Is there any workaround to restore the old behavior?

Chrome: Version 146.0.7680.80 OS: Ubuntu 22.04.5 LTS, MATE 1.26.0

Disable Ubuntu 24.04 updates (i.e. disable Software Updater) https://askubuntu.com/questions/1562655/disable-ubuntu-24-04-updates-i-e-disable-software-updater

On Software Updater's 'Software & Updates', under 'updates', I've selected 'never*' on the 'subscribe to', but security updates still keep popping up and often lock up the computer while I'm in the middle of something processor intensive, requiring holding down the power button.

I made a script to kill packagekitd (sudo systemctl stop packagekit.service), but it will reload itself and I still have to keep launching the script until it finally just quits and I can move on. It seems things like apt-check, etc. keep triggering it.

I would rather just manually do updates say once every week or two, maybe just once a month - all updates - the serious ones, security ones, and all.

Is there any way to just make it do all updates manually, other than uninstall the Software Updater app and just open terminal to use command like apt-get update, apt-get upgrade, etc.?

/etc/apt/apt.conf.d/50unattended-upgrades:

// Automatically upgrade packages from these (origin:archive) pairs
//
// Note that in Ubuntu security updates may pull in new dependencies
// from non-security sources (e.g. chromium). By allowing the release
// pocket these get automatically pulled in.
Unattended-Upgrade::Allowed-Origins {
"${distro_id}:${distro_codename}";
"${distro_id}:${distro_codename}-security";
// Extended Security Maintenance; doesn't necessarily exist for
// every release and this system may not have it installed, but if
// available, the policy for updates is such that unattended-upgrades
// should also install from here by default.
"${distro_id}ESMApps: ${distro_codename}-apps-security";
"${distro_id}ESM: ${distro_codename}-infra-security";
//  "${distro_id}:${distro_codename}-updates";
//  "${distro_id}:${distro_codename}-proposed";
//  "${distro_id}:${distro_codename}-backports";
};

// Python regular expressions, matching packages to exclude from upgrading
Unattended-Upgrade::Package-Blacklist {
// The following matches all packages starting with linux-
//  "linux-";

// Use $ to explicitely define the end of a package name. Without
// the $, "libc6" would match all of them.
//  "libc6$";
//  "libc6-dev$";
//  "libc6-i686$";

// Special characters need escaping
//  "libstdc\+\+6$";

// The following matches packages like xen-system-amd64, xen-utils-4.1,
// xenstore-utils and libxenstore3.0
//  "(lib)?xen(store)?";

// For more information about Python regular expressions, see
// https://docs.python.org/3/howto/regex.html};

// This option controls whether the development release of Ubuntu will be
// upgraded automatically. Valid values are "true", "false", and "auto".
Unattended-Upgrade::DevRelease "auto";

// This option allows you to control if on a unclean dpkg exit
// unattended-upgrades will automatically run 
//   dpkg --force-confold --configure -a
// The default is true, to ensure updates keep getting installed
//Unattended-Upgrade::AutoFixInterruptedDpkg "true";

// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGTERM. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
//Unattended-Upgrade::MinimalSteps "true";

// Install all updates when the machine is shutting down
// instead of doing it in the background while the machine is running.
// This will (obviously) make shutdown slower.
// Unattended-upgrades increases logind's InhibitDelayMaxSec to 30s.
// This allows more time for unattended-upgrades to shut down gracefully
// or even install a few packages in InstallOnShutdown mode, but is still a
// big step back from the 30 minutes allowed for InstallOnShutdown previously.
// Users enabling InstallOnShutdown mode are advised to increase
// InhibitDelayMaxSec even further, possibly to 30 minutes.
//Unattended-Upgrade::InstallOnShutdown "false";

// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
// have a working mail setup on your system. A package that provides
// 'mailx' must be installed. E.g. "user@example.com"
//Unattended-Upgrade::Mail "";

// Set this value to one of:
//    "always", "only-on-error" or "on-change"
// If this is not set, then any legacy MailOnlyOnError (boolean) value
// is used to chose between "only-on-error" and "on-change"
//Unattended-Upgrade::MailReport "on-change";

// Remove unused automatically installed kernel-related packages
// (kernel images, kernel headers and kernel version locked tools).
//Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";

// Do automatic removal of newly unused dependencies after the upgrade
//Unattended-Upgrade::Remove-New-Unused-Dependencies "true";

// Do automatic removal of unused packages after the upgrade
// (equivalent to apt-get autoremove)
//Unattended-Upgrade::Remove-Unused-Dependencies "false";

// Automatically reboot *WITHOUT CONFIRMATION* if
//  the file /var/run/reboot-required is found after the upgrade
//Unattended-Upgrade::Automatic-Reboot "false";

// Automatically reboot even if there are users currently logged in
// when Unattended-Upgrade::Automatic-Reboot is set to true
//Unattended-Upgrade::Automatic-Reboot-WithUsers "true";

// If automatic reboot is enabled and needed, reboot at the specific
// time instead of immediately
//  Default: "now"
//Unattended-Upgrade::Automatic-Reboot-Time "02:00";

// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
//Acquire::http::Dl-Limit "70";

// Enable logging to syslog. Default is False
// Unattended-Upgrade::SyslogEnable "false";

// Specify syslog facility. Default is daemon
// Unattended-Upgrade::SyslogFacility "daemon";

// Download and install upgrades only on AC power
// (i.e. skip or gracefully stop updates on battery)
// Unattended-Upgrade::OnlyOnACPower "true";

// Download and install upgrades only on non-metered connection
// (i.e. skip or gracefully stop updates on a metered connection)
// Unattended-Upgrade::Skip-Updates-On-Metered-Connections "true";

// Verbose logging
// Unattended-Upgrade::Verbose "false";

// Print debugging information both in unattended-upgrades and
// in unattended-upgrade-shutdown
// Unattended-Upgrade::Debug "false";

// Allow package downgrade if Pin-Priority exceeds 1000
// Unattended-Upgrade::Allow-downgrade "false";

// When APT fails to mark a package to be upgraded or installed try adjusting
// candidates of related packages to help APT's resolver in finding a solution
// where the package can be upgraded or installed.
// This is a workaround until APT's resolver is fixed to always find a
// solution if it exists. (See Debian bug #711128.)
// The fallback is enabled by default, except on Debian's sid release because
// uninstallable packages are frequent there.
// Disabling the fallback speeds up unattended-upgrades when there are
// uninstallable packages at the expense of rarely keeping back packages which
// could be upgraded or installed.
// Unattended-Upgrade::Allow-APT-Mark-Fallback "true";

/etc/apt/apt.conf.d/10periodic:

APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Periodic::Unattended-Upgrade "0";

/etc/apt/apt.conf.d/20auto-upgrades:

APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Periodic::Unattended-Upgrade "0";

...the Software Updater has an option to select 'NEVER' for Automatically Check for Updates, but not for When there are Security Updates ~ the ONLY choices are 'DISPLAY...' or 'DOWNLOAD...'... and it does so right in the middle of my work :-(

Unexpectedly high memory usage in Ubuntu 22.04.3 LTS https://askubuntu.com/questions/1482433/unexpectedly-high-memory-usage-in-ubuntu-22-04-3-lts

I have noticed for a while now that my system seems to be using up my memory much more quickly than I would expect. When it gets like this, I do notice it slowing down a bit at time, and my fan starts to spin aggressively (though maybe this latter thing is a separate issue?). I have tried googling around to understand what is going on (for example, I came across High memory usage that cannot be traced to a service or application and https://www.linuxatemyram.com/), but I haven't yet found a satisfying answer. What are reasons that my computer would be using much more memory (close to 100% of RAM and swap) than is reported by the running applications?

Currently, free -m outputs

               total        used        free      shared  buff/cache   available
Mem:           15337       14538         386          14         411         454
Swap:          20480       15442        5038

A rough estimate of the amount of memory my running applications are using (computed with ps -o %mem ax | tail -n +2 | paste -sd+ | bc) is 47.6%. Also, if I open up System Monitor and try manually adding up the amounts in the Memory column, then I again don't get a value close to the total reported amount of used memory.

Running arcstat -a outputs

    time  hits  miss  read  hit%  miss%  dhit  dmis  dh%  dm%  phit  pmis  ph%  pm%  mhit  mmis  mread  mh%  mm%  arcsz  size     c   mfu   mru  mfug  mrug  eskip  el2skip  el2cach  el2el  el2mfu  el2mru  el2inel  mtxmis  dread  pread  grow  need  free  avail  waste
13:14:22     0     0     0     0      0     0     0    0    0     0     0    0    0     0     0      0    0    0   5.0K  5.0K  479M     0     0     0     0      0        0        0      0       0       0        0       0      0      0     1     0  830M   235M      0

The output of running arc_summary can be found here. I put it in pastebin since askubuntu limits the number of characters in this question.

I can't say I know how to parse all this output, but to my naive eyes, this doesn't seem to indicate much memory is being used by ARC caches (at least, the ARC size (current) row reports a small number). Also, zfs get comprresion produces no output.

Similarly, running df -hl -t"tmpfs" outputs the following, which again doesn't seem to account for much of my "missing" memory usage.

Filesystem      Size  Used Avail Use% Mounted on
tmpfs           1.5G  4.0M  1.5G   1% /run
tmpfs           7.5G  260K  7.5G   1% /dev/shm
tmpfs           5.0M  8.0K  5.0M   1% /run/lock
tmpfs           7.5G     0  7.5G   0% /run/qemu
tmpfs           1.5G  228K  1.5G   1% /run/user/1000

If it helps, cat /proc/meminfo outputs

MemTotal:       15705548 kB
MemFree:          672004 kB
MemAvailable:     838776 kB
Buffers:            2060 kB
Cached:           329484 kB
SwapCached:       258588 kB
Active:          3268524 kB
Inactive:        3574140 kB
Active(anon):    3095044 kB
Inactive(anon):  3439264 kB
Active(file):     173480 kB
Inactive(file):   134876 kB
Unevictable:         340 kB
Mlocked:             340 kB
SwapTotal:      20972540 kB
SwapFree:        4630972 kB
Zswap:                 0 kB
Zswapped:              0 kB
Dirty:               452 kB
Writeback:             0 kB
AnonPages:       6253600 kB
Mapped:           191184 kB
Shmem:             22852 kB
KReclaimable:     194792 kB
Slab:             588360 kB
SReclaimable:     194792 kB
SUnreclaim:       393568 kB
KernelStack:       75888 kB
PageTables:       194976 kB
SecPageTables:         0 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    28825312 kB
Committed_AS:   46712256 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      231560 kB
VmallocChunk:          0 kB
Percpu:            19776 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:    11380384 kB
DirectMap2M:     4728832 kB
DirectMap1G:           0 kB

The only other thing I can think to add is a screenshot of the resources tab of System Monitor. enter image description here

Let me know if there is anything else I can do to help figure out what's going on.

How to switch between Gnome & MATE desktops? https://askubuntu.com/questions/1459096/how-to-switch-between-gnome-mate-desktops

When I reinstalled the OS, I had only one, Ubuntu 22.04 Gnome desktop, option. I got used to MATE desktop. Therefore I installed MATE desktop too. Having two desktop environments, MATE & Gnome, how to switch between them? I cannot just remove Gnome as it affects LibreOffice. Do you have any suggestions?

How to install Mongodb in a docker container and use it? https://askubuntu.com/questions/1435769/how-to-install-mongodb-in-a-docker-container-and-use-it

I'm using Ubuntu 22.04 LTS, as of Oct 2022 ubuntu 22.04 is not supported by Mongodb team completely, So I'm struggling with it as I need mongodb-org installed for my work. So my question is, Is there anyway I can install mongodb in a docker container and use it??? I don't know much about docker if anyone knows how can I achieve this that will be really appreciated.

WiFi not working on fresh Ubuntu 22.04 installation https://askubuntu.com/questions/1414196/wifi-not-working-on-fresh-ubuntu-22-04-installation

Ubuntu 22.04, linux kernel - 5.15.0-37-generic.

$ inxi -Nazy

Network:
  Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: N/A modules: rtw88_8822ce pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 01:00.0 chip-ID: 10ec:c822
    class-ID: 0280
  Device-2: Realtek 802.11ac WLAN Adapter type: USB driver: btusb
    bus-ID: 1-10:5 chip-ID: 0bda:b00c class-ID: e001 serial: <filter>
$ iwconfig

lo        no wireless extensions.
usb0      no wireless extensions.

What I've tried:

There seems to be a network adapter on the official Ubuntu website.

But I don't know how to install this network adapter. I'm currently asking this using USB tethering with mobile data.

How to change the webcam aspect ratio and zoom for MS Teams video conferencing https://askubuntu.com/questions/1343961/how-to-change-the-webcam-aspect-ratio-and-zoom-for-ms-teams-video-conferencing
  • System: Ubuntu 18.04
  • Webcam: Logitech C920 / C922

I use mostly the Microsoft Teams Ubuntu app (v1.4) to join work video calls. I also make Zoom and Meet work video calls on occasion.

The webcam resolution during Microsoft Teams (and also Zoom and Meet) work video calls seems to be something like 16:9, which shows a lot more of my (messy working from home) background than I want.

I would like to set the aspect ratio as 4:3 and zoom in a bit so that my profile is centred on the screen. How can I do this in Ubuntu?

I installed V4L2 Test Bench from Ubuntu software and this allows me to set the aspect ratio for video within that app, but these settings do not apply to the video conferencing apps.

How to install and configure mDNS on Ubuntu 18.04? https://askubuntu.com/questions/1335936/how-to-install-and-configure-mdns-on-ubuntu-18-04

According to the link. https://www.howtoinstall.me/ubuntu/18-04/avahi-daemon/

The method it provides for installing mDNS consists of just two lines of command:

sudo apt update
sudo apt install avahi-daemon

According to the link: What is mDNS? Is it possible to make mDNS query without mdns service running?

One friend replied:

Ubuntu systems just need avahi-daemon and libnss-mdns installed.

So the first question is :

What is the standard method for installing mDNS on ubuntu 18.04?

The second question is:

After installing mDNS, how should I configure mDNS?

The third question is:

How can I verify the functionality of mDNS?

Vmware - gcc version (null) was not found https://askubuntu.com/questions/1280719/vmware-gcc-version-null-was-not-found

I couldn't install my VMware on Ubuntu. Whenever I execute sudo vmware, I receive a popup asking me to choose the version of gcc. However, unlike other errors similar to this, I am faced to choose a gcc version(null). Can you please help me out?

Tried but failed:

■ I tried mentioning the path as,

• /usr/bin/gcc 
• /usr/bin/gcc-9
• /usr/bin/gcc-10

■ tried updating linux-headers

Note: I currently have gcc version 10 and 9 installed.

Here is the popup message showing error

Error with psmouse serio1: Failed to deactivate/enable on Dell XPS 15 7590 https://askubuntu.com/questions/1234345/error-with-psmouse-serio1-failed-to-deactivate-enable-on-dell-xps-15-7590

I am having these "psmouse" errors

$ dmesg | grep -i psmouse

[   13.463294] psmouse serio1: Failed to deactivate mouse on isa0060/serio1: -5
[   13.943488] psmouse serio1: Failed to enable mouse on isa0060/serio1
[   18.454190] psmouse serio1: Failed to enable mouse on isa0060/serio1

I do not know how to disable/blacklist this psmouse and how to fix this error because when I power off my laptop this error gets a lot of time to vanish (or the error itself or a blinking dash).

I am on a Dell XPS 15 7590 runnnig Ubuntu 20.04 on 5.4 kernel.

Change default file manager Ubuntu 18.04 https://askubuntu.com/questions/1141722/change-default-file-manager-ubuntu-18-04

I use Thunar instead of Nautilus on Ubuntu 18.04. This works fine, but any application still uses Nautilus instead of Thunar when saving/opening etc or when opening directories/mounted drives from the desktop.

I have already tried running:

xdg-mime default nemo.desktop inode/directory

This had no effect

That possible solution was from this thread:

https://askubuntu.com/a/1043504/953041

Unable to start mongod on Ubuntu 16.04 - "Unable to connect to Upstart" https://askubuntu.com/questions/1041118/unable-to-start-mongod-on-ubuntu-16-04-unable-to-connect-to-upstart
night_king@Jarvis:~$ sudo service mongod status
● mongod.service
   Loaded: loaded (/etc/init.d/mongod; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2018-05-28 13:39:40 IST; 5min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 25331 ExecStart=/etc/init.d/mongod start (code=exited, status=1/FAILURE)

May 28 13:39:39 Jarvis mongod[25331]: Rather than invoking init scripts through /etc/init.d, use the service(8)
May 28 13:39:39 Jarvis mongod[25331]: utility, e.g. service mongod start
May 28 13:39:40 Jarvis mongod[25331]: initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
May 28 13:39:40 Jarvis mongod[25331]: Since the script you are attempting to invoke has been converted to an
May 28 13:39:40 Jarvis mongod[25331]: Upstart job, you may also use the start(8) utility, e.g. start mongod
May 28 13:39:40 Jarvis mongod[25331]: start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
May 28 13:39:40 Jarvis systemd[1]: mongod.service: Control process exited, code=exited status=1
May 28 13:39:40 Jarvis systemd[1]: Failed to start mongod.service.
May 28 13:39:40 Jarvis systemd[1]: mongod.service: Unit entered failed state.
May 28 13:39:40 Jarvis systemd[1]: mongod.service: Failed with result 'exit-code'.
night_king@Jarvis:~$

This is the status of mongod service.

Unable to connect to upstart: Failed to connect to socket /com/ubuntu/upstart:
 Connection refused

How can I fix it?

Windows partitions not showing up when installing Ubuntu 14.04? https://askubuntu.com/questions/857542/windows-partitions-not-showing-up-when-installing-ubuntu-14-04

I have a 1TB of harddrive on which windows 10 is installed. I previously had Ubuntu installed on the system but deleted it as I wanted to install the 14.04. I deleted the partition from Windows 10.

When I am trying to install using the live CD, I can only see the disk as a single drive and not seeing all the partitions. I am not sure what is wrong. Is it something related to my partitioning?

See the attached partition table

I need to use the J drive to install ubuntu 14.04 and I drive for 16.04.

Update 2: When running the command from live cd

ubuntu@ubuntu:~$ sudo fdisk -lu

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x233b0d33

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63       80324       40131   de  Dell Utility
Partition 1 does not start on physical sector boundary.
/dev/sda2   *    27967488  1706840062   839436287+   7  HPFS/NTFS/exFAT
/dev/sda3      1706840064  1707761663      460800   27  Hidden NTFS WinRE
/dev/sda4           81857  1953520064   976719104    f  W95 Ext'd (LBA)
Partition 4 does not start on physical sector boundary.
/dev/sda5           81920    27953099    13935590   83  Linux
/dev/sda6      1707773952  1953520064   122873056+   7  HPFS/NTFS/exFAT

Partition table entries are not in disk order
  • Gparted is showing the disk with unallocated sign. [Attached picture]
  • I merged one of the drives with the C drive. The left unused empty drive is NTFS with about 115 GB on which I wish to install Ubuntu 14.04.
How to install Qualcomm Atheros WiFi Device Driver which is Missing in Ubuntu MATE 15.10? https://askubuntu.com/questions/731636/how-to-install-qualcomm-atheros-wifi-device-driver-which-is-missing-in-ubuntu-ma

$ lspci -nn

02:00.0 Network controller: Qualcomm Atheros Device [168c:0041] (rev 20)

Now i'm using Ubuntu MATE 15.10. I have installed some other Linux Distro. But none of them has driver for this device.

Kernel Version :

uname -r

4.2.0-16-generic

Please help me to find driver for Qualcomm Atheros WiFi Device. Please give me a solution.

Laptop : Lenovo G 50-40

Touchpad not detected https://askubuntu.com/questions/469746/touchpad-not-detected

I am using Ubuntu 14.04 in the new Lenovo Z510 Ideapad laptop. To check if my Touchpad is detected I typed the command

xinput list

and this is my output:

img

I tried everything mentioned in this, this and this. i have made touchpad-enabled to true. But still the same problem persists. and this is how my mouse & touch pad setting looks like:

img

Help.

Need help with getting NoMachine working on Ubuntu 14.04 https://askubuntu.com/questions/455330/need-help-with-getting-nomachine-working-on-ubuntu-14-04

I'm trying to get NoMachine working on a AWS EC2 instance with 14.04 Trusty Tahr.

I’ve used the instructions from:

When I try to connect from my Mac using NoMachine 4.2.21, I get this error:

The connection with the server was lost.
Error is 54: Connection reset by peer.

When I use the OpenNX 0.16.0.729 client, I get a blank black screen.

Help.

Unable to turn on bluetooth ubuntu 13.10 https://askubuntu.com/questions/414510/unable-to-turn-on-bluetooth-ubuntu-13-10

After upgrade to 13.10 my bluetooth stoped to work: - I don't see bluetooth indicator at all - I am not able to turn it on and serch for devices

I've already checked some fixes like - instaled fixed a bazaar fork indicator-bluetooth - added my user to bluetooth group

Below are some outputs that show my config / issues

$ dmesg | grep -i bluetooth
[    2.732391] usb 5-2: Product: Bluetooth V2.0 Dongle
[    2.732394] usb 5-2: Manufacturer: Bluetooth v2.0
[    2.758748] Bluetooth: Core ver 2.16
[    2.758786] Bluetooth: HCI device and connection manager initialized
[    2.758797] Bluetooth: HCI socket layer initialized
[    2.758800] Bluetooth: L2CAP socket layer initialized
[    2.758805] Bluetooth: SCO socket layer initialized
[    8.178551] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    8.178556] Bluetooth: BNEP filters: protocol multicast
[    8.178567] Bluetooth: BNEP socket layer initialized
[    8.210172] Bluetooth: RFCOMM TTY layer initialized
[    8.210187] Bluetooth: RFCOMM socket layer initialized
[    8.210189] Bluetooth: RFCOMM ver 1.11

** list of usb devices

$ lsusb 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 005 Device 002: ID 04f2:0833 Chicony Electronics Co., Ltd 
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

** installed bluetooth packages

$ dpkg -l | grep -i blue
ii  blueman                                         1.23+update1-2ubuntu1                      amd64        Graphical bluetooth manager
ii  bluewho                                         0.1-1                                      all          notifies new discovered bluetooth devices
ii  bluez                                           4.101-0ubuntu8b1                           amd64        Bluetooth tools and daemons
ii  bluez-compat                                    4.101-0ubuntu8b1                           amd64        BlueZ 3.x compatibility binaries
ii  bluez-cups                                      4.101-0ubuntu8b1                           amd64        Bluetooth printer driver for CUPS
ii  bluez-hcidump                                   2.5-1                                      amd64        Analyses Bluetooth HCI packets
ii  bluez-tools                                     0.1.38+git662e-3                           amd64        Set of tools to manage Bluetooth devices for linux
ii  gir1.2-gnomebluetooth-1.0                       3.8.1-2ubuntu2                             amd64        Introspection data for GnomeBluetooth
ii  gnome-bluetooth                                 3.8.1-2ubuntu2                             amd64        GNOME Bluetooth tools
ii  indicator-bluetooth                             0.0.6daily13.02.19-0ubuntu1                amd64        System bluetooth indicator.
ii  libbluetooth3:amd64                             4.101-0ubuntu8b1                           amd64        Library to use the BlueZ Linux Bluetooth stack
ii  libgnome-bluetooth-dev                          3.8.1-2ubuntu2                             amd64        GNOME Bluetooth tools - support library development files
ii  libgnome-bluetooth11                            3.8.1-2ubuntu2                             amd64        GNOME Bluetooth tools - support library
ii  pulseaudio-module-bluetooth                     1:4.0-0ubuntu6                             amd64        Bluetooth module for PulseAudio sound server
ii  python-bluez                                    0.18-2                                     amd64        Python wrappers around BlueZ for rapid bluetooth development

** not able to set it as UP

$ hciconfig -a
hci0:   Type: BR/EDR  Bus: USB
    BD Address: 00:1B:10:00:11:DC  ACL MTU: 1017:8  SCO MTU: 64:0
    DOWN 
    RX bytes:457 acl:0 sco:0 events:16 errors:0
    TX bytes:68 acl:0 sco:0 commands:16 errors:0
    Features: 0xff 0xff 0x8d 0xfe 0x9b 0xf9 0x00 0x80
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
    Link policy: 
    Link mode: SLAVE ACCEPT 


$ sudo hciconfig hci0 up
Can't init device hci0: Operation not supported (95)

$ hcitool scan
Device is not available: No such device

$ rfkill list 
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

** loaded modules:

$ lsmod 
Module                  Size  Used by
rfcomm                 69070  0 
bnep                   19564  2 
binfmt_misc            17468  1 
nls_iso8859_1          12713  1 
vesafb                 13828  1 
btusb                  28267  0 
bluetooth             371874  12 bnep,btusb,rfcomm
nvidia              10675220  49 
coretemp               13435  0 
kvm_intel             138538  0 
kvm                   431315  1 kvm_intel
hid_generic            12548  0 
gpio_ich               13476  0 
ppdev                  17671  0 
usbhid                 53014  0 
hid                   101512  2 hid_generic,usbhid
microcode              23518  0 
lpc_ich                21080  0 
serio_raw              13413  0 
snd_hda_codec_realtek    51465  1 
snd_hda_intel          48171  3 
parport_pc             32701  1 
snd_hda_codec         188738  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              13602  1 snd_hda_codec
mac_hid                13205  0 
snd_pcm               102033  2 snd_hda_codec,snd_hda_intel
drm                   296739  2 nvidia
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
snd_seq_midi           13324  0 
snd_seq_midi_event     14899  1 snd_seq_midi
snd_rawmidi            30095  1 snd_seq_midi
snd_seq                61560  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              29433  2 snd_pcm,snd_seq
snd                    69141  16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_h    da_intel,snd_seq_device,snd_seq_midi
soundcore              12680  1 snd
lp                     17759  0 
parport                42299  3 lp,ppdev,parport_pc
floppy                 69370  0 
r8169                  67341  0 
mii                    13934  1 r8169


$ ps axu | grep -i blue | grep -v grep
root       723  0.0  0.0  19264  1720 ?        Ss   16:10   0:00 /usr/sbin/bluetoothd
myuser    1571  0.0  0.1 448968  5604 ?        Sl   16:10   0:00 /usr/lib/x86_64-linux-gnu/indicator-bluetooth/indicator-bluetooth-service

** /etc/bluetooth/main.conf without comments:

$ grep -v '#'  /etc/bluetooth/main.conf | grep .
[General]
Name = %h-%d
Class = 0x000100
DiscoverableTimeout = 0
PairableTimeout = 0
PageTimeout = 8192
AutoConnectTimeout = 60
InitiallyPowered = true
RememberPowered = true
ReverseServiceDiscovery = true
NameResolving = true
DebugKeys = false
EnableGatt = false

All advices will be appreciated.

How do I know the device path to an USB-stick? https://askubuntu.com/questions/311772/how-do-i-know-the-device-path-to-an-usb-stick

I have a USB-stick (used as an installation medium). Now I need to install a driver from a restricted folder on that device). But how do I get the device path to my USB-stick (e.g. /dev/sda3 so I can mount it using the mount command?

I have read the answer to https://unix.stackexchange.com/questions/18925/how-to-mount-a-device-in-linux-beginners-confusion but fdisk -l shows nothing to me.