LinuxMint19/LMDE3安装后的设置

时间:2022-10-26 17:14:50

LinuxMint 安装后进行一些设置。

1.设置主板时间为本地时间,默认为UTC时间,与Windows不同,如果双系统,时间有时差。

sudo timedatectl set-local-rtc true

2.安装常用的软件程序。

sudo apt install csh flashrom vim tree android-tools-adb android-tools-fastboot git subversion ssh cmake gcc g++ unrar rar p7zip dos2unix minicom tftp libncurses5 libncurses5-dev fxload sdcc winbind gparted vim-gtk libusb-1.0-0 libusb-1.0-0-dev libx11-6:i386 libc6-dev-i386 libpng16-16:i386 libfontconfig1:i386 libjpeg62-turbo:i386 libtiff5:i386 libxau6:i386 libxext6:i386 libsm6:i386 libxrender1:i386 libncurses5:i386

移除无用字体和软件 sudo apt remove dmraid fonts-arphic-*

3.安装sysfsutils软件包,修改CPU工作主频。

4.修改/etc/sysfs.conf,并添加以下内容

devices/system/cpu/cpu0/cpufreq/scaling_governor = powersave devices/system/cpu/cpu1/cpufreq/scaling_governor = powersave devices/system/cpu/cpu2/cpufreq/scaling_governor = powersave devices/system/cpu/cpu3/cpufreq/scaling_governor = powersave

devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 1000000 devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 1000000 devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 1000000 devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 1000000

下面可以解决某些发行版屏幕背光亮度的开机默认值。

# LCD Brightness class/backlight/intel_backlight/brightness = 42