Ubuntu trash location
~/.local/share/trash/
1. “无法加载mcrypt 扩展,请检查您的PHP 配置。” / “Cannot load mcrypt extension. Please check your PHP configuration.”
键入
sudo apt-get install php5-mcrypt
done.
2. “链接表的额外特性尚未激活。要查出原因,请点击此处。” / “The additional features for working with linked tables have been deactivated. To find out why click here.”
导入 phpMyAdmin/scripts/create_tables.sql文件,创建名叫phpMyAmin的数据库;
然后复制phpMyAdmin/config.sample.inc.php为config.inc.php,编辑:
/* Advanced phpMyAdmin features */
// $cfg['Servers'][$i]['pmadb'] = ‘phpmyadmin’;
// $cfg['Servers'][$i]['bookmarktable'] = ‘pma_bookmark’;
// $cfg['Servers'][$i]['relation'] = ‘pma_relation’;
// $cfg['Servers'][$i]['table_info'] = ‘pma_table_info’;
// $cfg['Servers'][$i]['table_coords'] = ‘pma_table_coords’;
// $cfg['Servers'][$i]['pdf_pages'] = ‘pma_pdf_pages’;
// $cfg['Servers'][$i]['column_info'] = ‘pma_column_info’;
// $cfg['Servers'][$i]['history'] = ‘pma_history’;
// $cfg['Servers'][$i]['tracking'] = ‘pma_tracking’;
// $cfg['Servers'][$i]['designer_coords'] = ‘pma_designer_coords’;
去掉注释,done.
3. “配置文件现在需要一个短语密码。” / “The configuration file now needs a secret passphrase (blowfish_secret).”
编辑phpMyAdmin/config.inc.php文件,在:
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = ‘cookie’;
下添加一行:
$cfg['blowfish_secret'] = ‘szoo’; //’szoo’为自定义字符串
done.
安装好MPlayer/SMPlayer之后,首先要下载解码器。
一般
sudo apt-get install ffmpeg
就能解决大部分问题。
更多的解码器可以在MPlayer主页的Binary Codec Packages项下载到。
sudo mkdir /usr/lib/codecs/
cd /tmp
wget -c http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2
tar jxvf essential-20071007.tar.bz2
sudo mv essential*/* /usr/lib/codecs/
但是很多时候仍然在播放rm文件的时候没有声音。
Ctrl+M打开SMPlayer的日志,查看得知,MPlayer报告找不到/usr/lib/codecs/cook.so之类的错误,但是文件又的确存在。
键入
ldd /usr/lib/codecs/cook.so
查看此文件的依赖关系,发现它需要libstdc++.so.5这个库。
接下来去packages.ubuntu.com,找到libstdc++5,下载安装,done.
(注意ubuntu新发行版已经将libstdc++升级到6,所以查找包的时候需要将搜索条件指定为之前的ubuntu版本名称)
from IOGraphica.
无聊的记录鼠标轨迹并拍照的软件。
下载的文件是.jar,右键之选择用java打开即可。
sudo apt-get install qbittorrent
可用来取代transmission-common, transmission-gtk.
首先
gpg –keyserver keyserver.ubuntu.com –recv KEY_NUMBER
接着
gpg –export –armor KEY_NUMBER | sudo apt-key add -
done.
注意:无须添加不必要的sudo,否则会提示权限错误。
xbindkeys
安装:
apt-get install xbindkeys
使用:
xbindkeys –key
配置文件:
~/.xbindkeysrc
备注:
可用来定义笔记本的特殊键。须在启动列表中加入xbindkeys
转载自UbuntuGeek.
编写mount.sh文件,here:
编写umount.sh文件,here:
然后加权限:
sudo chmod +x *mount.sh
最后移到文件管理器Nautilus文件管理器插件目录下:
sudo mv *mount.sh ~/.gnome2/nautilus-scripts
即可通过选中文件的右键菜单来快速Mount和Unmount ISO文件。