Logs | Page 8 of 8

These logs are random snippets of information that have been useful to me in the past. Hopefully they help you too!


NVidia kernel module reinstall

You need to reinstall the driver every time you update your linux kernel. This is so that the nvidia kernel module is correctly created inside the appropriat...

Change tab stop size for git diff

Customize the tab stop size in git diff by using $ git config --global core.pager "less -x5,9". man less to look at all options.

Reload NVidia kernel module after suspend

So I was facing this problem wherein the nvidia kernel module seemed to be getting unloaded after the computer was put to sleep. This can be resolved by expl...

Retain colors after piping through less

In order to retain colours when passing output through less, use the -R option. Also ensure that the program sending output is configured to send out colour ...

Stop Alt activating the HUD

The way to stop the HUD from popping up every time you accidentally press the alt key is similar. Go to System Settings -> Keyboard -> Shortcuts -> ...

IPython configuration

For ipython configuration information, do ipython config -h. The default ipython profile is located in ~/.config/ipython. This is not present until generated...

Installing new bash completion files

If you want to install a new completion file, for example django_bash_completion, then simply add the script to /etc/bash_completion.d/. The rest is taken ca...