SHOW:
|
|
- or go back to the newest paste.
| 1 | SCRIPT_PATH=/etc/profile.d/setfont.sh | |
| 2 | echo << EOF > ${SCRIPT_PATH} \
| |
| 3 | "#Set cyrillic font | |
| 4 | if [ ! \"\${DISPLAY}\" ]; then
| |
| 5 | setfont cyr-sun16 | |
| 6 | fi" | |
| 7 | EOF | |
| 8 | chown root:root ${SCRIPT_PATH}
| |
| 9 | chmod 0644 ${SCRIPT_PATH}
| |
| 10 | chcon "system_u:object_r:bin_t:s0" ${SCRIPT_PATH}
| |
| 11 | ||
| 12 | dnf install -y $(for repository in "free" "nonfree"; do echo "https://download1.rpmfusion.org/${repository}/fedora/rpmfusion-${repository}-release-$(rpm -E %fedora).noarch.rpm"; done)
| |
| 13 | dnf install -y $(for repository in "free" "nonfree" "fixes"; do echo "https://mirror.yandex.ru/fedora/russianfedora/russianfedora/${repository}/fedora/russianfedora-${repository}-release-stable.noarch.rpm"; done)
| |
| 14 | ||
| 15 | dnf copr enable -y treba/pidgin-lurch | |
| 16 | dnf copr enable -y heikoada/gtk-themes | |
| 17 | dnf distro-sync -y --refresh | |
| 18 | ||
| 19 | dnf install -y --refresh android-file-transfer android-tools aria2 baobab certbot chrome-gnome-shell cups{,-{client,filters}} deluge-{daemon,gtk} eog evince{,-{djvu,nautilus}} ffmpeg{,thumbnailer} firefox-wayland file-roller gdm gedit gimp{,-{help-ru,paint-studio,saveforweb-plugin}} gnome-{abrt,boxes,calculator,calendar,characters,clocks,contacts,disk-utility,documents,font-viewer,getting-started-docs-ru,logs,maps,mpv,screenshot,shell{,-extension-{activities-configurator,alternate-tab,apps-menu,dash-to-dock,drive-menu,netspeed,pidgin,places-menu,suspend-button,user-theme}},system-monitor,terminal{,-nautilus},tweaks,weather} gstreamer1-plugins-{bad-{free{,-extras,world},nonfree},ugly} gtk-murrine-engine httpd iperf kernel-tools libcanberra-gtk2 libreoffice-{calc,writer} nano nautilus numix-icon-theme-square nut p7zip pidgin{,-{libnotify,lurch}} plymouth{,-{core-libs,plugin-{label,two-step},scripts,system-theme,theme-charge}} pwhois rar redhat-lsb-{core,submod-{multimedia,security}} rhythmbox rsync screen simple-scan telegram-desktop thunderbird-wayland uget unrar unzip vim xdg-user-dirs-gtk xsane-gimp zip zuki-gtk-themes-gtk{2,3}
| |
| 20 | ||
| 21 | ln -s /PyNUT.py /lib/python2.7/site-packages/ | |
| 22 | ||
| 23 | dnf install -y --refresh gnome-software PackageKit-{command-not-found,gstreamer-plugin,gtk3-module}
| |
| 24 | dnf distro-sync -y --refresh | |
| 25 | ||
| 26 | systemctl enable cpupower.service fstrim.timer | |
| 27 | systemctl enable gdm.service | |
| 28 | ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target | |
| 29 | ||
| 30 | reboot |