安装Debian后做的一些事情

时间:2021-12-19 17:12:16

1.source.list

# aliyun
deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib
deb http://mirrors.aliyun.com/debian/ stretch-proposed-updates main non-free contrib
deb http://mirrors.aliyun.com/debian-security/ stretch/updates main non-free contrib
deb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch-proposed-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian-security/ stretch/updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib

2. open terminal here

Applications Menu - File Manager - Configure Custom Actions - Create Action
    - Basic
        - Command: exo-open --working-directory %f --launch TerminalEmulator
    - Appearance Conditions
        - File Pattern: *
        - Appears if selection contains:
           Directories

3.sudo

apt-get install sudo
visudo

4. 共享文件夹

$ cd /mnt
$ sudo mkdir share
$ sudo mount -t vboxsf vshare /mnt/share

5. material theme

cd /tmp && wget -qO - https://github.com/nana-4/materia-theme/archive/master.tar.gz | tar xz
cd materia-theme-master
sudo ./install.sh

6. paper icon

https://github.com/snwh/paper-icon-theme
https://snwh.org/paper/download
# install the deb
sudo dpkg -i paper*.deb
# install dependencies
sudo apt-get install -f

7. 搜狗输入法

- https://pinyin.sogou.com/linux/
- logout

8. Pentadactyl

https://github.com/willsALMANJ/pentadactyl-signed/releases

https://files.cnblogs.com/files/ibgo/pentadactyl.tar.gz

9. 屏幕保护

xfce4的屏幕保护在“电源管理”里。

10. tmux

 https://www.kancloud.cn/kancloud/tmux
https://github.com/gpakosz/.tmux

11. 更改ctrl和capslk按键

~/.xmodmap

!
! Swap Caps_Lock and Control_L
!
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L

......