Skip to content

FedericoHeichou/ubuntu-gaming-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

ubuntu-gaming-mode

Script to activate ubuntu gaming mode

#!/bin/bash
WINDOWS_ENTRY=`grep menuentry /boot/grub/grub.cfg  | grep --line-number Windows`
MENU_NUMBER=$(( `echo $WINDOWS_ENTRY | sed -e "s/:.*//"` - 1 ))
sudo grub-reboot $MENU_NUMBER
sudo reboot

About

Script to activate ubuntu gaming mode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published