How to get windows automagically maximized when launching apps on Ubuntu 24.04? https://askubuntu.com/questions/1562362/how-to-get-windows-automagically-maximized-when-launching-apps-on-ubuntu-24-04

I'm running Ubuntu 24.04.3 with Gnome 46.0 and need to have app windows maximized on launch. I tried One Window Wonderland (https://extensions.gnome.org/extension/5696/one-window-wonderland/) Gnome extension, but it doesn't work (https://github.com/jqno/gnome-one-window-wonderland/issues/12). Are there any other working alternatives? If not, are there any other desktops with this functionality?

How to make ubuntu budgie 'explorer' / Nemo get gaussian blur? https://askubuntu.com/questions/1562361/how-to-make-ubuntu-budgie-explorer-nemo-get-gaussian-blur

I really enjoyed to make budgie as daily OS! there's some problem with apps compability after migrated from windows 11 but it's fine. One case, i need to make my 'explorer' get gaussian blur. I've alredy done this at Windows 11, so i guess there's a better ways since i am using ubuntu budgie isn't?

So please i need help, thank you

Fail to live boot into ubuntu 24.04.3 LTS https://askubuntu.com/questions/1562360/fail-to-live-boot-into-ubuntu-24-04-3-lts

I'm a newbie in Linux and I want to try Ubuntu in my laptop. However, when I start Ubuntu, it show the loading screen then lots of text with a dark background. The last line being:

error msg

7012f63e5000-7012f63fb000 r-xp 00005000 00:02 2272 /usr/lib/x86_64-linux-gnu/libply.so.5.0.0 (deleted)  
7012f63fb000-7012f63fc000 r--p 0001a000 00:02 2272 /usr/lib/x86_64-linux-gnu/libply.so.5.0.0 (deleted)  
7012f63fc000-7012f63fd000 rw-p 0001b000 00:02 2272 /usr/lib/x86_64-linux-gnu/libply.so.5.0.0 (deleted)  
7012f63fd000-7012f63fe000 rw-p 00000000 00:00 0  
7012f6400000-7012f6402000 rw-p 00000000 00:00 0  
7012f6402000-7012f6404000 r--p 00000000 00:00 0 [vvar]  
7012f6404000-7012f6406000 r--p 00000000 00:00 0 [vvar_vclock]  
7012f6406000-7012f6408000 r-xp 00000000 00:00 0 [vdso]  
7012f6408000-7012f6409000 r--p 00000000 00:02 2154 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 (deleted)  
7012f6409000-7012f6434000 r-xp 00001000 00:02 2154 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 (deleted)  
7012f6434000-7012f643e000 r--p 0002c000 00:02 2154 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 (deleted)  
7012f643e000-7012f6440000 r--p 00036000 00:02 2154 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 (deleted)  
7012f6440000-7012f6442000 rw-p 00038000 00:02 2154 /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 (deleted)  
7ffde317d000-7ffde319e000 rw-p 00000000 00:00 0 [stack]  
ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0 [vsyscall]  
backtrace:  
/lib/x86_64-linux-gnu/libc.so.6(+0x45330) [0x7012f61e1330]  
/lib/x86_64-linux-gnu/libply.so.5(ply_event_loop_stop_watching_fd+0x5b) [0x7012f63ebbab]  
/lib/x86_64-linux-gnu/libply-splash-core.so.5(ply_kmsg_reader_stop+0x28) [0x7012f63be878]  
/usr/sbin/plymouthd(+0x13590) [0x5f1394529590]  
/usr/sbin/plymouthd(+0x15f45) [0x5f139452bf45]  
/usr/sbin/plymouthd(+0x160ef) [0x5f139452c0ef]  
/usr/sbin/plymouthd(+0x1662e) [0x5f139452c62e]  
/lib/x86_64-linux-gnu/libply.so.5(ply_event_loop_process_pending_events+0x133) [0x7012f63ef743]  
/lib/x86_64-linux-gnu/libply.so.5(ply_event_loop_run+0x28) [0x7012f63efdf8]  
/usr/sbin/plymouthd(main+0x9f1) [0x5f139451d481]  
/lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca) [0x7012f61c61ca]  
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b) [0x7012f61c628b]  
/usr/sbin/plymouthd(_start+0x25) [0x5f139451efc5]  

The problem I faced is something similar to this while live booting into my old hp laptop. I've tried other solutions like removing quiet splash but all it does is showing status of successful or fail processes. How to solve this?

The laptop spec:

CPU: Intel(R) Core(TM) i7-6500U CPU @ 2.50 GHz
Memory: 12 GB of DDR4 RAM
GPU 1: Intel(R) HD Graphics 520
GPU 2: NVIDIA Geforce 940MX

I've attached the log fie, hope this might be useful.

Thanks

Can you explain why Nvidia driver stopped working on Ubuntu 24.04.3? https://askubuntu.com/questions/1562358/can-you-explain-why-nvidia-driver-stopped-working-on-ubuntu-24-04-3

Sequence of events:

  1. Clean installation of Ubuntu 24.04.3 on AMD CPU and NVIDIA Geforce RTX 3050 GPU, default options, except selecting proprietary drivers, which installed nvidia-firmware-580-580.95.05
  2. System works fine, all packages are up-to-date.
  3. Installed several applications, everything works fine, no system files update noticed.
  4. Installed more applications, no system files update noticed.
  5. One day from original installation, system boots to black screen with a cursor.
  6. Rebooted in safe mode and sudo ubuntu-drivers autoinstall, which downgraded Nvidia driver to nvidia-firmware-570-570.195.03
  7. System boots to black screen with a cursor.
  8. Rebooted in safe mode and sudo apt install xserver-xorg-video-nouveau, which didn't install anything, but changed some settings.
  9. System works normally.

Can you explain what happened? Why it suddenly stopped working without explicit system files update? Is there any drawback in using an older driver, e.g. CUDA performance?

Here is my current driver info:

paul@desktop:~$ nvidia-smi
Tue Dec 30 20:34:43 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.195.03             Driver Version: 570.195.03     CUDA Version: 12.8     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3050        Off |   00000000:06:00.0  On |                  N/A |
| 51%   35C    P8             15W /  130W |     361MiB /   8192MiB |     26%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

This is probably a more informative current driver description:

enter image description here

Is there a reduced ISO that still fits on a DVD? [duplicate] https://askubuntu.com/questions/1562357/is-there-a-reduced-iso-that-still-fits-on-a-dvd

I'd like to make a "live DVD" Ubuntu, but the latest ISO is too big for a DVD. Is there a cut down version that has the latest version, but is cut down to fit on a DVD?

Or, what was the last ISO version that would still fit on a DVD?

I've tried using Rufus to put the latest ISO on a USB Flash device and that boots up on my desktop happily. However, when I try it on my laptop, it doesn't recognize it as a boot device. I do know the laptop will recognize bootable DVDs because I do remember trying an old Ubuntu DVD a while ago. (I've since lost that copy.)

Internet connection doesn't appear on Ubuntu 24.04. I read the help and it is not.....help https://askubuntu.com/questions/1562356/internet-connection-doesnt-appear-on-ubuntu-24-04-i-read-the-help-and-it-is-no

I just installed 24.04 on a B850 with a Ryzen 7 7700. Loaded Ubuntu fine, but now can't find the internet. Tried suggestions in help.....no help. I am coming from Win 7 Pro, and don't know command line. Thank you.

Bluetooth speaker won't connect - Lubuntu 24.04 https://askubuntu.com/questions/1562353/bluetooth-speaker-wont-connect-lubuntu-24-04

I bought an Anker Soundcore 2 bluetooth speaker.

Initial setup worked, the device was recognized by Blueman (after a bit of fiddling) and paired.

After a few hours of trouble-free sound and operation, the connection suddenly dropped and I got this message:

Connection failed: br-connection-page-timeout

I've tried:

* Disabling and re-enabling Bluetooth.

* Running `systemctl restart bluetooth.service`

* Manually removing the device from Blueman in the hope of reconnecting it.

Now, Blueman doesn't even find the active Soundcore 2 when searching; the field remains empty.

On my phone, I can easily find the Soundcore 2 as a Bluetooth device and connect to it.

Does anyone have any idea what the problem could be on Lubuntu 24.04?

Thanks in advance!

MacBook Pro internal speakers are not working https://askubuntu.com/questions/1562285/macbook-pro-internal-speakers-are-not-working

Can I get some assistance with getting my MacBook Pro internal speakers working? Sound plays fine through my Bluetooth headphones.

System details:

System details

Intel audio:

Intel Audio

Pulse audio on Pipewire:

Pulse Audio on Pipewire

sound card 1

sound card 2

Dummy Output

pcieport 0000:00:1c.0: AER logs showing repeated errors https://askubuntu.com/questions/1562128/pcieport-0000001c-0-aer-logs-showing-repeated-errors

I just got a new PC and installed dual boot Windows and Ubuntu 24.04. Everything seemed to be going well until I got some disk space issues. I tracked this down to /var/log syslog . and kern.log which are showing the following issues:

syslog:

2025-12-22T16:29:52.401367+00:00 blank kernel: pcieport 0000:00:1c.0: PCIe Bus Error: severity=Correctable, type=Physical Layer, (Receiver ID)

2025-12-22T16:29:52.401367+00:00 blank kernel: pcieport 0000:00:1c.0: device [8086:a33c] error status/mask=00000001/00002000

2025-12-22T16:29:52.401368+00:00 blank kernel: pcieport 0000:00:1c.0: [ 0] RxErr (First)

2025-12-22T16:29:52.401368+00:00 blank kernel: pcieport 0000:00:1c.0: AER: Correctable error message received from 0000:00:1c.0

2025-12-22T16:29:52.401368+00:00 blank kernel: pcieport 0000:00:1c.0: AER: found no error details for 0000:00:1c.0

kern.log:

2025-12-22T16:29:52.508305+00:00 blank kernel: pcieport 0000:00:1c.0: device [8086:a33c] error status/mask=00000001/00002000

2025-12-22T16:29:52.508305+00:00 blank kernel: pcieport 0000:00:1c.0: [ 0] RxErr (First)

2025-12-22T16:29:52.508306+00:00 blank kernel: pcieport 0000:00:1c.0: AER: Correctable error message received from 0000:00:1c.0

2025-12-22T16:29:52.508306+00:00 blank kernel: pcieport 0000:00:1c.0: AER: found no error details for 0000:00:1c.0

2025-12-22T16:29:52.508306+00:00 blank kernel: pcieport 0000:00:1c.0: AER: Correctable error message received from 0000:00:1c.0

2025-12-22T16:29:52.508307+00:00 blank kernel: pcieport 0000:00:1c.0: PCIe Bus Error: severity=Correctable, type=Physical Layer, (Receiver ID)

Initially both logs were up to 45gb each, resulting in Ubuntu not being able to boot up. Journal logs are also fairly sizable at 4GB, but less of an immediate issue. Syslog and kern.log are still both creeping up in size, but I've cleared them with:

sudo sh -c 'echo > /var/log/syslog'

sudo sh -c 'echo > /var/log/kern.log'

I'm aware this is only temporarily keeping things going. I've looked into logrotate and may set that up, but it seems that there's a broader issue with "pcieport 0000:00:1c.0: AER". I don't know what this is though or have any idea of how to fix it.

Is anyone able to help me with this? My command line skills aren't great and I don't really have and understanding of what's going on with these processes other than something with pcieport is throwing up unresolved errors and they're building up and taking over memory that I want to use for other things.

I'd really appreciate any clear advice, explanations or solutions.

EDIT - taking suggestion from the post steeldriver linked here is additional data:

lspci

00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630]
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller (rev 10)
00:1c.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #5 (rev f0)
00:1c.7 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #8 (rev f0)
00:1f.0 ISA bridge: Intel Corporation H310 Chipset LPC/eSPI Controller (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)

lspci -tv
-[0000:00]-+-00.0  Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers
          +-02.0  Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630]
          +-14.0  Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller
          +-14.2  Intel Corporation Cannon Lake PCH Shared SRAM
          +-16.0  Intel Corporation Cannon Lake PCH HECI Controller
          +-17.0  Intel Corporation Cannon Lake PCH SATA AHCI Controller
          +-1c.0-[01]----00.0  Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter
          +-1c.7-[02]----00.0  Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
          +-1f.0  Intel Corporation H310 Chipset LPC/eSPI Controller
          +-1f.3  Intel Corporation Cannon Lake PCH cAVS
          +-1f.4  Intel Corporation Cannon Lake PCH SMBus Controller
          \-1f.5  Intel Corporation Cannon Lake PCH SPI Controller

Bios version:

0223

Make/Model is ASUSTeK COMPUTER INC. PRIME H310M-K with Intel Core i7-8700 × 12

I haven't run memtest that's linked, but I did run the one in BIOS settings and that showed no issues.

EDIT Memory card shows DX16GDDR4AA3200 16GB DDR4 PC-4-2PC4-25600AA-3200MHz

Memory card brand is 'XUM' which isn't on the Asus memory/device support list. It seems to be a UK based manufacturer with production in China, also trading as 'Dr Memory', upcycling chips from electronic waste sources https://www.scaleupinstitute.org.uk/stories/xum/

I installed dkms and ran it, but it returned nothing, so I take it that means I don't have it.

EDIT 26 DEC

So I ran sudo lshw -class network and got the following:

 *-network                 
      description: Wireless interface
      product: RTL8192EE PCIe Wireless Network Adapter
      vendor: Realtek Semiconductor Co., Ltd.
      physical id: 0
      bus info: pci@0000:01:00.0
      logical name: wlp1s0
      version: 00
      serial: 98:25:4a:51:95:13
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
      configuration: broadcast=yes driver=rtl8192ee driverversion=6.14.0-37-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
      resources: irq:127 ioport:4000(size=256) memory:a1200000-a1203fff

 *-network
      description: Ethernet interface
      product: RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet  Controller
      vendor: Realtek Semiconductor Co., Ltd.
      physical id: 0
      bus info: pci@0000:02:00.0
      logical name: enp2s0
      version: 15
      serial: 2c:fd:a1:bb:71:44
      size: 1Gbit/s
      capacity: 1Gbit/s
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.14.0-37-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.164 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
      resources: irq:19 ioport:3000(size=256) memory:a1104000-a1104fff memory:a1100000-a1103fff

EDIT 28/12/2025 Results of

sudo fwupdmgr get-devices

│
├─Core™ i7-8700 CPU @ 3.20GHz:
│     Device ID:          4bde70ba4e39b28f9eab1628f9dd6e6244c03027
│     Current version:    0x000000fa
│     Vendor:             Intel
│     GUIDs:              809a0b93-8a12-5338-a571-ad5583acf896 ← CPUID\PRO_0&FAM_06&MOD_9E
│                         72ec2ff3-49ff-5ec2-bdbb-525badd47543 ← CPUID\PRO_0&FAM_06&MOD_9E&STP_A
│     Device Flags:       • Internal device
│   
├─System Firmware:
│ │   Device ID:          53102fb297aeeb0e31122af52ec36682035b3ad1
│ │   Summary:            UEFI System Resource Table device (updated via NVRAM)
│ │   Current version:    12804
│ │   Minimum Version:    12804
│ │   Vendor:             System manufacturer (DMI:American Megatrends Inc.)
│ │   Update State:       Success
│ │   GUID:               490eb939-0b18-5479-85e9-8496347b7dea
│ │   Device Flags:       • Internal device
│ │                       • Updatable
│ │                       • System requires external power source
│ │                       • Needs a reboot after installation
│ │                       • Cryptographic hash verification is available
│ │                       • Device is usable for the duration of the update
│ │   Device Requests:    • Message
│ │ 
│ └─UEFI dbx:
│       Device ID:        362301da643102b9f38477387e2193e57abaa590
│       Summary:          UEFI revocation database
│       Current version:  20230501
│       Minimum Version:  20230501
│       Vendor:           UEFI:Microsoft
│       Install Duration: 1 second
│       GUIDs:            f8ff0d50-c757-5dc3-951a-39d86e16f419 ← UEFI\CRT_D7F66BE77CEF858C174BF4338A99263C8795B74E02026411F5F532F716AE3263&ARCH_X64
│                         f8ba2887-9411-5c36-9cee-88995bb39731 ← UEFI\CRT_A1117F516A32CEFCBA3F2D1ACE10A87972FD6BBE8FE0D0B996E09E65D802A503&ARCH_X64
│                         0c7691e1-b6f2-5d71-bc9c-aabee364c916 ← UEFI\CRT_ED1FE72CB9CA31C9AF5B757AFCD733323D675825032E6CED7FE1AE9EB767998C&ARCH_X64
│       Device Flags:     • Internal device
│                         • Updatable
│                         • Needs a reboot after installation
│                         • Device is usable for the duration of the update
│                         • Only version upgrades are allowed
│                         • Signed Payload
│     
├─TPM:
│     Device ID:          c6a80ac3a22083423992a3cb15018989f37834d6
│     Summary:            TPM 2.0 Device
│     Current version:    401.1.0.0
│     Vendor:             Intel (TPM:INTC)
│     GUIDs:              34801700-3a50-5b05-820c-fe14580e4c2d ← TPM\VEN_INTC&DEV_0000
│                         8e1cbc5d-5a11-5149-bfea-b6065d5296ba ← TPM\VEN_INTC&MOD_Intel
│                         03f304f4-223e-54f4-b2c1-c3cf3b5817c6 ← TPM\VEN_INTC&DEV_0000&VER_2.0
│                         52d7b679-db28-5bf7-bd87-41d77aeec600 ← TPM\VEN_INTC&MOD_Intel&VER_2.0
│     Device Flags:       • Internal device
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Device can recover flash failures
│                         • Full disk encryption secrets may be invalidated when updating
│                         • Signed Payload
│   
└─VTP1TSSD1:
      Device ID:          e421b2fc248391f6fe3e55ddbb3c9043be068bd0
      Summary:            ATA drive
      Current version:    H250815a
      Serial Number:      VTP1024S1017171VC08
      Update Error:       No vendor ID set
      GUIDs:              3a3515e4-57fc-5413-9c07-166cd68c1ad5 ← IDE\VTP1TSSD1_______________________________H250815a
                          193829ed-b5f0-5039-890f-bd7956932ada ← IDE\0VTP1TSSD1_______________________________
                          52b9ad75-16d4-509a-ab43-8e873acc3cfc ← VTP1TSSD1
      Device Flags:       • Internal device
                          • System requires external power source
                          • Needs a reboot after installation
                          • Device is usable for the duration of the update
                          • Updatable

EDIT 30 Dec 2025 fwupdmgr isn't showingany different from above - no RTL info showing. So I've tried ethtool This is the results CORRECTION There are 3 things showing up on ip link show These are they

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 2c:fd:a1:bb:71:44 brd ff:ff:ff:ff:ff:ff
3: wlp1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DORMANT group default qlen 1000
    link/ether 98:25:4a:51:95:13 brd ff:ff:ff:ff:ff:ff

2 & 3 seem to relate to RTL when I run ethtool

driver: r8169
version: 6.14.0-37-generic
firmware-version: rtl8168h-2_0.0.2 02/26/15
expansion-rom-version: 
bus-info: 0000:02:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no
ethtool -i wlp1s0
driver: rtl8192ee
version: 6.14.0-37-generic
firmware-version: N/A
expansion-rom-version: 
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

Omnibook Flip Wifi Disconnecting and Reconnecting Constantly https://askubuntu.com/questions/1562110/omnibook-flip-wifi-disconnecting-and-reconnecting-constantly

My wifi keeps disconnecting and reconnecting at random. I've tried many things to fix it. My wifi adapter is:

62:00.0 Network controller: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter (rev 02)

It seems to be connected to suspending the system when the lid is closed. Sometimes it will just gradually lose more and more wifi detections around me until only my home wifi is left, then when I suspend it, nothing is there at all.

So far, I've tried:

  1. Using sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf, changing wifi.powersave to 0 and 2, with no success.

  2. A script I found online:

#!/bin/bash

# Function to set power save for a given interface
set_power_save() {
    local interface=$1
    local state=$2
    echo "Setting power save to $state for $interface..."
    
    if sudo iw dev $interface set power_save $state; then
        echo "Power save set to $state for $interface using iw command."
    else
        echo "Failed to set power save using iw command. Please check your permissions or wireless interface status."
        return 1
    fi
}

# Function to get and display power save status
get_power_save_status() {
    local interface=$1
    local status=$(iw dev $interface get power_save | awk '{print $3}')
    echo -n "$interface: Power save: "
    if [ "$status" = "on" ]; then
        echo "on"
    elif [ "$status" = "off" ]; then
        echo "off"
    else
        echo "unknown (raw output: $status)"
    fi
}

# Function to make changes persistent
make_persistent() {
    local state=$1
    echo "Making power save settings persistent..."
    
    # Create a script to be executed by the service
    cat << EOF | sudo tee /usr/local/bin/set-wifi-power-save.sh > /dev/null
#!/bin/bash
sleep 10  # Wait for network interfaces to be fully up
for interface in \$(iw dev | awk '\$1=="Interface"{print \$2}'); do
    iw dev \$interface set power_save $state
    echo "Set power_save $state for \$interface"
done
EOF
    sudo chmod +x /usr/local/bin/set-wifi-power-save.sh

    # Create a systemd service file
    cat << EOF | sudo tee /etc/systemd/system/wifi-power-save.service > /dev/null
[Unit]
Description=Set WiFi Power Save
After=network-online.target
Wants=network-online.target

[Service]
Type=oneshot
ExecStart=/usr/local/bin/set-wifi-power-save.sh
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target
EOF

    # Reload systemd, enable and start the service
    sudo systemctl daemon-reload
    sudo systemctl enable wifi-power-save.service
    sudo systemctl start wifi-power-save.service
    
    echo "Persistent service created and enabled."
}

# Function to install a package if not installed
install_if_needed() {
    local package=$1
    if ! command -v $package &> /dev/null; then
        echo "$package not found, installing..."
        if [ -f /etc/fedora-release ]; then
            sudo dnf install -y $package
        elif [ -f /etc/lsb-release ]; then
            sudo apt-get update
            sudo apt-get install -y $package
        else
            echo "Unsupported Linux distribution. Please install $package manually."
            exit 1
        fi
    else
        echo "$package is already installed."
    fi
}

# Install iw and lshw if necessary
install_if_needed iw
install_if_needed lshw
clear

# Get all wireless interfaces
wireless_interfaces=$(iw dev | awk '$1=="Interface"{print $2}')

if [ -z "$wireless_interfaces" ]; then
    echo "No wireless interfaces found."
    exit 1
fi

# Prompt user for power save state
echo "Choose power save state:"
echo "1) On"
echo "2) Off"
read -p "Enter your choice (1 or 2): " choice

case $choice in
    1) state="on" ;;
    2) state="off" ;;
    *) echo "Invalid choice. Exiting."; exit 1 ;;
esac

# Set power save for each wireless interface
for interface in $wireless_interfaces; do
    set_power_save $interface $state
done

# Verify power save status
echo -e "\nVerifying power save status:"
for interface in $wireless_interfaces; do
    get_power_save_status $interface
done

# Make changes persistent
make_persistent $state

echo -e "\nPower save settings applied and made persistent."
echo "Changes should persist across reboots."
echo "You can check the status of the persistent service with: sudo systemctl status wifi-power-save.service"
echo "If issues persist, check the system logs with: sudo journalctl -u wifi-power-save.service"

I since disabled this script''s effects after it caused issues switching from network to network and made network discovery impossible after toggling wifi with:

sudo systemctl disable wifi-power-save.service

sudo systemctl stop wifi-power-save.service

sudo rm /etc/systemd/system/wifi-power-save.service

sudo rm /usr/local/bin/set-wifi-power-save.sh

sudo systemctl daemon-reload  
  
  1. I tried switching to ipv6 only from the network settings, which seemed to work, but it's hard to tell given the randomness of the disconnections. It's also just not sustainable.

  2. I tried forgetting and re-adding the wifi, and the issues eventually continued.

  3. I heard that messing with the kernel might fix it, but this also doesn't seem like a sustainable solution and typically applies to older wifi cards, where this laptop is a higher end modern model.

  4. I've settled at the moment with leaving powersave-on.conf set to 3 and just doing ipv4 only, but again, this is likely not sustainable long term.

  5. The issue had oddly stopped occurring with both ipv4 and ipv6 enabled. I renamed the SSID to something else, then went to saved networks in wifi settings and forgot them all, then rebooted and re-added the network. There were no disconnects for about a day before it started back up. All settings are more or less unchanged otherwise, including power saving. I also ran some commands to clear out some network settings before it resolved. I created this shell script to automate the process in future, also including instructions to navigate to settings to clear saved networks before rebooting, however, it should be noted that this is apparently a limited solution:

#!/usr/bin/env bash

set -e

echo "Stopping NetworkManager..."
sudo systemctl stop NetworkManager

echo "Removing NetworkManager system connections..."
sudo rm -rf /etc/NetworkManager/system-connections/*

echo "Removing NetworkManager state files..."
sudo rm -rf /var/lib/NetworkManager/*

echo "Removing wpa_supplicant state..."
sudo rm -rf /var/lib/wpa_supplicant/*

echo "Removing user NetworkManager cache..."
rm -rf "$HOME/.cache/NetworkManager"

echo "Starting NetworkManager..."
sudo systemctl start NetworkManager

echo "Go to WiFi settings -> Saved Networks, and remove all networks."
read -rp "Press Enter to reboot."

echo "Rebooting system..."
sudo reboot
  1. Trying a slight modification of the last script, simply adding the powersave change and removing the known wifi networks before doing anything else. Same result. Works at first, but inevitably fails.
#!/usr/bin/env bash

set -euo pipefail

CONF="/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf"

read -rp "Go to WiFi settings -> Saved Networks, and remove all networks. Then press enter to continue. The system will reboot when completed."

echo "Setting wifi.powersave = 2."

# Ensure config directory exists
sudo install -d -m 0755 /etc/NetworkManager/conf.d

# Ensure file exists without overwriting
sudo touch "$CONF"

# Update only the wifi.powersave line, or append if missing
if sudo grep -Eq '^[[:space:]]*wifi[.]powersave[[:space:]]*=' "$CONF"; then
  sudo sed -i -E 's/^([[:space:]]*wifi[.]powersave[[:space:]]*=[[:space:]]*).*/\12/' "$CONF"
else
  echo "wifi.powersave = 2" | sudo tee -a "$CONF" >/dev/null
fi

echo "Stopping NetworkManager..."
sudo systemctl stop NetworkManager

echo "Removing NetworkManager system connections..."
sudo rm -rf /etc/NetworkManager/system-connections/*

echo "Removing NetworkManager state files..."
sudo rm -rf /var/lib/NetworkManager/*

echo "Removing NetworkManager runtime files..."
sudo rm -rf /run/NetworkManager/*

echo "Removing DHCP lease files..."
sudo rm -rf /var/lib/dhcp/*

echo "Removing wpa_supplicant state..."
sudo rm -rf /var/lib/wpa_supplicant/*

echo "Removing Wi-Fi regulatory cache..."
sudo rm -rf /var/lib/crda/* || true

echo "Removing user NetworkManager cache..."
rm -rf "$HOME/.cache/NetworkManager"

echo "Flushing DNS cache..."
sudo resolvectl flush-caches || true

echo "Starting NetworkManager..."
sudo systemctl start NetworkManager

echo "Rebooting system..."
sudo reboot
  1. Upgraded the kernel to the newest 6.18.1. I upgraded using Mainline, installed with:
sudo add-apt-repository ppa:cappelikan/ppa
sudo apt update
sudo apt install mainline

However, the problem quickly returned.

  1. Reinstalled the OS. Still occurs. Also ruled out the Connectivity Checking setting.
  2. Running out of things it could be outside of Ubuntu itself. Starting to consider it may relate to VPN settings. The wifi itself would disconnect typically, which is why it wasn't considered previously. The same VPN also works fine on two other PCs I have running Ubuntu. May potentially relate to the VPN connecting initially with the DAITA setting without supplying a registered VPN connection (i.e. when Ubuntu shows the VPN toggle in the top bar). The previous installation on this PC never had the VPN active without DAITA, which may have been different than the other PCs. Update, didn't work.
  3. Tried editing /etc/default/grub to include pcie_aspm=off in the GRUB_CMDLINE_LINUX_DEFAULT line. Breaks the wifi even more extensively.
  4. Tried Ubuntu LTS. Same issues. I hope this gets fixed soon.
  5. Switching to iwd after a fresh install fixed it, but caused other issues.
  6. Switched to Zorin. Bye.

Some system info:

Distributor ID: Ubuntu Description: Ubuntu 25.10 Release: 25.10 Codename: questing 6.17.0-8-generic linux-generic: Installed: (none) Candidate: 6.17.0-8.8 Version table: 6.17.0-8.8 500 500 us.archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages 500 security.ubuntu.com/ubuntu questing-security/main amd64 Packages 6.17.0-5.5 500 500 us.archive.ubuntu.com/ubuntu questing/main amd64 Packages

Ubuntu Desktop 25.10 using NetworkManager.

Mullvad VPN

I did a reboot after each fix attempt. This is extremely frustrating. I have no idea what's left to try. Can anyone please help?

Poor Sound Quality ASUS Zephyrus G14 (ALC285) https://askubuntu.com/questions/1541557/poor-sound-quality-asus-zephyrus-g14-alc285

I’m running Ubuntu 22.04 on my ASUS Zephyrus G14 with a Realtek ALC285 sound card. My built-in speaker sound is high-pitched and kinda robotic. Sound through HDMI works correctly. Some things I've tried are changing the sample rate, different alsa model overrides, overriding the speaker mapping with hdajackretask, increasing volume, increasing base volume with an equalizer.

Has anyone gotten the sound to work well?

Specs:

Laptop: ASUS Zephyrus G14
Audio Codec: Realtek ALC285
Ubuntu Version: 22.04 LTS
Kernel: 6.8.0-52-generic

Default Sink (pactl list sinks):

Sink #63
    State: IDLE
    Name: alsa_output.pci-0000_65_00.6.HiFi__hw_Generic_1__sink
    Description: Family 17h/19h HD Audio Controller Speaker + Headphones
    Driver: PipeWire
    Sample Specification: s32le 2ch 48000Hz
    Channel Map: front-left,front-right
    Owner Module: 4294967295
    Mute: no
    Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor Source: alsa_output.pci-0000_65_00.6.HiFi__hw_Generic_1__sink.monitor
    Latency: 0 usec, configured 0 usec
    Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
    Properties:
        alsa.card = "2"
        alsa.card_name = "HD-Audio Generic"
        alsa.class = "generic"
        alsa.components = "HDA:10ec0285,10431e83,00100002"
        alsa.device = "0"
        alsa.driver_name = "snd_hda_intel"
        alsa.id = "Generic_1"
        alsa.long_card_name = "HD-Audio Generic at 0xdd6c0000 irq 104"
        alsa.mixer_device = "_ucm0004.hw:Generic_1"
        alsa.mixer_name = "Realtek ALC285"
        alsa.name = "ALC285 Analog"
        alsa.resolution_bits = "16"
        alsa.subclass = "generic-mix"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        api.alsa.card.longname = "HD-Audio Generic at 0xdd6c0000 irq 104"
        api.alsa.card.name = "HD-Audio Generic"
        api.alsa.open.ucm = "true"
        api.alsa.path = "hw:Generic_1"
        api.alsa.pcm.card = "2"
        api.alsa.pcm.stream = "playback"
        audio.channels = "2"
        audio.position = "FL,FR"
        card.profile.device = "0"
        device.api = "alsa"
        device.class = "sound"
        device.id = "54"
        device.profile.description = "Speaker + Headphones"
        device.profile.name = "HiFi: hw:Generic_1: sink"
        device.routes = "2"
        factory.name = "api.alsa.pcm.sink"
        media.class = "Audio/Sink"
        device.description = "Family 17h/19h HD Audio Controller"
        node.name = "alsa_output.pci-0000_65_00.6.HiFi__hw_Generic_1__sink"
        node.nick = "ALC285 Analog"
        node.pause-on-idle = "false"
        object.path = "alsa:pcm:2:hw:Generic_1:playback"
        priority.driver = "1000"
        priority.session = "1000"
        factory.id = "18"
        clock.quantum-limit = "8192"
        client.id = "41"
        node.driver = "true"
        factory.mode = "merge"
        audio.adapt.follower = ""
        library.name = "audioconvert/libspa-audioconvert"
        object.id = "63"
        object.serial = "63"
        node.max-latency = "16384/48000"
        api.alsa.period-size = "1024"
        api.alsa.period-num = "32"
        api.alsa.headroom = "0"
        api.acp.auto-port = "false"
        api.acp.auto-profile = "false"
        api.alsa.card = "2"
        api.alsa.use-acp = "true"
        api.dbus.ReserveDevice1 = "Audio2"
        device.bus = "pci"
        device.bus_path = "pci-0000:65:00.6"
        device.enum.api = "udev"
        device.icon_name = "audio-card-analog-pci"
        device.name = "alsa_card.pci-0000_65_00.6"
        device.nick = "HD-Audio Generic"
        device.plugged.usec = "6415867"
        device.product.id = "0x15e3"
        device.product.name = "Family 17h/19h HD Audio Controller"
        device.subsystem = "sound"
        sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:65:00.6/sound/card2"
        device.vendor.id = "0x1022"
        device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
        device.string = "2"
    Ports:
        [Out] Speaker: Speaker (type: Speaker, priority: 100, availability unknown)
        [Out] Headphones: Headphones (type: Headphones, priority: 200, availability group: Headphone, not available)
    Active Port: [Out] Speaker
    Formats:
        pcm

ALSA modules (cat /proc/asound/modules):

0 snd_hda_intel
1 snd_hda_intel
2 snd_hda_intel
3 snd_acp_legacy_mach

ALSA cards (cat /proc/asound/cards):

0 [NVidia         ]: HDA-Intel - HDA NVidia
                     HDA NVidia at 0xdd080000 irq 102
1 [Generic        ]: HDA-Intel - HD-Audio Generic
                     HD-Audio Generic at 0xdd6c8000 irq 103
2 [Generic_1      ]: HDA-Intel - HD-Audio Generic
                     HD-Audio Generic at 0xdd6c0000 irq 104
3 [acppdmmach     ]: acp-pdm-mach - acp-pdm-mach
                     ASUSTeKCOMPUTERINC.-ROGZephyrusG16GA605WI_GA605WI-1.0-GA605WI

Audio system logs(dmesg | grep -i audio):

[    5.302027] snd_hda_intel 0000:64:00.1: Handle vga_switcheroo audio client
[    5.302446] snd_hda_intel 0000:65:00.1: Handle vga_switcheroo audio client
[    5.327178] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:65:00.1/sound/card1/input22
[    5.328109] snd_hda_codec_realtek hdaudioC2D0: autoconfig for ALC285: line_outs=2 (0x17/0x14/0x0/0x0/0x0) type:speaker
[    5.328116] snd_hda_codec_realtek hdaudioC2D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    5.328118] snd_hda_codec_realtek hdaudioC2D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    5.328120] snd_hda_codec_realtek hdaudioC2D0:    mono: mono_out=0x0
[    5.328121] snd_hda_codec_realtek hdaudioC2D0:    inputs:
[    5.328123] snd_hda_codec_realtek hdaudioC2D0:      Internal Mic=0x13
[    5.328124] snd_hda_codec_realtek hdaudioC2D0:      Internal Mic=0x12
[    6.417695] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:08.1/0000:65:00.6/sound/card2/input27

Alsamixer: enter image description here

Pavucontrol: enter image description here

iwlwifi-backports build is rejected for Lts 20.04 during update of all Kernel 5.4.0 series including today https://askubuntu.com/questions/1410353/iwlwifi-backports-build-is-rejected-for-lts-20-04-during-update-of-all-kernel-5

dkms returns Error! The /var/lib/dkms/backport-iwlwifi/8324/5.4.0-113-generic/x86_64/dkms.conf for module backport-iwlwifi includes a BUILD_EXCLUSIVE directive which does not match this kernel/arch. This indicates that it should not be built.

I ran the wireless-info script, the dmesg file contains periodic messages every few minutes about the wifi disconnecting and reconnecting. What can I do? I am on a Lenovo W510 which was solid as a rock under 18.04 LTS.

Use gestures on touchpads --> Doesn't work https://askubuntu.com/questions/1396525/use-gestures-on-touchpads-doesnt-work

I recently shifted from windows(Laptop HP-15da1058TU Intel core i5 8th Gen) to ubuntu 20.04 but I'm not able use my touchpad in similar fashion (specifically zoom in, zoom out and 3 finger screen movement gesture)

While this link says, I can https://help.ubuntu.com/stable/ubuntu-help/touchscreen-gestures.html.en

So, can anyone help me set it up. Thanks in advance!!

How to delete files on an NTFS drive while running Ubuntu https://askubuntu.com/questions/1293619/how-to-delete-files-on-an-ntfs-drive-while-running-ubuntu

I am using Ubuntu 18.04 and I want to delete files on another drive that has Windows installed.

Since I am using a dual boot setup, my Windows crashed two days ago. I installed a fresh version of Windows, which took over an hour. Now loading Windows is very slow and accessing files is also extremely slow. I suspect that the HDD is failing.

The HDD is 500 GB, consisting of two NTFS partitions (60 GB and 200 GB) and one Ubuntu partition (200 GB, which is not NTFS).

Windows was originally on the 60 GB partition, which is no longer accessible. Consequently I installed a fresh copy of Windows on the 200 GB NTFS partition, but it is running very slowly as mentioned earlier.

The strange thing is that Ubuntu loads normally and file access within Ubuntu is also normal. I can even access the files on the 60 GB partition easily (which is impossible while using Windows).

Does anyone know what the reason might be, and how I can delete files from that 60 GB partition while using Ubuntu?

How to have Ubuntu read the file in windows hard drive which became RAW? https://askubuntu.com/questions/1292896/how-to-have-ubuntu-read-the-file-in-windows-hard-drive-which-became-raw

I have a 2TB USB Windows hard drive which suddenly became RAW.
The hard drive contains only HD movies, mkv files. There's no OS there.

From this link and this link, it seems I may get the chance to recover the data using Ubuntu Live CD.
So I download the Ubuntu iso file and burn it to a blank DVD.

After I boot from the Live CD, I use the "Try Ubuntu" option, but the raw drive is not listed in "Files" directory as seen below :
enter image description here


After playing around what is inside the Ubuntu desktop, I found a "Disks" icon, so I double click it and it show the raw drive (orange highlighted) :
enter image description here.


Based from reading in the internet, I open the terminal window and type sudo fdisk -l, and the result is below :
enter image description here
with red text "partition 1 does not start on physical sector boundary" at the bottom.


The CrystalDisk information result show like below:
enter image description here


I need help from the experts if there is a way to have Ubuntu read the raw hard drive and explore it so I can copy it to another hard drive.

Any kind of respond would be greatly appreciated.
Thank you in advanced.

PS : Sorry I forgot to mention that I've tried TestDisk from Windows 10. But it seems there is something wrong with the drive which cause it became so hot after about 3 hours of Deeper Search. So I stop it. I post this "hot" problem in the Super User SE.

Others Can't join Minecraft server https://askubuntu.com/questions/1253506/others-cant-join-minecraft-server

So I've recently started a new Minecraft server. and it works just fine locally and from another desktop (connected with the ip4) however. When I try to connect with the public IP address + port (example) 165.242.53.1:25565 it doesn't show.

I'm sure that I port forwarded well (I already ran a Minecraft server several times on windows) but I just can't figure out why it doesn't work.

I'm on Ubuntu 18.04 I believe.

Ubuntu installation problem with Intel Rapid Storage Technology https://askubuntu.com/questions/1237557/ubuntu-installation-problem-with-intel-rapid-storage-technology

I apologize immediately for my English

After buying a new notebook, Acer aspire A514-52-59EQ, with pre-installed Windows 10 home I wanted to go back to my dear old Ubuntu, in the new version 20.04LTS, specific that I have already tried with Ubuntu18.04 LTS, 19.10 and other various distributions Linux.

I have obviously disabled secure boot and quick start of windows.

During the installation, however, the warning of incompatibility with intel RST appears.Following the guide to which the warning refers, a request is made to change the SATA mode in AHCI from the Uefi Bios.

The problem is that inside the BIOS my SATA device is in "optane whitout raid" mode, but in the itntel optane app this is disable, and I cannot modify it in any way.

My storage controller is Intel SATA / Pcle RST premium controller chipset. Intel told me to uninstall it quietly, although I was doubtful that it managed the disk, I ignorantly trusted, I did it and the only thing that caused it was the inability to access the disk resulting in the necessary restore.

Instead, by contacting the Acer, they was told me that it is possible to create a Live USB in order to overcome the problem, but that since it was not their responsibility, we could not say more.

Can someone help me?

Thank you

Why do the docs switch from sbd to sbd1 here? https://askubuntu.com/questions/1212379/why-do-the-docs-switch-from-sbd-to-sbd1-here

I'm following this ISCSI guide here:

https://help.ubuntu.com/lts/serverguide/iscsi-initiator.html

At the bottom it mentions sdb is the new iSCSI disk however in the next commands it uses sbd1.

Why is this? Is this just a typo?

SSH user1@ip_address: Permission denied (publickey) https://askubuntu.com/questions/1197193/ssh-user1ip-address-permission-denied-publickey

I am trying to connect to a my SSH server (running on Ubuntu 16.04.2 LTS) from my local machine (Ubuntu 18.04.03 LTS).

I have created a private and public key on my local machine and copied my public key to my SSH server's authorized_keys file.

I could log in with ssh root@ip-address and I have access (as root user), but when I tried to log in as another user with command ssh name@ip-address, it generated an error message:

name@ip_address: Permission denied (publickey)

What can I do so the name@ip-address could be accessed?

How do I create a Python virtual environment in the Ubuntu on Windows App using 'venv' rather than 'virtualenv'? https://askubuntu.com/questions/1182768/how-do-i-create-a-python-virtual-environment-in-the-ubuntu-on-windows-app-using

I am using the Ubuntu on Windows App running on Windows Subsystem for Linux. So an initial question is if Python virtual environments is supported. Given my as yet limited understanding of Python virtual environments I would think that they are supported in the Ubuntu on Windows App. Here is the version info:

Windows Ubuntu App 1804.2019.521.0

Ubuntu release 18.04 (bionic)

Python Version 3.6.7 (as best I remember this was installed by default).

My motivation for wanting to use venv is this reddit post:

venv by nature of being part of Python itself has access to the internals of Python which means it can do things the right way with far fewer hacks... ...So venv can be thought of virtualenv done right, with the blessing and support of the Python developers.

Similar questions came up when I entered my question, but I didn't find one that solved my problem.

One post:

Since you specifically installed python3.6 instead of Ubuntu's default python3 version, which is python3.5, you have to install python3.6-venv instead of python3-venv since that would resolve to python3.5-venv. To do so, you can use sudo apt install python3.6-venv

Another post from 01/2018 said that python3.6 -m venv myvenv worked after reinstalling Python3.6.4. I'm avoiding re-installation for the time being.

Here is what I tried to create a virtual environment:

1) Opened Ubuntu

2) Went to the directory where I want to create the virtual environment.

 /home/dgrucza/python-virtual-environments

3) Entered python3 -m venv env This returned the following:

The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command.

apt-get install python3-venv

You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment.

Failing command: ['/home/dgrucza/python-virtual-environments/evn/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']

4)Tried to install venv by entering sudo apt-get install python-venv After entering my password at the prompt this returned the following:

Reading package lists... Done Building dependency tree Reading state information... Done Package python3-venv is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'python3-venv' has no installation candidate

5) Also tried entering python3.6 -m venv myenv, but received the same message.

The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command.

apt-get install python3-venv

You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment.

Failing command: ['/home/dgrucza/myenv/bin/python3.6', '-Im', 'ensurepip', '--upgrade', '--default-pip']

Cannot upgrade from Ubuntu 16.10 to 18.04 LTS https://askubuntu.com/questions/1061401/cannot-upgrade-from-ubuntu-16-10-to-18-04-lts

I am trying to upgrade from Ubuntu 16.10 to Ubuntu 18.04 and getting this error everytime:

An upgrade from 'yakkety' to 'bionic' is not supported with this tool.

How do I resolve this?

Missing mfc140u.dll error when trying to run GOG Galaxy using PlayOnLinux https://askubuntu.com/questions/953709/missing-mfc140u-dll-error-when-trying-to-run-gog-galaxy-using-playonlinux

err:module:import_dll Library mfc140u.dll (which is needed by L"C:\Program Files (x86)\GOG Galaxy\GalaxyClient.exe") not found

err:module:LdrInitializeThunk Main exe initialization for L"C:\Program Files (x86)\GOG Galaxy\GalaxyClient.exe" failed, status c0000135

I have ran vcrun2015 using winetricks and I still get that error, and that seems to be the only fix I could find online. Any help would be very very appreciated, I've been trying to solve this for 12 hours :'(. Please keep it noob friendly as I have just started using Ubuntu.

Thanks,

Is there a way to open DICOM files? https://askubuntu.com/questions/909692/is-there-a-way-to-open-dicom-files

I have done an RMI scan, and I wonder if it's possible to open DICOM files, to see it. Ubuntu recommended I install ImageJ, but that didn't decode it or whatever.

A friend of mine opened it with Photoshop and seems like it worked, but I need a program I can easily use on Ubuntu.

Ubuntu Tweak is no longer maintained? https://askubuntu.com/questions/772297/ubuntu-tweak-is-no-longer-maintained

Looks like Ubuntu Tweak project is no longer maintained and the application is no longer available through PPA. I particularly loved the Janitor feature in Ubuntu Tweak. Are there any alternatives one can use?

Source - Ubuntu Tweak in Launchpad

Github: https://github.com/tualatrix/ubuntu-tweak

How to Reinstall or Remove Wacom Drivers https://askubuntu.com/questions/745011/how-to-reinstall-or-remove-wacom-drivers

I'm a new user banging my head against the wall trying to get my Wacom tablets to work on Kubuntu 14.04. I have two tablets: a bigger, older Intuos 2, and a smaller, much newer Intuos Pen Small. I tried following all the guides I could find on here and the Wacom Linux Project wiki, but I couldn't get my Intuos 2 to work at all.

After a while, I decided to see if my Intuos Pen Small would work out of the box, as some other forum goers have mentioned. When I plug it in, I immediately get cursor functionality, however I can't change any settings. In the Graphic Tablet - KDE Control Module window, I get an error saying "Graphic Tablet Error: Profile Default Does Not Exist". If I try to make a new profile, it gives me the same error, replacing the above "Default" with whatever I tried to name it.

I'm thinking maybe, somewhere on the long winding path I took trying to get my old Intuos 2 working, I messed something up. I want to try reinstalling everything all over from scratch. Unfortunately, I don't really know where to start, and I can't find any guides for this online. Please help, thanks!

Unable to install busybox-initramfs 15.04 https://askubuntu.com/questions/675547/unable-to-install-busybox-initramfs-15-04

I am trying to install ubuntu 15.04 server on a machine.

During installation is stopped installing with the following error: An error was returned while trying to install the busybox-initramfs package onto the target system.

Ubuntu 15.04 desktop installs fine, but not server.

configuring vpn with strongswan https://askubuntu.com/questions/620560/configuring-vpn-with-strongswan

I need to do a vpn site-to-site, the company to integrate with gave me these params.

Gateway : 41.xxx.xx.xx

Host IP : 41.xxx.x.xx port xxxx

Transform set : esp-aes-256 esp-md5-hmac

Pre-shared key : xxxxxxxxxxxxxxxxxxxxxxx

I have configured Strongswan http://www.strongswan.org. but unfortunately I CANT get it to work.

have anyone done this before? Thanks.

edited........................................ this is my auth.log

 May 11 21:23:52 li348-231 sshd[3000]: Connection closed by 58.108.232.7 [preauth]
May 11 21:24:05 li348-231 sshd[3012]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=60.173.14.143  user=root
May 11 21:24:07 li348-231 sshd[3012]: Failed password for root from 60.173.14.143 port 39095 ssh2
May 11 21:24:10 li348-231 sshd[3012]: Received disconnect from 60.173.14.143: 11: Normal Shutdown, Thank you for playing [preauth]
May 11 21:24:13 li348-231 sshd[3015]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=60.173.14.143  user=root
May 11 21:24:15 li348-231 sshd[3015]: Failed password for root from 60.173.14.143 port 41129 ssh2
May 11 21:24:15 li348-231 sshd[3015]: Received disconnect from 60.173.14.143: 11: Normal Shutdown, Thank you for playing [preauth]
May 11 21:25:01 li348-231 CRON[3018]: pam_unix(cron:session): session opened for user root by (uid=0)
May 11 21:25:01 li348-231 CRON[3018]: pam_unix(cron:session): session closed for user root
May 11 21:26:21 li348-231 ipsec_starter[3021]: Starting strongSwan 5.1.2 IPsec [starter]...
May 11 21:26:21 li348-231 ipsec_starter[3040]: charon (3041) started after 20 ms
May 11 21:29:47 li348-231 ipsec_starter[3040]: charon stopped after 200 ms
May 11 21:29:47 li348-231 ipsec_starter[3040]: ipsec starter stopped
May 11 21:29:50 li348-231 ipsec_starter[3204]: Starting strongSwan 5.1.2 IPsec [starter]...
May 11 21:29:50 li348-231 ipsec_starter[3225]: charon (3226) started after 20 ms
May 11 21:35:01 li348-231 CRON[3310]: pam_unix(cron:session): session opened for user root by (uid=0)
May 11 21:35:01 li348-231 CRON[3310]: pam_unix(cron:session): session closed for user root

edit to add the tail -f /var/log/syslog output

May 12 09:02:06 li348-231 charon: 00[CFG] loading attribute certificates from '/etc/ipsec.d/acerts'
May 12 09:02:06 li348-231 charon: 00[CFG] loading crls from '/etc/ipsec.d/crls'
May 12 09:02:06 li348-231 charon: 00[CFG] loading secrets from '/etc/ipsec.secrets'
May 12 09:02:06 li348-231 charon: 00[CFG]   loaded IKE secret for @blinks.com @ccxtnm.net 
May 12 09:02:06 li348-231 charon: 00[LIB] loaded plugins: charon test-vectors aes rc2 sha1 sha2 md4 md5 rdrand random nonce x509 revocation constraints pkcs1 pkcs7 pkcs8 pkcs12 pem openssl xcbc cmac hmac ctr ccm gcm attr kernel-netlink resolve socket-default stroke updown eap-identity eap-mschapv2 addrblock
May 12 09:02:06 li348-231 charon: 00[LIB] unable to load 5 plugin features (5 due to unmet dependencies)
May 12 09:02:06 li348-231 charon: 00[LIB] dropped capabilities, running as uid 0, gid 0
May 12 09:02:06 li348-231 charon: 00[JOB] spawning 16 worker threads
May 12 09:02:06 li348-231 charon: 10[CFG] received stroke: add connection 'net-net'
May 12 09:02:06 li348-231 charon: 10[CFG] added configuration 'net-net'
Operating System not Found https://askubuntu.com/questions/584149/operating-system-not-found

I've Xbuntu installed on a 128GB SSD that boots and runs without issue on my desktop. (Even on its own with all other drives disconnected) When placed in my laptop, although it sees the disk, I receive an "Operating System not Found" error during boot. I have tried the steps outlined in this similar post:

Ubuntu 14.04 Installation on Fujitsu Siemens Notebook - Operating System not found notebook-operating-system-not-fou

Step 5 did not provide this option - only the default recommended repair which I did.

Below is the output of my boot-repair dump. I've run the repair but it has not been successful in resolving the issue. My Home partition is encrypted.There is / was no dual booting of any kind going on. Any suggestions very much appreciated, thanks.

http://paste.ubuntu.com/10158465/

How to burn an ISO file larger 4.7 GB onto a DVD https://askubuntu.com/questions/507450/how-to-burn-an-iso-file-larger-4-7-gb-onto-a-dvd

I downloaded centos everything ISO which about 6.4GB in size however I could not write that ISO file onto a DVD using k3b tool as it is showing Blank dvd doesn't have enough space. I want to dual boot my computer one with Ubuntu and another one with Centos, For installing CENTOS i need to write that everything ISO on to the DVD which is of 4.7 GB in capacity and then go for installation.

How should i ?

hciconfig Features hex codes https://askubuntu.com/questions/476172/hciconfig-features-hex-codes

I can't seem to find anywhere what the hex codes listed under hciconfig Features stand for. Does anyone know where I can find a list to show which feature corresponds to which hex code?

Output:
$ hciconfig -a hci0 features
hci0:   Type: BR/EDR  Bus: USB
    BD Address: 00:0E:8E:49:38:9D  ACL MTU: 820:8  SCO MTU: 255:16
    Features page 0: 0xff 0xfb 0xff 0xfe 0xdb 0xff 0x7b 0x87
            <3-slot packets> <5-slot packets> <encryption> <slot offset> 
            <timing accuracy> <role switch> <hold mode> <sniff mode> 
            <park state> <RSSI> <SCO link> <HV2 packets> <HV3 packets> 
            <u-law log> <A-law log> <CVSD> <paging scheme> <power control> 
            <transparent SCO> <broadcast encrypt> <EDR ACL 2 Mbps> 
            <EDR ACL 3 Mbps> <enhanced iscan> <interlaced iscan> 
            <interlaced pscan> <inquiry with RSSI> <extended SCO> 
            <EV4 packets> <EV5 packets> <AFH cap. slave> 
            <AFH class. slave> <LE support> <3-slot EDR ACL> 
            <5-slot EDR ACL> <sniff subrating> <pause encryption> 
            <AFH cap. master> <AFH class. master> <EDR eSCO 2 Mbps> 
            <EDR eSCO 3 Mbps> <3-slot EDR eSCO> <extended inquiry> 
            <LE and BR/EDR> <simple pairing> <encapsulated PDU> 
            <err. data report> <non-flush flag> <LSTO> <inquiry TX power> 
            <EPC> <extended features> 
    Features page 1: 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x00