Skip to content

Instantly share code, notes, and snippets.

@dschier-wtd
Last active August 22, 2018 01:01
Show Gist options
  • Save dschier-wtd/626f9e98ec783c61389b0b16d17cde3c to your computer and use it in GitHub Desktop.
Save dschier-wtd/626f9e98ec783c61389b0b16d17cde3c to your computer and use it in GitHub Desktop.
fedora 27 post installation hints
# Displaimer
This is not a guide or a guideline. It is a collection of ideas, tools and stuff I was/will/am use.
Everything below is very subjectiv and can change over time. If you want to use something from here,
please feel free. But please don't consider it working "as is". In most cases you have to think about stuff.
# Security
## Adjust Firewall
<port close for high ports>
## Update
sudo dnf -y upgrade --refresh
# Issues
## Bug Fixing for HP Elitebooks hp_accel causes high load everytime
sudo rmmod hp_accel
echo "blacklist hp_accel" > /etc/modprobe.d/hp_accel.conf
## Disable nautilus flowbox, due to drag and drop issues
gsettings set org.gnome.nautilus.preferences use-experimental-views false
# Power / Energy
## Install tuned
sudo dnf -y install tuned tuned-utils
sudo systemctl enable tuned
sudo systemctl start tuned
sudo tuned-adm profile powersave
## Tuned GTK/GUI (currently crashing with segfault)
sudo dnf -y install tuned-gtk
## Enable Hibernate
https://ask.fedoraproject.org/en/question/96389/fedora-24-how-to-enable-hibernate/
https://wiki.archlinux.org/index.php/Power_management/Suspend_and_hibernate#About_swap_partition.2Ffile_size
# Repositories / 3rd Party
## rpmfusion
sudo dnf -y 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
## Install fedy
sudo dnf -y install https://dl.folkswithhats.org/fedora/$(rpm -E %fedora)/RPMS/folkswithhats-release.noarch.rpm
## Extend Nautilus
sudo dnf -y copr enable heikoada/nautilus-git
sudo dnf -y install nautilus-git
## Install Gnome Shell Extension Plugins
sudo dnf -y copr enable region51/chrome-gnome-shell
sudo dnf -y install chrome-gnome-shell
## Install some extensions (list with some ideas)
https://extensions.gnome.org/extension/906/sound-output-device-chooser/
https://extensions.gnome.org/extension/1031/topicons/
https://extensions.gnome.org/extension/1201/extend-panel-menu/
https://extensions.gnome.org/extension/1160/dash-to-panel/
https://extensions.gnome.org/extension/307/dash-to-dock/
https://extensions.gnome.org/extension/7/removable-drive-menu/
https://extensions.gnome.org/extension/8/places-status-indicator/
https://extensions.gnome.org/extension/15/alternatetab/
https://extensions.gnome.org/extension/1125/github-notifications/
https://extensions.gnome.org/extension/1052/taskwarrior-integration/
https://extensions.gnome.org/extension/1011/dynamic-panel-transparency/
https://extensions.gnome.org/extension/971/workspace-wraparound/
https://extensions.gnome.org/extension/1191/battery-percentage/
https://extensions.gnome.org/extension/1177/darker-overview/
https://extensions.gnome.org/extension/1037/customcorner/
https://extensions.gnome.org/extension/97/coverflow-alt-tab/
https://extensions.gnome.org/extension/800/remove-dropdown-arrows/
https://extensions.gnome.org/extension/708/panel-osd/
https://extensions.gnome.org/extension/1116/workspace-switch-wraparound/
# Cleanup
## Remove live image leftovers
sudo dnf -y remove anaconda tigervnc-server-minimal blivet-gui
## Remove unused apps
sudo dnf -y remove gnome-documents
sudo dnf -y remove gnome-classic-session gnome-shell-extension-background-logo simple-scan tracker-miners
sudo dnf -y remove abrt
sudo dnf -y autoremove
## Remove Libre Office (Who needs Office anyway?)
sudo dnf -y remove libreoffice-core
# Tuning
## bash tuning
https://github.com/while-true-do/bash-behaviour
https://github.com/while-true-do/bash-prompt
## Fix gnome-shell
- Adjust mouse behaviour
- tune energie
- tune display
- adjust touchpad behaviour
## preload (best for machines with hdd, but also ssd)
sudo dnf -y install preload
sudo systemctl enable preload --now
## ssd tuning
you should consider to add "noatime" to all ext4 mounts in your /etc/fstab
ex:
```
/dev/mapper/vg_system-root / ext4 defaults,noatime,x-systemd.device-timeout=0 1 1
```
# Packages
## Media
sudo dnf -y install gstreamer1-libav mpg123-libs
## CLI tools
sudo dnf -y install vim wget screen
## Config Tools
sudo dnf -y install gnome-tweak-tool dconf-editor alacarte
## Development
sudo dnf -y install ansible ansible-lint ansible-review
## Enpass
sudo dnf -y install libXScrnSaver
wget https://dl.sinew.in/linux/setup/5-6-5/Enpass_Installer_5.6.5 -O EnpassInstaller
chmod u+x EnpassInstaller
./EnpassInstaller
rm EnpassInstaller
## Office
| Bijiben is very unstable and unmaintained, so notes will be made in the other editors ;)
sudo dnf -y install gnome-todo
## Editor
sudo dnf -y install gedit gedit-plugin-git gedit-plugin-terminal
## Mail
sudo dnf -y install geary
## Chat
sudo dnf -y install polari
## News
sudo dnf -y install feedreader
## Download
sudo dnf -y install transmission nextcloud-client nextcloud-client-nautilus libgnome-keyring
## Backup
sudo dnf -y install deja-dup deja-dup-nautilus
## Graphic Tools
sudo dnf -y install gimp rapid-photo-downloader gthumb openscad inkscape
## Games
sudo dnf -y install gnome-sudoku gnome-mahjongg gnome-mines gnome-2048 minetest
# cockpit / docker / pcp /kdump Environment
| It is higly recommended to immediatly reboot after the below steps!
## PCP
sudo dnf -y install pcp
sudo systemctl enable pmcd --now
sudo systemctl enable pmlogger --now
## Docker
sudo dnf -y install docker
sudo systemctl enable docker --now
## Kdump
| Due to a bug, kdump currently does not properly work on some machines, when secureboot and uefi is enabled:
- https://bugzilla.redhat.com/show_bug.cgi?id=1470995
sudo dnf -y install kexec-tools
sudo systemct enable kdump #This can be started after a reboot
sudo vi /etc/default/grub
```
<snip>
GRUB_CMDLINE_LINUX="...crashkernel=auto..."
<snap>
```
- for legacy/bios systems
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
- for uefi systems
sudo grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
## Cockpit
sudo dnf -y install cockpit cockpit-selinux cockpit-packagekit cockpit-kdump cockpit-pcp cockpit-dashboard cockpit-sosreport cockpit-docker
sudo systemctl enable cockpit.socket --now
## Reboot!
# Flatpak
| There are some nice apps in flatpak, too.
## Albion Online
flatpak install --from https://flathub.org/repo/appstream/com.albiononline.AlbionOnline.flatpakref
## Gradio
flatpak install --from https://flathub.org/repo/appstream/de.haeckerfelix.gradio.flatpakref
## Notes Up
flatpak install --from https://flathub.org/repo/appstream/com.github.philip_scott.notes-up.flatpakref
## Spice Up
flatpak install --from https://flathub.org/repo/appstream/com.github.philip_scott.spice-up.flatpakref
## Marker
flatpak install --from https://flathub.org/repo/appstream/com.github.fabiocolacio.marker.flatpakref
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment