软件安装

软件默认安装到 /home/${USER}/app 目录下

idea

  1. wget -P ~/app/.temp https://download-cdn.jetbrains.com/idea/ideaIU-2021.2.1.tar.gz
  2. mkdir ~/app/ideau && tar xvf ~/app/.temp/ideaIU-2021.2.1.tar.gz --strip-components 1 --directory=/home/${USER}/app/ideau
  3. rm ~/app/.temp/ideaIU-2021.2.1.tar.gz

配置桌面图标

将下面的内容放置到 /usr/share/applications/idea.desktop

[Desktop Entry]
Version=3.2.1
Encoding=UTF-8
Name=idea
Comment=idea
Comment[zh_CN]=idea
Exec=~/app/idea/bin/idea.sh
Icon=/home/${USER}/app/idea/bin/idea.png
GenericName=idea
GenericName[zh_CN]=idea
keywords=idea
Categories=Utility;TextEditor;Development;IDE;
Type=Application
Terminal=false

解决输入法不跟随

下载下面的jbr 并替换idea下原本的jbr目录
https://github.com/RikudouPatrickstar/JetBrainsRuntime-for-Linux-x64

破解

jetbrains公司2021.3之后, 必须要登录帐号,才能开启使用, 那么以前的zhile大神的重置策略已经失效了 但是大神就是大神, 又出了一款通用的破解策略。

访问博客

安装 ja-netfilter
ja-netfilter 已经在github开源, 地址https://github.com/ja-netfilter/ja-netfilter
下载之后, 解压到任意目录,并在 ja-netfilter.jar同级目录创建 janf_config.txt并写入以下内容

# jb 的 janf_config.txt 配置文件

[DNS]
EQUAL,jetbrains.com

[URL]
PREFIX,https://account.jetbrains.com/lservice/rpc/validateKey.action


# DBEaver 阻断激活验证的 janf_config.txt 配置文件

[URL]
PREFIX,https://dbeaver.com/lmp/checkLicense


# SmartGit 的 janf_config.txt 配置文件

[URL]
PREFIX,https://store.smartgit.com/check

配置 jetbrais javaagent
jetbrains 每种ide都有自己的配置目录
linux /home/${USER}/.config/JetBrains/{{IDE_NAME}}/{{IDE_NAME}}.vmoptions
windows C:\Users\{{USER}}\.config\JetBrains\{{IDE_NAME}}\{{IDE_NAME}}.vmoptions

在配置文件中加入一行

-javaagent:/path/to/your/ja-netfilter.jar

安装charles

https://www.charlesproxy.com/download/latest-release/#

charles 破解

https://www.zzzmode.com/mytools/charles/ 在线生成注册码

安装l2tp(windows vpn)

sudo add-apt-repository ppa:nm-l2tp/network-manager-l2tp
sudo apt-get update
sudo apt-getinstall network-manager-l2tp

https://www.chengxuzhilu.com/2040.html

安装electron-ssr

https://github.com/qingshuisiyuan/electron-ssr-backup/releases
sudo apt install python

安装docker

docker权限

sudo gpasswd -a ${USER} docker
newgrp docker
sudo systemctl restart docker

邮箱管理

  1. blue mail (推荐)
  2. thunderbird mail

安装微信

使用winetricks-zh

sudo dpkg --add-architecture i386
sudo apt update
sudo apt install -y wine cabextract exe-thumbnailer

命令行软件

https://github.com/Aloxaf/fzf-tab#oh-my-zsh 命令行tab补全

  1. Yakuake(推荐) 下拉式终端(或者guake好像不太好用)
  2. tig 查看git历史
  3. exa 替代 ls 很方便强大
sudo  apt update && sudo apt install -y
fzf zsh fd autojump ncdu htop bat exa


alias ls=exa
alias top=htop
alias cat=batcat

环境配置

修改访问路径为英文

sudo apt install xdg-user-dirs-gtk

env LANG=en_US LANGUAGE=en_US xdg-user-dirs-gtk-update

fcitx 常用配置和问题

如何使用shift切换输入法
image.png
修改为如图所示的快捷键设置, 注意, 第二个一定要改, 否则会发现配置项commit when toggle state或者中文切换状态时提交 会不生效。

其他输入法怎么样
目前尝试过百度linux和sogoulinux,感觉体验都不行, 百度的没办法调整字体大小, 搜狗的和idea适配有问题, 输入框的位置总是离输入点很远,感觉很别扭, 因此还是老实用自带的sunpinyin吧。