{"id":28907347,"url":"https://github.com/cognaque/setup-42-gnome","last_synced_at":"2026-05-08T04:47:41.188Z","repository":{"id":295655874,"uuid":"990778778","full_name":"Cognaque/SetUp-42-GNOME","owner":"Cognaque","description":"Fedora 42 Installation on Lenovo Ideapad Gaming 3 with NVIDIA","archived":false,"fork":false,"pushed_at":"2025-05-28T00:11:25.000Z","size":4097,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-20T05:45:21.184Z","etag":null,"topics":["fedora-adjustment","fedora-workstation","gnome","linux"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cognaque.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-26T16:09:58.000Z","updated_at":"2025-06-11T02:56:14.000Z","dependencies_parsed_at":"2025-05-26T18:19:34.622Z","dependency_job_id":"74ff2d60-83a5-4176-b112-1293579b80ff","html_url":"https://github.com/Cognaque/SetUp-42-GNOME","commit_stats":null,"previous_names":["cognaque/setup-48","cognaque/setup-42-gnome"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Cognaque/SetUp-42-GNOME","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cognaque%2FSetUp-42-GNOME","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cognaque%2FSetUp-42-GNOME/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cognaque%2FSetUp-42-GNOME/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cognaque%2FSetUp-42-GNOME/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cognaque","download_url":"https://codeload.github.com/Cognaque/SetUp-42-GNOME/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cognaque%2FSetUp-42-GNOME/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261153553,"owners_count":23116910,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fedora-adjustment","fedora-workstation","gnome","linux"],"created_at":"2025-06-21T16:01:01.273Z","updated_at":"2026-05-08T04:47:41.178Z","avatar_url":"https://github.com/Cognaque.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![lockscreen.png](attachment/lockscreen.png)\n ![dualM.png](attachment/dualM.png)\n ![dualM2](attachment/dualM2.png)\n![gdm_user.jpeg](attachment/gdm_user.jpeg)\n![gdm_login.jpeg](attachment/gdm_login.jpeg)\n\n![Fastfetch](attachment/fastfetch.png)\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"attachment/vitals.png\" alt=\"Vitals\"\u003e\n\u003c/p\u003e\n\n\n## Watch the Setup in Action on Youtube \n[![Watch the video](https://img.youtube.com/vi/wTj45232NoY/maxresdefault.jpg)](https://youtu.be/wTj45232NoY?si=SS9glJRq8sN5I_6k)\n\n---\n\nThey’ve got a new installer with Fedora 42 — and I’ve got to say, **this is hands down the best minimal OS installer I’ve seen so far**. I mean, it feels like you’re installing an OS the way you install apps on Windows — just clicking “Yes” all the way through. It’s _that_ smooth.\n\nSo I hope you won't have any problem with installing fedora. \n## 🛠️ Post-Install Tweaks (Step-by-Step)\n\n### ⧩ Note\n\n**If your laptop can update firmware without Windows, definitely look into it.**\nIt’s one of those small things that makes your life easier in the long run.\n\n\u003e **Here is how to update firmware**\n\n### ⧩ Note\n\n**Before updating to new firmware**, check the discussion forums or blogs related to your specific laptop model.\nIf other users report that the **firmware update works without issues**, it’s generally safe to proceed.\n**BIOS updates are especially critical**, so exercise extra caution.\n**Make sure to research thoroughly online before installing any firmware updates.**\n\n```\nsudo dnf install fwupd\nsudo fwupdmgr refresh\nfwupdmgr get-devices\nfwupdmgr get-updates\nsudo fwupdmgr update\n```\n**Be very careful with the last command. Use the other commands to get your firmware and update details, always crosscheck them on your vendor’s official driver site, and also check forums to see if the updates are causing any issues.**\n\n---\n\n## Network Configuration\n\nI’ve set up a **static IP for my laptop** on my home router using its hardware MAC address. Fedora, by default, uses randomized MACs — great for privacy, sure — but in my case, I have a Nextcloud server that only accepts connections from one static IP (this laptop), so I had to tweak that.\n\nHere’s how you do it:\n\n1. Click on your WiFi network.\n    \n2. Go to **Identity**, and from the MAC address dropdown, choose your actual hardware MAC.\n    \n3. Set the **Cloned Address** to **Permanent**.\n    \n4. Reconnect to your WiFi. Bam — static IP.\n    \n\n### Custom DNS\n\nI use Google DNS — but you can set whatever you prefer.  \nTurn off automatic DNS for both IPv4 and IPv6 and enter these manually:\n\n```\n8.8.8.8, 8.8.4.4 (IPv4)\n2001:4860:4860::8888, 2001:4860:4860::8844 (IPv6)\n```\n\n### Optional — Speed Up Boot\n\nRun this to disable the network wait-on-boot delay:\n\n```\nsudo systemctl disable NetworkManager-wait-online.service\n```\n\n---\n\n## Tweaking the DNF Package Manager\n\nOpen the DNF config:\n\n```\nsudo nano /etc/dnf/dnf.conf\n```\n\nAdd these lines under `[main]`:\n\n```\nmax_parallel_downloads=10\nfastestmirror=1\n```\n\nThen press **Ctrl + X**, then **Y**, and hit **Enter** to save.\n\nBTW, **dnf5** is also auto-installed now — you can use that too if you're curious.\n\n---\n\n## Set Your Hostname\n\nBecause seeing “localhost” in the terminal just sucks.\n\n```\nsudo hostnamectl set-hostname \u003cyourhostname\u003e\n```\n\nThen log out and back in.\n\n---\n\n## Add Repositories\n\nHope you enabled **Third Party Repositories** during Fedora setup. If not, open **Software → Preferences**, and flip that switch.\n\nThen run these to add **RPM Fusion** and **Flatpak** support:\n\n```\nsudo dnf config-manager setopt fedora-cisco-openh264.enabled=1\n\nsudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \\\nhttps://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm\n\nsudo dnf install rpmfusion-*-appstream-data\n\nflatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo\n```\n\n---\n\n## Update the System\n\n```\nsudo dnf update\n```\n\nThen reboot. After logging back in, run:\n\n```\nsudo dnf autoremove\n```\n\nto clean up orphaned dependencies and software. \n\n---\n\n## Installing NVIDIA Drivers\n\n### ⧩ Note\n\n**Don’t just blindly upgrade drivers.** Check the version first — if it’s newer, go ahead. Don’t install random older ones unless you're trying to fix something.\n\n```\nsudo dnf install akmod-nvidia\n```\n\n**⚠️ Don’t reboot just yet.**\n\nFirst, check if the drivers are properly loaded:\n\n```\nmodinfo -F version nvidia\n```\n\nIf it doesn't returns the NVIDIA driver version, **give it a couple of minutes** (max 5). Then try again:\n\n```\nmodinfo -F version nvidia\n```\n\nOnce you see the version info, **now you can reboot**.\n\nAfter reboot, install the rest:\n\n```\nsudo dnf install nvidia-vaapi-driver libva-utils vdpauinfo libva-nvidia-driver xorg-x11-drv-nvidia-cuda\nsudo dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld\nsudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld\n```\n\nCheck if **Nouveau** is disabled:\n\n```\nlsmod | grep nouveau\n```\n\nIf you get nothing, you're good. If not, you'll need to blacklist it — but honestly, that’s rarely needed anymore.\n\n---\n## NVIDIA Prime Offload\n\nFirst Check your Bios. Make sure **secure boot is disabled** and **Switchable graphics** is turned on. After logging in, open your terminal and run  \n\n```\n /sbin/lspci | grep -e VGA\n```\n\nand \n\n```\n/sbin/lspci | grep -e 3D\n```\n\nIf you found your NVIDIA card in the second command, then you are already on Hybrid Mode. \n\nRun \n\n```\nswitcherooctl\n```\n\nIt will give you an output like this \n```\nDevice: 0\n  Name:        Advanced Micro Devices, Inc. [AMD®/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series]\n  Default:     yes\n  Environment: DRI_PRIME=pci-0000_05_00_0\n\nDevice: 1\n  Name:        NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q]\n  Default:     no\n  Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only\n\n```\n\nThat `Default:  no` confirms you are using Hybrid mode.\nNow to run any software on NVIDIA just use the environment variable like this\n\n```\nenv __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only \u003cyoursoftware\u003e\n``` \n\nFor Flatpaks, Install Flatseal and look for the software that you want to run on NVIDIA.\n\nI will take Obsidian for example.\n\n```\n1. Open Flatseal\n2. Click on Obsidian\n3. Under Device, make sure GPU acceleration is turned on.\n4. Now scroll down and go to Environment section.\n5. Add the Environment variables you found using switcherooctl by clicking the + icon. \n6. Each Environment variable requires its own line, for example I have 3 so, I will click on + then paste __GLX_VENDOR_LIBRARY_NAME=nvidia\n7. Again click on + and paste __NV_PRIME_RENDER_OFFLOAD=1\n8. And finally add the last varibale i.e __VK_LAYER_NV_optimus=NVIDIA_only\n```\n\nNow Obsidian will run on NVIDIA. To verify run `nvidia-smi` or install `Nvidia System Monitor Qt` to check.\n\n---\n\n## Multimedia Codecs\n\n```\nsudo dnf group install multimedia\n```\n\n\n## Install Preload (For Snappy App Launches)\n\n```\nsudo dnf copr enable kylegospo/preload -y \u0026\u0026 sudo dnf install preload -y \u0026\u0026 sudo systemctl enable --now preload\n```\n\n---\n\n## Installing Essential Software\n\nI was genuinely surprised that **Perl** wasn't installed by default. Fedora really embraces the whole **\"your laptop, your rules\"** philosophy. Unlike Pop!_OS where everything's ready out of the box, here _you_ decide what goes in.\n\nHere’s what I installed:\n\n```\nsudo dnf install unzip p7zip p7zip-plugins perl perl-Unicode-Normalize perl-Tk unrar foliate gnome-tweaks fastfetch wget git python3 python3-pip dnfdragora nnn neovim asciinema figlet cowsay hardinfo2 mpv vulkan-tools timeshift zathura zathura-pdf-mupdf\n\npip3 install --user pynvim\n```\n\n---\n\n## Zathura + Neovim + LaTeX Fix\n\nCopy this:\n\n```\n/usr/share/applications/org.pwmt.zathura.desktop\n```\n\nto:\n\n```\n~/.local/share/applications/\n```\n\nThen add this line inside the `.desktop` file for both:\n\n```\nExec= env GDK_BACKEND=x11 /usr/bin/zathura %U\n```\n\nWithout this, you'll get the \"Zathura Window ID not found\" error when using LaTeX + Neovim + Zathura together.\n\n---\n\n## Disable GNOME Software Auto-Start\n\nEdit the desktop entry:\n\n```\nsudo nvim /usr/share/applications/org.gnome.Software.desktop\n```\n\nChange it to:\n\n```\n[Desktop Entry]\nType=Application\nName=GNOME Software\nExec=/usr/bin/gnome-software --gapplication-service\nOnlyShowIn=GNOME;Unity;\nNotShowIn=Budgie\nNoDisplay=true\nX-GNOME-Autostart-enabled=false\nHidden=true\n```\n\nThen:\n\n```\nmkdir -p ~/.config/autostart\ncp /usr/share/applications/org.gnome.Software.desktop ~/.config/autostart/\n```\n\n---\n\n## Power Management\n\n### The good old `xset dpms force off`?\n\nNo it does not work on Wayland and for obvious reasons. I have given the script in `/.bin/screen`  . Just bind it to a keyboard shortcut.\n\nFedora’s default GNOME power profiles are decent, but I prefer something more custom. I highly recommend [auto-cpufreq](https://github.com/AdnanHodzic/auto-cpufreq).  \nI’ve included a config file — tweak it however you like.\n\n### ⧩ Note\n\nThe default **Power Profile Manager** has some issues that leads to **Washed out colors + Blurriness** and make it quite difficult to read text. \n[auto-cpufreq](https://github.com/AdnanHodzic/auto-cpufreq) fixes this.\n\n---\n\n## Additional Software Recommendations\n\n```\nCalibre  \nObsidian  \nPlanify  \nFerdium  \nMission Center  \nKeePassXC  \nPika Backup  \nKeypunch  \nFlatseal  \nGear Lever  \nKiwix  \nOnlyOffice  \nJamesDSP  \nShortwave  \nCosmic Store  \nNvidia System Monitor Qt  \nWarehouse  \nGDM Settings\n```\n\n---\n\n## More Awesome Tools\n\n- [SpeedTest CLI](https://www.speedtest.net/apps/cli) — quick internet speed test \n    \n- [YT-DLP](https://github.com/yt-dlp/yt-dlp) — no description needed\n    \n- [Xtreme Download Manager](https://xtremedownloadmanager.com/) — fantastic for big files\n    \n- [TestDisk](https://www.cgsecurity.org/wiki/TestDisk_Download) — for serious data recovery\n    \n- [Starship](https://starship.rs/) — because terminals should look good too\n\n 📌 Put your custom scrips or programs like speedtest and yt-dlp in your ~/.bin folder, that way you can use them anywhere. The `.bashrc` took care of this.\n\n## GNOME Extensions (Highly Recommended)\n\n```\nAppIndicator and KStatusNotifierItem Support  \nAuto Move Windows  \nBattery Health Charging  \nBlur my Shell  \nClipboard Indicator  \nDash to Dock  \nDash to Panel  \nFly-Pie  \nGtk4 Desktop Icons NG (DING)  \nHide Top Bar  \nJust Perfection  \nLilypad  \nMedia Controls  \nStatus Area Horizontal Spacing  \nTiling Shell  \nVitals  \nPlaces Status Indicator\n```\n\n---\n\n## Personalization\n\n### Wallpapers\n\n- [orangc's Collection](https://github.com/orangci/walls)\n    \n- [orangc's Catppuccin-themed Walls](https://github.com/orangci/walls-catppuccin-mocha)\n    \n- [Wallhaven](https://wallhaven.cc/)\n\n\n### Icon Packs\n\n- [Kora](https://www.gnome-look.org/p/1256209/)\n    \n- [Tela](https://www.gnome-look.org/p/1279924)\n    \n- [Fluent](https://www.gnome-look.org/p/1477945)\n    \n- [WhiteSur](https://www.gnome-look.org/p/1405756)\n    \n\n### GTK Themes\n\n- [WhiteSur](https://www.gnome-look.org/p/1403328)\n    \n- [Graphite](https://www.gnome-look.org/p/1598493)\n    \n\nAlso check out [Paul Sørensen’s blog](https://paulsorensen.io/fedora-kde-plasma-post-installation-guide/) — tons of great KDE stuff in there.\n\n\n## Credits\n\n- Huge respect to the developers and the open source community — seriously, life’s a lot easier because of you all.\n\n#### 🖼 Wallpapers\n\n- [@orangci](https://github.com/orangci) for their beautiful [Wallpaper Collections](https://github.com/orangci/walls) and the Catppuccin-Mocha variant\n    \n- [Wallhaven](https://wallhaven.cc/) for being the go-to source for high-quality wallpapers\n    \n\n#### 🎨 GTK Themes \u0026 Icons\n\n- **[WhiteSur Theme](https://www.gnome-look.org/p/1403328)** by vinceliuice\n    \n- **[Graphite Theme](https://www.gnome-look.org/p/1598493)** by vinceliuice\n    \n- **[Tela Icons](https://www.gnome-look.org/p/1279924)** by vinceliuice\n    \n- **[Kora Icons](https://www.gnome-look.org/p/1256209)** by b00merang\n    \n- **[Fluent Icons](https://www.gnome-look.org/p/1477945)** by vinzv\n    \n\n#### 🧠 Special Mention\n\n- [Adnan Hodzic](https://github.com/AdnanHodzic) for [auto-cpufreq](https://github.com/AdnanHodzic/auto-cpufreq) — a life-saver on laptops\n    \n- [Paul Sørensen](https://paulsorensen.io/who/) for the post-install guide and insights\n    \n\n---\n\n\u003e This setup is just a remix of great work done by others. Props to every developer, designer, and Linux user out there who made this possible. ✨\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcognaque%2Fsetup-42-gnome","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcognaque%2Fsetup-42-gnome","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcognaque%2Fsetup-42-gnome/lists"}