Skip to content

Instantly share code, notes, and snippets.

@lelinhtinh
Last active August 29, 2023 17:37
Show Gist options
  • Save lelinhtinh/2e581bcf1058733ee13cc97a7a08cf2a to your computer and use it in GitHub Desktop.
Save lelinhtinh/2e581bcf1058733ee13cc97a7a08cf2a to your computer and use it in GitHub Desktop.
Make GNOME Like Windows

Make GNOME like Windows

GNOME Tweak tool

sudo apt install gnome-tweaks

GNOME extensions

sudo apt install chrome-gnome-shell gnome-shell-extensions

GTK+ 3.20 or later

  • Set windows button on gnome for a better experience.

Gnome ≥ 3.22:

gsettings set org.gnome.desktop.wm.preferences button-layout appmenu:minimize,maximize,close

GTK2 engines requirment

  • GTK2 engine Murrine 0.98.1.1 or later.
  • GTK2 pixbuf engine or the gtk(2)-engines package.

Fedora/RedHat distros:

dnf install gtk-murrine-engine gtk2-engines

Ubuntu/Mint/Debian distros:

sudo apt install gtk2-engines-murrine gtk2-engines-pixbuf sassc

ArchLinux:

pacman -S gtk-engine-murrine gtk-engines

Other:

Search for the engines in your distributions repository or install the engines from source.

Install

cd ~/
git clone https://github.com/vinceliuice/Qogir-theme.git .Qogir-theme
cd ~/.Qogir-theme
./install.sh --tweaks square -c dark
./install.sh --tweaks square -c dark -d $HOME/.themes
sudo ./install.sh --tweaks square -c dark -d /usr/share/themes

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.gtk.Gtk3theme.Qogir-dark
sudo flatpak override --filesystem=$HOME/.themes
sudo flatpak override --filesystem=$HOME/.icons
sudo flatpak override --env=GTK_THEME=Qogir-dark
sudo flatpak override --env=ICON_THEME=Qogir-dark

sudo snap install qogir-themes
for i in $(snap connections | grep gtk-common-themes:gtk-3-themes | awk '{print $2}'); do sudo snap connect $i qogir-themes:gtk-3-themes; done
for i in $(snap connections | grep gtk-common-themes:icon-themes | awk '{print $2}'); do sudo snap connect $i qogir-themes:icon-themes; done

Firefox theme

cd ~/.Qogir-theme
cp -r src/firefox/chrome ~/.mozilla/firefox/*.default-release
cp src/firefox/configuration/user.js ~/.mozilla/firefox/*.default-release

Fix CSD have sharp corners

See upstream bug.

echo $XDG_SESSION_TYPE

Wayland fix:

  1. Go to the about:config page
  2. Search for the layers.acceleration.force-enabled preference and set it to true.

X11 fix:

  1. Go to the about:config page
  2. Type mozilla.widget.use-argb-visuals
  3. Set it as a boolean and click on the add button
cd ~/
git clone https://github.com/vinceliuice/Qogir-icon-theme.git .Qogir-icon-theme
cd ~/.Qogir-icon-theme
./install.sh
./install.sh -d $HOME/.icons
sudo ./install.sh -d /usr/share/icons
cd src/cursors
sudo chmod +x ./install.sh
sudo ./install.sh
cd ~/
git clone https://github.com/vinceliuice/Qogir-kde.git .Qogir-kde
cd ~/.Qogir-kde
./install.sh
sudo add-apt-repository ppa:papirus/papirus
sudo apt update
sudo apt install qt5-style-kvantum qt5-style-kvantum-themes
kvantummanager
@lelinhtinh
Copy link
Author

Update

git pull
sudo chmod +x install.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment