Code Monkey home page Code Monkey logo

rdr2-grub-theme's Introduction

Grub Themes: Red Dead Redemption 2

Make your Grub look like you are inside the game.

Previews

abigail-roberts arthur-morgan bill-williamson
Abigail Roberts Arthur Morgan Bill Williamson
charles_smith dutch_van_der_linde hosea_matthews
Charles Smith Dutch Van Der Linde Hosea Matthews
john-marston lenny micah-bell
John Marston Lenny Micah Bell
sadie-adler simon-pearson uncle
Sadie Adler Simon Pearson Uncle

Installation

There are many ways to install this theme.

Prerequisites

Required packages:

Installing git

debian/ubuntu (apt)

$ sudo apt-get update
$ sudo apt-get install git

Fedora/CentOS

[dnf]

$ sudo dnf install git

[yum]

$ sudo yum install git

arch

$ sudo pacman -S git

Installation via Script

The script provides a nice Cli based prompt for simple installation of the themes, including multiple choice prompts and backgrounds, and the ability to create tarball based on different specifications.


Cloning the repository

$ git clone https://github.com/NAHDI51/rdr2-grub-theme.git

Navigating to the cloned directory and Running the script

cd rdr2-grub-theme
sudo chmod +x main.sh
./main.sh

Running this script, you'll be prompted to a multiple-choice based system, which is mostly self explanatory. upon completion, the theme will be installed in your system.


Installation via GRUB-Customizer

Required packages

Installing grub-customizer

debian/ubuntu (apt)

$ sudo add-apt-repository ppa:trebelnik-stefina/grub-customizer
$ sudo apt update
$ sudo apt install grub-customizer

Fedora/CentOS

[dnf]

$ sudo dnf install grub-customizer

[yum]

$ sudo yum install grub-customizer

Arch

$ sudo pacman -S grub-customizer

Cloning the repository

$ git clone https://github.com/NAHDI51/rdr2-grub-theme.git

Install a theme with GURB Customizer

  • Open grub customizer. Type
$ sudo grub-customizer
  • Click on the Appearance settings tab
  • Enable custom resolution and select your resolution, e.g 3840x2160
  • Press the add theme button, then navigate to the directory where you cloned. Afterwards, navigate to themes. In other words, navigate to
$DIR/rdr2-grub-theme/themes
  • Click on the archive file you want you want. In other words, click on
{$CHARACTER_NAME}.tar.gz
  • Reboot your system and enjoy.
systemctl reboot

Manual Installation



The most complicated one, but not hard nonetheless.

Clone the repository and navigate to it.

git clone https://github.com/NAHDI51/rdr2-grub-theme.git && cd rdr2-grub-theme

Copy the theme folder to the grub themes folder

sudo cp -a create/$(CHARACTER_NAME) /usr/share/grub/themes

Replace $(CHARACTER_NAME) with the name of the character theme you want to install.

Edit grub configuration file

sudo nano /etc/default/grub

And add the line:

GRUB_THEME="/usr/share/grub/themes/$(CHARACTER_NAME)/theme.txt"

Again, replace $(CHARACTER_NAME) with the name of the character theme you want to the install.

If there are any other instances of GRUB_THEME variable, be sure to comment it.

# GRUB_THEME="path/to/another/theme"

Update grub

Create a script and enter to edit it.

touch grub-update.sh
nano grub-update.sh

Add the following lines in the file:

#!/bin/bash

# checks whether a command is available
function has_command() {
  command -v $1 > /dev/null
}

# Updates the grub
grub-update() {
    if has_command update-grub; then
        update-grub
    elif has_command grub-mkconfig; then
        grub-mkconfig -o /boot/grub/grub.cfg
    elif has_command grub2-mkconfig; then
        if has_command zypper; then
            grub2-mkconfig -o /boot/grub2/grub.cfg
        elif has_command dnf; then
        grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
        fi
    fi
}

grub-update

Run this script.

sudo chmod +x grub-update.sh
sudo ./grub-update.sh

And the theme is installed in your system.

rdr2-grub-theme's People

Contributors

nahdi51 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.