码迷,mamicode.com
首页 > 系统相关 > 详细

Linux之温故知新2

时间:2018-10-21 20:40:01      阅读:244      评论:0      收藏:0      [点我收藏+]

标签:hostname   rtu   服务   des   rmi   pychar   bsp   rem   cname   

1.关于ssh免密码登陆的ssh-keygen, ssh-copy-id的使用, 然后使用ssh-copy-id user@remote将公钥传给服务器, 以及别名

1 C:\Users\linxmouse\.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

 

Linux之温故知新2

标签:hostname   rtu   服务   des   rmi   pychar   bsp   rem   cname   

原文地址:https://www.cnblogs.com/linxmouse/p/9826563.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!