Originally Posted by
Raymond Day
So I added this to /etc/default/grub
# Turn screen off after 60 sec. of no use.
GRUB_CMDLINE_LINUX_DEFAULT="consoleblank=60"
Then ran the update-grub command.
After a reboot will see if it works.
O.K. sounds right.
Originally Posted by
Raymond Day
Did I do the Grub command wrong some how?
It looks O.K. to me.
Originally Posted by
Raymond Day
There is a command to show if it's working I did this:
Code:
Code:
root@rayday-tablet:~# grep consoleblank /boot/grub/grub.cfg
linux /vmlinuz-5.4.0-47-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro consoleblank=60
linux /vmlinuz-5.4.0-47-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro consoleblank=60
linux /vmlinuz-5.4.0-45-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro consoleblank=60
root@rayday-tablet:~#
Should it show 3 of them? Maybe that is what is wrong. It is does like 60x60x60 that would be a long time before it does it. Not sure.
I think it should be 1 per kernel, plus 1 repeated for the default kernel. I get a bit different, but think it is a red herring. I have 30 kernels installed at the moment, so won't show all:
Code:
linux /boot/vmlinuz-5.4.0-42-generic root=UUID=0ac356c1-caa9-4c2e-8229-4408bd998dbd ro ipv6.disable=1 consoleblank=450 intel_pstate=passive msr.allow_writes=on cpuidle.governor=teo
what does your kernel command line show? here is mine:
Code:
$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.9.0-rc4-stock root=UUID=0ac356c1-caa9-4c2e-8229-4408bd998dbd ro ipv6.disable=1 consoleblank=450 intel_pstate=passive msr.allow_writes=on cpuidle.governor=teo
Bookmarks