个人环境配置

环境配置

系统环境

  • 暂时环境为Ubuntu 16.04 / 18.04
    配置了 idea, vscode, dingding, chrome, vscode, pycharm, git, tmux, wechat, qq, zsh

搜狗拼音输入法

vscode

zsh安装配置

echo $SHELL
cat /etc/shells
sudo apt-get install zsh
chsh -s /bin/zsh # 默认shell切换为zsh

git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
  • 中间执行chsh -s /bin/zsh 需要重启
  • vim .zshrc zsh 主题改为ys
  • 增加插件 zsh-autosuggestionszsh-syntax-highlighting
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

plugins=(其他的插件 zsh-autosuggestions zsh-syntax-highlighting)

记得最后执行source ~/.zshrc

qq wechat 安装

下载微软雅黑字体,msyh.ttc

#1.添加字体
cp msyh.ttc ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts

#2.修改系统注册表
gedit ~/.deepinwine/Deepin-WeChat/system.reg
#修改以下两行
"MS Shell Dlg"="msyh"
"MS Shell Dlg 2"="msyh"

#3.字体注册
gedit msyh_config.reg
#内容添加
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"Lucida Sans Unicode"="msyh.ttc"
"Microsoft Sans Serif"="msyh.ttc"
"MS Sans Serif"="msyh.ttc"
"Tahoma"="msyh.ttc"
"Tahoma Bold"="msyhbd.ttc"
"msyh"="msyh.ttc"
"Arial"="msyh.ttc"
"Arial Black"="msyh.ttc"
#注册
WINEPREFIX=~/.deepinwine/Deepin-WeChat deepin-wine regedit msyh_config.reg

#4.reboot
  • 中间有个黑框的问题 百度搜索 怎么弄微信里打字会出现表情
    • 这里我只需要打伤心 就可以了
  • 托盘显示
    安装top-icons
sudo apt-get install gnome-shell-extension-top-icons-plus gnome-tweaks

终端输入gnome-tweaks, 然后选择extensions, 然后将Topicons plus勾上on

google浏览器 安装

tmux 安装配置

其中tmux conf配置为

set -g mouse on
set-window-option -g mode-keys vi
set-window-option -g utf8 on
set-window-option -g automatic-rename off
set-option -g allow-rename off
对于高版本的tmux,set -g mouse on会提示命令过于模糊,因为高版本tmux鼠标设置被拆分为鼠标调整大小、鼠标选择窗格、鼠标选择窗口等选项。
 
setw -g mouse-resize-pane on
setw -g mouse-select-pane on
setw -g mouse-select-window on
setw -g mode-mouse on

ubuntu截图

首先安装deepin-screenshot

sudo apt-get update -y
sudo apt-get install -y deepin-screenshot

然后进入
settings -> Devices -> Keyboard -> add command
Name: 截图, Command: deepin-screenshot, Shortcut: Ctrl+Alt+A

  • ctrl+alt+a 截图可以保存到folder下
  • alt+a, 截图保存到剪辑板

桌面以及用户头像设置

  • 找到目录为
    /media/draymonder/Windows/Users/ixiao/Documents/My Pictures
  • 当前壁纸为

网易云音乐安装

中间如若遇到问题用如下命令来解决
sudo apt-get install -f

wps安装

个性化配置

切换不同的桌面

settings -> Devices -> Keyboard
找到 Move to workspace above 快捷键改为ctrl + win + 上箭头
找到 Move to workspace below 快捷键改为ctrl + win + 下箭头

代理问题

jdk11 安装

maven 安装

IDEA 安装

terminal使用

  • ubuntu terminal 复用 快捷键
    • ctrl + alt + T打开terminal
    • ctrl + shift + T 终端复用

docker 以及 docker compose 安装

posted @ 2020-02-03 22:21  Draymonder  阅读(296)  评论(0编辑  收藏  举报