Skip to content

Instantly share code, notes, and snippets.

@octopusgreen
octopusgreen / setres.sh
Created April 20, 2022 10:23
emuelec 4.3 modified file
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
# Read the video output mode and set it for emuelec to avoid video flicking.
# This file sets the hdmi output and frame buffer to the argument in pixel width.
# Allowed argument example ./setres.sh 1080p60hz <-- For height 1080 pixels.