When you use Fedora at first some things are not working as should, or you know that you need to add something but you forgot the steps to do it, etc. I have bookmarks of things that I find myself useful when start fresh Fedora or things that are not usual and I wanted to save the steps, how to do them.
System
settings > display - refresh rate
https://rpmfusion.org/Howto/Multimedia?highlight=%28%5CbCategoryHowto%5Cb%29
https://www.omglinux.com/how-to-enable-fractional-scaling-fedora/
https://ostechnix.com/how-to-enable-minimize-and-maximize-buttons-in-fedora/
https://support.mozilla.org/en-US/questions/1295110
https://linuxhint.com/create_two_panel_layout_gnome_shell_us/
Apps
https://linuxiac.com/how-to-install-vs-code-on-fedora-linux/
https://snapcraft.io/install/ferdium/fedora
fix discord issue:
dot-files
Run this command so can your git-branch in prompt works:
curl -o ~/.git-prompt.sh \
https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh
Add this code to your .bashrc to have similar prompt as me
# Command line prompt
PROMPT_COMMAND=__prompt_command # Function to generate PS1 after CMDs
__prompt_command() {
local EXIT="$?" # This needs to be first
PS1=""
# Your Username
local USERNAME="FalconIzmi"
# Colors
local RCol='\[\e[0m\]' # Exit color-change mode
local Red='\[\e[0;31m\]'
local Gre='\[\e[0;32m\]'
local LightGreenBold='\[\e[1;92m\]'
local LightBlueBold='\[\e[38;5;45;1m\]'
local DarkBlueBold='\[\e[38;5;33;1m\]'
# Setup Virtual Env
if [[ -n "$VIRTUAL_ENV" ]]; then
# Strip out the path
local RemovePrefix="${VIRTUAL_ENV##*/}"
# Leave the env name
local RemoveSufix="${RemovePrefix%-*}"
local Venv="(${LightGreenBold}venv${RCol}:${RemoveSufix}) "
else
# In case you don't have one activated
local Venv=''
fi
PS1+="${Venv}"
# Setup Git
source ~/.git-prompt.sh
local GIT=$(__git_ps1 " (%s)")
# Start adding code
# Exit Code
if [ $EXIT != 0 ]; then
PS1+="[${Red}$EXIT${RCol}] " # Add red if exit code non 0
else
PS1+="[${Gre}$EXIT${RCol}] "
fi
# First line
PS1+="[\t] ${DarkBlueBold}[\w]${RCol}\n"
# Second line
PS1+="${LightGreenBold}${USERNAME}${RCol}${LightBlueBold}${GIT}${RCol} ${Gre}\$${RCol} "
}
https://github.com/falconizmi/start-fedora/blob/main/.bashrc
Install & keys
sudo dnf install git
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_NAME -C "EMAIL"
Not found input sound when headphone removed mic
Microphone is not recognized in discord when you have headphone that it has been removed microphone from it. Follow steps under this comment: https://forum.manjaro.org/t/lenovo-legion-5-internal-mic-not-working/68064/8