I’m trying to get the refresh 120hz on KDE Wayland, it works in X11. I asked elsewhere for support and someone suggested adding video=DP-1:4112x2572@120 as a kernel commandline option.
I figured out how to write the video option, but don’t know where to put it. I looked up what to do but there aren’t clear instructions and how to know if the command is actually taken.
As a simple test you can press ‘e’ when the grub menu appears on boot, then go to the line that mentions rhgb quiet and add the video=[...] text after that. Then you can press F10 to continue booting.
If it works and you want to make it permanent, then you can place it in the file /etc/default/grub on the line that says GRUB_CMDLINE_LINUX. E.g.:
I don’t think it’s easier really, using a default config file is imo the simplest approach. Grubby is an extra abstraction layer with it’s own command parameters that doesn’t really make it more straightforward.
Actually it is much simpler.
It modifies /etc/kernel/cmdline, /etc/default/grub, the files under /boot/loader/entries, and also updates /boot/grub2/grub/cfg.
Then the next boot those new kernel options are effective.
If the user tries to do so manually it takes at least 2 edits (/etc/kernel/cmdline & /etc/default/grub) as well as running grub2-mkconfig while grubby does it all in one command.
I meant simple in the linux/unix way, not simple in the way that one abstracting tool performs a number of functions in different places. Since the functions it abstracts are already very straightforward and simple, it only adds unnecessary complexity. It doesn’t really solve anything new, and it doesn’t teach the user about the way their system is set up beneath the abstraction. I just don’t really like it.