1、将非安装的package显示在应用程序列表,以mendeley为例
我们知道,Ubuntu下,Desktop Entry在 /usr/share/applications/目录下,是 *.desktop 形式的文件。 使用root权限,在该目录创建一个 mendeley.desktop,内容如下: 1 [Desktop Entry] 2 Type=Application 3 Icon=/home/chenhao/App/mendeley/share/icons/hicolor/128x128/apps/mendeleydesktop.png 4 Name=mendeley 5 Comment="Start mendeley desktop" 6 Exec=/home/chenhao/App/mendeley/bin/mendeley 7 Categories=Utility; 然后,修改权限 sudo chmod a+x mendeley.desktop
这样,在Unity中就可以显示mendeley了,也可以固定到 Launcher。
|
2、将某个程序可以使用终端命令呼出
vim /usr/bin/APP_NAME
-------------------------------------------------------------
!/bin/bash
EXEC_FILE_PATH
|
3、更换linux内核
sudo apt-get install ... //安装新内核
sudo update-grub //升级grub
dpkg --get-selections | grep linux-image //显示当前安装的所有内核
dpkg -l | grep linux-image //
uname -a //显示当前使用的内核
uname -r //
sudo apt-get purge ... //卸载旧内核
|
3、ubuntu下一些好用的app和配置
注:qt官网上有click2run的新版本
|
4、Ubuntu配置Flatabulous主题
|
5、ubuntu安装zsh和oh my zsh终端
1. ubuntu中默认安装了哪些shell
$ cat /etc/shells
# /etc/shells: valid login shells
/bin/sh
/bin/dash
/
bin/bash
/bin/rbash
(有sh、dash、bash和rbash)
2.当前正在运行的是那个版本的shell
$ echo $SHELL
/bin/bash
3.正式安装zsh、git和wget
|
6、Ubuntu设置某个app不apt-get更新
sudo apt-mark hold NAME_OF_APP |
7、ubuntu下java应用字体丑陋的问题
http://www.ophome.cn/question/48532
Apply a font style that looks good.And reboot the system. |