Skip to content

maidis/fedora-kde-spin-customizations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 

Repository files navigation

fedora-kde-spin-customizations

My efforts to make Fedora KDE spin more usable for my needs

Full system update

sudo dnf upgrade --refresh

Firmware update

sudo fwupdmgr get-devices
sudo fwupdmgr refresh --force
sudo fwupdmgr get-updates
sudo fwupdmgr update

NVIDIA drivers

sudo dnf config-manager addrepo --from-repofile=https://negativo17.org/repos/fedora-nvidia.repo
sudo dnf install dkms-nvidia nvidia-driver nvidia-settings nvidia-driver-libs.i686
sudo dnf install nvidia-driver-cuda cuda-devel cuda-cudnn-devel cuda-gcc
sudo dnf install mangohud
sudo dnf upgrade --refresh

sudo dnf copr enable zawertun/scrapyard
sudo dnf install kde-style-sierra-breeze-enhanced
sudo dnf install kvantum
sudo rm -rf /var/lib/dkms/nvidia/
sudo dkms install nvidia/440.64

CPU tools

sudo dnf install thermald kernel-tools tlp tlp-rdw powertop lm_sensors xset

sudo sensors-detect

#sudo systemctl mask power-profiles-daemon

sudo powertop --calibrate
sudo powertop --auto-tune

#git clone https://github.com/frankenfruity/plasma-pstate
#cd plasma-pstate
#sudo ./install.sh

sudo dnf copr enable angstr0m/plasma-pstate
sudo dnf in plasma-pstate

Steam installation

sudo dnf config-manager addrepo --from-repofile=https://negativo17.org/repos/fedora-steam.repo
sudo dnf -y install steam libnsl.i686 libnsl2.i686 kernel-modules-extra gamemode

My favorite software

sudo dnf install blender inkscape okteta ktorrent

Third-party repositories

sudo dnf install fedora-workstation-repositories

Google Chrome

sudo dnf config-manager --set-enabled google-chrome
sudo dnf install google-chrome-stable

RPM Fusion

sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

VirtualBox

sudo dnf install VirtualBox
sudo dnf install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms
sudo dnf remove virtualbox-guest-additions
sudo usermod -a -G vboxusers maidis

Development tools

sudo dnf install SFML-devel love Box2D-devel glew-devel
sudo dnf install SDL2-devel SDL2_gfx-devel SDL2_net-devel SDL2_ttf-devel SDL2_image-devel SDL2_mixer-devel
#sudo dnf install qt-creator* qt5-devel qt5 qt5*-devel
sudo dnf install fedora-packager astyle doxygen graphviz-devel
sudo dnf group install c-development
sudo dnf install kate git libstdc++-devel
sudo dnf install clang-analyzer clang clang-tools-extra cppcheck kcachegrind clazy uncrustify
sudo dnf install json-devel jsoncpp-devel curl-devel curlpp-devel gtest-devel tesseract-devel
sudo dnf install opencv-devel opencv-core opencv-contrib
sudo dnf install godot gperftools

Removal of some unused pre-installed software

#TODO: some package names may be incorrect, they may not be removed (due to dependencies)
sudo dnf remove akregator dragon korganizer kpat kmahjongg kmines kmag kontact kmail kf5-ktnef kwrite

sudo dnf remove abrt dnfdragora dnfdragora-updater kget

Cutelyst

sudo dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:/buschmann23:/Cutelyst:/devel/Fedora_39/home:buschmann23:Cutelyst:devel.repo
sudo dnf install cutelyst4-qt6-devel cutelyst4-qt6-docs*

Visual Studio Code

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
cat <<EOF | sudo tee /etc/yum.repos.d/vscode.repo
[code]
name=Visual Studio Code
baseurl=https://packages.microsoft.com/yumrepos/vscode
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc
EOF
sudo dnf install code

.NET Core

sudo dnf install dotnet

OBS

sudo dnf install obs-studio
sudo dnf install gstreamer1-plugins-good gstreamer-ffmpeg gstreamer1-libav
sudo dnf config-manager --set-enabled fedora-cisco-openh264
sudo dnf upgrade --refresh
sudo dnf install gstreamer1-plugin-openh264

KDE Connect port configuration

sudo firewall-cmd --zone=public --permanent --add-port=1714-1764/tcp
sudo firewall-cmd --zone=public --permanent --add-port=1714-1764/udp
sudo systemctl restart firewalld.service

HP printer drivers

sudo dnf install hplip hplip-libs hplip-gui hplip-common
sudo dnf install skanlite

E-book tools

sudo dnf install sigil calibre

Dropbox installation

cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
mkdir -p ~/.config/autostart/
cat >> ~/.config/autostart/dropbox.desktop <<EOL
[Desktop Entry]
Version=1.0
Name=Dropbox
GenericName=File Sharing
Exec=~/.dropbox-dist/dropboxd
StartupNotify=true
Terminal=false
Icon=dropbox
Type=Application
Categories=Network
EOL
sudo chmod +x ~/.config/autostart/dropbox.desktop
~/.dropbox-dist/dropboxd

sudo dnf install dolphin-plugins

Multimedia packages

sudo dnf install -y gstreamer1-plugins-{bad-*,good-*,ugly-*,base} gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel ffmpeg gstreamer-ffmpeg
sudo dnf install -y lame* --exclude=lame-devel
sudo dnf install -y mencoder yt-dlp elisa-player krecorder

Tools

sudo dnf install htop p7zip p7zip-plugins unrar xclip fatrace

Audio/video software

sudo dnf install audacity lmms kdenlive vlc flowblade avidemux-qt mkvtoolnix-gui shotcut HandBrake-gui
sudo dnf install cinelerra-gg
sudo dnf install https://www.ocenaudio.com/downloads/index.php/ocenaudio_fedora35.rpm

Terminal enhancements

sudo dnf install powerline powerline-fonts

cat >> ~/.bashrc <<EOL
if [ -f `which powerline-daemon` ]; then
  powerline-daemon -q
  POWERLINE_BASH_CONTINUATION=1
  POWERLINE_BASH_SELECT=1
  . /usr/share/powerline/bash/powerline.sh
fi
EOL

GRUB themes

sudo dnf install grub2-breeze-theme
sudo echo 'GRUB_THEME="/boot/grub2/themes/breeze/theme.txt"' >> /etc/default/grub
sudo sed -i 's/GRUB_TERMINAL_OUTPUT="console"/#GRUB_TERMINAL_OUTPUT="console"/g' /etc/default/grub
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

Restore Windows 10 entry in Grub

#grub> search -f /EFI/Microsoft/Boot/bootmgfw.efi

#hd1,gpt2

sudo cat >> /etc/grub.d/40_custom <<EOL
menuentry 'Microsoft Windows 10' {
set root='hd1,gpt2'
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
boot
}
EOL

sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

Password-free local partition mount

#TODO sudo is not enough here
sudo cat >> /etc/polkit-1/rules.d/99-mount-partitions.rules <<EOL
// Password-less mounting of local partitions
polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.udisks2.filesystem-mount-system" && subject.isInGroup("wheel")) {
       return polkit.Result.YES;
    }
});
EOL

Setting SELinux to permissive mode

sudo sed -i -e 's/SELINUX=enforcing/SELINUX=permissive/g' /etc/selinux/config
sudo setenforce 0
getenforce

Fonts

sudo dnf install -y fira-code-fonts impallari-raleway-fonts lato-fonts 'mozilla-fira*' 'google-roboto*'
sudo dnf install cabextract xorg-x11-font-utils
sudo rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm

#sudo -s dnf copr enable dawid/better_fonts
#sudo -s dnf install fontconfig-font-replacements
#sudo -s dnf install fontconfig-enhanced-defaults

Document editing

sudo dnf install lyx texmaker
sudo dnf install texlive-sourcesanspro texlive-tcolorbox texlive-babel-turkish
sudo dnf install pandoc
sudo dnf install libreoffice-writer libreoffice-impress libreoffice-calc libreoffice-draw libreoffice-graphicfilter libreoffice-math libreoffice-langpack-tr

Maths

sudo dnf install armadillo-devel octave cantor gmp-devel glm-devel mpfr-devel

Icon Themes

sudo dnf install kfaenza-icon-theme papirus-icon-theme

GTK Themes

sudo dnf install breeze-gtk

GitHub

git config --global user.name "maidis"
git config --global user.email "[email protected]"

ssh-keygen -t rsa -b 4096 -C "[email protected]"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
xclip -sel clip < ~/.ssh/id_rsa.pub

Photo Editing

sudo dnf install gimp gmic-gimp gimp-lensfun gimp-resynthesizer gimp-wavelet-denoise-plugin gimp-wavelet-decompose gimp-luminosity-masks ufraw-gimp gimp-elsamuko gimpfx-foundry gimp-lqr-plugin gimp-data-extras gimp-heif-plugin gimp-paint-studio gimp-fourier-plugin gimp-focusblur-plugin gimp-high-pass-filter gimp-layer-via-copy-cut

sudo dnf install krita luminance-hdr rawtherapee darktable darktable-tools-noise 

sudo dnf install libheif qt-heif-image-plugin

Zoom

sudo dnf install https://zoom.us/client/latest/zoom_x86_64.rpm

About

My efforts to make Fedora KDE spin more usable for my needs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published