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

App windows of apps launched from emacs not getting their own icon in ubuntu dock https://askubuntu.com/questions/1564411/app-windows-of-apps-launched-from-emacs-not-getting-their-own-icon-in-ubuntu-doc

I'm running ubuntu 25.10 with Emacs 30.2(Snap installed) and I'm seeing that any gui app that I launch from inside emacs does not get its own icon in the dock. Instead it gets grouped under the emacs icon.

If I do this from gnome-terminal:

mplayer foo.mp4

I'll see a separate icon for mplayer in ubuntu dock

but if I ran this same command from inside emacs vterm, the mplayer window would get grouped with emacs window in dock and not get its own icon.

Tried debugging this with chatgpt but could not fix this issue. I've tried running these commands but they didn't fix anything:

setsid mplayer foo.mp4
env -u DESKTOP_STARTUP_ID mplayer foo.mp4
systemd-run --user mplayer foo.mp4

Weirdly enough, this chatgpt suggested command works, (mplayer gets its own icon in dock):

systemd-run --user -E DISPLAY=$DISPLAY -E WAYLAND_DISPLAY=$WAYLAND_DISPLAY -E XAUTHORITY=$XAUTHORITY mplayer /path/to/foo.mkv

But I don't know why I should have to launch things with systemd-run instead of normally?

Does anyone know how to solve this issue?

USB-C Port Issue Ubuntu 24.04 https://askubuntu.com/questions/1564379/usb-c-port-issue-ubuntu-24-04

The USB-C ports on Asus NUC 14 Pro (BTW...Asus says Ubuntu 24.04 and Windows 11 are 2 supported OS on the NUC 14). Searching and diving into a possible fix I see others with the same configuration have the same problem. I've tried many supposed remedies with no luck. I even sent NUC back (bare bones) for testing and it tested fine. I put my NvMe and memory back in and it still doesn't work on C ports?

Any points to consider and to resolve this pesky problem are appreciated! Thanks

Should OneDrive on Ubuntu be used through GNOME Online Accounts or "OneDrive Client for Linux"? https://askubuntu.com/questions/1564355/should-onedrive-on-ubuntu-be-used-through-gnome-online-accounts-or-onedrive-cli

I recently switched my school laptop from Windows to Ubuntu 24.04 LTS since Windows 11 was slowing my computer down. But, of course, my university is heavily integrated with Microsoft 365 so I put all my files on OneDrive. So I was looking for a way to get OneDrive to work properly on Ubuntu and I heard that GNOME Online Accounts is a native method of doing it but I heard there are some issues with syncing typically since it just mounts it as a drive (correct me if I'm wrong) so if I were to switch between devices for a file, it would take a bit for my Ubuntu laptop to catch up.

I heard another solution was to use the project, OneDrive Client for Linux. Though, looking online for videos, I couldn't find any good clues of how it works exactly. But apparently, it does a much better handling of OneDrive on Ubuntu than GNOME Online Accounts. If anyone can give me some advice on which one I should pick, that would be great!

Kubuntu 24.04.3 system freezes, black screen and weird rendering of video thumbnails https://askubuntu.com/questions/1563150/kubuntu-24-04-3-system-freezes-black-screen-and-weird-rendering-of-video-thumbn

For the past several weeks, my normally stable Kubuntu 24.04.3 system will randomly freeze (only the cursor will move, but does nothing) . At other times the display turns completely black. In both of these cases, I have to force a shutdown. Video thumbnails do not display correctly: they are colored lines - see screenshot at bottom. Attempting to view a page (Firefox 147.0.1) with embedded videos will cause freezing or black screens about 50% of the time.

I have 2 of these systems, and they both exhibit this unruly behavior.

Error messages from the last forced shutdown - I think the radeon errors are the most significant (?) as they occurred just before the shutdown:

Jan 22 14:14:15 frazzle-desktop kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.ALIB], AE_NOT_FOUND (20230628/psargs-332) 
Jan 22 14:14:15 frazzle-desktop kernel: ACPI Error: Aborting method \_SB.PCI0.VGA.ATC0 due to previous error (AE_NOT_FOUND) (20230628/psparse-529) 
Jan 22 14:14:15 frazzle-desktop kernel: ACPI Error: Aborting method \_SB.PCI0.VGA.ATCS due to previous error (AE_NOT_FOUND) (20230628/psparse-529) 
Jan 22 14:38:07 frazzle-desktop kernel: radeon 0000:00:01.0: scheduling IB failed (-2). 
Jan 22 14:38:07 frazzle-desktop kernel: [drm:radeon_cs_ioctl [radeon]] *ERROR* Failed to schedule IB !

Info about the GPU:

Model name:             AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G

 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics]
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics]
        Kernel driver in use: radeon
        Kernel modules: radeon, amdgpu

The last kernel update, as far as I can tell, was 12-12-2025. This was approximately when these problems started, but I am not sure of that.

Operating System: Ubuntu 24.04.3 LTS              
          Kernel: Linux 6.8.0-90-generic
    Architecture: x86-64
 Hardware Vendor: Gigabyte Technology Co., Ltd.
  Hardware Model: F2A88XM-D3H
Firmware Version: F6
   Firmware Date: Wed 2014-05-28

I ran memtest86 for 30 hours on my 32GB of RAM with no problems detected. I keep both systems updated and have not installed any new hardware or software (other than Linux updates). Behavior may be related to this bug (seems similar)? https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/2063983 I am unsure how to proceed.

The screenshot below is how some (but not all) video thumbnails are rendered.

Video displays as rows of colored lines

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.

Troubleshooting wireless dongle https://askubuntu.com/questions/1536161/troubleshooting-wireless-dongle

What I understand is that it's recognized as a networking device but I have no option to connect to a wireless network. Also I found that the driver for r8169 is supposed to come with the kernel.

lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 3151:4015 ROYUAN Akko Multi-modes Keyboard-B
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 005: ID 1462:7c95 Micro Star International MYSTIC LIGHT 
Bus 001 Device 006: ID 046d:c547 Logitech, Inc. USB Receiver
Bus 001 Device 007: ID a69c:8d80 aicsemi AIC Wlan
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 21b4:0082 AudioQuest DragonFly Red
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

git clone https://github.com/jeremyb31/aic8800

fatal: Zielpfad 'aic8800' existiert bereits und ist kein leeres Verzeichnis. 

cd aic8800

~/aic8800$ sudo cp -r src /usr/src/aic8800-1.0.6 

~/aic8800$ sudo dkms install aic8800/1.0.6 

Sign command: /usr/bin/kmodsign Signing key: /var/lib/shim-signed/mok/MOK.priv Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der Creating symlink /var/lib/dkms/aic8800/1.0.6/source -> /usr/src/aic8800-1.0.6
    
Building module: Cleaning build area... arch='x86_64' kernelver='6.8.0-51-generic' ./driverctl make all...(bad exit status: 2) ERROR (dkms apport): binary package for aic8800: 1.0.6 not found Error! Bad return status for module build on kernel: 6.8.0-51-generic (x86_64) Consult /var/lib/dkms/aic8800/1.0.6/build/make.log for more information.
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

scanimage gives error when trying to scan https://askubuntu.com/questions/1440445/scanimage-gives-error-when-trying-to-scan

I used to have my scanner working ok via commandline using a command similar to ramy@moonface:~$ scan -d pixma:04A9172B_D05FD9 --format jpeg

Now, after upgrading to ubuntu 22.04, I get the following error message:

scanimage: output is not a file, exiting

The scan-bed is not getting activated so i'm not sure at all what's happening.

Any insight would be greatly appreciated.

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.

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 haven't found any that help w/ my specific issue. Searched posts found in post-script section.

I have a Lenovo Y700 with nvidia geforce gtx and Windows 10 preloaded. I installed Ubuntu 18.04.1 LTS as dual-boot. Everything was working fine for a bit until Ubuntu would not start. Now, I choose Ubuntu from the GRUB Startup and 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 the 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.

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

How do I increase the value of TasksMax for my login session? https://askubuntu.com/questions/1067303/how-do-i-increase-the-value-of-tasksmax-for-my-login-session

I'm using kubuntu 18.04

While testing a script which spawns a lot of parallel processes, I started getting fork: retry: resource temporarily unavailable error messages. Assuming that this was a per-user process limit, I started looking through the usual process limit configurations; eventually, I convinced myself that Ubuntu is now using systemd to configure per user limits, and that the limit I need to change is TasksMax.

In particular, by recursive grepping I eventually found this file:

$ cat /run/systemd/transient/user-1000.slice
# This is a transient unit file, created programmatically via the systemd API. Do not edit.
[Unit]
Description=User Slice of rici
After=systemd-logind.service
After=systemd-user-sessions.service

[Slice]
TasksMax=10813

I understand all that, but it doesn't tell me how I do change this value. All it does is tell me how not to do it (by editing the file). It also doesn't provide the least hint of how the number 10813 was computed; on the fact of it, it seems like an odd (albeit not quite prime) value to come up with as a default.

  1. Is there some simple command in the vein of ulimit which I can use to change this setting on-the-fly? Or even a complicated one? (And could I have used this hypothetical command to ascertain the current limit?)

  2. If I really have to restart my login session to change the task limit -- something I'd really prefer to avoid -- what do I have to poke to change the default value?

PHP script not executing on Apache server. U-18.4 PHP 7.2 Localhost https://askubuntu.com/questions/1065685/php-script-not-executing-on-apache-server-u-18-4-php-7-2-localhost

My Apache is running and displays the Default Page. I can redirect a PHP file into php and the echo command displays properly. I've already researched previous versions of Ubuntu and can't find any solution.

a2query -m php7.2  -> Enabled by maintainer script

In /etc/apache2/mods-avaliable/php7.2.conf

These lines have been commented.
 Running PHP scripts in user directories is disabled by default
 To re-enable PHP in user directories comment the following lines
 (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it
 prevents .htaccess files from disabling it.
  Commented following lines.
<IfModule mod_userdir.c>
    <Directory /home/*/public_html>
        php_admin_flag engine Off
    </Directory>
</IfModule>

The classic phpinfo.php processes but no output is provided by Apache. i.e. php < phpinfo.php lists all the information.

I believe that there is a setting required and/or a value not set. This resulted after upgrading from Ubuntu 15.04 to Ubuntu 18.04. Any help would be appreciated.

Automatically generate raw thumbnails only with gThumb https://askubuntu.com/questions/1045271/automatically-generate-raw-thumbnails-only-with-gthumb

I would like to generate camera raw file thumbnails (Nikon .NEF) in Nautilus with gThumb, without opening the app, and when no additional thumbnailer is installed. Some script or a Terminal command, I guess.

When a folder with pictures is opened in gThumb's folders browser it generates thumbnails in /home/.thumbnails if the thumbnail for that file is not already there. Also, can it be done just by opening the folder with the raw files in Nautilus, as a thumbnailer would do it?

For the moment gnome-raw-thumbnailer and ufraw-batch are buggy for 18.04, gdk-pixbuf-thumbnailer generates low-quality thumbnails for raw files, so I'm not using any of them. Thanks!

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?

/usr/bin/ld: cannot find -lgcc_s collect2: ld returned 1 exit status https://askubuntu.com/questions/1009263/usr-bin-ld-cannot-find-lgcc-s-collect2-ld-returned-1-exit-status

I am trying to install a software in my 64 bit Ubuntu 17.10 system. But every time the make all command fails, stating the following error message.

/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status

Kindly help me by providing a solution to this.
Thanks in advance.

ERR_ADDRESS_UNREACHABLE on certain webpages using chrome on Ubuntu 16.04 https://askubuntu.com/questions/925286/err-address-unreachable-on-certain-webpages-using-chrome-on-ubuntu-16-04

I have a weird issue. I can't access some webpages (e.g. youtube) through chrome on my Ubuntu 16.04 desktop. I can access the webpages fine with firefox, just not with chrome. Chrome returns an "ERR_ADDRESS_UNREACHABLE" error. Any ideas what I might do to resolve this?

To clarify, I can access most webpages just fine, the only one I've encountered this error with is youtube. I've tried googling the issue but all the posts I've found were windows related or regarding the youtube app.

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.

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.

GNURADIO: libfftw3f.so.3: cannot open shared object file: No such file or directory https://askubuntu.com/questions/379168/gnuradio-libfftw3f-so-3-cannot-open-shared-object-file-no-such-file-or-direct

I just installed gnuradio on my ubuntu 12.04. I tried running a simple wbfm receiver program that I got from online. When trying to execute the program, I get the following error:

Traceback (most recent call last):
  File "/home/me/Downloads/uhd_wbfm_receive.py", line 10, in <module>
    from gnuradio import analog
  File "/usr/lib/python2.7/dist-packages/gnuradio/analog/__init__.py", line 33, in <module>
    from analog_swig import *
  File "/usr/lib/python2.7/dist-packages/gnuradio/analog/analog_swig.py", line 26, in <module>
    _analog_swig = swig_import_helper()
  File "/usr/lib/python2.7/dist-packages/gnuradio/analog/analog_swig.py", line 22, in swig_import_helper
    _mod = imp.load_module('_analog_swig', fp, pathname, description)
ImportError: libfftw3f.so.3: cannot open shared object file: No such file or directory

I'm quite new to linux.

Huawei 3G modem disconnects after successful connection https://askubuntu.com/questions/142856/huawei-3g-modem-disconnects-after-successful-connection

I'm having a severe connection problem in Ubuntu 12.04 that renders the OS almost useless. I have a Huawei E352 3G modem. Ubuntu detects it as a mobile broadband connection without any problem. I created a new connection by providing APN. Now after connection it disconnects after a few seconds, and the modem disappears from mobile broadband list. I tried various workarounds but neither worked. I had no problem in Ubuntu 11.10.