arch linux 下在 nautilus 加载 Google Drive

之前用 ubuntu 里的 gnome,在 Online account 里填上 Google 帐号,打开 File 选项,就可以在 Nautilus 里看见挂载上的 Google Drive,这次用 Endeavour OS,填完 Google 帐号,就像什么都没发生一样。

其实是缺了个 gvfs 的 backend,只需要:

yay -S gvfs-google

然后:

gio mount google-drive://<your gmail user>@gmail.com/

就可以了。

gio mount -l

可以看挂载情况。

Posted

用 vimium 键盘操作浏览器

给浏览器装上了 https://vimium.github.io/ 扩展,可以键盘操作浏览器,类似 vim 的操作体验,很不错,有点熟悉的感觉。

快捷键

Navigating the page

  1. jScroll down
  2. kScroll up
  3. ggScroll to the top of the page
  4. GScroll to the bottom of the page
  5. dScroll a half page down
  6. uScroll a half page up
  7. hScroll left
  8. lScroll right
  9. rReload the page
  10. yyCopy the current URL to the clipboard
  11. pOpen the clipboard's URL in the current tab
  12. POpen the clipboard's URL in a new tab
  13. iEnter insert mode
  14. vEnter visual mode
  15. giFocus the first text input on the page
  16. fOpen a link in the current tab
  17. FOpen a link in a new tab
  18. gfSelect the next frame on the page
  19. gFSelect the page's main/top frame

Using find

  1. /Enter find mode
  2. nCycle forward to the next find match
  3. NCycle backward to the previous find match

Using the vomnibar

  1. oOpen URL, bookmark or history entry
  2. OOpen URL, bookmark or history entry in a new tab
  3. bOpen a bookmark
  4. BOpen a bookmark in a new tab
  5. TSearch through your open tabs

Navigating history

  1. HGo back in history
  2. LGo forward in history

Manipulating tabs

  1. tCreate new tab
  2. JGo one tab left
  3. KGo one tab right
  4. g0Go to the first tab
  5. g$Go to the last tab
  6. ytDuplicate current tab
  7. xClose current tab
  8. XRestore closed tab

Miscellaneous

  1. ?Show help


Posted

腾讯会议的 arch 版本

刚刚在一篇文章里看到腾讯会议是有 arch 版本的,挺好,装上了。

yay -S wemeet-bin

Posted

在 Endeavour OS 安装 fcitx

1. 装上需要的软件包
sudo pacman -S fcitx5 fcitx5-gtk fcitx5-qt fcitx5-configtool fcitx5-rime

2. 装上 gnome-browser-connector,然后安装 kimpanel gnome extension,目的是让 fcitx 可以在 gnome 托盘图标里显示

sudo pacman -Sy gnome-browser-connector

https://extensions.gnome.org/extension/261/kimpanel/

3. 装上雾凇拼音

https://github.com/iDvel/rime-ice?tab=readme-ov-file

使用 AUR helper 安装 rime-ice-git 包即可。

# paru 默认会每次重新评估 pkgver,所以有新的提交时 paru 会自动更新,
# yay 默认未开启此功能,可以通过此命令开启
# yay -Y --devel --save

paru -S rime-ice-git
# yay -S rime-ice-git
推荐使用补丁的方式启用。

参考下面的配置示例,修改对应输入法框架用户目录(见下)中的 default.custom.yaml 文件

iBus 为 $HOME/.config/ibus/rime/
Fcitx5 为 $HOME/.local/share/fcitx5/rime/
default.custom.yaml
patch:
# 仅使用「雾凇拼音」的默认配置,配置此行即可
__include: rime_ice_suggestion:/
# 以下根据自己所需自行定义,仅做参考。
# 针对对应处方的定制条目,请使用 <recipe>.custom.yaml 中配置,例如 rime_ice.custom.yaml
__patch:
key_binder/bindings/+:
# 开启逗号句号翻页
- { when: paging, accept: comma, send: Page_Up }
- { when: has_menu, accept: period, send: Page_Down }

4. 一些配置,可以使用 fcitx5-configtool

Posted

微信朋友圈不能改错别字

今天聊起 EasyDay(小日子)时,设计师很强烈地想要“取消打卡”功能——因为有时误打卡,不能撤销,她就很难受。这个功能最早是被我拒绝的,原因是:打了就打了,没必要取消。没有取消时,一天可以打多卡,反而是个“作弊”的小空间——适当留点这样的空间是好的。增加取消,反而增加了复杂度,用户需要动脑子想一下要不要取消。

Tony 举了个大产品的例子:朋友圈发布后,没几天就有人吐槽,说发朋友圈不能改错别字。需求被放进待定,一放就是十年。后来他尝试着理解产品团队的想法:人生就是会说错话的,不完美就是真实的人生呀。

至于产品团队是不是这么想的,就不得而知了。

草料二维码和 Linktree

今天和一家公益机构的人聊起,她们其实应该鼓励用户、家属、义工、员工尽可能帮助宣传她们的机构和故事,我胡乱支了个招,比如她们跟来访者沟通讲解完毕后,请他们扫一个码,帮着传播该码后的故事(活码,可随时更换)。

这么说着,似乎是个小产品?像是个裁剪版的草料二维码和 linktree?

草料二维码:https://cli.im/

Linktree:https://linktr.ee/

后续可以琢磨琢磨,说不定可以做个简单的小东西。

以及,草料的应用场景,还是蛮厉害的:

https://cli.im/case/