会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
riocke
博客园
首页
新随笔
联系
订阅
管理
2018年4月9日
关闭盖子休眠
摘要: 安装acpid软件包 添加服务到开机自启级别"default" (OpenRC) 启动服务 编写规则 # emacs /etc/acpi/events/lid # emacs /etc/acpi/actions/lid.sh # emacs chmod +x /etc/acpi/actions/li
阅读全文
posted @ 2018-04-09 14:24 riocke
阅读(332)
评论(0)
推荐(0)
2017年12月23日
mednafen综合游戏模拟器
摘要: 无声 更改 ~/.mednafen/mednafen-xxx.cfg 文件中 Select sound driver 部分 sound.driver default -> sound.driver sdl 参考:https://forums.gentoo.org/viewtopic-p-796547
阅读全文
posted @ 2017-12-23 16:34 riocke
阅读(1769)
评论(0)
推荐(0)
2017年12月16日
gentoo更新系统记录
摘要: # emerge-webrsync # emerge-auDN --with-bdeps=y @world Kernel # cd /usr/src/linux # make oldconfig # make modules_prepare # make -j5 && make modules_in
阅读全文
posted @ 2017-12-16 17:26 riocke
阅读(438)
评论(0)
推荐(0)
2017年12月14日
gentoo equery
摘要: equery - gentoo package query tool e.g. 查看已安装的软件包或者给定包列表 - 查看portage tree中的给定包列表 > 结果列表中 > 第一个字段部分含义 > "I"(installed)已安装,"P"(portage)存在于portage tree中
阅读全文
posted @ 2017-12-14 11:11 riocke
阅读(541)
评论(0)
推荐(0)
2017年11月26日
DWM
摘要: ft2build.h:没有那个文件或目录 注释掉config.mk 21行 使用XF86媒体按键 dwm.c文件中添加头文件”#include <X11/XF86keysym.h>” Patches:systray,noborder 参见archwiki Bar高度 dwm.c 中: bh = dr
阅读全文
posted @ 2017-11-26 22:07 riocke
阅读(442)
评论(0)
推荐(0)
2017年10月8日
一些问题
摘要: 字体渲染 1、字体dpi指定在Xft和fontconfig中,屏幕dpi指定在/etc/X11/xinit/xserver中。 以下选项为个人主观感觉,请自行测试斟酌。 对于文泉驿微米黑和Droid Sans字体 antialias:1,autohint:0,hinting:1,hintstyle:
阅读全文
posted @ 2017-10-08 10:01 riocke
阅读(1186)
评论(0)
推荐(0)
2017年9月19日
同步时间
摘要: 检查 timedatectl status <此为systemd命令> 更改ntp配置 sudo vim /etc/ntp.conf 立即同步 ntpd -qg 写入硬件时钟 hwclock -w 启动时启用ntpd服务 systemctl enable ntpd
阅读全文
posted @ 2017-09-19 18:44 riocke
阅读(150)
评论(0)
推荐(0)
2017年6月13日
Vim常用命令
摘要: 多窗口分割 ”:sp/vsp“ 纵向/横向分割窗口 “Ctrl+w” 在窗口中跳转 多文件打开 vim name1 name2 name3 “:n/n filename/bn/bp” 当打开多个文件时在多个文件中跳转/下一个文件/上一个文件(不能在多窗口中跳转) #不是同时打开多个文件时,进行跳转会
阅读全文
posted @ 2017-06-13 12:10 riocke
阅读(142)
评论(0)
推荐(0)
2017年5月26日
无法卸载挂载点
摘要: fuser -um /dev/sdax -u pid后面显示进程拥有者名称 -m 指定已挂载的块设备) kill -9 xxxx
阅读全文
posted @ 2017-05-26 12:26 riocke
阅读(235)
评论(0)
推荐(0)
2017年4月25日
实时查看cpu频率、cpu温度、设置cpu工作频率、查看电池电量
摘要: 1 cat or watch grep \"cpu MHz\" /proc/cpuinfo 2 cat or watch /sys/class/thermal/thermal_zone0/temp 3 -- cpupower frequency-set -u (设置cpuMAX频率,单位:GHz、MHz) -- cpupower frequency-set -d (设置cpuMIN频率,单位:G...
阅读全文
posted @ 2017-04-25 15:10 riocke
阅读(1382)
评论(0)
推荐(0)
下一页
公告