Skip to content

This guide will help you set up Fedora on Windows Subsystem for Linux (WSL), install essential tools, and configure fractional scaling for graphical sessions.

Notifications You must be signed in to change notification settings

nilsl88/fedora-wsl-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Fedora 42 on Windows WSL: Quick Start Guide

This guide will help you set up Fedora on Windows Subsystem for Linux (WSL), install essential tools, and configure fractional scaling for graphical sessions.

References


1. Install WSL

Open PowerShell with Administrator rights and run:

wsl --install --no-distribution

2. Reboot your machine

Run the following command in PowerShell to reboot immediately:

shutdown.exe /r /t 0

3. List available distributions

After rebooting, list available WSL distributions:

wsl --list --online

4. Install Fedora

To install Fedora (for example, Fedora Linux 42):

wsl --install -d FedoraLinux-42

5. Install useful tools

Once Fedora is installed and running, install useful tools by running:

sudo sed -i '/^\[main\]$/a max_parallel_downloads=20' /etc/dnf/dnf.conf

sudo dnf install -y vim-enhanced nano bat git wget curl axel zstd bash-completion ncdu btop htop nmon tmux fuse-sshfs waypipe

5.1 Set up an SSH key for the current user

ssh-keygen -t ed25519 -a 100 -N "" -f ~/.ssh/id_ed25519 -q

5.2 Fix Fractional Scaling for waypipe (if needed)

If fractional scaling is not working, add the following workaround:

tee ~/.wlsgconfig > /dev/null << EOF
[system-distro-env]
WESTON_RDP_DISABLE_FRACTIONAL_HI_DPI_SCALING=false
WESTON_RDP_DEBUG_DESKTOP_SCALING_FACTOR=175
EOF

6. Reboot or close all running WSL instances if Waypipe still has issues

wsl --shutdown

About

This guide will help you set up Fedora on Windows Subsystem for Linux (WSL), install essential tools, and configure fractional scaling for graphical sessions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published