I just installed Ubuntu 18.04 and am having a problem where I experience a 1 to 2 second delay when performing most commands in the gnome-terminal.
For example, if I open a new terminal and type ls<Tab><Tab>
, then the system hangs for about 2 seconds before showing the auto-complete results. This behavior occurs with pretty much any command I try.
If I drop out of the desktop using <Ctrl>+<Alt>+<F3>
then everything runs very fast without any delay. This leads me to believe that the issue has something to do with the graphics. I'm using an NVIDIA GTX 2060 Super with the non-free nvidia drivers. I first tried using the repository drivers nvidia-drivers-435
and when that didn't work I purged and installed the 440.64 drivers manually. Both of these seem to have been successful installations but I'm still getting this annoying hanging issue.
I've also tested my hard-disk read speeds using hdparm -tT /dev/sdc
which indicates that the SSD drive the OS is installed on is working as expected. Before I had this issue I was running Ubuntu 19.10 (but had to revert for software compatibility reasons). I didn't have this issue in 19.10.
Is there some way to debug this so I could see what's actually causing the terminal to hang?
$PATH
? That is, how many directories doesls<TAB><TAB>
need to search? – waltinator Mar 29 '20 at 23:37PATH
is/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
. There are a total of 1967 files in the directories referred to byPATH
. – jodag Mar 29 '20 at 23:38.inputrc
:set bell-style none
). – egmont Mar 30 '20 at 09:58