在ubuntu里查看各种温度
安装:
1 |
sudo apt install lm-sensors hddtemp psensor |
运行查找sensor: [crayo […]
人生没有原因,闯出一路精彩
安装:
1 |
sudo apt install lm-sensors hddtemp psensor |
运行查找sensor: [crayo […]
https://askubuntu.com/questions/435409/pcb-software-ava […]
在Mac下,用终端ssh到ubuntu下,用vim打开含有中文的文件, 发现乱码。参考:http://www. […]
1 |
vi /etc/lightdm/lightdm.conf |
在后面加上一行: [crayon-6477c […]
在Ubuntu14.04如果只安装apt-get install xrdp, 用远程桌面过去只会显示一个灰色的 […]
想要安装双系统, 家里的电脑没有问题,安装方法见之前的一篇文章:http://allstack.net/wor […]
快捷方式在linux里叫启动器 例子一:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
[Desktop Entry] Name=GNOME System Monitor Comment=View current processes and monitor system state TryExec=gnome-system-monitor Exec=gnome-system-monitor Icon=utilities-system-monitor Terminal=false Type=Application StartupNotify=true Categories=GNOME;GTK;System;Monitor; OnlyShowIn=KDE; X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=system-monitor X-GNOME-Bugzilla-Component=general X-GNOME-Bugzilla-Version=3.8.2.1 Keywords=Monitor;System;Process;CPU;Memory;Network;History;Usage; X-Ubuntu-Gettext-Domain=gnome-system-monitor |
保 […]
可在/usr/share/application/下面找到gnome-system-monitor 也可以在终 […]
本想占用一下公司那台8核32GRAM的服务器,玩玩QT的,但仿佛装完后本地可打开, 远程打不开,网上找了几天没 […]
用ubuntu几年了,多数都是在虚拟机里装的系统,还有公司内网的服务器真正装过。 今天终于把Ubuntu装在硬 […]
在/usr/share/application/下面有很多双击可打开的快捷方式, 用文本编辑器打开,其实都是一 […]
在ubuntu里,用C或其它语言生成的可执行文件,运行时一般如下: [crayon-6477cc3a2d015 […]
c
1 |
vi main.c |
写入以下代码: [crayon-6477 […]
1 |
apt-get install g++ |
实际上装了: g++ g++-4.8 lib […]
apt-get update apt-get upgrade apt-get install xxx apt- […]
原因是Ubuntu默认安装的是vim tiny版,安装vim full版即解决问题。 步骤: [crayon- […]
cd ~/.config ls看有没有google-chrome目录,没有就:mkdir google-chr […]
firefox-编辑-首选项-高级-常规-使用自动滚屏 参考:https://www.ubunt […]
1 2 3 4 |
vi /etc/profile 在最后加入一行: export HISTTIMEFORMAT="%F %T `whoami` " 退出,重登,ok |
.gz 解压1:gunzip FileName.gz 解压2:gzip -d FileName.gz 压缩:g […]