装配Fedora-Scientific_KDE后做的事(原创)
这篇文章用于记录个人在安装了Fedora-Scientific_KDE之后需要做的事,不一定适用于每个人,请读者根据需要采用对自己有用的部分,谢谢!
#添加搜狐源
dnf config-manager --add-repo=http://mirrors.sohu.com/help/fedora-sohu.repo
dnf config-manager --add-repo=http://mirrors.sohu.com/help/fedora-updates-sohu.repo
#安装GNOME桌面环境
dnf install -y @gnome-desktop
dnf install -y gnome-tweak-tool
#切换到GNOME
注销当前用户,选择GNOME桌面进入
#删除gnome-Classic
dnf remove -y gnome-classic*
#删除gnome-session-wayland
dnf remove -y gnome-session-wayland*
#删除kde
dnf remove -y kde*
#安装gdm,否则无法进入桌面
dnf install -y gdm
#更新
dnf update -y
#安装wps
dnf install -y http://kdl.cc.ksosoft.com/wps-community/download/a21/wps-office-10.1.0.5672-1.a21.x86_64.rpm
dnf install -y http://kdl.cc.ksosoft.com/wps-community/download/fonts/wps-office-fonts-1.0-1.noarch.rpm
#安装rpmfusion软件源,rpmfusion提供了很多非官方的软件包
dnf install -y http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
#添加Fedora中文社区源
dnf install wget
wget http://repo.fdzh.org/FZUG/FZUG.repo -P /etc/yum.repos.d/
#安装日常使用的软件
dnf install -y gcc kernel-devel nautilus-open-terminal cherrytree goldendict deluge uget vlc shutter guake brasero cabextract lzip p7zip p7zip-plugins unrar sogoupinyin gvim bcloud scim fcitx* guake alien cairo-dockdnf install -y https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
#安装
corebird gtk3twitter客户端
dnf copr enable gusrub/corebird
dnf install geary california
#安装
deepin-music-player moonplayer kwplayer 客户端sudo dnf copr enable mosquito/myrepo
dnf install -y deepin-music-player moonplayer kwplayer #安装音频,视频编码
dnf config-manager --add-repo=http://negativo17.org/repos/fedora-handbrake.repo
dnf install -y gstreamer-plugins-bad gstreamer-plugins-bad-free-extras gstreamer-plugins-bad-nonfree gstreamer-plugins-ugly gstreamer-ffmpeg gstreamer1-libav gstreamer1-plugins-bad-free-extras gstreamer1-plugins-bad-freeworld gstreamer1-plugins-base-tools gstreamer1-plugins-good-extras gstreamer1-plugins-ugly gstreamer1-plugins-bad-free gstreamer1-plugins-good gstreamer1-plugins-base ffmpeg libdvdcss
#Install Flash on Firefox
dnf install -y http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
dnf install -y flash-plugin
Firefox does not have any flash plugin by default. You can install it using the rpm package provided by Adobe.
Visit http://www.adobe.com/software/flash/about/ to check that flash is working fine.
Note - The flash player for linux provided by Adobe is out-dated and does not receive any updates. The alternative is to install the PepperAPI based Fresh Flash player.
However since the process is complicated it is recommended that you use another browser like Chrome or Chromium for viewing flash specific content. This page here explains how to the fresh flash player for firefox on fedora.
#安装Virtualbox
dnf install -y VirtualBox
sudo service vboxdrv setup
sudo usermod -a -G vboxusers $USER
dnf install -y chromium
wget http://mirror.yandex.ru/fedora/russianfedora/russianfedora/nonfree/fedora/updates/24/x86_64/chromium-pepper-flash-23.0.0.162-1.fc24.R.x86_64.rpm
file-roller --extract-here ./chromium-pepper-flash-20.0.0.306-1.fc23.R.x86_64.rpm
cp -R PepperFlash/ /usr/lib64/chromium-browser/
#安装 Chrome浏览器
到https://www.google.com/chrome/ 下载最新的浏览器
dnf install -y google-chrome-stable_current_x86_64.rpm#安装hp打印机驱动
到下载相应驱动安装
http://hplipopensource.com/hplip-web/gethplip.html
dnf install -y gnome*
#Gnome shell extension 配置
The TopIcons shell extension shows the system tray icons on the top panel like before. For example when you are running pidgin, the status icon will show in that area.
Install it from the gnome extensions site -
https://extensions.gnome.org/extension/495/topicons/Extensions > Enable Window List - This will show you the traditional window panel at bottom so that you can easily switch between them
2. Extensions > Enable Applications Menu - This will bring up a nice simple applications menu on top left, just like other desktops.
3. Windows Tab > Titlebar buttons > Turn Maximize, Minimize buttons On - This will show maximize and minimize buttons on window title bars much like it used to be in the previous century.
4. Top Bar Tab > Disable "Show Application Menu" - This will remove the un-necessary active application menu on the top panel.
Clipboard Indicator Shell extension
The Clipboard shell extensions acts like a clipboard manager, keeping history of recent items that you copied to the clipboard. Its a useful productivity tool.
Open the following url in firefox and enable it -
https://extensions.gnome.org/extension/779/clipboard-indicator/如果不需要,禁用IPV6
#临时禁用
echo 1 > /proc/sys/net/ipv6/conf/eth0/disable_ipv6
#临时启用
echo 0 > /proc/sys/net/ipv6/conf/eth0/disable_ipv6
#永久禁用
vi /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1
sysctl -p
#SSH服务,默认情况下,OpenSSH服务(sshd)会去尝试捆绑IPv4和IPv6的地址。要强制sshd只捆绑IPv4地址,用文本编辑器打开 /etc/ssh/sshd_config 并添加以下行。inet只适用于IPv4,而inet6是适用于IPv6的。
vi /etc/ssh/sshd_config
AddressFamily inet
#然后重启sshd服务。
#修改grub
sudo gedit /boot/grub2/grub.cfg
#然后搜索timeout,后面数字修改为1
sudo gedit /etc/default/grub
GRUB_TIMEOUT=1
#进入软件管理界面,删除不需要的软件
Dia Diagram Editor, Eclipse, Eclipse C/C++ Debugger, GNOME Boxes, HexChat,Inkscape,JFlex,Julia,LyX,Emacs,RapidSVN
dnf remove -y eclipse*
参考至:http://www.linuxidc.com/Linux/2014-10/107882.htm
https://fedora.web.id/install-browser-chromium-di-fedora-20/
http://www.binarytides.com/better-fedora-23/
本文原创,转载请注明出处,作者
如有错误,欢迎指正
邮箱:czmcj@163.com