I remember in debian i changed / etc/default/grub. and i gave the command: update-grub. How can I do this in openSUSE? I use a notebook acer aspire and need to lower the screen brightness.
On 2014-10-09 00:26, DodgeExpress wrote:
>
> I remember in debian i changed / etc/default/grub. and i gave the
> command: update-grub. How can I do this in openSUSE?
Telcontar:~ # head /etc/default/grub
# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update
# /boot/grub2/grub.cfg.
GRUB_DISTRIBUTOR="openSUSE"
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash=verbose loglevel=3"
GRUB_CMDLINE_LINUX=""
Telcontar:~ #
HTH?
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
Create a script named update-grub
in /usr/local/sbin
printf '%s
grub2-mkconfig -o /boot/grub2/grub.cfg' '#!/bin/bash' > /usr/local/sbin/update-grub
make it executable
chmod u+x /usr/local/sbin/update-grub
Now you can run update grub any time any where as root, although i do not know if you can use sudo for that.
Assuming grub2-mkconfig has the same implementation of update-grub in *buntu of course :).
Sorry Debian