Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to uninstall #2

Open
dblanchard opened this issue Mar 14, 2020 · 3 comments
Open

How to uninstall #2

dblanchard opened this issue Mar 14, 2020 · 3 comments

Comments

@dblanchard
Copy link

Firstly, thank you for this code. I have it running on one system where I truly needed it. Thank you, much.

I screwed up and installed this on another Raspberry Pi 3 B+ running RetroPie that doesn't need it. The Pi that I mistakenly installed it on is connected to a projector over HDMI, and I ran $ ./rotate.sh 90 to correct the rotation on my projection screen, but now the image is in portrait mode, both in EmulationStation and in the shell/terminal.

I would like to uninstall this on the Pi connected to my projector, but can't see how. It may be as simple as deleting something, but I am a pretty green noob and am worried about screwing stuff up even further.

Any help would be greatly appreciated.

Thanks again.

@dblanchard
Copy link
Author

Bump.

@briwa
Copy link

briwa commented May 30, 2020

@dblanchard Not the owner, but as far as I know (been using this script for my own Pi as well), there isn't really a way to uninstall. The scripts (both the install script and the rotate script) modifies the /boot/config.txt file and adds overlays to your Pi, which configures your display on the LCD, and eventually affects the HDMI. If you open that file, there should be lines at the end that goes:

[all]
hdmi_...
dtoverlay_..

If you're not modifying anything else in /boot/config.txt, these lines at the end should be the ones that they added. Comment out or delete the lines, save and reboot, and it should "undo" what the script does, fixing the rotation issue you have. It does not necessarily uninstall everything though as I said earlier, there are many other things that the script does like installing the touch drivers and overlays which depending on how you install it, could be tricky to remove one by one. Hope this helps.

EDIT: The lines that affect the display, the ones you're looking to remove I think are these from the install script, and these from the rotate script. Find the lines that resembles those words in /boot/config.txt and remove them (or comment them out if you're unsure). That should undo all the display issues.

@cjonasw
Copy link

cjonasw commented Jun 11, 2021

Bump.

RetroPie now is unusable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants