Fedora Tips#
Install Softwares And Tools#
Install NeoFetch#
- Run the command below
1 | |
Install Htop#
- Run the command below
1 | |
Install Chrome#
- Go to
Software applicationand install chrome from there. Installing by download RPM file may not be worked.
Install Flameshot#
1 | |
Install Gnome Tweaks#
1 | |
Install Docker - Docker Compose#
- Go to this page and following the instruction.
Install Hugo#
- Run the command below to install Hugo
1 | |
Install ZSH#
- Zsh (short for Z Shell) is a feature-rich and powerful shell program for Unix-like operating systems with lots of interactive features. It is an extended version of the Bourne Shell (sh), with a large number of new features, and support for plugins and themes. It is designed for interactive use and it is also a powerful scripting language.
1 | |
- Check
zshinstalled version
1 | |
- Configure
zsh
1 | |
-
Then you will see the instruction for the first configuration.
- Press 1 to go to the main menu and configure each setting individually.
- Press 2 to populate the
.zshrcconfiguration file with the default parameters, which you can later change manually in the.zshrcfile. - Press 0 to create an empty
.zshrcconfiguration file and configure everything from scratch. - Press q to exit the configuration and start it again the next time you enter
Zsh.
-
Then let's set the
zshas default shell. - Firstly, let's check the default shell
1 | |
- If the default
shellis/bin/bashthen we can change it tozshby running the command below.
1 | |
- After that, let's reload the
zshby command.
1 | |
Install Oh-My-Zsh in Fedora#
- Install
oh-my-zshin fedora
1 | |
- Config theme for
oh-my-zsh.
1 | |
- If you check,
robbyrusselis the default theme for ZSH.
| .zshrc | |
|---|---|
1 2 3 4 5 6 7 | |
-
Therefore, to replace or change your ZSH theme, get the name of the theme from
$HOME/.oh-my-zsh/themes/folder and substitute therobbyrussellwith the new name of your preferred theme. -
For example, to change the themes to
fino-timetheme,$HOME/.oh-my-zsh/themes/fino-time.zsh-theme
| .zshrc | |
|---|---|
1 2 3 4 5 6 7 | |
- Then save and run command below to reload.
1 | |
- Then we can see the result as below.
Install CUPS-PDF#
- This software is designed to produce PDF files in a heterogeneous network by providing a PDF printer on the central fileserver.
- Run commands below for installing
cups-pdf.
1 | |
1 | |
1 | |
- Then let's open file
/etc/cups/cups-pdf.conf. Then change the path setting as below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | |
Install Virtual Box#
- Run commands below to install Virtual Box on Fedora 39.
1 | |
1 | |
Install Croc#
1 | |
Install Fzf#
- fzf is a general-purpose command-line fuzzy finder.
1 2 | |
Install Postman#
- Clone this repository from github and put it in anywhere you like postman-rpm
- Then run the script in that repository.
1 | |
-
Then an
rpm packagewill appear by the end of the process. -
Next install the
rpm packagewith the command as below.
1 | |
Warp VPN#
- Add
cloudflare-warp.repoto/etc/yum.repos.d/
1 | |
- Update repo
1 | |
- Install
1 | |
- Then use the command below to register WARP client to server. You just need to do this step one time.
1 | |
- Then use the command below to connect WARP VPN
1 | |
- Use the command below to disconnect WARP VPN
1 | |
Install Pip#
- By default, the PIP package is not installed on Fedora, so you will need to install it first. You can install it using the following command.
1 | |
- Once the PIP package is installed, you can verify the PIP version with the following command.
1 | |
- Update your PATH variable
- Sometimes, even after installing Python and pip, the “pip command not found” error may persist due to issues with your system’s PATH variable. To fix this, you should add the pip binary directory to your PATH.
- If you’re using the Bash shell, open the
.bashrcfile, while users of the Zsh shell should edit the.zshrcfile.
1 | |
Install Fastfetch#
- Because on Fedora we don't have the
neofetchapplication package by default withdnfso we can use install thefastfetchwhich has the same functionality. - Use the command below to install the
fastfetch.
1 | |
Fix Issue With Flathub#
- When you install application with
flatpak, you might get the errorno remote refs found similar to flathubas below.
1 2 | |
- To fix this issue we just need to run the script below to add the the flathub repository.
1 | |
- Then now, you run command for installing your appliction again, then you can see it is successful.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | |
Disable Automatic Airplane Mode When Lib Is Open#
- For laptop user, there could be a quite annoying issue that the
Airplane Modeautomatically turns on when lid is opened on HP laptop.
Create service to remap the scancode#
- Firstly, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to create a service file and edit via Gedit text editor:
1 | |
- When file opens, paste below lines and save it.
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
Enable the service#
1 2 | |
Undo the changes#
1 2 | |
Disable Swap Memrory#
- On fedora, if you use the command below for disable swap memory.
1 | |
- Then it will not successful. The swap memory will be enable automatically again after.
- So, to disable swap memory permanently you should use the command below and reboot your computer.
1 | |
- This command will remove the package which generates its configuration for using swap memory.
- After execute the command above, you should see the successful result as below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | |
Remote Desktop Sharing#
Enable Remote Desktop Sharing#
- Go to the
setting->sharing-> turn on enable sharing button as in the image below.
- Then click on
Remote Desktop. Inside theRemote Desktop, enableRemote DesktopandRemote Controlas in the image below.
- Check the username and password which we will use to login when connect to this Linux machine from another computer.
Connect To Remote Desktop By Linux Machine#
- Go to
Softwareapplication and install theRemminaapplication.
- Then open the
Remminaapplication, choose typeRDPand put the IP address of the remote desktop in your LAN network as in the image below and pressenter.
- Then you will need to input the username and password that we configured in the Remote Desktop Linux machine.
- Finally, you can access your remote desktop as in the image below.
Fix Error Can Not Start Virtual Machine On Virtual Box#
- If you see the error as below.
1 2 3 4 5 6 7 8 9 10 11 | |
- Then run commands below for fixing on Fedora 39, virtual box 7.0.14.
1 | |
1 2 | |
1 | |
Fix Error Can not Open Terminal In Virtual Box#
- If you can not open the Terminal of Ubuntu in Virtual Box. You can do some steps below.
- Firstly go to
Setting-->Region & Language - Next go to section
My Account- change
Languageto `English (United States). - change
FormatstoUnited States.
- change
- Next go to section
Login Screen- change
Languageto `English (United States). - change
FormatstoUnited States.
- change
- Finally Reboot the Ubuntu Virtual Machine.
Fix Can Not Copy & Paste From Parent Machine To Virtual Machine#
- In Ubuntu Virtual Box choose
Devicesthen chooseInsert Guest Additions CD Image... - Then open injected Image Disk and run commands below.
1 | |
1 | |
1 | |
- Then run command below to install tools.
1 | |
- Finally reboot the Ubuntu virtual machine then you can copy & paste between parent and Ubuntu virtual machine.
Add Fedora Device Into Tailscale#
1 | |
Fix Nvidia Driver On Fedora 40#
- Check installed packages for nvidia driver.
1 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
- Remove installed nvidia packages.
1 | |
- Reinstall the lastest nvidia packages.
1 | |
- Checks the akmod packages and try all.
1 | |
- Reboot and access to BIOS system.
- Important: Now let's turn-off the
Secure Bootin BIOS. - Then reboot and in the login screen choose login with
Gnome on XOrg. - Finally we can see the
Fix Can't Control GPU Fan In Nvidia Settings#
- Create a configuration file name
Xwrapper.configwith the path/etc/X11/Xwrapper.configas below.
1 | |
- Then let's add 2 lines below into that file.
| Xwrapper.config | |
|---|---|
1 2 | |
- Then save and reboot the system.
- Then we can control the GPU Fan Setting as in the image below.
Make Second Hard Disk As Fedora Installer#
- This session will be useful if you using Windows and you want to install the Fedora but you don't have the USB stick and you only have 2 Disks: one disk is used for Windows and the other Disk is free. If you have the USB stick then just go with it as documented in the fedora documentation
- Firstly on the Windows machine you should create a WSL2 machine. You can follow steps in WSL2 or the Microsoft Documentation.
- Then for the Free Disk that don't have the installed Windows. Let's open the
Disk Managementof Windows and delete the volume of that Disk.
-
Now, let's mount the hard disk into the WSL2 machine.
-
Let's open the
Windows Power Shellwith theAdministrationand use the command below to list all the available disks with theDeviceID
1 | |
- Then you can see the results as below.
1 2 3 4 5 6 7 8 | |
- Now, you can detect disk that you want to mount and use the command below with the
DeviceID.
1 | |
- Then let's run the command below to identify the desk that you want to format as
FAT32.
1 | |
-
This command lists all block devices and their current filesystem information. Locate the partition you intend to format (e.g.,
/dev/sdb1). -
Then run the command below to format the disk to
FAT32
1 | |
- Now, in the WSL2 machine let's download the Fedora Distro that you want. For example we will download the
Fedora Silverblue 42ISO file by using the command below.
1 | |
- Then run the command below to create the Fedora boot disk.
1 | |
- For example.
1 | |
- After all, let's reboot and in the boot option, let's choose the disk that you install Fedora installation and now you can do the Fedora installation and you can install on the disk that you installed Windows.
Fix Issue Flameshot Not Show Icon In Gnome#
- After install the
Flameshotapp and then you open but the icon of the flameshot application doesn't appear on the top bar then you should install this gnome extension: AppIndicator and KStatusNotifierItem Support.
Fedora Silverblue#
Use Podman Of Host Machine From ToolBox In Fedora Silverblue#
- If you are using the Fedora Silverblue then you can see that, by default the
Podmanis installed in the host machine and if you are using toolbox which is actually a podman container and there is nopodmaninstallation there. So to use the installedPodmanin the host machine from the toolbox then you use the command below.
1 | |
- For example
1 | |
- Then you can see the result.
1 2 | |
- Now, let's create alias for the command above then you don't have to type a long command every time you want to use podman from the host machine.
- Let's open the
~/.zshrcand add the command below to the end of that file.
1 2 | |
- Then reload the
~/.zshrcby using the commandsource ~/.zshrc.
Uninstall Toolbox#
- Stop all containers
1 | |
- Uninstall toolbox
1 | |
- compose a new system image that excludes toolbox.
1 | |
Install Distrobox#
- Run command below to install
Distrobox
1 | |
Install Podman Compose#
- Run command below to install podman compose.
1 | |
Install Gnome Tweak#
- Run command below to install gnome tweak.
1 | |
Install Tailscale#
- Run command below to add the repository which contain the tailscale
1 | |
- Run command below to install tailscale
1 | |
Create A Distrobox Container#
- Run the command below to create a distrobox container.
1 | |
- Example
1 | |
Export Application From Distrobox To Host#
- Run the command below to export application in
Distroboxto Host.
1 | |
- For example
1 | |
Install Nvidia Driver#
- Run the command below to install kernel modules (akmods) for the NVIDIA graphics driver and X.Org drivers specifically tailored for CUDA computing. The akmod-nvidia package provides kernel modules that are built on-demand when the system boots, ensuring compatibility with the current kernel version. The xorg-x11-drv-nvidia-cuda package includes additional libraries and utilities needed for GPU-accelerated computing.
1 | |
- Then let's continue to run the command below to modifies the kernel arguments (kargs) using rpm-ostree. It appends two parameters to ensure that the Nouveau and Nova Core drivers are not loaded when the system boots:
1 | |
rd.driver.blacklist=nouveau,nova_core: This parameter prevents the Nouveau driver (an open-source NVIDIA driver) from being loaded as a runtime driver during boot.modprobe.blacklist=nouveau,nova_core: This parameter ensures that the Nouveau and Nova Core drivers are not loaded by the kernel module loader (modprobe) after the system has booted.
Install Intellij In Distrobox#
- Let's open your distrobox container. For example, you are using ubuntu distro in the distrobox.
- Using the command below to install
jetbrain-toolbox.
1 | |
- Then extract the tar file by using the command below.
1 | |
- Then let's export
PATHfor thejetbrain-toolboxby adding the command below into the~/.zshrc
1 | |
- Then run the command below to export the
jetbrains-toolboxapp to the host machine.
1 | |
- Now, you can open the icon
jetbrains-toolboxin the applications of your linux machine and you can install the intellij there. -
After installing the
intellijthen if you start your intellij app and see the error with contentgsettingnot found. Then let's run command below to install thegsettingand libraries for better GUI experience. -
Run command below to install
gsetting
1 | |
- Run command below to install libraries for better GUI experience.
1 | |








