My windows get auto-resized (usually shrunk but at times expanded) when coming out of the screensaver, anything I could try to prevent the behavior? https://askubuntu.com/questions/1565111/my-windows-get-auto-resized-usually-shrunk-but-at-times-expanded-when-coming-o

Each time my computer goes to sleep the windows change their size. Some time, they appear bigger, but most of the time, they are smaller. It's hard to tell by how much. Maybe a "titlebar" smaller/larger. It also changes the width in a pretty much similar amount.

I already experienced that issue in Ubuntu 18.04 (I'm on Ubuntu 24.04 now) when using VirtualBox. But now that happens in my regular installation. I'm not too sure what I could possibly try to avoid that issue. It makes no sense to me that the windowing system would just randomly resize windows under my feet.

Have you experience a similar situation? Did you have a solution to the problem?

Steam version of Terminator: Dark Fate – Defiance crashes on launch, but GOG version works via Lutris (Kubuntu, RX 6700 XT, Proton GE) https://askubuntu.com/questions/1565110/steam-version-of-terminator-dark-fate-defiance-crashes-on-launch-but-gog-ver

I’m experiencing an issue where the Steam version of Terminator: Dark Fate – Defiance suddenly stopped launching, despite having previously working flawlessly.

When I click “Play” on the Slitherine game launcher, the game immediately crashes without opening.

System details:

  • OS: Latest Kubuntu release
  • GPU: AMD RX 6700 XT
  • Driver: Mesa (RADV Vulkan driver)
  • Session: X11
  • Proton: GE-Proton 10-10

Troubleshooting steps already attempted (with chatgpt):

  • Verified integrity of game files in Steam.
  • Reinstalled the game.
  • Completely removed Proton prefixes and remaining game files before reinstalling.
  • Rebuilt the prefix from scratch.
  • Cleared caches.
  • Tested multiple Proton versions (including the one that previously worked).
  • Installed/checked common dependencies via terminal.
  • Reviewed logs generated by the game.

Key observation:

The GOG version of the same game runs correctly when launched through Lutris, using the same Proton version.

Relevant log output (from the game log):

Failed to load component [".../bin/game.dll"]: can't LoadLibrary()  
FATAL. Exception: UNKNOWN

Given that:

  • The game runs fine via Lutris (GOG version).
  • The same Proton version is being used.
  • The issue only affects the Steam version

What could cause the Steam version to fail to launch while the GOG version works correctly?

Are there Steam-specific factors (such as runtime differences, environment variables, or Proton integration details) that could explain this behavior?

I’m partly asking out of curiosity as well, since I can’t reconcile how the same game and Proton version behave differently between Steam and Lutris.

Can't type curly or square brackets (Virtualbox on MacOs) https://askubuntu.com/questions/1565105/cant-type-curly-or-square-brackets-virtualbox-on-macos

Im trying to type curly or square brackets but I can't find how to do it, my usual way in MacOs is (PT-PT layout):

Square brackets:

  • [ → Option + 8

  • ] → Option + 9

Curly brackets:

  • { → Shift + Option + 8

  • } → Shift + Option + 9

When I try this in Ubuntu nothing is printed, I would really appreciate if someone could help me please.

Can't burn CDs with Brasero, K3B or xfburn https://askubuntu.com/questions/1565103/cant-burn-cds-with-brasero-k3b-or-xfburn

I managed to solve another error with wodim. I got a bit farther with Brasero, but I can't seem to find anything on my specific issue. I've had no problem ripping movies from DVDs on the same optical drive.

Part of the brasero log:

BraseroWodim stderr: scsidev: '/dev/sr0'
BraseroWodim called brasero_job_get_flags
BraseroWodim stderr: devname: '/dev/sr0'
BraseroWodim called brasero_job_get_flags
BraseroWodim stderr: scsibus: -2 target: -2 lun: -2
BraseroWodim called brasero_job_get_flags
BraseroWodim stderr: Linux sg driver version: 3.5.27
BraseroWodim called brasero_job_get_flags
BraseroWodim stderr: Wodim version: 1.1.11
BraseroWodim called brasero_job_get_flags
BraseroWodim stderr: SCSI buffer size: 64512
BraseroWodim called brasero_job_get_flags
BraseroWodim stderr: Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
BraseroWodim called brasero_job_get_flags
BraseroWodim stderr: communication breaks or freezes immediately after that.
BraseroWodim called brasero_job_get_flags
BraseroWodim stdout: TOC Type: 0 = CD-DA
BraseroWodim stdout: Driveropts: 'burnfree'
BraseroWodim stdout: Device type    : Removable CD-ROM
BraseroWodim stdout: Version        : 5
BraseroWodim stdout: Response Format: 2
BraseroWodim stdout: Capabilities   : 
BraseroWodim stdout: Vendor_info    : 'HL-DT-ST'
BraseroWodim stdout: Identification : 'DVD+-RW GU90N   '
BraseroWodim stdout: Revision       : 'A1C1'
BraseroWodim stdout: Device seems to be: Generic mmc2 DVD-R/DVD-RW.
BraseroWodim stdout: Current: 0x0009 (CD-R)
BraseroWodim stdout: Profile: 0x0012 (DVD-RAM) 
BraseroWodim stdout: Profile: 0x002B (DVD+R/DL) 
BraseroWodim stdout: Profile: 0x001B (DVD+R) 
BraseroWodim stdout: Profile: 0x001A (DVD+RW) 
BraseroWodim stdout: Profile: 0x0016 (DVD-R/DL layer jump recording) 
BraseroWodim stdout: Profile: 0x0015 (DVD-R/DL sequential recording) 
BraseroWodim stdout: Profile: 0x0014 (DVD-RW sequential recording) 
BraseroWodim stdout: Profile: 0x0013 (DVD-RW restricted overwrite) 
BraseroWodim stdout: Profile: 0x0011 (DVD-R sequential recording) 
BraseroWodim stdout: Profile: 0x0010 (DVD-ROM) 
BraseroWodim stdout: Profile: 0x000A (CD-RW) 
BraseroWodim stdout: Profile: 0x0009 (CD-R) (current)
BraseroWodim stdout: Profile: 0x0008 (CD-ROM) 
BraseroWodim stdout: Profile: 0x0002 (Removable disk) 
BraseroWodim stdout: Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
BraseroWodim stdout: Driver flags   : MMC-3 SWABAUDIO BURNFREE 
BraseroWodim stdout: Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
BraseroWodim stdout: Drive buf size : 262144 = 256 KB
BraseroWodim stdout: FIFO size      : 31457280 = 30720 KB
BraseroWodim stderr: Speed set to 1764 KB/s
BraseroWodim called brasero_job_get_flags
BraseroWodim stdout: pregap1: -1
BraseroWodim stdout: Track 01: audio   34 MB (03:26.86) no preemp swab copy
BraseroWodim stdout: Track 02: audio   44 MB (04:27.42) no preemp swab copy
BraseroWodim stdout: Track 03: audio   40 MB (04:00.20) no preemp swab copy
BraseroWodim stdout: Track 04: audio   39 MB (03:53.74) no preemp swab copy
BraseroWodim stdout: Track 05: audio   34 MB (03:25.04) no preemp swab copy
BraseroWodim stdout: Track 06: audio   40 MB (04:00.60) no preemp swab copy
BraseroWodim stdout: Track 07: audio   32 MB (03:12.16) no preemp swab copy
BraseroWodim stdout: Track 08: audio   32 MB (03:15.17) no preemp swab copy
BraseroWodim stdout: Track 09: audio   31 MB (03:09.37) no preemp swab copy
BraseroWodim stdout: Track 10: audio   42 MB (04:15.40) no preemp swab copy
BraseroWodim stdout: Track 11: audio   27 MB (02:41.00) no preemp swab copy
BraseroWodim stdout: Track 12: audio   52 MB (05:10.54) no preemp swab copy
BraseroWodim stdout: Track 13: audio   30 MB (03:01.74) no preemp swab copy
BraseroWodim stdout: Track 14: audio   39 MB (03:52.94) no preemp swab copy
BraseroWodim stdout: Track 15: audio   42 MB (04:12.80) no preemp swab copy
BraseroWodim stdout: Track 16: audio   39 MB (03:52.05) no preemp swab copy
BraseroWodim stdout: Track 17: audio   41 MB (04:06.10) no preemp swab copy
BraseroWodim stdout: Track 18: audio   36 MB (03:38.29) no preemp swab copy
BraseroWodim stdout: Track 19: audio   33 MB (03:19.81) no preemp swab copy
BraseroWodim stdout: Track 20: audio   46 MB (04:34.08) no preemp swab copy
BraseroWodim stdout: Total size:      762 MB (75:35.37) = 340153 sectors
BraseroWodim stdout: Lout start:      763 MB (75:37/28) = 340153 sectors
BraseroWodim stdout: Current Secsize: 2048
BraseroWodim stdout: ATIP info from disk:
BraseroWodim stdout:   Indicated writing power: 5
BraseroWodim stdout:   Is not unrestricted
BraseroWodim stdout:   Is not erasable
BraseroWodim stdout:   Disk sub type: Medium Type A, high Beta category (A+) (3)
BraseroWodim stdout:   ATIP start of lead in:  -11634 (97:26/66)
BraseroWodim stdout:   ATIP start of lead out: 359846 (79:59/71)
BraseroWodim stdout: Disk type:    Short strategy type (Phthalocyanine or similar)
BraseroWodim stdout: Manuf. index: 3
BraseroWodim stdout: Manufacturer: CMC Magnetics Corporation
BraseroWodim stdout: Blocks total: 359846 Blocks current: 359846 Blocks remaining: 19693
BraseroWodim stdout: Starting to write CD/DVD at speed  10.0 in real SAO mode for single session.
BraseroWodim stdout: Last chance to quit, starting real write in    4 seconds.#
BraseroWodim called brasero_job_set_dangerous
BraseroWodim stdout: #
BraseroWodim stdout:    1 seconds.#############   0 seconds. Operation starts.
BraseroWodim stdout: Waiting for reader process to fill input buffer ... input buffer ready.
BraseroWodim stdout: Performing OPC...
BraseroWodim stdout: Sending CUE sheet...
BraseroWodim called brasero_job_get_input_type
BraseroWodim called brasero_job_set_current_action
BraseroWodim stderr: Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
BraseroWodim called brasero_job_get_flags
BraseroWodim stderr: CDB:  2A 00 FF FF D2 8E 00 02 88 00
BraseroWodim called brasero_job_get_flags
BraseroWodim stderr: status: 0x2 (CHECK CONDITION)
BraseroWodim called brasero_job_get_flags
BraseroWodim stderr: Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 0C 00 00 00
BraseroWodim called brasero_job_get_flags
BraseroWodim stderr: Sense Key: 0x3 Medium Error, Segment 0
BraseroWodim called brasero_job_get_flags
BraseroWodim stderr: Sense Code: 0x0C Qual 0x00 (write error) Fru 0x0
BraseroWodim called brasero_job_get_flags
BraseroWodim stderr: Sense flags: Blk 0 (not valid) 
BraseroWodim called brasero_job_get_flags
BraseroWodim stderr: cmd finished after 21.913s timeout 200s
BraseroWodim called brasero_job_get_flags
BraseroWodim stderr: wodim: Could not write Lead-in.
BraseroWodim called brasero_job_get_flags
BraseroWodim called brasero_job_error
BraseroWodim finished with an error
BraseroWodim asked to stop because of an error
    error       = 15
    message = "An error occurred while writing to disc"
BraseroTranscode stopping
BraseroTranscode disconnecting BraseroTranscode from BraseroWodim
BraseroWodim stopping
BraseroWodim got killed
BraseroWodim closing connection for BraseroWodim
Session error : An error occurred while writing to disc (brasero_burn_record brasero-burn.c:2854)

k3b debug output:

Devices
-----------------------
HL-DT-ST DVD+-RW GU90N A1C1 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [TAO, Restricted Overwrite, Layer Jump] [%7]

System
-----------------------
K3b Version: 25.11.70
KDE Version: 6.14.0
Qt Version:  6.10.1
Kernel:      6.17.0-19-generic

Used versions
-----------------------
cdrdao: 1.2.4

cdrdao command:
-----------------------
/snap/k3b/35/usr/bin/cdrdao write --device /dev/sr0 --driver generic-mmc:0x00000010 --speed 6 -n -v 2 --force --remote 30 /home/will/Videos/k3b_audio_0_.toc

Xfburn doesn't have an output, and it just spits the disk out.

Filesystem root has 0 space [closed] https://askubuntu.com/questions/1565102/filesystem-root-has-0-space

linux noob here. Recently installed cinammon mint Wilma on my dell laptop and on bootup I've been getting this error message. I don't really have anything else installed on here other than a few normal apps like firefox, etc.

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           378M  1.8M  377M   1% /run
efivarfs        384K   89K  291K  24% /sys/firmware/efi/efivars
/dev/sda2       916G  915G     0 100% /
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           5.0M  8.0K  5.0M   1% /run/lock
/dev/sda1       511M  6.2M  505M   2% /boot/efi
tmpfs           378M  192K  378M   1% /run/user/1000

Any guidance would be appreciated. Thanks.

Latest 24.04 update leaves network interface & internal mouse is not operational https://askubuntu.com/questions/1565101/latest-24-04-update-leaves-network-interface-internal-mouse-is-not-operational

The kernel version is 6.17.0-19. The update aborted with Package failed to install. What package? I can find no errors in the /var/log/apt logs, and sudo apt update says all packages are up to date. The laptop is brain damaged. The network interface is gone - no configuration options are displayed. The internal mouse pad is non-operational. I have to plug in a USB mouse. The external display no longer works. The kernel modules for VirtualBox 7.2.6 fail to load. It seems like the only app that's still working is the terminal.

Extract files from lost NAS RAID multiple disks [closed] https://askubuntu.com/questions/1565100/extract-files-from-lost-nas-raid-multiple-disks

Thanx for the response. Seems my initial writing got lost somehow. It was probably me. 😊

My NAS is a Thecus N5200 pro I believe. What happened is that it was unstable for a few days, before it got inaccessible.

I discovered that disk 3 of 5, was dead, no movement when tested with icy box docking.

Disk, 1, 2, 4 and 5, are still ok, and I have made an image file of each.

The Thecus N5200 reports "no raid" in startup dialogue, and no raid is found when entering NAS through ip address.

So the raid setup is lost. I hope to find the raid setup in the remaining 4 disks.

Unfortunately, I am not sure what raid was setup on the Thecus before the crash. I guess it has to be the one where only one disc can be missing before data loss. But I am not sure.

I hope to reassemble raid from metadata on the remaining disks, or by other means extract any files possible.

The hdd's with the .img copies, are now mounted in another computer, running Ubuntu.

I have come to understand that there is a lot of options in Ubuntu to diagnose, reassemble and extract data. But I am uncertain what steps to take, and how.

I understand that much can be done with Ubuntu, and maybe some is better done with testdisk.

I just need someone to hold my hand as I am blinded walking through the dark forest. 😎

I am a seasoned windows user, but a greenhorn on UBUNTU, but I have faith that I might be able to learn. I have already come this far. :-)

Thanxalot.

web app developed in python running in ubuntu [closed] https://askubuntu.com/questions/1565099/web-app-developed-in-python-running-in-ubuntu

The web application is developed in Python and runs on Ubuntu. The instance, which has 2 GB of memory, needs to be restarted every 8–10 days, even when there is no user activity.

Thank you!

Djeanthi

Opening Steam crashes and force restarts my PC https://askubuntu.com/questions/1565064/opening-steam-crashes-and-force-restarts-my-pc

Every time I open Steam from the dock or the icon, my entire PC instantly crashes and restarts. However, opening Steam from terminal seems to work fine. This only started happening a few days ago; I have been using Steam as normal for months before then.

What might be causing this problem? What are some steps for troubleshooting?

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.4 LTS
Release:    24.04
Codename:   noble
(Active Incident) Networking showing as a question mark even though Internet works https://askubuntu.com/questions/1565058/active-incident-networking-showing-as-a-question-mark-even-though-internet-wor

This is an active issue and incident as of March 21, 2026.

I am seeing a question mark on my networking in Desktop and Network Manager but my network is functioning with internet. Sometimes I am told to 'sign in' to my network even though I am already connected. (Or in some cases, people are being asked to sign into wifi when they don't have wifi)

Why is this?

How to enable Firefox to display local HTML files -- file: URLs -- that are only referenced locally? https://askubuntu.com/questions/1564795/how-to-enable-firefox-to-display-local-html-files-file-urls-that-are-only

For security reasons, Firefox and other browsers block local file: URLs like file:///tmp/foo.html that are linked from external web pages. That makes sense to me. But it also blocks access to file: URLs like file:///tmp/foo.html when I manually paste them into the address bar, or link them from another local file such as file:///tmp/bar.html , which would not be a security risk. I also cannot right-click on a local HTML file and open it in Firefox to preview it, which is ridiculously frustrating. Furthermore -- and contradictorily -- Firefox allows me to set my home page to file:///tmp/foo.html , but it does not allow me to set my "new tab" page to file:///tmp/foo.html . An extension exists to address the "new tab" problem, but it does not address the rest of these restrictions.

How can I enable Firefox to display file: URLs that are referenced only from other file: URLs, typed into the address bar, opened locally by right-click from the file manager, or specified as my "new tab" page?

This page says I can disable that security check for specific sites, but I do not know how to specify my local file system as a "site".

Output of lsusb command and uname, in case that helps:

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
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 003: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 003 Device 004: ID 0e8d:e025 MediaTek Inc. Wireless_Device
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

$ uname -a
Linux [redacted] 6.17.0-1012-oem #12-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 10 04:51:46 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Is there a whatsapp solution for linux? https://askubuntu.com/questions/1546818/is-there-a-whatsapp-solution-for-linux

I'm looking for a reliable WhatsApp client that works well on Ubuntu 24.04 LTS. Ideally, the client should have:

  • Desktop notifications that integrate properly with Ubuntu’s notification system
  • Autostart on login, so I don't miss any messages or notifications
  • (Optional but preferred): Support for video and/or voice calls

How to set this up?

Docker build fails at RUN apt update ( ERROR: failed to solve: process "/bin/sh -c apt-get update" did not complete successfully: exit code: 100) https://askubuntu.com/questions/1511514/docker-build-fails-at-run-apt-update-error-failed-to-solve-process-bin-sh

I'm trying to build a docker image from ros:humble-ros-base, on a Raspberry Pi4 with Ubuntu 22.04 installed.

The first lines of the Dockerfile are

FROM ros:humble-ros-base
RUN apt update

I get the error

ERROR: failed to solve: process "/bin/bash -c apt update -y" did not complete successfully: exit code: 100

after reading all package lists successfully.

Tried to uninstall and reinstall docker completely, and also tried with other debian bases images, it always fails at the same point.

Also tried running

docker run --privileged --rm tonistiigi/binfmt --install all

, as suggested in another related topic, but it didn't solve the problem.

The Dockerfile builds successfully on other platforms (a computer under ubuntu 22.04 and one under 20.04).

Would anyone have an idea on what could the problem be ?

Thanks

Xubuntu 22.04: Using PipeWire and Wireplumber, bluetooth headset connects and plays audio but only using HSP/HFP and not A2DP https://askubuntu.com/questions/1511119/xubuntu-22-04-using-pipewire-and-wireplumber-bluetooth-headset-connects-and-pl

Very big newbie here, spent the last 90 minutes trying to troubleshoot audio. Here's the Narrative of what happened: I was having trouble connecting my bluetooth headset to Xubuntu. The problem was that the connection would hang and do nothing. I installed Pipewire and replaced PulseAudio, now I could connect my headset, but it would instantly disconnect. Then I installed Wireplumber and everything worked. I connected my headset and was happily listening to audio.

Then I logged out, and when I logged back in, my headset connected automatically, but no longer played audio. Instead I was hearing a crackling/popping noise. Funky. I opened up Pavucontrol and messed around with stuff. Turns out, if I switch to HSP/HFP instead of A2DP everything works (albeit garbage audio quality). And to be clear, both profiles are available in Pavucontrol and the device can switch between both. The A2DP profiles were working when I was in the session where I first installed PipeWire and Wireplumber.

Here's what grinds my gears: it worked perfectly when I was still logged into the session where I initially installed Pipewire and Wireplumber. After logging out and logging back in, this issue began.

Any help would be appreciated. I've already searched through this forum and others to find a solution.

Network Manager not working, help https://askubuntu.com/questions/1506338/network-manager-not-working-help

im setting a server with Ubuntu 22.04 and i have been instaling Ubuntu several times. At first, Network Manager worked great and displayed all the networks, but now nmtui doesnt show anything, and nmcli shows that everything is unmanaged or disconnected. Any ideas? By the way, I also tried a Virtual Maachine but it enda in the same way

Autologin option in user settings does not persist 22.04 https://askubuntu.com/questions/1432646/autologin-option-in-user-settings-does-not-persist-22-04

Whilst there have been older questions asked, it might be worth putting this in for Jammy 22.04

Settings, User, Unlock , click automatic login. there are no 'apply buttons' repeat this, and the option is still disabled.

ASUS AMD Ryzen 5 latest BIOS.

I have also edited the config file for gdm3 sudo nano /etc/gdm3/custom.conf

hashtag Enabling automatic login

AutomaticLoginEnable = true AutomaticLogin = user1 [ my username put in there for user1, was that a mistake, should it be 'user1' ]

running from command line I got a funky error message... which had bug history for previous Ubuntu versions. and running sudo gnome-control-center got an error message.

this is a new and clean install.

How to fix WSL domain resolution https://askubuntu.com/questions/1403886/how-to-fix-wsl-domain-resolution

so I was having issues with domain resolution with WSL whenever I use the VPN. I would get this:

ping: google.com: Temporary failure in name resolution

I tried following instructions from these answers Temporary Failure in name resolution on WSL

Specifically from this part:

  1. Inside WSL2, create or append file: /etc/wsl.conf

  2. Put the following lines in the file in order to ensure the your DNS changes do not get blown away

    echo "[network]" | sudo tee /etc/wsl.conf
    echo "generateResolvConf = false" | sudo tee -a /etc/wsl.conf
    
  3. In a cmd window, run wsl --shutdown

  4. Start WSL2

  5. Run the following inside WSL2

    sudo rm -rf /etc/resolv.conf
    sudo cat << EOF > /etc/resolv.conf
    search [yourbase.domain.local]
    nameserver 8.8.8.8
    nameserver 1.1.1.1
    EOF
    

However, I cannot seem to be able to edit the file /etc/resolv.conf as I would get zsh: permission denied: /etc/resolv.conf

I also don't know what it means [yourbase.domain.local] or with what I should be replacing it. I already messed up my domain resolution, and now I get the first error every time, even when my laptop is not connected to the VPN. I really need to know how to fix the config files that I modified

Edit: using muru's suggestion from the comments, I was able to fix the domain resolution with the command

sudo tee /etc/resolv.conf <<EOF

However, I'd like to know if there is a solution for this error when I connect to a VPN. Since none of the solutions from the mentioned link didn't work for me.

Lenovo Legion 5 touchpad https://askubuntu.com/questions/1253830/lenovo-legion-5-touchpad

I have just bought a new Lenovo Legion 5-15ARH05.

I have a problem with the touchpad. It seems that it's recognized by the system, however, I cannot move with the cursor. I found out that the left click and the right click works just fine.

I am using 5.8.0-050800-generic kernel and Synaptics package.

This is my xinput

$ xinput
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech Wireless Mouse                   id=11   [slave  pointer  (2)]
⎜   ↳ ITE Tech. Inc. ITE Device(8910) Consumer Control  id=13   [slave  pointer  (2)]
⎜   ↳ MSFT0001:00 06CB:7F28 Mouse               id=16   [slave  pointer  (2)]
⎜   ↳ MSFT0001:00 06CB:7F28 Touchpad            id=17   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Video Bus                                 id=8    [slave  keyboard (3)]
    ↳ Power Button                              id=9    [slave  keyboard (3)]
    ↳ Integrated Camera: Integrated C           id=10   [slave  keyboard (3)]
    ↳ Ideapad extra buttons                     id=15   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=18   [slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) Keyboard  id=12   [slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) Wireless Radio Control    id=14   [slave  keyboard (3)]

and by listing props I get

$ xinput --list-props 17
Device 'MSFT0001:00 06CB:7F28 Touchpad':
    Device Enabled (142):   1
    Coordinate Transformation Matrix (144): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    Device Accel Profile (274): 1
    Device Accel Constant Deceleration (275):   2.500000
    Device Accel Adaptive Deceleration (276):   1.000000
    Device Accel Velocity Scaling (277):    12.500000
    Synaptics Edges (300):  48, 1176, 43, 761
    Synaptics Finger (301): 25, 30, 0
    Synaptics Tap Time (302):   180
    Synaptics Tap Move (303):   64
    Synaptics Tap Durations (304):  180, 180, 100
    Synaptics ClickPad (305):   1
    Synaptics Middle Button Timeout (306):  0
    Synaptics Two-Finger Pressure (307):    282
    Synaptics Two-Finger Width (308):   7
    Synaptics Scrolling Distance (309): 29, 29
    Synaptics Edge Scrolling (310): 1, 0, 0
    Synaptics Two-Finger Scrolling (311):   1, 0
    Synaptics Move Speed (312): 1.000000, 1.750000, 0.136612, 0.000000
    Synaptics Off (313):    0
    Synaptics Locked Drags (314):   0
    Synaptics Locked Drags Timeout (315):   5000
    Synaptics Tap Action (316): 2, 3, 0, 0, 1, 3, 0
    Synaptics Click Action (317):   1, 3, 0
    Synaptics Circular Scrolling (318): 0
    Synaptics Circular Scrolling Distance (319):    0.100000
    Synaptics Circular Scrolling Trigger (320): 0
    Synaptics Circular Pad (321):   0
    Synaptics Palm Detection (322): 0
    Synaptics Palm Dimensions (323):    10, 200
    Synaptics Coasting Speed (324): 20.000000, 50.000000
    Synaptics Pressure Motion (325):    30, 160
    Synaptics Pressure Motion Factor (326): 1.000000, 1.000000
    Synaptics Resolution Detect (327):  1
    Synaptics Grab Event Device (328):  0
    Synaptics Gestures (329):   1
    Synaptics Capabilities (330):   1, 0, 0, 1, 1, 0, 0
    Synaptics Pad Resolution (331): 12, 12
    Synaptics Area (332):   0, 0, 0, 0
    Synaptics Soft Button Areas (333):  612, 0, 659, 0, 0, 0, 0, 0
    Synaptics Noise Cancellation (334): 7, 7
    Device Product ID (262):    1739, 32552
    Device Node (263):  "/dev/input/event18"

The touchpad itself works in windows and when I disable hid-multitouch in Linux I can get it working, but the cursor is moving in absolute coordinates so it's unusable.

If someone has an idea how to solve it I would really appreciate it. On the internet I found some threads describing a similar problem, but they don't talk about how the clicking is working and other stuff. One lead might be that supposedly from kernel 5.4 it stopped working, however, I cannot test it.

I am not able to boot 5.3. But I booted 5.0 and it did not work.

Ubuntu 20.04, on-screen keyboard not showing when using touchscreen on LENOVO YOGA 500 https://askubuntu.com/questions/1231301/ubuntu-20-04-on-screen-keyboard-not-showing-when-using-touchscreen-on-lenovo-yo

Well, the title says it. I have a Lenovo yoga 500, recently updated to 20.04. When I was on 19.10, the keyboard used to show automatically when I touch a textbox. However, now it won't open, unless I do it manually via the Universal Access menu. I'll be happy If someone can help me.

USB Device error: "unable to enumerate device" https://askubuntu.com/questions/1218592/usb-device-error-unable-to-enumerate-device

I'm on Ubuntu 18.04 on a Dell 3442 laptop. I'm trying to make an audio interface - Tascam US-800 - to work. I've done it before years ago, same hardware, can't remember what Ubuntu Studio version.. Now I'm getting this kind of error. I just dumped Windows out of my system, tried first Ubuntu Studio 19.10 and now Ubuntu 18.04, with no success. The same device was running Ok on Windows 10 a few days ago. Tried again in my wife's laptop with Windows - working fine.

I'm getting this error in dmesg:

[  580.230758] usb 1-1.2: new full-speed USB device number 10 using ehci-pci
[  580.646801] usb 1-1.2: device not accepting address 10, error -32
[  580.646910] usb 1-1-port2: attempt power cycle
[  581.250887] usb 1-1.2: new full-speed USB device number 11 using ehci-pci
[  581.330909] usb 1-1.2: device descriptor read/64, error -32
[  581.518927] usb 1-1.2: device descriptor read/64, error -32
[  581.706957] usb 1-1.2: new full-speed USB device number 12 using ehci-pci
[  581.786972] usb 1-1.2: device descriptor read/64, error -32
[  581.974997] usb 1-1.2: device descriptor read/64, error -32
[  582.083205] usb 1-1-port2: unable to enumerate USB device

Strange thing is, when I tried with a Live version of Ubuntu from a flash drive, I get a different kind of error:

[11386.135043] usb 3-1: new high-speed USB device number 3 using ehci-pci
[11386.253453] usb 3-1: config 1 interface 4 altsetting 0 bulk endpoint 
0x4 has invalid maxpacket 64
[11386.253462] usb 3-1: config 1 interface 4 altsetting 0 bulk endpoint 
0x85 has invalid maxpacket 64
[11386.253817] usb 3-1: New USB device found, idVendor=0644, idProduct=802a
[11386.253820] usb 3-1: New USB device strings: Mfr=12, Product=13, 
SerialNumber=0
[11386.253822] usb 3-1: Product: US-800
[11386.253824] usb 3-1: Manufacturer: TASCAM
[11386.748068] usb 3-1: cannot get ctl value: req = 0x83, wValue = 
0x101, wIndex = 0x1e00, type = 4
[11386.748075] usb 3-1: 30:0: cannot get min/max values for control 1 
(id 30)
[11386.831499] usb 3-1: cannot get ctl value: req = 0x83, wValue = 
0x201, wIndex = 0x1e00, type = 4
[11386.831510] usb 3-1: 30:0: cannot get min/max values for control 2 
(id 30)
[11386.912375] usb 3-1: cannot get ctl value: req = 0x83, wValue = 
0x301, wIndex = 0x1e00, type = 4
[11386.912386] usb 3-1: 30:0: cannot get min/max values for control 3 
(id 30)
[11387.005003] usb 3-1: cannot get ctl value: req = 0x83, wValue = 
0x401, wIndex = 0x1e00, type = 4
[11387.005022] usb 3-1: 30:0: cannot get min/max values for control 4 
(id 30)
[11387.080115] usb 3-1: cannot get ctl value: req = 0x83, wValue = 
0x501, wIndex = 0x1e00, type = 4
[11387.080123] usb 3-1: 30:0: cannot get min/max values for control 5 
(id 30)

I've tried several things like usbcore.autosuspend=-1, iommu=soft, the "unplug everything for 3 min" trick, ... plugged/unplugged in every USB hub, all of them work fine with other devices like optical mouse. I'm googling everything related to this problem with no success... I don't want to give up, because as I said it worked before... and going back to Windows is a big turn off for me.

EDIT1: I forgot to say this is a device not officially supported by Ubuntu or Tascam, which has discontinued the product. There are official drivers for Windows and Mac. Please, point me to the way of hacking those drivers!

EDIT2: So I did a clean install of Ubuntu Studio 19.10, this time letting it erase everything from disk and partition it's own way. Now I get only the second error, cannot get ctl value. That's a start.. I'm going to research more on the subject. Any help would be immensely appreciated!

Proxy settings for Snap Store https://askubuntu.com/questions/1124566/proxy-settings-for-snap-store

I am on an university network, so naturally I use a proxy. I have set the proxy appropriately in /etc/environment, but no matter what I do there's always this error:

https://api.snapcraft.io/v2/snaps/refresh: proxyconnect tcp: tls:
   oversized record received with length 20527

I have restarted, reset, removed and reinstalled snap, but time and again there's no solution. The past solutions are no help, and anything I do doesn't change the error messages. Is the Snap Store really unusable in a proxy?

I changed a few things, and now I get a different error:

https://api.snapcraft.io/v2/snaps/refresh: Proxy Authentication Required

This is really frustrating because wherever I use proxy, I use the format:

username:password@host:port

whether it is /etc/environment, ~/.bashrc or /etc/apt/apt.conf. I have no problem in connectivity via apt, and wget works fine too. It's snap that puzzles me.

ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory https://askubuntu.com/questions/1064111/importerror-libcublas-so-9-0-cannot-open-shared-object-file-no-such-file-or-d

I am getting this error when I want to import tensorflow-gpu on Ubuntu 16.04.

I have installed CUDA 9.1 properly, cudNN 7.1 properly and tested both without facing any problem. (using python 3.5 2.)

I have used pip3 in either ways (with several tensorflow versions): i tried:

#for tensoflow 1.4
pip3 install tensorflow-gpu==1.4
# for tensorflow 1.8 from source
pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.8.0rc1-cp35-cp35m-linux_x86_64.whl

I have tried to install several versions of tensorflow-gpu , 1.4, 1.5 , 1.8 ,1.9. still getting the same error, when running

import tensorflow as tf 

ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory

Is there any way to get rid of this? or it is just installing cuda 9.0 ( which will be the pain as it took a week for me to install the cuda 9.1 due to problems of nvidia and Ubuntu !)

I also installed libcupti (required) and Bazel (required). from this page: http://www.python36.com/install-tensorflow141-gpu/2/

moreover, i have installed the same setup on windows (tensorflow 1.8 , cuda 9.1) without any problem.

Unknown Filesystem - grub rescue after Windows 10 update? https://askubuntu.com/questions/924147/unknown-filesystem-grub-rescue-after-windows-10-update

About a week ago Windows 10 ran its automatic updates and after that I'm unable to boot to ubuntu the way I was doing it (pressing f12 and manually selecting Ubuntu partition). Now it takes me to a black screen saying Unknown Filesystem grub rescue when I try to access it that way.

The partition isn't wiped out and Ubuntu works just fine, but I have to enter a few commands as shown in this video(Non-English) to access it. Would anyone mind helping me to "revert" whatever windows did so I can keep booting to ubuntu manually when I want to with f12 key?

Additional info - I asked this question on Reddit and I was asked

"what is the output of 'fdisk -l' in the terminal?"

This is what shows up:

Disk /dev/sda: 465,8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 7DCE2DB6-E1A6-4A44-9EC2-96460D5449EB

Device         Start       End   Sectors   Size Type
/dev/sda1       2048    923647    921600   450M Windows recovery environment
/dev/sda2     923648   1128447    204800   100M EFI System
/dev/sda3    1128448   1161215     32768    16M Microsoft reserved
/dev/sda4    1161216 244113228 242952013 115,9G Microsoft basic data
/dev/sda5  244113408 245759999   1646592   804M Windows recovery environment
/dev/sda6  245762048 830351359 584589312 278,8G Microsoft basic data
/dev/sda7  830351360 838543359   8192000   3,9G Microsoft basic data
/dev/sda8  838543360 976773119 138229760  65,9G Linux filesystem

Thank you very much in advance :)

  [1]: https://www.youtube.com/watch?v=NMMdNke-gkY
How to configure new disk for UEFI boot using grub2 https://askubuntu.com/questions/714430/how-to-configure-new-disk-for-uefi-boot-using-grub2

I am using an ASUS N53J that is currently using MBR boot. I have enabled UEFI booting in the bios can can seem to boot USB drives that have been configured with gpt tables. Though I have not figured out how to make use of a dedicated EFI boot partition on the USB drive as yet.

Separately I have connected a second hdd to the laptop via the external SATA connection, created a gpt partition table, esp boot partition, and the filesystem and swap partitions.

When I run grub-mkconfig on the internal hdd, it finds the new linux image on the external hdd. I can boot to that external image and confirm that the esp boot partition gets mounted at /boot/efi, so it appears that I should be able to configure grub2. However, if I run grub-mkconfig when executing from the external drive, its own image does not get found, only the linux and windows images on the internal drive.

I also cannot get efibootmgr to run. The tutorials I have read either are not clear on both the how and the why so I can troubleshoot myself or use commands that I cannot find in the packages I think they are using. Does anyone have a good pointer on how to configure the disk before I install it as the primary boot disk?

Thanks.

Update 2015-12-30 I have progressed to making a USB drive that will at least boot into grub rescue. I do not know why grub won't run from this drive but it at least allows me to manually boot to my target OS. Since I have now booted via a UEFI boot efibootmgr is available.

I performed a new grub-install targeting the esp partition mounted at /boot/efi. This completed without errors. However, when I select the target system for booting the firmware loader stops at a blank screen. This occurs whether the disk is connected via ESATA or has been moved to be the primary disk in the machine.

the output of efibootmgr -v is:

BootCurrent: 0003
Timeout: 2 seconds
BootOrder: 0005,0002,0003,0004,0000,0001
Boot0000  Hard Drive    BBS(HD,,0x0)
Boot0001  CD/DVD Drive  BBS(CDROM,,0x0)P1: Slimtype BD  E  DS4E1S    .
Boot0002* ubuntu 15.10  HD(1,GPT,8b6800c2-0b24-4f00-aa66-b1378052604e,0x800,0xfa000)/File(\bootx64.efi)
Boot0003* grub  HD(2,GPT,b07e72fd-9168-4924-a17c-b75e55ed685c,0x800,0xfa000)/File(\Shellx64.efi)
Boot0004* UEFI: SanDisk Cruzer Micro 1.26   PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(2,0)/HD(2,GPT,b07e72fd-9168-4924-a17c-b75e55ed685c,0x800,0xfa000)
Boot0005* ubuntu15.10   HD(1,GPT,8b6800c2-0b24-4f00-aa66-b1378052604e,0x800,0xfa000)/File(\EFI\ubuntu15.10\grubx64.efi)

The desired target is Boot0005. Boot0002 is an experiment copying grubx64.efi to /boot/efi/bootx64.efi. Both Boot0002 and Boot0005 behave similarly.

Boot0003 (grub) is the USB drive and the only means to boot, though it only starts in grub rescue.

Any ideas where I should explore or what additional information may assist diagnosis?

More progress:

grub rescue> set  
prefix=(hd0,2)/boot/grub  ... This is the fat32-formatted esp boot partition  

grub rescue>ls (hd0,2)/  
unknown filesystem      ... or similar words to that effect

grub rescue>set prefix=(hd0,1)/boot/grub  ... ext4-formatted partition
grub rescue> insmod fat
grub rescue>ls (hd0,2)/
                    .... the directory is now read

setting the root to the target boot system and the prefix to the /boot/grub directory of that target system I can insmod linux search config file and normal. If normal does not start the boot option page the following will:

grub rescue>configfile /boot/grub/grub.cfg

I can eventually get the target to boot from the menu.

My synopsis is that grubx64.efi on the USB drive is not configured with the necessary modules for the boot method being used.

While efi-booted into my target filesystem I created a new USB drive, also with a gpt partition table, this time with esp boot as partition 1. I only mention that to assist with reading the bios boot table presented later.

mounting USB partition 2 to an appropriate node:

mkdir -p /boot/efi

mount (USB partition 1) to (USB partition 2)/boot/efi

grub-install --target=x86_64-efi --efi-directory=(USB partition 2)/boot/efi --removable

generates EFI/BOOT/BOOTx64.EFI. The UEFI: Sandisk entry in the bios boot table is the means to boot via this loader

grub-install --target=x86_64-efi --efi-directory=(USB partition2)/boot/efi --bootloader-id=USBboot

generates EFI/USBboot/grubx64.efi. The USBboot entry is also written int the bios boot table

cmp -v BOOT/BOOTx64.EFI USBboot/grubx64.efi yields no differences
either boot option now boots directly to the target filesystem without displaying any grub boot menu. Since the USB drive does not have a /boot/grub directory or a grub.cfg, grubx64.exe must be configured to search for this directory on the target rather than USB.

$ efibootmgr -v
BootOrder: 0007,0004,0005,0002,0003,0008,0000,0001
Boot0000  Hard Drive    BBS(HD,,0x0)
Boot0001  CD/DVD Drive  BBS(CDROM,,0x0)P1: Slimtype BD  E  DS4E1S    .
Boot0002* ubuntu 15.10  HD(1,GPT,8b6800c2-0b24-4f00-aa66-b1378052604e,0x800,0xfa000)/File(\bootx64.efi)
Boot0003* grub  HD(2,GPT,b07e72fd-9168-4924-a17c-b75e55ed685c,0x800,0xfa000)/File(\Shellx64.efi)
Boot0004* ubuntu_15_10  HD(1,GPT,8b6800c2-0b24-4f00-aa66-b1378052604e,0x800,0xfa000)/File(\EFI\ubuntu_15_10\grubx64.efi)
Boot0005* ubuntu15.10   HD(1,GPT,8b6800c2-0b24-4f00-aa66-b1378052604e,0x800,0xfa000)/File(\EFI\ubuntu15.10\grubx64.efi)
Boot0007* USBboot   HD(1,GPT,f887bf87-18a9-40e1-9bca-6c4bfd1cbb4a,0x800,0xc8000)/File(\EFI\USBboot\grubx64.efi)
Boot0008* UEFI: SanDisk PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(4,0)/HD(1,GPT,f887bf87-18a9-40e1-9bca-6c4bfd1cbb4a,0x800,0xc8000)

I still have not figured out how to even get to grub rescue without booting from the external USB drive. Is seems as though I have two problems:

  1. I don't fully understand how to configure grub for its intended use, how to make sure necessary modules are built in and the prefix is properly set.
  2. I either do not have the bios on the ASUS N53J properly configured or it is not accepting the hard disk configuration as a valid boot configuration.

Any other ideas? I now this is getting rather long. How can I document this to be more readable?

Status Update

Browsing on the web I have discovered grub-mkimage. I have not started working with this and will report progress once I have done so and can either understand the results or can pose a new question about it.

Light Video Player to download subtitles automatically https://askubuntu.com/questions/644298/light-video-player-to-download-subtitles-automatically

Which one is the most lightware video player ?

I watch usually normal videos, with not so high resolution...

Referring to the hardware resources used tell me please do you recommend me a video player which comes with the most common codecs included, or is it possible to use a fast way in Linux to download/install the video and audio codec that I need for the video which I am trying to watch?

If this is possible how can I find in Linux the video codec which I need to see the video?

One of the most important option included would be to search and download subtitles for the video which I am watching to (would be better to search on more subtitles websites).

Thank you.

In my opinion it is not a duplicate of Programs to download subtitles for videos because the question is about a light video player with the subtitles download feature included too.

Root CA certs - exporting from Windows, importing into Ubuntu https://askubuntu.com/questions/639658/root-ca-certs-exporting-from-windows-importing-into-ubuntu

I'm behind a corporate proxy, and we have Windows PCs with root ca certs pre-installed so SSL works with the proxy. Within my PC, I'm spinning up Linux VMs for testing, and so I have a need to get those certs installed within the VM so I can hit whatever SSL URL I need (github cloning etc). I've tried a few methods to export the certs from Windows and import them into Ubuntu, but as of yet I am unable to access SSL from within the VM.

This answer gave me the best idea for what format to export the cert in from Windows (base-64 .cer). After I export the .cer files and copy them into place in the VM, I rename them with .crt extensions.

This answer best sums up what I'm trying in the VM.

After I add the certs to the usr/share/ca-certificates directory and run update-ca-certificates the certs do get symlinked into /etc/ssl/certs but still no SSL traffic.

This is on a Windows 7 host, Ubuntu 12.04 guest.

HDMI Video on Ubuntu 14.04 https://askubuntu.com/questions/526531/hdmi-video-on-ubuntu-14-04

I have a Dell 3750 Vostro laptop running Ubuntu 14.04 LTS with an NVIDIA GT 525M graphics card. I recently purchased an external monitor, which has both HDMI and VGA input. The VGA input works perfectly, however the HDMI says "No Signal Detected". I would love to use the HDMI connection to this monitor - but I have had no success whatsoever getting it to work.

I have installed Bumblebee, and I have also run sudo apt-get install nvidia-current. Neither of these had any effect on the HDMI output. Is there anything else I can try? Here is the output from xrandr:

Screen 0: minimum 320 x 200, current 1600 x 900, maximum 32767 x 32767
LVDS1 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 382mm x 214mm
   1600x900       60.3*+
   1440x900       59.9  
   1360x768       59.8     60.0  
   1152x864       60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

I notice that there is no HDMI entry - is this perhaps part of the problem? Thanks for any help! :)

Xrandr not working with Nvidia https://askubuntu.com/questions/518757/xrandr-not-working-with-nvidia

I have a problem. I have a lapop with an Nvidia card and an Intel one

While I am using the Nvidia one (using PRIME profiles) I cannot change the display resolution using xrandr in terminal. All it does is that the display goes black for a second then back to the native resolution. However, when using the Intel card it works without an issue.

This is an issue for me because I play a lot of old games using Wine and most of them have very low resolutions and so, when using Nvidia, they are displayed on the top-left part of the screen, instead of being stretched to fill the whole screen like they do when using the Intel card (because the screen resolution will change to that of the game)

I also noticed that changing the resolution through System Settings -> Display works on both cards but it dosen't help much...

If I could get xrandr to change the resolution on the Nvidia card then those games will work or if not then I could make a script to do it when the game launches and change back to the native one when it's closed.

My OS is Ubuntu 14.04 x64 and I use the up-to-date Nvidia proprietary stable drivers. It's a laptop if that matters

EDIT: I just noticed that if I connect an external monitor (VGA1) I can change the resolution just fine on either monitor... and the game now runs fullscreen... but as soon as I disconnect it the issue comes back :(

New laptop won't boot after installing Ubuntu 14.04 on SSD https://askubuntu.com/questions/462063/new-laptop-wont-boot-after-installing-ubuntu-14-04-on-ssd

I removed the HDD from a Toshiba Computer I bought today and installed a 250GB SSD. After installing it, I immediately installed Ubuntu 14.04 on it from a USB drive. Everything went fine during installation, but when I restarted I got the message

Reboot and select proper Boot device or Insert Boot Media in selected Boot Device and press a key.

That message came up after a nano-second screen that says Checking Media Presence and then No Media Present.

When I reboot using the USB stick, I can see the SSD drive and it has the OS written on it and it looks like it's been partitioned correctly.

Can someone please tell me what I need to do to get my computer to boot up?

  • I read something about how the Secure boot and CSM or UEFI might be a factor, but I'm not experienced enough with new Bios to know how to configure those settings.
  • I also read about Grub probably not installing on the SSD and I might just have to fix Grub for it to work, but I haven't been able to do that through the Ubuntu running of the USB stick.

Any help or links to good threads would be very helpful. If you have any questions, I would be very happy to help you in helping me.

http://paste.ubuntu.com/7407446/

Do I need dnsmasq? https://askubuntu.com/questions/226976/do-i-need-dnsmasq

When I nmap localhost get this:

53/tcp open domain dnsmasq 2.59

What is it and do I really need it? I tried to remove it with

sudo apt-get remove dnsmasq-base

but it said if I would continue it will remove network-manager and network-manager-gnome too. So do I need it for network-manager and network-manager-gnome or if I don't can I just remove it because I don't want to have it listen on port 53.