Skip to content

Instantly share code, notes, and snippets.

@valyakuttan
Last active February 11, 2024 18:41
Show Gist options
  • Save valyakuttan/ad5fe79f3b75edb003f32e74c775303f to your computer and use it in GitHub Desktop.
Save valyakuttan/ad5fe79f3b75edb003f32e74c775303f to your computer and use it in GitHub Desktop.
How to Customize Fedora Silverblue on ASUS VivoBook

How to Customize Fedora Silverblue on ASUS VivoBook

  1. Enable Fractional scaling on wayland

          $ gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"
  2. Add Flatpak remotes and other third-party repositories

    • Flathub remote:

          $ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
    • Flabhub Beta remote:

         $ flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
    • To update the application catalog:

          $ flatpak update --appstream
  3. To remove base packages like pre-installed firefox:

          $ rpm-ostree override remove firefox firefox-langpacks
  4. To set battery charge threshold

          /etc/systemd/system/battery-charge-threshold.service
          ----------------------------------------------------
          
          [Unit]
          Description=Set the battery charge threshold
          After=multi-user.target
          StartLimitBurst=0
    
          [Service]
          Type=oneshot
          Restart=on-failure
          ExecStart=/bin/bash -c 'echo 70 > /sys/class/power_supply/BAT0/charge_control_end_threshold'
    
          [Install]
          WantedBy=multi-user.target
    
  5. To reload systemd daemon:

          $ sudo systemctl daemon-reload
  6. To enable systemd service:

          $ sudo systemctl enable --now battery-charge-threshold.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment