sudo nano /etc/default/grub
# Add this:
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
# UPDATE! This does both file locations so no need to check which
grub2-mkconfig -o "$(readlink -e /etc/grub2.conf)"
parted /dev/sdb mklabel msdos
parted -a optimal /dev/sdb mkpart primary fat32 0% 100%
mkfs.vfat /dev/sdb1
Hardware
Users
wavemon: wireless monitor, curses, dynamic
sudo iwlist wlp0s29f7u6 scan
root@matts:/home/matte# cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
echo 1 > /proc/sys/vm/swappiness
echo 88 > /proc/sys/vm/dirty_ratio
echo 50 > /proc/sys/vm/dirty_background_ratio
echo 10 > /proc/sys/vm/vfs_cache_pressure
exit 0
root@matts:/home/matte#
Open /etc/default/grub in your favorite editor; you will need to use sudo (for vi, nano, etc.) or gksudo (for gedit, etc.).
Then add consoleblank=0 to the GRUB_CMDLINE_LINUX_DEFAULT=, parameter.
e.g. yours may say:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash consoleblank=0"
Then run sudo update-grub, and reboot.
STOP CONSOLE SCREEN BLANKING
Or you use /etc/kbd/config
BLANK_TIME=0
BLANK_DPMS=off
What do I restart when having KBD config change ?
Seems to be /etc/init.d/kbd reload –
...or
/etc/console-tools/config. If you'd prefer not to modify the config file, the same effect can be achieved by creating a new file in /etc/console-tools/config.d containing the following:
BLANK_TIME=0
POWERDOWN_TIME=0