Custom Shortcut

  1. Super+W = open browser
  2. Super+R = open terminal
  3. Super+Shift+S = screenshot

优点

./program | xclip -selection c copy output to clipboard
[[ranger]] yc copy content yn copy name

问题

  1. 微信 emoji 无法显示
  2. Ctrl+arrowKey 无中文分词
  3. scaling on HiDPI display
    1. Matlab
    2. Gnome Tweak
    3. 依云blog
  4. Matlab mupad 无法输入中文
  5. 鼠标滚轮速度调节 imwheel,但是触摸板就有问题了
  6. Bluetooth 连接极慢 sudo -e /etc/bluetooth/main.conf change setting
  7. 鼠标速度有问题
  8. 鼠标在 GTK 应用里会变大
  9. White Color scheme with white text can't see
  10. VSCode terminal font "terminal.integrated.fontFamily": "MesloLGS NF"
  11. office kinda sucks
  12. wayland fucked up after random upgrade

代理

  1. 安装 Clash via [[pacman]]
  2. Config directory in ~/.config/clash/
  3. create [[systemd]]
    [Unit]
    Description=Clash daemon
    After=network.target
    
    [Service]
    Type=simple
    Restart=always
    MemoryLimit=125M
    ExecStart=/usr/bin/clash -d /home/cyn/.config/clash
    
    [Install]
    WantedBy=multi-user.target
  4. Set up proxy in network
  5. Use yacd to control clash
  6. hope the program will use your proxy setting

中文输入法

方法
完成后 logout

Gnome

Gnome Tweak

  • 换主题
  • 调缩放

Gnome Box

work out of the box

Gnome terminal

gnome-terminal --window --maximize add to custom shortcut with Super+R

Add desktop icon

Unix Exchange
~/.local/share/applications/

软件

sudo pamac install obsidian-appimage dropbox picgo-appimage

  • Dropbox works perfectly
  • WeChat
    • 解决中文显示问题
    • 解决缩放问题
      • ~/.pam_environment
      • WINEPREFIX=~/.deepinwine/Deepin-WeChat deepin-wine6-stable winecfg
  • fzf
    • [[Linux Command Modern Alternative]]
    • It's kind of magic
  • ranger [[Vim-like]]
  • Vim [[Vim-like]]
  • Flameshot
  • [[VSCode]]
  • [[Color Scheme]]
  • [[Command Line]]

总结

上了 Linux 就知道 Windows 下的字体渲染和编程体验是多么的屎
同时也知道 Linux 是有多折腾,Out of the box experience? tan90

Colorscheme

[[Vim-like]]

NLKNguyen/papercolor-theme

[[Manjaro]] terminal

Color Schemes For Ubuntu, Linux Mint, Elementary OS and all distributions that use Gnome Terminal, Pantheon Terminal, Tilix, or XFCE4 Terminal; initially inspired by Elementary OS Luna. Also works on iTerm for macOS. You can check out the themes here.
https://mayccoll.github.io/Gogh/
Use 22: Bluloco Zsh Light


Vim

Clipboard

:%y+ copy all to clipboard

Windows

CTRL-W= equal size
CTRL-W- decreases the current window
:vsp vertically split windows
:e edit new file in current buffer
<C-^> quickly switch buffer (this and before, only 2 buffers will be loaded)

dot .

Available only after insert

Plugins

coc.nvim

install nodejs curl -sL install-node.vercel.app/lts | bash

  • coc-json
  • coc-html
  • coc-yank
  • ccls via pacman

Vim-plug

  • sneak s find 2 character, ; find next

Macros

Src
q<letter><commands>q where letter is a-z
<number>@<letter> to use

Movements

HJKL move 5 lines
setxkbmap -option caps:swapescape swap caps lock with esc key
R replace more char

Remap

<leader> ->

Indent

<G, >G to indent (. to repeat)
[[ranger]]


CLI

Cursor moving

Src

  • alt (⌥)+F to jump Forward by a word
  • alt (⌥)+B to jump Backward by a word
  • alt (⌥)+D to delete a word starting from the current cursor position
  • ctrl+A to jump to start of the line
  • ctrl+E to jump to end of the line
  • ctrl+K to d$
  • ctrl+Y to paste text from the kill buffer
  • ctrl+R to reverse search for commands you typed in the past from your history
  • ctrl+F to move forward by a char
  • ctrl+B to move backward by a char
  • ctrl+W to remove the word backwards from cursor position

Modern linux command

fd

fd --extension txt

fzf

Add fzf to plugins
M-c = cd
C-r = search history(same as before)
C-t = list current directory

zsh

bat


ranger

zh = show hidden
空格选中一个文件,对选中的文件再按空格取消选中
ranger --copy-config=all copy config to
install highlight to preview code

Bookmark

m + key to save a bookmark
use ' to navigate

Basic keybinding

g for navigation and tabs
r for :open_with command
y for yank(copy)
d for cut/delete
p for paste
o for sort
. for filter_stack
z for changing settings
u for "undo"
M for line mode
+-= for setting access rights to files

config

rc.conf

# Use yc to copy content to system clipboard 
map yc shell cat %p | xclip -sel clip

感谢总结!
2月底从 windows 迁移到 Manjaro Linux... 现在感觉有些 bug. 比如:

  1. 锁屏状态下恢复会黑屏
  2. 用着用着屏幕中间提示需要敲命令 loginctl unlock-session
  3. 有时候用久了打不开应用
    平均一天因为系统问题重启一次……现在想换回去了……
    平常日常是 pacman -Syu 的 🤣

    sunnysab 可以考虑

    1. 换 xorg ,现在 gnome 默认安装是 wayland
    2. 换 kernel ,我的联想小新 5.16 正常 5.17 睡死 5.15 没 driver

      问题123456789都可换macOS解决(手动狗头
      当然 customizability--;

        0x0001 做他想让你做的事情,你就海阔天空
        除此之外呢?哈哈哈哈哈坐牢吧你(适用于水果几乎所有产品

        我一直都想将 Linux 作为主力开发平台,可惜好像不能装钉钉

        © 2018-2025 0xFFFF