New answers tagged

1 vote

Network interface will not come up, obtain a DHCP lease automatically

According to a comment in /etc/network/interfaces the default is to use netplan.io instead. The files in interfaces.d/ were not being sourced. network: version: 2 renderer: networkd ethernets: ...
  • 281
0 votes

Ubuntu 18.04.1 LTS keeps logging me out after a few seconds after coming out of standy by

You might find the information here helpful. I had the same problem with Ubuntu 22.04 on a Razor Blade gaming laptop. I resolved it by following the instructions from the link above under the "...
0 votes

Ubuntu 18.04 LTS - incredibly slow TCP/IP connection time over ethernet

Turns out it appears to have been a fault with the switch between laptop and router
0 votes
Accepted

error while loading shared libraries: libmkl_intel_lp64.so

The missing step was the execution of the following command: source /opt/intel/oneapi/setvars.sh
0 votes
Accepted

Clicked on unmount instead of eject and now I can not find the DVD player

Turns out it was user error. Wrong labeled disk. Said it was a DVD and it turns out it was a Blu Ray. There is a Blu ray drive on the computer but that was not the one I was using.
  • 2,153
0 votes

Ubuntu 18.04 scrolling jumps when alternating between windows

It's been more than a while but unfortunately, the problem still exists. (Ubuntu 22.04) Going through the related issue on vscode's github repo (here), I found a temporary fix for GNOME that worked ...
0 votes

Re-attach detached Terminal Tabs

Try Mate Terminal on Ubuntu 18.04 It is available in apt: sudo apt update sudo apt install mate-terminal I use Mate Terminal (1.20.0) on Ubuntu 18.04, and I confirm that the workaround solution given ...
0 votes

Failed to start Process error reports when automatic reporting is enabled

Disabling the apport service did it for me on Ubuntu 22.10: sudo systemctl disable apport.service
  • 31
2 votes
Accepted

WiFi not working Ubuntu 18.04 (with upgraded Kernel 5.19) on Razer Blade 15 eraly 2022

As we suspected, you require firmware. With a working internet connection by ethernet, tethering or whatever means possible, please open a terminal and do: cd /lib/firmware sudo wget https://git....
  • 56.6k
0 votes

VS Code causes 17.10, 18.04 randomly and completely freeze

If you use cmake from VS Code, it uses all processors and then GUI frezees. You must decrease number of processor usage like below: Enter file>preference>settings at VS Code Search cmake....
0 votes

Could not install LLVM11 in Dockerfile

The Dockerfile you have posted has commented lines, so I'm not sure what you want to execute and what not. But you should install the dependencies before installing the package, and you sould execute ...
  • 1
0 votes

Received "Update standard folders to current language?" message, now Documents folder is empty

This came up on Ubuntu 22 when I had redirected my Desktop & Documents folders to Dropbox in order to backup automatically in the cloud. I said no and don't ask again since I had deliberately made ...
  • 1
0 votes

WiFi connection error: deauthenticating by local choice (Reason: 3=DEAUTH_LEAVING)

I'm on MX Linux and I face this problem literally every day, I don't know what is the root cause of the problem, but I do have a script which solves the problem for me every time. My wifi adapter is '...
1 vote

What is creating /run/netplan/eth0.yaml?

To be slightly more precise, this file is created by the netinfo_to_netplan() routine, called by top-level function configure_networking in the scripts/functions file on your initrd.img. I was really ...
  • 11
0 votes

I cannot open the menu editor (menulibre)

As a make-shift solution I found the alacarte menu editing tool, which is in the standard distro repository. I could expediently install it with the Synaptic Package Manager or, alternatively, run ...
0 votes

Steam won't launch in Ubuntu 18.04 after switching to nvidia graphics

This command __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia steam works for me. But after restart, it works out of the box. See my full answer in other post
  • 199
0 votes

Can't upgrade Ubuntu Mate from 18.04 to 20.04

Found it! It was simple: I just added the following line at my sources.list deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted Now I'm at 20.04 & have trouble to find my admin ...
  • 111
0 votes

Black screen at boot after Nvidia driver installation on Ubuntu 18.04.2 LTS

Just want to add some comments based on the above answers, I believe the most important thing in my case is, you have to make sure to install the correct nvidia driver, never blindly follow other ...
0 votes

Cisco Anyconnect not working on Ubuntu 18.04 with two-factor authentication

You probably need the latest version of the Cisco AnyConnect client. I've had that issue before. As the server gets updated, you must update your client app too. They frequently are not backwards-...
0 votes

Realtek 8169 Gigabit ethernet adapter only 100Mbps in Dell Inspiron 5565, driver install did not solve

for me was bcs of copper rj45 pass-through yes not cable a copper
  • 199
0 votes

nvcc permission denied when building xgboost with GPU support, ubuntu 18.04

The CMAKE variable CMAKE_CUDA_COMPILER is set incorrectly to the directory (/usr/local/cuda/bin) instead of to the full path to the compiler executable (/usr/local/cuda/bin/nvcc).
1 vote

How do I determine what's causing my Terminology terminal startup lag?

I know this is very old but I've started having the same problem over time. I could not pinpoint exactly why it started happening, but the way I fixed it was by resetting the elementary configuration ...
  • 13
0 votes

Visual Studio Code doesn't start in Ubuntu

You've installed it via the Snap Store. Run snap run code from a terminal and see the command's output for hints.
  • 132
-1 votes

Touchpad recognized, but cursor not moving

Just solve the issues. I think that portable mouse and keyboard users will face these types of issues because of the inactive of your mouse. So the mouse setting automatically turns of the mouse ...
0 votes

Slack cannot open files on external drive (in /mnt and /media)

I too had faced the same issue. This is because the app did not have permission to read/write files on removable storage devices. To resolve this: Go to ubuntu setting. Go to Application. Search for ...
  • 113
0 votes

Ubuntu dash on second monitor

Ubuntu 22.04 Go to Settings -> Appearance -> Dock -> click on Show on dropdown -> Select All displays And as @damadam said, for the top bar use https://askubuntu.com/a/1030468/829702 See ...
0 votes

Apparmor not generating profile

Do you have #!/bin/bash at the top of your script? Just had the same issue, and as soon as I added the line AppArmor worked as expected.
0 votes

Keyboard input lag in Ubuntu 18.04

Are you using Compton? If so, please see https://askubuntu.com/a/1439993/682596 Basically, Compton could be at fault for creating these key delays. As soon as I start Compton manually in a similar ...
1 vote

playing sound hangs on ubuntu (18.04 then 20.04 after upgrade)

The problem seems fixed for now so I will share what I did that may have fixed it (I'll update if it turns out to be not the case): I noticed that there was a process taking too much CPU: /sbin/...
0 votes

AMD Graphics not detected

In my case the problem was at line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset" You can find the grub file at /etc/default/grub which can be edited with sudo nano /etc/default/grub ...
0 votes

Can't move/snap Nautilus window to occupy left or right half of the 1366x768 screen - is it just me?

The workaround provided by UnKNOWn worked fine for me (reducing the width of the dock from default 48 to 47/46). Remmember you can also use the graphical interface (Settings > Dock) to achieve ...
0 votes

My battery won't charge when plugged in (Ubuntu 18.04)

Happened to me as well after Ubuntu installation, fixed it with the power button trick. Often when there is some kind of a problem with these HW related things, especially battery, this works since ...
  • 101
0 votes
Accepted

I broke Ubuntu and want to backup all the installed programs and files to a USB

For most users, personal files are in your /home directory. Most is stored in "hidden" files, which are simply normal files and directories that start with a period (.) like ~/.config/ -- ...
0 votes

How can I run a Bash script every time is plugged an USB device?

I developped a Python script that listens for specific devices and executes an action when the device is connected, eg: pip install udev_monitor udev_monitor.py --devices 0665:5161 --filters=usb --...
0 votes

How to change screenshot application to Flameshot on Ubuntu 18.04?

Just an update to the solution that other people wrote about already. If you did everything correct and still nothing happens when pressing the "Print Screen" button. Double check if you ...
  • 121
0 votes

suspended overheating problem on DELL G5 15 5590; 18.04 bionic - best way to proceed?

I have this laptop, and by no means am expert or anything. But if you are having issues with heating and fans going up first and the most simple thing to do is to go to BIOS by pressing F12 at start ...
0 votes

System audio problems while Android emulator is running

it partially worked for me. I use a 25 inch monitor next to the notebook with my speakers connected to the monitor and with ubuntu 22.04. When running both commands, I was no longer able to manually ...
0 votes

mysql service always crashes

I know this thread is old but today I also had to edit that file. The error message is already telling what happens. Is that if you try to edit the file you saw in that other post, the file is not ...
  • 101
4 votes

How to know if/when a package will be updated?

If you are concerned with how to install the TbSync add-on in your Ubuntu version, there are two options to install it in a way that does not depend on the version in Ubuntu repos. By using either of ...
0 votes

Failed to load rescue target after fsck

I had a very similar problem when accidentally removed whole folder /usr/lib/systemd/system. I eventually succeeded to fix it: created the twin-VM version (Ubuntu 20.04 in my case), mounted into it ...
  • 101
-1 votes

apt-get upgrade: giving 403 Forbidden error for almost all the links

[Linux Instructions] [Software Sources][Additional Repositories] Uncheck the repository that was giving the 403 error [Software Sources] When prompted to reload, say OK [Terminal] Verify the issue is ...
  • 97
0 votes

How to stop Ubuntu from changing numlock state on boot?

I actually wanted to disable numlock but this may well also force the enable situation as well. I installed numlockx by running: sudo apt install numlockx and set the default status in /etc/default/...
0 votes
Accepted

Can't display virtual console

It's just that it doesn't display the console, but it is still there. Following this answer (blindly) resolved my issue.
  • 103
-1 votes

HDMI port not detected on Ubuntu 18.04

If your monitor suddenly stops displaying hdmi after a reboot or something else, it means there is something wrong with the Xserver process, here are my suggestions: Solution 1: Unplug your hdmi , ...
0 votes
Accepted

autostart x server in Lubuntu, login loop

First setup to boot in text mode: in /etc/default/grub: comment the line with GRUB_CMDLINE_LINUX_DEFAULT and set GRUB_TERMINAL=console save. Then setup auto login: sudo systemctl edit getty@tty1 in ...
  • 103
0 votes

Broken fonts for code formatting blocks in slack and chrome in Ubuntu 18.04

Heavily inspired by a similar resolution to a different problem, this is the simplest way to fix horrible looking code fonts in slack without having to re-install chrome or other drastic measures. ...
0 votes

letter keys scrambled in ubuntu 18.04

I would fan/mash the keyboard, pressing all keys to make sure nothing is stuck. Then restart into single user mode so you can have a command line interface. From there I would expect there are ...
0 votes

Cannot access windows share: GUI "Unable to access location" terminal mount: cannot mount read only

That didn't worked for me so i kept searching and found the solution for this sudo apt-get install ntfs-3g then simple restart refer to this link for further information

Top 50 recent answers are included