摘要: 安装fcitx后不能切换到中文输入法,在.bashrc或者.profile中添加以下代码: #fcitx export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export XMODIFIERS="@im=fcitx" 阅读全文
posted @ 2019-10-14 12:42 defifind 阅读(5300) 评论(0) 推荐(1) 编辑
摘要: 查看是否有autostart文件夹,有则不建立 mkdir -v ~/.config/autostart 可直接修改/etc/xdg/autostart/at-spi-dbus-bus.desktop中X-GNOME-Autostart-enabled=false cat /etc/xdg/auto 阅读全文
posted @ 2019-10-12 18:00 defifind 阅读(1548) 评论(0) 推荐(0) 编辑
摘要: 内核允许您使用各种选项运行系统。示例列表https://www.kernel.org/doc/html/v4.14/ad...eters.html如何为以下项添加选项:__________________________________ {GRUB Legacy打开/ boot / grub / m 阅读全文
posted @ 2019-10-12 11:53 defifind 阅读(1116) 评论(0) 推荐(0) 编辑
摘要: minicomminicom 是一款启动速度快,功能强大的串口终端调试工具,当然缺点就是纯字符界面,没有图形界面的调试工具看起来直观方便,但是它功能十分强大,并且在一些没有屏幕的嵌入式主板上运行颇有用处。 安装:apt-get install minicomcutecom这款软件就与我们在Windo 阅读全文
posted @ 2019-10-12 10:16 defifind 阅读(2437) 评论(0) 推荐(0) 编辑
摘要: freebsd-version or uname -mrs freebsd-update fetch install pkg update && pkg upgrade -y freebsd-update -r xx.x-RELEASE upgrade freebsd-update install 阅读全文
posted @ 2019-10-09 11:35 defifind 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 1) 添加必需的软件源:zypper addrepo -f http://packman.inode.at/suse/openSUSE_Leap_15.1/ packmanzypper addrepo -f http://opensuse-guide.org/repo/openSUSE_Leap_1 阅读全文
posted @ 2019-08-13 20:27 defifind 阅读(1279) 评论(0) 推荐(0) 编辑
摘要: 1、创建虚拟环境 $ python3 -m venv <环境名称> 2、激活虚拟环境 $ source <环境名称>/bin/activate 3、关闭虚拟环境 $ deactivate virtualenv用于创建独立的Python环境,多个Python相互独立,互不影响。 安装方法 1、shel 阅读全文
posted @ 2019-08-09 12:09 defifind 阅读(34768) 评论(0) 推荐(2) 编辑
摘要: Debian系列Linux共用相同的deb安装包,拥有大量的各种软件,是Linux里面最主要的生态系。包括Ubuntu及其衍生版本如Lubuntu/Mate/Kubuntu等,在ARM上也有很好的支持如Rapsberry、LXDE、Hypriot等。对于Linux服务器的版本如Hypriot,初始镜 阅读全文
posted @ 2019-05-30 13:24 defifind 阅读(2503) 评论(0) 推荐(0) 编辑
摘要: grep => ack, agack和ag是两个文本搜索工具,比自带的grep要好用得多。在指定目录下搜索文本时,它们不需要像grep那样指定各种命令行选项,输出结果也会包含文件名和行号,并且会高亮显示搜索关键字。两者的基本功能很相似,所以可以任选一个安装。在Ubuntu 18.04上可以使用以下命 阅读全文
posted @ 2019-05-28 20:12 defifind 阅读(659) 评论(0) 推荐(0) 编辑
摘要: apt-cyg mirror 'https://mirrors.aliyun.com/cygwin/' #设置镜像 windows下安装工具包 inetutils;其中包含telnet等命令; Python3 apt-cyg install base-cygwin base-files bind-u 阅读全文
posted @ 2019-05-20 15:34 defifind 阅读(259) 评论(0) 推荐(0) 编辑