01 2023 档案

摘要:换纯wayland,在.bashrc中加入`export MOZ_ENABLE_WAYLAND=1` 附检测方法:Firefox 地址栏输入`about:support`,找关键字 `Window Protocol`。 阅读全文
posted @ 2023-01-28 16:15 383494 阅读(117) 评论(0) 推荐(0) 编辑
摘要:f(x)=x2+c 满足:xy(modn),f(x)f(y)(modn). 用 f(x) 生成一列数 a0=x,an=f(n)(x)=f(an1). 这意味着对要分解的数 m 的一个因子 p 阅读全文
posted @ 2023-01-27 16:49 383494 阅读(14) 评论(0) 推荐(0) 编辑
摘要:constexpr int N = 10001; struct Heap{ int datA[N]; // start from 1 int siz; // int (*topper)(int, int); #define topper(a, b) ((a)<(b)) void up(int id) 阅读全文
posted @ 2023-01-27 14:00 383494 阅读(10) 评论(0) 推荐(0) 编辑
摘要:#include <algorithm> using std::min; using std::max; typedef unsigned long long ull; typedef long long ll; constexpr ull BASE = 100000000; constexpr u 阅读全文
posted @ 2023-01-20 12:56 383494 阅读(18) 评论(0) 推荐(0) 编辑
摘要:~~作死中...~~ 想试试norman,但我用的是wayland,~~棺方~~官方的xkeymap用不了(实际在sway下是可以的只是当时我没发现) 翻archwiki半天没找到方法,最后在fcitx5上发现了这个布局,果断换了。 用fcitx5换布局还有一个好处,就是它的的norman和Rime 阅读全文
posted @ 2023-01-19 19:37 383494 阅读(74) 评论(0) 推荐(0) 编辑
摘要:原来以为是镜像站坏了,尝试了好几个站点都这样 firefox换成chromium就没问题,让我一度以为firefox有什么bug 后来发现是surfingkeys这个插件的问题,换了Vimium-FF完事 2023.1.24 Upd:换了chromium并装上surfingkeys后我发现确实是fi 阅读全文
posted @ 2023-01-11 14:21 383494 阅读(29) 评论(0) 推荐(0) 编辑
摘要:症状:开机后第一次播放有声音,后面没有 翻遍了arch wiki和archbbscn都没有找到原因,当天晚上做梦想到是不是内核的问题(我装的linux-lts) 第二天换了linux,果真神奇的好了 但linux有个问题(bbs里有人提过,后来换了linux-lts)是笔记本的电源显示,因此我逃到了 阅读全文
posted @ 2023-01-11 14:16 383494 阅读(100) 评论(0) 推荐(0) 编辑
摘要:本来用sakura+fcitx5(rime)好好的,突然有一天archlinux升级,终端里输入显示不了候选框了。先后试了sakura->alacritty, fcitx->ibus->fcitx(ibus在libreoffice会鬼畜),最后发现是因为alacritty不兼容wayland,使用e 阅读全文
posted @ 2023-01-07 17:39 383494 阅读(83) 评论(0) 推荐(0) 编辑
摘要:这篇文章 介绍了几种方法, 在wayland下我用的是xhost +SI:localuser:root 阅读全文
posted @ 2023-01-04 09:36 383494 阅读(44) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示