在Ubuntu上利用Mac4Lin实现MacOS效果

Mac风格的桌面 以及Dock

Mac风格的桌面 以及Dock

 

使用compiz实现的3D桌面效果

使用compiz实现的3D桌面效果

 

轻触屏幕左上角 即可显示四个工作区域

轻触屏幕左上角 即可显示四个工作区域

 

轻触屏幕右上角 将当前工作去执行的文件平铺展示 便于选取

轻触屏幕右上角 将当前工作区文件平铺展示 便于选取

这些效果看上去都还不错,但感觉还是太花哨了,最后还是换上了最原始的主题,当然那也不错。3D桌面体验结束!

Posted in OS

Apt 使用参考

apt-cache search package 搜索包
apt-cache show package 获取包的相关信息,如说明、大小、版本等
sudo apt-get install package 安装包
sudo apt-get install package – - reinstall 重新安装包
sudo apt-get -f install 强制安装
sudo apt-get remove package 删除包
sudo apt-get remove package – - purge 删除包,包括删除配置文件等
sudo apt-get autoremove 自动删除不需要的包
sudo apt-get update 更新源
sudo apt-get upgrade 更新已安装的包
sudo apt-get dist-upgrade 升级系统
sudo apt-get dselect-upgrade 使用 dselect 升级
apt-cache depends package 了解使用依赖
apt-cache rdepends package 了解某个具体的依赖
sudo apt-get build-dep package 安装相关的编译环境
apt-get source package 下载该包的源代码
sudo apt-get clean && sudo apt-get autoclean 清理下载文件的存档
sudo apt-get check 检查是否有损坏的依赖

备注:package 为软件包名称。

Posted in OS

在Ubuntu7.10中安装RealPlayer

将文件RealPlayer10GOLD.bin保存到主文件夹中,即/home/[yourusername]文件夹
下。
然后打开终端,进行如下操作:
$chmod +x RealPlayer10GOLD.bin
$sudo ./RealPlayer10GOLD.bin
当终端显示

Welcome to the RealPlayer (10.0.8.805) Setup for UNIX
Setup will help you get RealPlayer running on your computer.
Press [Enter] to continue…

时按下回车键,进入下一步:

Enter the complete path to the directory where you want
RealPlayer to be installed. You must specify the full
pathname of the directory and have write privileges to
the chosen directory.
Directory: [/home/shixinyu/RealPlayer]:

这里默认安装到用户的主文件夹下的RealPlayer目录下,如果你想要安装到别处,
就在此处输入路径,否则直接回车即可。

You have selected the following RealPlayer configuration:

Destination: /home/shixinyu/RealPlayer

Enter [F]inish to begin copying files, or [P]revious to go
back to the previous prompts: [F]: F

安装程序会提示最后确定信息,如果都确定了,按下F键后回车。
当提示

Copying RealPlayer files…configure system-wide symbolic links? [Y/n]:

时按下Y键回车即可,后面基本上就没有需要用户操作的地方了,通常到这里基本
上就安装好了,你可以到”应用程序,影音”下找到RealPlayer10来运行了,首次运
行会有一段安装协议需要同意。

注:如果在跟着上述步骤完成安装操作之后到应用程序菜单下的”影音”中单击
RealPlayer无反应,并且你的Ubuntu安装的是SCIM输入法,那么很可能是SCIM与
RealPlayer的冲突,你还需要进行下面操作:
$sudo gedit /home/[yourid]/RealPlayer/realplay \\[yourid]指你的主文件夹

在打开的文本编辑器的首行添加下面一行
export GTK_IM_MODULE=xim

之后保存文本编辑器,然后再次执行RealPlayer应该就正常了。

不过貌似在7.10里在安装的时候就:
….libstdc++.so.5: cannot open shared object file: No such file or
directory
很明显。。。。没有这个库了,7.10的是版本6- -!
那就安装:
sudo apt-get install libstdc++5
一切搞定 :-)

Posted in OS