If you have any questions or suggestions, please feel free to leave a comment. I hope this quick little tutorial fixed the tab completion problem for you. You can edit the file in terminal using a terminal based text editor like Vim. ![]() usr/share/bash-completion/bash_completion You can then add the following lines to your bashrc file: # enable bash completion in interactive shells If it doesn’t exist already, you should create it. If not, you can manually edit your bash configuration file present at ~/.bashrc sudo apt install -reinstall bash-completion ![]() Normally, this should fix the problem but if bash-completion is already installed and you still have the problem, you may try reinstalling it. Further troubleshooting the auto completion You’ll need to logout (or exit the shell) to see its effect. You can quickly and easily install this package using the standard apt command: sudo apt install bash-completion The newly installed Ubuntu server was missing the bash-completion package. But this also means that the Linux install will have only a handful of packages.Īnd that’s what happened in this case. You see, some cloud servers prefer to have a minimal image of the Linux distribution because it saves time in deployment. Tab completion is so much a part of Linux that you would never think that this is something that needs to enabled explicitly. Enable tab completion in Ubuntu and Debian based Linux distributions Good thing is that it can be easily fixed. It negatively impacts your productivity and you feel like an important part of your terminal is missing. Imagine the horror of working in Linux command line where tab completion is not working. ago Enter a tty: ( ctrl+alt+f3 ) Login Download another terminal emulator like xterm or something and then switch back to the desktop (i think that's ctrl+alt+f7) and see if you can open that one. Tab completion is one of the essential terminal shortcuts I cannot live without. turning the whole laptop on and off yes i did urinalcaketopper 2 yr. ![]() The tab completion was not working properly. While using the server, I noticed something weird. One of the first few things I did was to create a sudo user on this newly created test server running Ubuntu 18.04 LTS. UpCloud is a cloud server provider with excellent performance. Since we are going to cover a lot of DevOps, SysAdmin and scripting related tutorials in the future, I created a dedicated test server on UpCloud. Perfect for when you want to undo a change (but don’t know how), or you wish to start over with a clean slate.On Linux Handbook, I always test things before writing. Wrap UpĪnd that’s it two simple commands to reset Ubuntu Dock settings to its original values. Obviously, if you uninstall any of the apps the dock is hardcoded to contain (e.g., LibreOffice, the Firefox snap package, etc) those won’t magically reappear (or, for your peace of mind, be reinstalled). Type or copy & paste the following command then hit enter:ĭconf reset -f /org/gnome/shell/extensions/favorite-apps.If you want to restore the default set of dock shortcuts do this: While the above command above will reset the dock’s settings to their original values it won’t change the app shortcuts that are placed on it. Type or copy & paste the following command then press enter:ĭconf reset -f /org/gnome/shell/extensions/dash-to-dock/Īs soon as you hit the enter key (or return, I forget which country calls it what) the dock instantly resets, likely blinking or glitching for a split second as it moves back to its original location, icon set, focus behaviour, and everything else.To revert to “out of the box” settings on all supported versions of Ubuntu, do as follows. ![]() Undo the experiments and get back to basics
0 Comments
Leave a Reply. |