1.关于ssh免密码登陆的ssh-keygen, ssh-copy-id的使用, 然后使用ssh-copy-id user@remote将公钥传给服务器, 以及别名
1 C:Userslinxmouse.ssh
2 λ cat config
3 Host vmlinux
4 HostName 192.168.31.103
5 User linxmouse
6 Port 22
2.将Pycharm添加到xubuntu的快捷启动
1 linxmouse@ubuntu:~$ sudo code /usr/share/applications/pycharm.desktop --user-data-dir
2
3 [Desktop Entry]
4 Type=Application
5 Name=Pycharm
6 GenericName=Pycharm3
7 Commnet=Pycharm3:The Python IDE
8 Exec="/home/linxmouse/Apps/pycharm-2018.2.4/bin/pycharm.sh" %f
9 Icon=/home/linxmouse/Apps/pycharm-2018.2.4/bin/pycharm.png
10 Terminal=pycharm
11 Categories=Pycharm;
或者打开pycharm,tools/create desktop entry...
3.xubuntu中增加Fcitx输入法的支持,向pycharm.sh增加三行
1 #!/bin/sh
2 #
3 # ---------------------------------------------------------------------
4 # PyCharm startup script.
5 # ---------------------------------------------------------------------
6 #
7
8 # ---------------------------------------------------------------------
9 # Support Fcitx
10 # ---------------------------------------------------------------------
11 export GTK_IM_MODULE=fcitx
12 export QT_IM_MODULE=fcitx
13 export XMODIFIERS=@im=fcitx