Delete “Bin” in file system https://askubuntu.com/questions/1564430/delete-bin-in-file-system

Delete / empty trash “Bin” in file system, can you do it safely ? Bin 2690 items / X11 has black arrow ? I have never seen it till updating to 20.04 ? Help very much appreciated. Les

Best practices for taking/rollback snapshots (Btrfs vs. ZFS) on Ubuntu Server for a containerized services? https://askubuntu.com/questions/1564428/best-practices-for-taking-rollback-snapshots-btrfs-vs-zfs-on-ubuntu-server-fo

The Hardware

I am setting up a Mini PC (Intel N150, 16GB DDR4, 1TB SSD) to serve as a 24/7 home server. I intend to use Ubuntu Server and use the CLI as much as possible. Podman will manage all containerized services.

The Containers (Podman will be used to create/manage)

  • Jellyfin/Plex (with N150 QuickSync transcoding)
  • Home Assistant
  • several development and support services.

The Objective: Implement a functional "System Restore"

I want to implement a robust snapshot system to allow for quick snapshots and rollbacks. This is primarily to recover from "experimental" mistakes or configuration errors when testing things like new utilities or GitHub repos. I am fully aware that snapshots are not a backup solution; I simply need the local utility of "versioning" my system state before making major changes. The Dilemma: Btrfs vs. ZFS I am avoiding TimeShift to keep the installation lean and avoid desktop library dependencies. This (apparently) leaves me choosing between filesystem-level snapshots: • Btrfs: Seems well-integrated with Ubuntu and tools like snapper. • ZFS: Often preferred for its long-standing track record and stability, though I'm unsure about the overhead on this specific hardware. Questions

  1. Given this low-power hardware (N150) and a Podman-heavy workflow, is there a clear winner between Btrfs and ZFS for CLI-managed snapshots?
  2. What is the recommended partitioning scheme during the Ubuntu Server install to ensure both the OS and my container data (podman volumes/images) are covered by snapshots?
  3. Are there specific CLI-native tools (like snapper or zfs-auto-snapshot) that are considered the "gold standard" for this on Ubuntu Server?
Issues booting from USB https://askubuntu.com/questions/1564426/issues-booting-from-usb

I have created the boot USB, but when booting the laptop, the screen sees the USB drive, and tries to load, but instantly reboots the laptop. I have changed the SATA to ACHI, but this has made no difference. I am trying to install Ubuntu 24.04.4 and using Rufus 4.13 to create the bootable USB, following the instructions as detailed on Install Ubuntu Any suggestions?

why is my setup menu glitched and unresponsive? https://askubuntu.com/questions/1564425/why-is-my-setup-menu-glitched-and-unresponsive

menu being bad shown here

something something dumb windows user something something switching because windows ai

i am not very smart when it comes to computers so i really dont know what the problem is. booting into safe graphics mode does fix this problem, but i am not going to use my pc on 4:3.

apps open up fine and look fine as well. the menu though is all glitched and wont respond to anything.

ive checked it uses nouveau and i tried to both disable modeset and nouveau entirely.

i have a 1650 gtx. i am trying to use ubuntu 24.04.04 LTS

simple-scan takes 2 minutes to find scanner https://askubuntu.com/questions/1564424/simple-scan-takes-2-minutes-to-find-scanner

simple-scan takes 2 minutes "Searching for scanner" before it finds it. Every time the app starts. Scanner is Epson ET-2800. Ethernet, not USB or SCSI. /etc/sane.d/epson2.conf specifies

net 172.0.16.155

I commented out everything other than epson2 in dll.conf. I commented out the SCSI and USB entries in epson2.conf (and pio was already commented out). No help. wireshark shows no communication with the printer until the 2 minute mark. Then, as soon as it sends a packet to the scanner, an answer returns the simple-scan finally sees the scanner. After that it works just fine until I exit the program. WTH could it be doing? I've told it exactly where the scanner can be found, no need for discovery. Pop!_OS 24.04.

.cache/simple-scan/simple-scan.log

[+0.28s] DEBUG: scanner.vala:1625: SANE version 1.2.1
[+0.28s] DEBUG: scanner.vala:1686: Requesting redetection of scan devices
[+0.28s] DEBUG: scanner.vala:863: Processing request
[+0.42s] DEBUG: app-window.vala:1525: Saving state to /home/lordbah/.config/simple-scan/state
[+14.66s] DEBUG: app-window.vala:1525: Saving state to /home/lordbah/.config/simple-scan/state
[+15.03s] DEBUG: app-window.vala:1525: Saving state to /home/lordbah/.config/simple-scan/state
[+135.52s] DEBUG: scanner.vala:348: sane_get_devices () -> SANE_STATUS_GOOD
[+135.52s] DEBUG: scanner.vala:374: Device: name="escl:https://172.16.0.155:443" vendor="Epson" model="ET-2800 Series" type="platen scanner"
[+135.52s] DEBUG: scanner.vala:374: Device: name="airscan:e0:EPSON ET-2800 Series" vendor="eSCL" model="EPSON ET-2800 Series" type="ip=172.16.0.155"

It was seen 12 years ago 381910 but the Launchpad bug report linked therein seems irrelevant since that's about autosave.

Maybe some kind of network timeout? It shouldn't be DNS lookup since an IP address was supplied. I haven't seen ping or other network programs hitting a 120 second timeout.

I want to use my NVMe, SSD and HDD on Ubuntu https://askubuntu.com/questions/1564417/i-want-to-use-my-nvme-ssd-and-hdd-on-ubuntu

I am having trouble setting up my SSD and HDD to be used as a separate storage. Ubuntu is installed on my NVMe, and I want to be able to use my SSD and HDD to install games, programs and other things simultaneously, like in Windows to make it ask what storage device to use. I want to use the HDD primarily for the video games.

I tried it before in Linux Mint. Somehow I managed to make it work in Mint but only for Steam to use my HDD. Now I cannot seem to do it. I just want to switch from Windows because it's becoming annoying with updates and eating my RAM.

I have a good PC. How can I set it up? I want to use all of the available storage devices to be able to store data and be install programs on it

Install release fuzzy and unreadable https://askubuntu.com/questions/1564415/install-release-fuzzy-and-unreadable

I just booted and I'm getting this fuzzy and unreadable window. I'm not sure what to do.

image

VLC will not start on latest Ubuntu desktop on Dell Precision M4800 https://askubuntu.com/questions/1562907/vlc-will-not-start-on-latest-ubuntu-desktop-on-dell-precision-m4800

I have checked https://wiki.videolan.org/VSG:Startup:Other/ (but it's empty) and searched this forum to no avail.

I installed Ubuntu Desktop 25.10 on my (aging) Dell Precision M4800 laptop today. The installation went fine (everything works: external monitor, KVM switchover to other laptop, sound, Bluetooth, all network cards, storage devices, streaming videos from Youtube, playing videos attached to Signal messages) but I can't play any local video files just sitting on disk like local .mp4 or .avi or .mov files. I have installed both ubuntu-restrictred-addons and ubuntu-restricted-extras and updated all software.

When double-clicking on a video file in the Files app of Gnome GUI it doesn't show anything, and via the terminal I run vlc <filename> which shows absolutely nothing - like the application is running but nothing is drawn on the screen.

alex@alex-M4800-ubuntu:~$ ls -lh signal-2025-12-24-204614.mp4
-rw------- 1 alex alex 23M Jan 15 21:21 signal-2025-12-24-204614.mp4
alex@alex-M4800-ubuntu:~$ vlc signal-2025-12-24-204614.mp4
█

I have tried the "stable" and "beta" channels of VLC in the package manager. There is no difference.

The laptop has the following GPUs:

  • Intel HD Graphics 4000/5000 series integrated graphics card

  • nVidia Quadro K1100M

ubuntu-drivers list returns nothing so I suspect the right drivers have been installed.

The only indication that something is wrong with the video driver is that in Settings -> Mouse and Touchpad the "Scroll Direction" graphics look quite funny like this.

quite funny like this.

How do I get local video playback working?

https://apps.gnome.org/Showtime/ works fine and plays my video files so it's a good workaround, but I'd love to understand why VLC is refusing to launch.

Ubuntu 24.04 crackling sound, then nothing, dummy output https://askubuntu.com/questions/1554143/ubuntu-24-04-crackling-sound-then-nothing-dummy-output

I am having a recurring problem (it sometimes fixes itself after a few days) that is quite annoying: my sound starts crackling (it seems the crackling comes from the jack area somehow), then some time later stops. When checking the settings, I can see the dreaded "dummy output". I tried quite a few things I saw online (and perhaps misconfigured some things in the way as I do not understand everything) to no avail.


Here is a bunch of information that I saw were shared in several threads. I have a dual boot Ubuntu - Windows.

$ inxi -SMA
System:
  Host: Popoi Kernel: 6.8.0-65-generic arch: x86_64 bits: 64
  Desktop: GNOME v: 46.0 Distro: Ubuntu 24.04.2 LTS (Noble Numbat)
Machine:
  Type: Laptop System: TUXEDO product: TUXEDO Stellaris Slim 15 Intel Gen6
    v: Standard serial: <superuser required>
  Mobo: NB02 model: GM5IXxA v: Standard serial: <superuser required>
    UEFI: American Megatrends LLC. v: N.1.07A04 date: 04/16/2024
Audio:
  Device-1: Intel Raptor Lake High Definition Audio driver: snd_hda_intel
  Device-2: NVIDIA driver: snd_hda_intel
  API: ALSA v: k6.8.0-65-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active

> pactl info | grep '^Server Name'                
Server Name: PulseAudio (on PipeWire 1.0.5)

> aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

> sudo dmesg | grep -iE 'snd|hda|codec'
[    5.853655] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    5.861000] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    5.861310] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    5.917584] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    6.297645] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    6.642128] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    6.839950] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    6.840121] snd_hda_intel 0000:01:00.1: Disabling MSI
[    6.840128] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    6.840298] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    6.867044] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    6.867452] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input14
[    6.867495] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input15
[    6.867529] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input16
[    6.867563] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input17
[    6.876359] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    8.420052] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    8.420985] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    8.423213] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    8.441529] hdaudio hdaudioC1D0: no AFG or MFG node found
[    8.463498] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card1/input20
[    8.463549] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card1/input21
[    8.463571] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card1/input22
[    8.463606] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card1/input23

> lsmod | grep snd_sof_pci_intel_tgl
snd_sof_pci_intel_tgl    12288  0
snd_sof_intel_hda_common   217088  1 snd_sof_pci_intel_tgl
snd_sof_pci            24576  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_soc_acpi_intel_match    98304  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl

Here are some screenshots:

  • Pavucontrol shows dummy output.

    Pavucontrol shows dummy output.

  • Alsamixer shows 2 graphic cards, I think.

    Alsamixer shows 2 graphic cards I think

  • The Nvidia doesn't show much (four S/PDIF with no vertical bars).

    Nvidia

  • The Intel shows a vertical bar for PCM (and four S/PDIF with no vertical bars).

    Intel

After installing Ubuntu, it shows Error: 0x80070422 https://askubuntu.com/questions/1482867/after-installing-ubuntu-it-shows-error-0x80070422

After I installed Ubuntu 20.04.4 alongside Windows 10 in my PC, it shows --

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070422
Error: 0x80070422 The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.

Press any key to continue...

I'm not sure what I should do as pressing any key does nothing but closes the terminal.

Gnome 44 Activities overview is no longer working https://askubuntu.com/questions/1464905/gnome-44-activities-overview-is-no-longer-working

I am hoping that someone can help me with a recent problem that has sprung up today. I booted my system, which was running Ubuntu 22.10 and there were major changes to the desktop. The bottom task bar was gone, the background had changed (to default Ubuntu from black), and the Super key no longer brought up Activities Overview.

I have tried the "upper left corner" mouse position to activate Activities Overview but that does not bring anything up either. The upper left hand corner now has a new "applications" menu.

I have confirmed that my Super key is not disabled as it works to lock the screen as usual. I figure that something must have gone through an upgrade yesterday and things under the hood got changed. I upgraded to Ubuntu 23.04 to see if that would help, and nothing changed (at least visually).

I was wondering if this might just be something that I screwed up without knowing it or whether it might be something more widespread. Please let me know if there is any more information that I can provide that is helpful.

The "About" information from settings:

  • Hardware model: MSI Creator 17 A10SFS

  • Firmware version: E17G3IMS.310

  • Memory: 32GB

  • Processor: Intel i7-10875H

  • Graphics: Nvidia RTX 2070

  • OS: Ubuntu 23.04

  • GNOME version: Not Available (should be 44)

  • Windowing system: X11

  • Kernel version: Linux 6.2.0-20-generic

Screenshot of upper left of desktop showing applications and places but no "activities":

enter image description here

Random freezing in Ubuntu 20.04 https://askubuntu.com/questions/1346308/random-freezing-in-ubuntu-20-04

I have been enjoying a smooth Ubuntu experience until recently.

Just sometimes after using Firefox, it tends to freeze up Firefox, System Monitor and other related apps (even the screenshot took). Yet Alt+Tab works, the seconds on the clock on the activities bar is still moving.

I refreshed my Firefox, but it doesn't seem to be working. I mostly only installed updates as recommended by the Software Centre and Synaptic Package Manager only.

The only configuration change I did was the installation of the CPUfreq-gui and adjusting the CPU governor (to ondemand to performance and back) and adjusting the maximum clock to 4200Mhz. Also, I added 2 Gnome extensions to monitor the 1) CPU activity and 2) change the CPU governor as required.

I am using a Ryzen 3600 with a GTX 1660 Super with 32GB RAM.

Do you have any ideas where I can start troubleshooting to resolve this issue?

I managed to track down the issue and it seems that it was the Gnome Shell. It crashed again on me a while ago too.

I have attached the syslog:

Jun 25 10:37:08 Azrael-PC gnome-shell[13776]: ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
Jun 25 10:40:30 Azrael-PC kernel: [55591.619387] snd_hda_intel 0000:05:00.0: azx_get_response timeout, switching to polling mode: last cmd=0x101f0500
Jun 25 10:40:31 Azrael-PC kernel: [55592.623391] snd_hda_intel 0000:05:00.0: azx_get_response timeout, switching to single_cmd mode: last cmd=0x101f0500
Jun 25 10:40:36 Azrael-PC kernel: [55597.679592] azx_single_send_cmd: 386 callbacks suppressed
Jun 25 10:40:39 Azrael-PC kernel: [55600.120551] snd_hda_intel 0000:05:00.0: Direct firmware load for ctefx-desktop.bin failed with error -2
Jun 25 10:40:41 Azrael-PC kernel: [55602.691591] azx_single_send_cmd: 242 callbacks suppressed
Jun 25 10:40:46 Azrael-PC kernel: [55607.695595] azx_single_send_cmd: 165 callbacks suppressed
Jun 25 10:40:51 Azrael-PC kernel: [55612.699581] azx_single_send_cmd: 165 callbacks suppressed
Jun 25 10:40:56 Azrael-PC kernel: [55617.727584] azx_single_send_cmd: 168 callbacks suppressed
Jun 25 10:40:59 Azrael-PC kernel: [55620.395381] snd_hda_codec_ca0132 hdaudioC0D1: ca0132 DSP load image failed
Jun 25 10:40:59 Azrael-PC kernel: [55620.395622] snd_hda_codec_ca0132 hdaudioC0D1: cannot read sub nodes for FG 0x01
Jun 25 10:40:59 Azrael-PC gnome-shell[14011]: [Child 14011, AudioIPC0] WARNING: 7fcbd4ffbc80 StateCallback() state 0 cubeb error: file /build/firefox-Y52fNi/firefox-89.0.1+build1/dom/media/AudioStream.cpp:654
Jun 25 10:40:59 Azrael-PC gnome-shell[14011]: [Child 14011, MediaDecoderStateMachine #1] WARNING: 7fcbd4ffbc80 OpenCubeb() failed to init cubeb: file /build/firefox-Y52fNi/firefox-89.0.1+build1/dom/media/AudioStream.cpp:323
Jun 25 10:41:01 Azrael-PC kernel: [55622.735591] azx_single_send_cmd: 239 callbacks suppressed
Jun 25 10:41:06 Azrael-PC kernel: [55627.739590] azx_single_send_cmd: 277 callbacks suppressed
Jun 25 10:41:11 Azrael-PC kernel: [55632.763575] azx_single_send_cmd: 256 callbacks suppressed
Jun 25 10:41:13 Azrael-PC kernel: [55634.795810] snd_hda_codec_ca0132 hdaudioC0D1: out of range cmd 1:b:707:ffffff18
Jun 25 10:41:13 Azrael-PC kernel: [55634.796230] snd_hda_codec_ca0132 hdaudioC0D1: out of range cmd 1:10:707:ffffffd8
Jun 25 10:41:16 Azrael-PC kernel: [55637.775599] azx_single_send_cmd: 260 callbacks suppressed
Jun 25 10:41:21 Azrael-PC kernel: [55642.803581] azx_single_send_cmd: 261 callbacks suppressed
Jun 25 10:41:26 Azrael-PC kernel: [55647.807591] azx_single_send_cmd: 301 callbacks suppressed
Jun 25 10:41:29 Azrael-PC gnome-shell[14011]: [Child 14011, AudioIPC0] WARNING: 7fcbd4f22ac0 StateCallback() state 0 cubeb error: file /build/firefox-Y52fNi/firefox-89.0.1+build1/dom/media/AudioStream.cpp:654
Jun 25 10:41:29 Azrael-PC gnome-shell[14011]: [Child 14011, MediaDecoderStateMachine #1] WARNING: 7fcbd4f22ac0 OpenCubeb() failed to init cubeb: file /build/firefox-Y52fNi/firefox-89.0.1+build1/dom/media/AudioStream.cpp:323
Jun 25 10:41:31 Azrael-PC kernel: [55652.831642] azx_single_send_cmd: 265 callbacks suppressed
Jun 25 10:41:36 Azrael-PC kernel: [55657.835583] azx_single_send_cmd: 293 callbacks suppressed
Jun 25 10:41:41 Azrael-PC kernel: [55662.843584] azx_single_send_cmd: 266 callbacks suppressed
Jun 25 10:41:47 Azrael-PC kernel: [55667.855567] azx_single_send_cmd: 298 callbacks suppressed
Jun 25 10:41:52 Azrael-PC kernel: [55672.859591] azx_single_send_cmd: 228 callbacks suppressed
Jun 25 10:41:57 Azrael-PC kernel: [55677.871598] azx_single_send_cmd: 258 callbacks suppressed
Jun 25 10:41:59 Azrael-PC gnome-shell[14011]: [Child 14011, AudioIPC0] WARNING: 7fcbcbeefe40 StateCallback() state 0 cubeb error: file /build/firefox-Y52fNi/firefox-89.0.1+build1/dom/media/AudioStream.cpp:654
Jun 25 10:41:59 Azrael-PC gnome-shell[14011]: [Child 14011, MediaDecoderStateMachine #1] WARNING: 7fcbcbeefe40 OpenCubeb() failed to init cubeb: file /build/firefox-Y52fNi/firefox-89.0.1+build1/dom/media/AudioStream.cpp:323
Jun 25 10:42:02 Azrael-PC kernel: [55682.883590] azx_single_send_cmd: 243 callbacks suppressed
Jun 25 10:42:07 Azrael-PC kernel: [55687.887588] azx_single_send_cmd: 272 callbacks suppressed
Jun 25 10:42:12 Azrael-PC kernel: [55692.891606] azx_single_send_cmd: 287 callbacks suppressed
Jun 25 10:42:17 Azrael-PC kernel: [55697.919593] azx_single_send_cmd: 278 callbacks suppressed
Jun 25 10:42:22 Azrael-PC kernel: [55702.927585] azx_single_send_cmd: 280 callbacks suppressed
Jun 25 10:42:23 Azrael-PC kernel: [55704.431809] snd_hda_codec_ca0132 hdaudioC0D1: out of range cmd 1:7:706:ffffffff
Jun 25 10:42:27 Azrael-PC kernel: [55707.947594] azx_single_send_cmd: 291 callbacks suppressed
Jun 25 10:42:30 Azrael-PC gnome-shell[14011]: [Child 14011, AudioIPC0] WARNING: 7fcbcbea79e0 StateCallback() state 0 cubeb error: file /build/firefox-Y52fNi/firefox-89.0.1+build1/dom/media/AudioStream.cpp:654
Jun 25 10:42:30 Azrael-PC gnome-shell[14011]: [Child 14011, MediaDecoderStateMachine #1] WARNING: 7fcbcbea79e0 OpenCubeb() failed to init cubeb: file /build/firefox-Y52fNi/firefox-89.0.1+build1/dom/media/AudioStream.cpp:323
Jun 25 10:42:30 Azrael-PC gnome-shell[14011]: [Child 14011, MediaDecoderStateMachine #1] WARNING: Decoder=7fcbc5fa4c00 [OnMediaSinkAudioError]: file /build/firefox-Y52fNi/firefox-89.0.1+build1/dom/media/MediaDecoderStateMachine.cpp:3916
Jun 25 10:42:32 Azrael-PC kernel: [55712.959591] azx_single_send_cmd: 254 callbacks suppressed
Jun 25 10:42:37 Azrael-PC kernel: [55717.971587] azx_single_send_cmd: 247 callbacks suppressed
Jun 25 10:42:37 Azrael-PC kernel: [55718.815805] snd_hda_codec_ca0132 hdaudioC0D1: out of range cmd 1:b:707:ffffff18
Jun 25 10:42:37 Azrael-PC kernel: [55718.816014] snd_hda_codec_ca0132 hdaudioC0D1: out of range cmd 1:10:707:ffffffd8
Jun 25 10:42:42 Azrael-PC kernel: [55722.983589] azx_single_send_cmd: 268 callbacks suppressed
Jun 25 10:42:47 Azrael-PC kernel: [55728.003584] azx_single_send_cmd: 299 callbacks suppressed
Jun 25 10:42:52 Azrael-PC kernel: [55733.019588] azx_single_send_cmd: 259 callbacks suppressed
Jun 25 10:42:57 Azrael-PC kernel: [55738.039600] azx_single_send_cmd: 300 callbacks suppressed
Jun 25 10:43:02 Azrael-PC kernel: [55743.051588] azx_single_send_cmd: 257 callbacks suppressed
Jun 25 10:43:07 Azrael-PC kernel: [55748.059586] azx_single_send_cmd: 294 callbacks suppressed
Jun 25 10:43:12 Azrael-PC kernel: [55753.071595] azx_single_send_cmd: 257 callbacks suppressed
Jun 25 10:43:17 Azrael-PC kernel: [55758.075601] azx_single_send_cmd: 291 callbacks suppressed
Jun 25 10:43:22 Azrael-PC kernel: [55763.095593] azx_single_send_cmd: 259 callbacks suppressed
Jun 25 10:43:27 Azrael-PC kernel: [55768.103593] azx_single_send_cmd: 299 callbacks suppressed
Jun 25 10:43:32 Azrael-PC kernel: [55773.119587] azx_single_send_cmd: 265 callbacks suppressed
Jun 25 10:43:37 Azrael-PC kernel: [55778.127596] azx_single_send_cmd: 294 callbacks suppressed
Jun 25 10:43:38 Azrael-PC kernel: [55779.323609] snd_hda_codec_ca0132 hdaudioC0D1: Unable to sync register 0x2b8000. -5
Jun 25 10:47:40 Azrael-PC gnome-shell[2577]: ../clutter/clutter/clutter-actor.c:10558: The clutter_actor_set_allocation() function can only be called from within the implementation of the ClutterActor::allocate() virtual function.
Jun 25 10:47:42 Azrael-PC kernel: [56022.887604] azx_single_send_cmd: 45 callbacks suppressed
Jun 25 10:47:43 Azrael-PC systemd[2329]: Started Application launched by gnome-shell.
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-0: disconnected
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-0: 2660.0 MHz maximum pixel clock
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0):
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-1: disconnected
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0):
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-2: disconnected
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-2: 2660.0 MHz maximum pixel clock
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0):
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): Philips PHL 240V5A (DFP-3): connected
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): Philips PHL 240V5A (DFP-3): Internal TMDS
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): Philips PHL 240V5A (DFP-3): 165.0 MHz maximum pixel clock
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0):
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-4: disconnected
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0):
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-5: disconnected
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-5: 2660.0 MHz maximum pixel clock
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0):
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-6: disconnected
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
Jun 25 10:47:43 Azrael-PC /usr/lib/gdm3/gdm-x-session[2434]: (--) NVIDIA(GPU-0):
Jun 25 10:47:47 Azrael-PC kernel: [56027.903592] azx_single_send_cmd: 581 callbacks suppressed
Jun 25 10:47:50 Azrael-PC kernel: [56031.675787] snd_hda_codec_ca0132 hdaudioC0D1: cannot read sub nodes for FG 0x01
Jun 25 10:47:52 Azrael-PC kernel: [56032.915606] azx_single_send_cmd: 298 callbacks suppressed
Jun 25 10:47:57 Azrael-PC kernel: [56037.923594] azx_single_send_cmd: 252 callbacks suppressed
Jun 25 10:48:02 Azrael-PC kernel: [56042.927615] azx_single_send_cmd: 301 callbacks suppressed
Jun 25 10:48:05 Azrael-PC kernel: [56046.139813] snd_hda_codec_ca0132 hdaudioC0D1: out of range cmd 1:b:707:ffffff18
Jun 25 10:48:05 Azrael-PC kernel: [56046.140233] snd_hda_codec_ca0132 hdaudioC0D1: out of range cmd 1:10:707:ffffffd8
Jun 25 10:48:07 Azrael-PC kernel: [56047.951587] azx_single_send_cmd: 223 callbacks suppressed
Jun 25 10:48:12 Azrael-PC kernel: [56052.959609] azx_single_send_cmd: 295 callbacks suppressed
Jun 25 10:48:17 Azrael-PC kernel: [56057.971613] azx_single_send_cmd: 266 callbacks suppressed
Jun 25 10:48:20 Azrael-PC systemd[2329]: Started Application launched by gnome-shell.
Jun 25 10:48:22 Azrael-PC kernel: [56062.983596] azx_single_send_cmd: 295 callbacks suppressed
Jun 25 10:48:27 Azrael-PC kernel: [56068.011583] azx_single_send_cmd: 276 callbacks suppressed
Jun 25 10:48:32 Azrael-PC kernel: [56073.023579] azx_single_send_cmd: 288 callbacks suppressed
Jun 25 10:48:36 Azrael-PC gnome-shell[14011]: [Child 14011, AudioIPC0] WARNING: 7fcbd2202ba0 StateCallback() state 0 cubeb error: file /build/firefox-Y52fNi/firefox-89.0.1+build1/dom/media/AudioStream.cpp:654
Jun 25 10:48:36 Azrael-PC gnome-shell[14011]: [Child 14011, MediaDecoderStateMachine #1] WARNING: 7fcbd2202ba0 OpenCubeb() failed to init cubeb: file /build/firefox-Y52fNi/firefox-89.0.1+build1/dom/media/AudioStream.cpp:323
Jun 25 10:48:37 Azrael-PC kernel: [56078.035594] azx_single_send_cmd: 277 callbacks suppressed
Jun 25 10:48:42 Azrael-PC kernel: [56083.059591] azx_single_send_cmd: 265 callbacks suppressed
Jun 25 10:48:46 Azrael-PC gnome-shell[13776]: ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
Jun 25 10:48:46 Azrael-PC systemd[2329]: gnome-launched-firefox.desktop-13776.scope: Succeeded.
Jun 25 10:48:47 Azrael-PC kernel: [56088.071614] azx_single_send_cmd: 238 callbacks suppressed
Jun 25 10:48:52 Azrael-PC kernel: [56093.075605] azx_single_send_cmd: 244 callbacks suppressed
Jun 25 10:48:57 Azrael-PC kernel: [56098.083615] azx_single_send_cmd: 286 callbacks suppressed
Jun 25 10:49:02 Azrael-PC kernel: [56103.091765] azx_single_send_cmd: 291 callbacks suppressed
Jun 25 10:49:07 Azrael-PC kernel: [56108.103617] azx_single_send_cmd: 283 callbacks suppressed
Jun 25 10:49:12 Azrael-PC kernel: [56113.131614] azx_single_send_cmd: 294 callbacks suppressed
Jun 25 10:49:13 Azrael-PC systemd[2329]: Started Application launched by gsd-media-keys.
Jun 25 10:49:14 Azrael-PC kernel: [56115.763821] snd_hda_codec_ca0132 hdaudioC0D1: out of range cmd 1:7:706:ffffffff
Jun 25 10:49:14 Azrael-PC kernel: [56115.764851] snd_hda_codec_ca0132 hdaudioC0D1: Unable to sync register 0x2b8000. -5
Jun 25 10:49:14 Azrael-PC pulseaudio[2339]: Failed to set switch of 'Surround': Input/output error
Jun 25 10:49:15 Azrael-PC gsd-media-keys[60559]: Select the window whose client you wish to kill with button 1....
Jun 25 10:49:15 Azrael-PC gsd-media-keys[60559]: xkill:  killing creator of resource 0x4e019a0
Jun 25 10:49:15 Azrael-PC systemd[2329]: gnome-launched-xkill-60559.scope: Succeeded.
Jun 25 10:49:17 Azrael-PC systemd[2329]: gnome-launched-gnome-system-monitor.desktop-5482.scope: Succeeded.
Jun 25 10:49:17 Azrael-PC kernel: [56118.135612] azx_single_send_cmd: 294 callbacks suppressed
Jun 25 10:49:18 Azrael-PC systemd[2329]: gnome-launched-firefox.desktop-60416.scope: Succeeded.
Jun 25 10:49:22 Azrael-PC kernel: [56123.159615] azx_single_send_cmd: 293 callbacks suppressed
Jun 25 10:49:24 Azrael-PC systemd[2329]: Started Application launched by gnome-shell.
Jun 25 10:49:25 Azrael-PC rtkit-daemon[1663]: Supervising 8 threads of 2 processes of 2 users.
Jun 25 10:49:25 Azrael-PC rtkit-daemon[1663]: message repeated 5 times: [ Supervising 8 threads of 2 processes of 2 users.]
Jun 25 10:49:25 Azrael-PC rtkit-daemon[1663]: Successfully made thread 60670 of process 60567 owned by '1000' RT at priority 10.
Jun 25 10:49:25 Azrael-PC rtkit-daemon[1663]: Supervising 9 threads of 3 processes of 2 users.
Jun 25 10:49:27 Azrael-PC pulseaudio[2339]: snd_pcm_avail() returned a value that is exceptionally large: 2479512 bytes (14056 ms).
Jun 25 10:49:27 Azrael-PC pulseaudio[2339]: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
How to make an environment variable available for a python program using os.environ module? https://askubuntu.com/questions/1331463/how-to-make-an-environment-variable-available-for-a-python-program-using-os-envi

I'm just new in this site and new to all the GNU/Linux environment, I'm trying to access to an environment variable from a python program that I wrote in PyCharm, I created it but I the the variable doesn`t appears in my python program.

This is what I already have done:

  • created an environment variable in .bashrc (when I verify, the variable appears me in the terminal)

  • This is what I have typed in my .bashrc file:

    export API_KEY=my_api_key_here

  • import os package in my Python program

  • use the os.environ module in my program (to check if my environment variable appears)

I don't really know where to define my environment variables, on .bashrc or .profile files, (that two option are the only ones that appears me)

In short I want to have access to my own defined environment variables from my program.

I hope you can help me please! And tell me what I'm doing wrong.

Why does host and bridge get an IP but not the virtual machine? https://askubuntu.com/questions/1214882/why-does-host-and-bridge-get-an-ip-but-not-the-virtual-machine

I'm struggling to connect my KVM virtual machine to the local network.

$ brctl show br0
bridge name    bridge id            STP enabled    interfaces
br0            8000.4c5262097e59    yes            enp0s31f6
                                                   vnet0

enp0s31f6 is the hosts' ethenet card and vnet0 that of the KVM guest.

On the host, I have full network connectivity. No problems.

On the vm, I have no network connectivity at all:

$ping 8.8.8.8
connect: Network is unreachable

So I'm trying to figure out what is worng. Already here, I'm puzzled because I thought that a bridge is the equivalent of a hardware switch and if this is so, how can one device plugged into the switch reach the network but not the other?

Let's look at their IP addresses:

$ ip a show enp0s31f6
2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0 state UP group default qlen 1000
    link/ether 4c:52:62:09:7e:59 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.4/24 brd 192.168.1.255 scope global enp0s31f6
       valid_lft forever preferred_lft forever
$ ip a show vnet0
26: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0 state UNKNOWN group default qlen 1000
    link/ether fe:54:00:f0:0e:f8 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc54:ff:fef0:ef8/64 scope link 
       valid_lft forever preferred_lft forever

So, the host has an IP 192.168.1.4 but the vm doesn't (except for an IPv6, no idea why).

The host received it's IP from the DHCP server on the LAN:

sudo dhclient -v enp0s31f6
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/enp0s31f6/4c:52:62:09:7e:59
Sending on   LPF/enp0s31f6/4c:52:62:09:7e:59
Sending on   Socket/fallback
DHCPREQUEST of 192.168.1.4 on enp0s31f6 to 255.255.255.255 port 67 (xid=0x64e68ab1)
DHCPACK of 192.168.1.4 from 192.168.1.1
RTNETLINK answers: File exists
bound to 192.168.1.4 -- renewal in 40526 seconds.

So let's try to get one for the vm too:

$ sudo dhclient -v vnet0
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/vnet0/fe:54:00:f0:0e:f8
Sending on   LPF/vnet0/fe:54:00:f0:0e:f8
Sending on   Socket/fallback
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 3 (xid=0xf64429)
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 3 (xid=0xf64429)
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 7 (xid=0xf64429)
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 13 (xid=0xf64429)
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 14 (xid=0xf64429)
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 18 (xid=0xf64429)
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 10 (xid=0xf64429)
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 15 (xid=0xf64429)
DHCPDISCOVER on vnet0 to 255.255.255.255 port 67 interval 18 (xid=0xf64429)
^C

It doesn't get one. :-(

So maybe the bridge is broken and the host still gets an IP because it is physically connected to the LAN? No, because the bridge itself does seem to talk the DHCP server too:

$ sudo dhclient -v br0
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/br0/4c:52:62:09:7e:59
Sending on   LPF/br0/4c:52:62:09:7e:59
Sending on   Socket/fallback
DHCPREQUEST of 192.168.1.4 on br0 to 255.255.255.255 port 67 (xid=0x58c2333c)
DHCPACK of 192.168.1.4 from 192.168.1.1
RTNETLINK answers: File exists
bound to 192.168.1.4 -- renewal in 42819 seconds.

How do I continue from here?

(Feels like I have tried an checked just about everything, but I'm sparing you the information about that here as I'm now trying to systematically identify where I'm going wrong in the above steps.)

How do I patch Minecraft's LWJGL libraries for ARM64 for MultiMC? https://askubuntu.com/questions/1211821/how-do-i-patch-minecrafts-lwjgl-libraries-for-arm64-for-multimc

Though this question has been asked before, all information I can found is outdated, so I decided to ask myself.

For those that don't know, MultiMC is a free, open-source launcher for Minecraft. I'm using it because I prefer it to the default launcher, and I found it easier to install, which I did by compiling it myself.

When launching the game, MultiMC copies libraries from common folders, as detailed in the log below. Therefore, information on how to patch a normal Minecraft's install would also be helpful.

Minecraft's default Linux LWJGL library is not built for ARM and thus the game crashes during initialization. At least, I believe that is the problem, though I'm not entirely sure.

Here is the full log.

I have tried, using a shell script, simply replacing all the .jar files in the .../install/libraries/org/lwjgl/lwjgl-*/3.2.2/ folders, with the equivalent ARM files downloaded from lwjgl.org (which are 3.2.3, if that matters). That yields this crash.

But now I'm at a loss for what to do. Am I even addressing the right problem?

Lenovo S740 (i7-9750H) Extremely poor battery life on Ubuntu 19.10 https://askubuntu.com/questions/1190476/lenovo-s740-i7-9750h-extremely-poor-battery-life-on-ubuntu-19-10

I need some urgent assistance with my new Lenovo S740 and battery life on Ubuntu 19.10. I purchased this laptop for development work but the battery life has been so abysmal that I am considering just going back to my old Lenovo T450 while I can still bail out and return this laptop.

My S740’s loadout:

  • 15” 4k display
  • i7-9750H
  • Nvidia 1650 GPU
  • 16 GB RAM
  • half-terabyte NVME drive

Lenovo advertises the S740 as having “all day battery life” defined as “up to 10 hours” on the 4k display. I’m getting closer to 3 hours and I would consider my usage fairly typical/light. A few tabs open in Chrome (no videos), Atom editor open, and maybe a terminal open. That’s it. Backlight is not bright, I keep it dimmed just to get that 3.5 hours out of a full charge.

It should be noted that When I boot into Windows I get much better battery life on par with the advertised hours, so this is Ubuntu-specific.

I have tried:

  • This laptop has a dGPU so I thought maybe that was staying awake and chewing up my battery life. I set the PRIME profile to Intel and rebooted. I have also confirmed that only the iGPU is in use both in the About/Details section of Ubuntu and with lspci .
  • Disabled Bluetooth
  • Checked for BIOS updates. It's currently on the latest version.
  • tlp on in battery mode
  • powertop –autotune Neither tlp nor powertop –autotune made any noticeable difference.
  • Ran powertop which only shows what I already know - high power consumption due primarily due to the CPU and display.

Doing a back of the envelope calculation, I believe powertop is accurate. My battery has a 69 Wh capacity nominally. At a power consumption of 16 Watts, this would put me right at 4.3 hours, which is close to my realized battery life.

Results of powertop :

PowerTOP v2.9       Overview   Idle stats   Frequency stats   Device stats   Tunables

System baseline power is estimated at 19.3 W

Power est.      Usage          Device name
  8.48 W        84.7%          CPU misc
  4.05 W        84.7%          CPU core
  2.97 W        29.7%          Display backlight
  1.58 W       100.0%          USB device: 2.4G Receiver (Compx)
  1.30 W        84.7%          DRAM
   886 mW         1.6 pkts/s   Network interface: wlp0s20f3 (iwlwifi)
     0 mW       100.0%          Radio device: ideapad_acpi
     0 mW       100.0%          Radio device: iwlwifi
     0 mW       100.0%          USB device: xHCI Host Controller
     0 mW         0.0%          Radio device: btusb
     0 mW         0.0%          Radio device: ideapad_acpi
     0 mW         0.0%          USB device: usb-device-8087-0aaa
     0 mW         0.0%          USB device: xHCI Host Controller
     0 mW         0.0%          USB device: Goodix FingerPrint Device (Generic)
     0 mW         0.0%          USB device: Integrated Camera (Sonix Technology Co., Ltd.)
     0 mW         0.0%          USB device: xHCI Host Controller
     0 mW         0.0%          USB device: xHCI Host Controller
     0 mW         0.0%          Audio codec hwC0D0: Realtek
                100.0%          PCI Device: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM98
                100.0%          PCI Device: Intel Corporation Cannon Lake PCH PCI Express Root Port #13
                100.0%          I2C Device (i2c-MSFT0001:02): MSFT0001:02
                100.0%          PCI Device: Intel Corporation UHD Graphics 630 (Mobile)
                100.0%          PCI Device: Intel Corporation Cannon Lake PCH Thermal Controller
                100.0%          PCI Device: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Proce
                100.0%          PCI Device: 02 Micro, Inc. SD/MMC Card Reader Controller
                100.0%          PCI Device: Intel Corporation Wireless-AC 9560 [Jefferson Peak]
                100.0%          PCI Device: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller
                100.0%          PCI Device: Intel Corporation Cannon Lake PCH PCI Express Root Port #9
                100.0%          PCI Device: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Regis
                  0.0%          PCI Device: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine
                  0.0%          I2C Adapter (i2c-8): DPDDC-B
                  0.0%          runtime-PNP0C14:02
                  0.0%          runtime-INT33A1:00
                  0.0%          PCI Device: Intel Corporation Device a30d
                  0.0%          runtime-PNP0C0A:00
                  0.0%          runtime-coretemp.0
                  0.0%          I2C Adapter (i2c-9): DPDDC-C
                  0.0%          I2C Adapter (i2c-4): i915 gmbus dpc
                  0.0%          runtime-VPC2004:00
                  0.0%          runtime-regulatory.0
                  0.0%          I2C Adapter (i2c-5): i915 gmbus misc
                  0.0%          PCI Device: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine
                  0.0%          runtime-idma64.1
                  0.0%          runtime-idma64.0
                  0.0%          runtime-pcspkr
                  0.0%          runtime-INT33D5:00
                  0.0%          runtime-reg-dummy
                  0.0%          PCI Device: Intel Corporation Cannon Lake PCH SMBus Controller

Do you have any ideas? Are i7-9750H/Coffee Lake CPUs just not supported on Linux/Ubuntu yet?

Ubuntu 18.04 won't start alongside dual boot Windows 10 https://askubuntu.com/questions/1130178/ubuntu-18-04-wont-start-alongside-dual-boot-windows-10

Preface: I have search many posts already to try and answer my issue, but I haven't found any that help with my specific issue. I searched posts found in post-script section.

I have a Lenovo Y700 with Nvidia GeForce gtx and Windows 10 preinstalled. I installed Ubuntu 18.04.1 LTS I alongside Windows 10 as a dual boot. Everything was working fine for a bit until Ubuntu would not start. Now when I choose Ubuntu from the GRUB boot menu, I get stuck at a black screen with these boot messages:

See 'systemctl status systemd-resolved.service' for details.
[  OK  ] Stopped Network Name Resolution.
[FAILED] Failed to start Network Name Resolution.
See 'systemctl status systemd-resolved.service' for details.
[  OK  ] Stopped Network Name Resolution.
[FAILED] Failed to start Network Name Resolution.
See 'systemctl status systemd-resolved.service' for details.
[  OK  ] Stopped Network Name Resolution.
[FAILED] Failed to start Network Name Resolution.
See 'systemctl status systemd-resolved.service' for details.
[  OK  ] Started Network Manager.
[  OK  ] Reached target Network.
[  OK  ] Started Unattended Upgrades Shutdown.
         Starting Permit User Sessions...
         Starting Network Manager Wait Online...
[  OK  ] Started Permit User Sessions.
         Starting Hold until boot process finishes up...
         Starting GNOME Display Manager...
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started GNOME Display Manager.

The boot screen stays like this indefinitely, so I'd like to uninstall Ubuntu and reinstall it.

Since I cannot work inside Ubuntu everything needs to be done in Windows, but I don't have a Windows installation CD.

I don't want to delete important partitions and can't use GParted.

Disk Management:

Disk Management window
Click image to enlarge it.

Please advise in which partitions to delete, and any necessary steps to uninstall Ubuntu, then reinstall Ubuntu 18.04.

Can't update NetworkManager to latest stable version https://askubuntu.com/questions/1122583/cant-update-networkmanager-to-latest-stable-version

I am running Ubuntu 16.04

NetworkManager --version

returns 1.2.6

I am wanting to update to the lastest stable version (1.14.4) from here.

The install documentation says "the shell command './configure && make && make install' should configure, build, and install this package."

After much trial and error I managed to get ./configure to complete with out reporting any errors by installing the following packages:

apt-get install gtk-doc-tools libglib2.0-dev libudev-dev uuid-dev libnss3-dev ppp-dev libjansson-dev libcurl4-nss-dev libndp-dev libreadline-dev intltool

However when I run make I get:

mike@Ubuntu16:~/Downloads/NetworkManager-1.14.4$ make
make  all-recursive
make[1]: Entering directory '/home/mike/Downloads/NetworkManager-1.14.4'
Making all in .
make[2]: Entering directory '/home/mike/Downloads/NetworkManager-1.14.4'
  GEN      config-extra.h
  GEN      libnm-core/nm-core-enum-types.h
  CC       clients/nm_online-nm-online.o
In file included from ./shared/nm-default.h:311:0,
                 from clients/nm-online.c:34:
./libnm/NetworkManager.h:60:27: fatal error: nm-enum-types.h: No such file or directory
compilation terminated.
Makefile:15265: recipe for target 'clients/nm_online-nm-online.o' failed
make[2]: *** [clients/nm_online-nm-online.o] Error 1
make[2]: Leaving directory '/home/mike/Downloads/NetworkManager-1.14.4'
Makefile:17770: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/mike/Downloads/NetworkManager-1.14.4'
Makefile:7864: recipe for target 'all' failed
make: *** [all] Error 2

Any help with this would be greatly appreciated.

How do I repair Ubuntu 18.04 after a login loop issue? https://askubuntu.com/questions/1100394/how-do-i-repair-ubuntu-18-04-after-a-login-loop-issue

I started my laptop Toshiba Satellite L755 as usual this morning for work, but suddenly I got into a login loop. After reading some tips here, I tried the shell login mode. After logging in using shell mode successfully, I restarted my laptop using power button forcefully. Because after logging in I couldn't do anything due to my screen keep flipping and change back to boot screen. I noticed there is a Nvidia driver loading line at the bottom. While the boot load screen like 3 seconds, it keeps logging in and same screen for infinite amount of time. After the forceful power button push, I started the laptop again. Now it logs in normally, but I think Ubuntu 18.04 is broken. I have attached a screenshot.

enter image description here

As you can see that, all the icons are big and there is no sidebar. Also, there is no application menu button anywhere on the screen. The theme changed to white color but it was total dark theme before. My system menu also changed. There were so many options available there.

I want to revert back to my old Ubuntu system. This would be a great loss if any files goes missing from my system folders like document or download. As, I cannot see some of my folders created inside the downloads folder.

I tried the Resetter also. I included one screenshot of my terminal with error messages. I need a solid repair solution.

Having troubles updating to python 3.6 on ubuntu 16.04 https://askubuntu.com/questions/1070610/having-troubles-updating-to-python-3-6-on-ubuntu-16-04

I am trying to follow these directions to upgrade my Python version to 3.6. I'm stuck on step 3. The command for Python 3.5 works fine but the second command for 3.6 is giving me the following error:

update-alternatives: error: alternative path /usr/bin/python3.6 doesn't exist
Problem Loading UEFI:db X.509 certificate (-65) https://askubuntu.com/questions/1069002/problem-loading-uefidb-x-509-certificate-65

file name: ubuntu-18.04.1-desktop-amd64.iso. currently windows 8.1 installed on my laptop. I am trying to install ubuntu from usb flash drive and created a bootable usb using rufus. When I boot from usb it gave me four options. try ubuntu, install ubuntu, oem install and check disk

when I select the option 1 (try ubuntu) or option 2 (install ubuntu) then it gives me an error message saying

18.206119 Problem Loading UEFI:db X.509 certificate (-65)

enter image description here

libMagickWand-6.Q16.so.2: cannot open shared object file https://askubuntu.com/questions/1031230/libmagickwand-6-q16-so-2-cannot-open-shared-object-file

After upgrading Ubuntu 16.04 to 18.04, I can't run php commands.

php -v shows me this:

php: error while loading shared libraries: libMagickWand-6.Q16.so.2: cannot open shared object file: No such file or directory
$ convert -version
Version: ImageMagick 6.9.7-4 Q16 x86_64 20170114
$ ldconfig -p | grep -i libMagickWand-6.Q16.s
libMagickWand-6.Q16.so.3 (libc6,x86-64) => /usr/local/lib/libMagickWand-6.Q16.so.3
libMagickWand-6.Q16.so.3 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so.3
libMagickWand-6.Q16.so (libc6,x86-64) => /usr/local/lib/libMagickWand-6.Q16.so
libMagickWand-6.Q16.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so

Running ldconfig /usr/local/lib did not help.

How can I fix this?

Where is my PDF printer printing my documents? https://askubuntu.com/questions/979148/where-is-my-pdf-printer-printing-my-documents

Running Kubuntu 17.10.

I installed printer-driver-cups-pdf.

When I print from any application (native ones like Kate or others like Firefox), there is a default 'Print to file' printer and a 'PDF' printer like this:

enter image description here

I can select 'Print to file' printer and choose the filename and folder where to save the file.

But when I choose 'PDF' printer, it asks for nothing. It just shows a window as if it is sending pages to a printer. Then the window disappears. I am not able to get a screenshot of this window as it disappears pretty fast.

But where are the files? They are not in ~, ~/Downloads, /tmp or ~/Documents

Errors auto mounting google-drive-ocamlfuse https://askubuntu.com/questions/879998/errors-auto-mounting-google-drive-ocamlfuse

I recently set up google-drive-ocamlfuse so that I could use google drive from my desktop. I followed the instructions on this website:

http://www.techrepublic.com/article/how-to-mount-your-google-drive-on-linux-with-google-drive-ocamlfuse/

This worked but I then wanted it to automount my drive account to the ~/google-drive directory. So after some more google searches I came across this website and followed it's instructions for editing the etc/fstab file:

https://github.com/astrada/google-drive-ocamlfuse/wiki/Automounting

Now, when I use the command mount ~/google-drive from the terminal it returns the following error:

[mntent]: line 1 in /etc/fstab is bad

Also, when I start up my computer, on the Xubuntu loading screen I have an error that looks something similar to:

Problem mounting /etc/fstab, press S to Skip or M to manually...

Here is the files that I saved as /usr/bin/gdfuse:

#!/bin/bash

su #USERNAME -l -c "google-drive-ocamlfuse -label $1 $*"
exit 0

(where #USERNAME was replaced with my actual username)

And here is my entire /etc/stab file:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=69922867-b952-4b03-b4dd-49147b516bbd /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=7e84ab94-0486-47e6-83c2-386278dc8a95 none            swap    sw              0 0
gdfuse#default  /home/#USERNAME/google-drive     fuse    uid=1000,gid=1000,user     0       0

(where, again, #USERNAME is replaced with my actual username)

Currently, when I restart the computer the /etc/fstab error message will be there. If I let it sit it will not logon. If I press 'S' it will logon. Nothing seems wrong with it then, and the ~/google-drive directory has mounted properly and I can access my google drive files. But when I restart, the same error will come up and it won't just log on with out me pressing S. Any help would be appreciated. Thank you.

Force VESA driver in Ubuntu 16.10 https://askubuntu.com/questions/849481/force-vesa-driver-in-ubuntu-16-10

My Ubuntu 16.10 uses i915 driver. For some reasons I have troubles with it. So I want to force X to use VESA.

I tried:

  1. blacklist i915 in /etc/modprobe.d/blacklist.conf. Then sudo update-initramfs -u. Doesn't work.

  2. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash modprobe.blacklist=i915" in /etc/default/grub. Then update-grub2. Doesn't work

  3. Added new file 20-foo.conf in /usr/etc/X11/xorg.conf.d with content:

    Section "Device"
        Identifier      "Configured Video Device"
        Driver          "vesa"
    EndSection
    

Doesn't work.

Guys, how on the Earth one could make an OS that requires such an effort just to switch video driver? Maybe I'm doing something wrong?

Font Size is too small in Kubuntu 16.04 with a 4k display. How to enlarge the size of system fonts / symbols? https://askubuntu.com/questions/808270/font-size-is-too-small-in-kubuntu-16-04-with-a-4k-display-how-to-enlarge-the-si

I have a 4k resolution screen and the display resolution shows: 3840x2160. I do not want to reduce this resolution. Here is the problem:

I see extremely small fonts, I need to touch my nose to the screen to see when:

  1. I login for the first time after a fresh install of Kubuntu 16.04
  2. Login screen after reboot or logoff
  3. I install applications like Skype, Gedit, Matlab (img below)
  4. grub loader screen
  5. Small icons when looking through the system menu etc. (img below)

Solutions found:

  1. Goto K button>System Settings>Font>Force Fonts DPI = 230
  2. None yet
  3. None Yet
  4. Alter the resolution in /etc/default/grub
  5. None Yet

Small fonts in apps:

Small fonts in apps
Click image to enlarge it.

Small icons:

Small icons

System specifications:

  • Kubuntu 16.04

  • Dell Precision 5510

  • 4k touch screen

  • NVIDIA Quadro M1000M

15.10 No GRUB menu with windows 10 https://askubuntu.com/questions/750837/15-10-no-grub-menu-with-windows-10

I am trying to get Ubuntu 15.10 dual booted with Windows 10. But the GRUB menu does not show up.

The PC came pre-installed with Windows 8.1 and I upgraded it to Windows 10. Following directions from here, these are the steps I took

  1. Confirmed that windows 10 was booted using UEFI (diskmgmt.msc reports one filesystem in Disk 0 as "EFI System Partition". diskpart.exe indicates a "*" under GPT column).
  2. Downloaded the 64 bit installer and created a FAT-32 formatted live USB (using rufus)
  3. There was no option to disable fast boot in my BIOS. Disabled fast boot in Windows (control panel -> power options -> turn off fast startup) and hibernate option as well
  4. In BIOS settings, disabled legacy-support/BIOS boot and secure boot.
  5. Booted with the live USB and was prompted to try or install ubuntu. I opted to try. BTB, since this menu was presented I understand the live USB was booted in UEFI mode and not BIOS mode.
  6. Created ext4 (/dev/sda6) and swap (/dev/sda9) partitions using gparted (from live USB)
  7. Started Ubuntu install and opted to install beside windows boot manager. Selected "advanced partitioning tool" for partition selection and selected sda6 for root (with formatting and ext4) and sda9 for swap. sda2 (windows' UEFI boot partition) was markd "uefi".
  8. Completed install. Re-booted after removing live USB. The system booted directly into Windows 10.
  9. So I re-booted back into the live USB and ran boot-repair with recommended fixes. This had no impact. As recommended by boot-repair, ran "bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi" in windows successfully. Again no impact. root-repair report is here: http://paste.ubuntu.com/15525648/

Appreciate any pointers on what could be going wrong. TIA.

Update: If I boot with the live USB and press escape in the "Try/Install" menu, the "crub >" CLI is presented and typing "exit" here leads to the GRUB menu and I can select the installed Ubuntu and use it. But would hate to use the live USB everytime I need to boot into Ubuntu.

Graphical problem with desktop cube, Ubuntu 14.04.4 https://askubuntu.com/questions/742571/graphical-problem-with-desktop-cube-ubuntu-14-04-4

I'm new to Linux and I need some help. I have problem with desktop cube, Ubuntu 14.04.4. I can't describe it, so here are the screenshots:

enter image description here

enter image description here

I enabled all this,
Composite, OpenGL, Desktop Cube, Rotate Cube, Animations, Enhanced Zoom Desktop, Expo, Fading Windows, Ubuntu Unity Plugin,

general options->desktop size->horizontal virtual size 4 & vertical virtual size 1.

desktop cube->transparent cude->opacity during rotating 50,000

rotate cude->general->zoom 1,000.

desktop cube->appearance-/skydome change the 3 first settings

(I do not have gpu driver installed because I had some issues, all texts was cloudy, couldn't read anything,but same issue happened with driver too.)

*driver installed, had to uncheck fxaa to fix the issue.problem still exist

I ran this test

/usr/lib/nux/unity_support_test -p

and all was "yes".

my systeam : ubuntu 14.04.4 LTS 64-bit, AMD FX(tm)-6100 Six-Core Processor × 6,
gpu nvidia gtx 560, 16giga ram

How do I get a Japanese keymap? https://askubuntu.com/questions/699391/how-do-i-get-a-japanese-keymap

I have selected the Japanese keymap in the text entry settings. But when I bring up the keymap diagram it shows only Roman characters. When I type, it is also not Hiragana, only Roman characters.

I have had this across many Ubuntu machines on many devices. I would really like to solve this problem. I have had to revert back to English keymap because it's the same.

Do I need to activate by pressing a certain key or something? I need hiragana and Kanji.

Attached is a copy of the keymap diagram.

Screen cap of Japanese keymap

What I have tried

  • I have repeated this process for all 4 of the Japanese keymaps available in Ubuntu
  • If I use the Japanese (Kana) layout it works, but only for katakana. I don't need katakana, I need hiragana and Kanji.
Is there any Java decompiler GUI https://askubuntu.com/questions/491728/is-there-any-java-decompiler-gui

I am using Eclipse, and just lost some important .java files from Ubuntu 14.04. Now I am left out with just .class files. I know about Java Decompiler, but jd-eclipse is not working. I need a Java decompiler for recovering my files or is there any other way to recover deleted files (not like extundelete) to recover my .java files?

If not, is there any easy way to use Java Decompiler?