# idea
idea() {
nohup your_path/bin/idea.sh "$(pwd)" > /dev/null 2>&1 &
}
[......]
1 安装插件
C / C++
2 配置include
出现“#include errors detected.”时,按ctrl + .跳转进入配置,或者打开c_cpp_properties.json直接配置:
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",[......]
昨天写了如何在Win11下主动降频率,解决ThinkBook噪音问题,今天看下Ubuntu的
我的版本是22.04,默认驱动是acpi-cpufreq,这么确认驱动:
grep . /sys/devices/system/cpu/cpufreq/policy*/scaling_driver
/sys/devices/system/cpu/cpufreq/policy0/scaling_driver:acpi-cpufreq
...
这么禁用睿频:
echo "0" | sudo[......]
1 安装wps
https://www.wps.com/office/linux/
这里选海外版面,因为阉割了会员功能,比较干净,但是它没有中文
2 下载中文语言包
https://pan.baidu.com/s/1cUO7XPO_uqJNoJKwDsX-RQ
提取码:fpg4
将zh-cn解压缩到/opt/kingsoft/wps-office/office6/mui/下
3 配置变量
编辑/usr/bin/wps,新增
LANGUAGE=zh_CN
4 检查[......]