A comprehensive guide for setting up Anaconda Navigator on Fedora 41 Workstation with Wayland display server and NVIDIA graphics.
- Fedora 41 Workstation
- NVIDIA GPU (commands focused on RTX 4070)
- Wayland session
- GNOME desktop environment
Install required Qt components:
sudo dnf install qt5-qtwayland qt6-qtwaylandDownload and install Anaconda:
cd ~/Downloads
curl -O https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh
sha256sum Anaconda3-2024.10-1-Linux-x86_64.sh
bash Anaconda3-2024.10-1-Linux-x86_64.sh
source ~/.bashrc
Set up Navigator configuration:
mkdir -p ~/.anaconda/navigator/
nano ~/.anaconda/navigator/anaconda-navigator.ini
Add or verify DPI scaling setting:
[main]
enable_high_dpi_scaling = True
Create system icon directory (optional):
mkdir -p ~/Images/System
Create desktop entry:
nano ~/.local/share/applications/anaconda-navigator.desktop
Add the following content (replace username with your actual username):
[Desktop Entry]
Name=Anaconda Navigator
Comment=Scientific Python Development Environment
Exec=/bin/bash -c 'QT_QPA_PLATFORM=xcb NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia /home/username/anaconda3/bin/anaconda-navigator'
Icon=/home/username/Images/System/conda.png
Terminal=false
Type=Application
Categories=Development;Science;IDE;Qt;
StartupNotify=true
MimeType=text/x-python;
Set appropriate permissions:
chmod +x ~/.local/share/applications/anaconda-navigator.desktop
Find and click Anaconda Navigator in your applications menu.
For background process:
QT_QPA_PLATFORM=xcb NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia anaconda-navigator &
- QT_QPA_PLATFORM=xcb: Forces Qt to use XCB instead of Wayland
- NV_PRIME_RENDER_OFFLOAD=1: Enables NVIDIA GPU for rendering
- __GLX_VENDOR_LIBRARY_NAME=nvidia: Uses NVIDIA's GLX implementation