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 application
and 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 |
|
- Making
zsh
as default on fedora
1 2 3 |
|
- Then logout and login again.
Install Oh-My-Zsh in Fedora#
- Install
oh-my-zsh
in fedora
1 |
|
- Config theme for
oh-my-zsh
.
1 |
|
- If you check,
robbyrussel
is 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 therobbyrussell
with the new name of your preferred theme. -
For example, to change the themes to
fino-time
theme,$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 package
will appear by the end of the process. -
Next install the
rpm package
with the command as below.
1 |
|
Warp VPN#
- Add
cloudflare-warp.repo
to/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
.bashrc
file, while users of the Zsh shell should edit the.zshrc
file.
1 |
|
Fix Issue With Flathub#
- When you install application with
flatpak
, you might get the errorno remote refs found similar to flathub
as 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 Mode
automatically 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 Desktop
andRemote Control
as 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
Software
application and install theRemmina
application.
- Then open the
Remmina
application, choose typeRDP
and 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
Language
to `English (United States). - change
Formats
toUnited States
.
- change
- Next go to section
Login Screen
- change
Language
to `English (United States). - change
Formats
toUnited States
.
- change
- Finally Reboot the Ubuntu Virtual Machine.
Fix Can Not Copy & Paste From Parent Machine To Virtual Machine#
- In Ubuntu Virtual Box choose
Devices
then 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 Boot
in 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.config
with the path/etc/X11/Xwrapper.config
as 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.