CentOS 7 手工调节屏幕亮度

新建三个文本文件并给予执行权限:
up.sh

if [ ! -w /sys/class/backlight/intel_backlight/brightness ];then
    echo "password" | sudo -S chmod 777 /sys/class/backlight/intel_backlight/brightness
fi

read bright < '/sys/class/backlight/intel_backlight/brightness'

v=600
v=$((4882 / 20 + $bright))

if [ $v -gt 4882 ]; then
    v=4882
fi

echo $v | tee /sys/class/backlight/intel_backlight/brightness

down.sh

if [ ! -w /sys/class/backlight/intel_backlight/brightness ];then
    echo "password" | sudo -S chmod 777 /sys/class/backlight/intel_backlight/brightness
fi

read bright < '/sys/class/backlight/intel_backlight/brightness'

v=600
v=$(($bright - 4882 / 9 ))

echo $v | tee /sys/class/backlight/intel_backlight/brightness

middle.sh

echo 2441 
更多...

CentOS 7 KDE 安装后的设置

请先参考这篇文章:FEDORA 20 KDE安装后的操作

安装NTFS支持:
到 http://rpmfind.net/linux/rpm2html/search.php?query=ntfs-3g 下载,7.0适配的是“Extras Testing Packages for Enterprise Linux 7 for x86_64”
su
rpm -i ntfs-3g-2014.2.15-6.el7.x86_64.rpm
打开文件管理器点击NTFS文件分区即可自动挂载

RPM包图形界面安装工具:
sudo yum install gnome-packagekit

添加桌面图标栏部件:
在桌面上点右键 -添加部件 -文件夹视图,在新出现的桌面部件上点扳手图标 -位置 -显示桌面文件夹

关闭 SELinux:
sudo vi 
更多...