ubuntu

Ubuntu初始化环境

0. sudo免密码

***csdn-sudo免密码 ***

1. 安装chrome

***参考mUncleWang——Ubuntu 16.04安装Chrome浏览器 ***
1.将下载源加入系统源列表

sudo wget http://www.linuxidc.com/files/repo/google-chrome.list -P /etc/apt/sources.list.d/

2.导入谷歌软件公钥

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

3.更新源

sudo apt-get update

4.安装chrome

sudo apt-get install google-chrome-stable

2. 安装ss

***参考大宝日记——ubuntu安装ss-qt5 ***
1.安装ss-qt5

sudo add-apt-repository ppa:hzwhuang/ss-qt5
sudo apt-get update
sudo apt-get install shadowsocks-qt5

2.安装ss命令

sudo apt-get update
sudo apt-get install python-pip
sudo apt-get install python-setuptools m2crypto
pip install shadowsocks

3.安装chrome插件SwitchyOmega

SwitchyOmega 2.5.10 for Chrome

规则列表设置选择AutoProxy 然后将这个地址填进去,点击下面的立即更新情景模式。

https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt

4.ss-config
百度云->config->ss-qt5->gui

3. Ubuntu安装ibus-pinyin

***参考ljheee——Ubuntu 16.04安装安装iBus中文输入法 ***
***参考wiki——IBus


4. 安装remarkable

点击下载remarkable

5.

6. 配置Ubuntu主题

a. 安装字体

1.百度云->我的资源->font;下载consola

sudo mv consola* /usr/share/fonts/truetype/consola

2.安装文泉雅黑

sudo apt install ttf-wqy-microhei

b. 安装扁平化主题

***参考zhwhong——[Linux] Ubuntu下超好看扁平主题 : Flatabulous ***

  • 方法一:

sudo add-apt-repository ppa:noobslab/themes
sudo apt-get update
sudo apt-get install flatabulous-theme

c. 安装ultra-flat-icons

sudo add-apt-repository ppa:noobslab/icons
sudo apt-get update
sudo apt-get install ultra-flat-icons

d. 安装compizconfig-setting-manager

sudo apt install compizconfig-setting-mananger
sudo apt install compiz-plugins
设置所有的画面

e. 解决unity年月日格式

gsettings set com.canonical.indicator.datetime time-format ‘custom’
gsettings set com.canonical.indicator.datetime custom-time-format ‘%Y-%m-%d- %A %H:%M:%S’

添加ssh

// 设置git的user.name、user.email
git config --global user.name “Lwwen”
git config --global user.email "lwwen1107@qq.com"

ssh-keygen -f “${HOME}/.ssh/ubuntu16.04” -N **** -t rsa -C "lwwen1107@qq.com"

f. 参考Jim——安装zsh、oh-my-zsh

***参考Jim——安装zsh、oh-my-zsh ***

1)安装zsh

sudo apt-get install zsh

2)把默认的Shell改成zsh
注意:不要使用sudo。

chsh -s /bin/zsh

3)安装git
sudo apt-get install git

4)使用curl或wget安装oh-my-zsh

使用curl:sh -c “$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)”

使用wget:sh -c “$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)”

5)安装autojump

sudo apt install autojump

配置教程

cat /usr/share/doc/autojump/README.Debian

配置

vim .zshrc

// 在最后一行加入,注意点后面是一个空格

. /usr/share/autojump/autojump.sh

生效

source ~/.zshrc

6)安装语法高亮插件

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo “source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh” >> KaTeX parse error: Expected '}', got 'EOF' at end of input: {ZDOTDIR:-HOME}/.zshrc

生效

source ~/.zshrc

7)安装zsh-autosuggestions语法历史记录插件

git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

配置

vim .zshrc

然后增加zsh的执行文件在最后一行:
source $ZSH_CUSTOM/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh

生效

source ~/.zshrc

8)配置主题
sudo vim ~/.zshrc
找到ZSH_THEME=“robbyrussell”,修改为:ZSH_THEME=“ys”;

生效:

source ~/.zshrc

7. 安装开发工具

a. 安装jdk

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

b. 安装IDEA

***点击安装IDEA (without JDK) ***
***点击安装IDEA (with JDK) ***

c. 激活IDEA 2018

安装netease-cloud-music

前提安装vlc:sudo apt install vlc
点击进入netease-cloud-music下载页面

安装wps

点击下载wps-Alpha

安装读书软件

安装bookworm

bookworm安装界面

  • Bookworm命令安装
    // missing libgranite4
    sudo add-apt-repository ppa:bookworm-team/bookworm
    sudo apt-get update
    sudo apt-get install com.github.babluboy.bookworm

sudo add-apt-repository ppa:elementary-os/stable
sudo apt-get update
sudo apt-get install com.github.babluboy.bookworm

安装i3-wm

sudo apt install i3 i3status i3blocks i3lock rofi

// 安装i3wm背景及透明度插件
sudo apt install feh compton

// 安装背光软件
sudo apt install xbacklight alsamixergui

// 安装音量插件
sudo apt install volumeicon

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值