Windows 10 still has some interesting features from older Windows versions.

Windows 10 still has some interesting features from older Windows versions like Windows `98. Apparently, it is possible to disable ACPI shutdown. This means the operating system will shut down to a back screen with the text “It is now safe to power off the system”. This is a setting hidden in the group policy … Read more

How to get the desktop resolution of your monitor on Linux using the command line.

Getting information about your desktop resolution with the Linux command line is very easy to do. This one-liner will print the current desktop resolution. This could be used in a script that will then do something with the output. jason@jason-desktop:~/Videos$ xrandr | awk ‘{if(NR==5) print $0}’ | awk ‘{print $1}’ 3440x1440jason@jason-desktop:~/Videos$ xrandr | awk ‘{if(NR==5) … Read more

How to calculate VESA GTF modelines with the command line on Linux.

Gtf is a utility for calculating VESA GTF modes. Given the desired horizontal and vertical resolutions and refresh rate (in Hz), the parameters for a matching VESA GTF mode are printed out. Two output formats are supported: mode lines suitable for the Xorg xorg.conf(5) file, and mode parameters suitable for the Linux fbset(8) utility. This … Read more

Updating the grub bootloader and setting various options with Ubuntu or Mint.

The grub bootloader used by Ubuntu or Mint is very easy to work with when you wish to add a new kernel or customize the look and feel of the Grub2 bootloader. The listing below is my /etc/default/grub file. This file may be customized with your current desktop resolution so that when the grub menu … Read more