Skip to content

Instantly share code, notes, and snippets.

View filipkania's full-sized avatar
🌊

Filip Kania filipkania

🌊
  • ::1, Poland
  • 21:22 (UTC +02:00)
View GitHub Profile
@opalmay
opalmay / install-gnome.sh
Last active November 19, 2021 08:30 — forked from filipkania/install-gnome.sh
Install GNOME 40 on your Pop-OS! 21.04 (updated)
#!/bin/sh
# This has been forked to work with pop 21.04.
# Keep in mind this will delete the existing POP de and replace it with gnome 40.
# You should still be able to enable the POP theme and extentions.
# If you aren't sure of the implications you can always try it in a vm first.
#
# Please, create recovery usb before installing it.
# You're using it on your own risk.
#!/usr/bin/ruby
# Create display override file to force Mac OS X to use RGB mode for Display
# see http://embdev.net/topic/284710
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten