Skip to content

Instantly share code, notes, and snippets.

View dmedinag's full-sized avatar

Dani dmedinag

View GitHub Profile
@giuseppe998e
giuseppe998e / gdm-fractional_scaling.md
Last active June 13, 2024 11:56
GDM - Setup display fractional scaling
  1. Check if you are running X11 or Wayland:
    • echo $XDG_SESSION_TYPE
  2. Copy your monitors.xml config file into GDM home directory:
    • sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
    • sudo chown gdm:gdm ~gdm/.config/monitors.xml
  3. Access GDM's shell:
    • sudo machinectl shell gdm@ /bin/bash
  4. Enable scale-monitor-framebuffer experimental feature:
    • On Wayland: gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"
  • On X11: gsettings set org.gnome.mutter experimental-features "['x11-randr-fractional-scaling']"
@wisentini
wisentini / google-chrome-dark-mode-linux-gnome.md
Last active October 20, 2022 09:58
Enable dark mode on Google Chrome under Linux (GNOME environment).

Enable dark mode on Google Chrome under Linux (GNOME environment)

  1. Create a new google-chrome.desktop file using Chrome's default:

    cp /usr/share/applications/google-chrome.desktop ~/.local/share/applications/google-chrome.desktop
  2. Edit the google-chrome.desktop file that was just created: