哎,没钱买Mac只能借助Ubuntu改造一个了。还是很不错的。我主要是根据http://www.linuxidc.com/Linux/2016-06/131947.htm这篇教程安装的。如果你的英语比较好可以看官方教程http://www.noobslab.com/2016/04/macbuntu-1604-transformation-pack-for.html。当然两者对比看效果更佳。只根据教程里一步步安装还是无法达到最终的效果,我也遇到了不少的问题,查阅了很多资料,折腾了一天,还不是很完美,现在有一个缺陷,开机画面没有修改正确,还在努力中,如果你有好的解决方案,希望您把您的方法,留言给我,方便大家安装解决。
我的整体效果如下图,感觉没有其他人的好看,不知道怎么回事。
上干货,详细步骤如下:
1、下载壁纸:http://www.linuxidc.com/Linux/2016-06/131945.htm,这里壁纸只有一张,我们可以去macubuntu官网下载完整的。
记住,下网完壁纸后一定要在系统设置里更换新壁纸才有效果,我一开始还很纳闷怎么没有效果,原来是我自己没有更换壁纸。
2、安装MacBuntu OS Y Theme,Icons and cursors
先安装成功,稍后讲解怎样设置
- sudo add-apt-repository ppa:noobslab/macbuntu
- sudo apt-get update
- sudo apt-get install macbuntu-os-icons-lts-v7
- sudo apt-get install macbuntu-os-ithemes-lts-v7
如果,你想卸载头themes,icons,cursors
- cd /usr/share/icons/mac-cursors && sudo ./uninstall-mac-cursors.sh
- sudo apt-get remove macbuntu-os-icons-lts-v7 macbuntu-os-ithemes-lts-v7
3、安装Slingscold(替代Launchpad)
4、安装Albert Spotlight(替代 Mac Spotlight)
- sudo add-apt-repository ppa:noobslab/macbuntu
- sudo apt-get update
- sudo apt-get install slingscold
5、安装Plank Dock
- sudo add-apt-repository ppa:noobslab/macbuntu
- sudo apt-get update
- sudo apt-get install albert
- sudo apt-get install plank
- sudo add-apt-repository ppa:noobslab/macbuntu
- sudo apt-get update
- sudo apt-get install macbuntu-os-plank-theme-lts-v7
安装后搜索plank,先点击plank,然后在图标上按住‘Ctrl’+鼠标右键,调出菜单后,选择perference就会出现下面的界面了。我们改成我们喜欢的theme,就OK了。
如果想卸载Plank Dock
6、将面板上的‘Ubuntu Desktop’文字换成‘Mac OS X’
- sudo apt-get autoremove plank macbuntu-os-plank-theme-lts-v7
'Ubuntu Desktop'在你屏幕的左上角
7、启动器换苹果logo
- cd && wget -O Mac.po http://drive.noobslab.com/data/Mac/change-name-on-panel/mac.po
- cd /usr/share/locale/en/LC_MESSAGES; sudo msgfmt -o unity.mo ~/Mac.po;rm ~/Mac.po;cd
- 语言上如果是其他非英语语言,将 /en 做相应修改:
- 恢复原来的桌面文字命令:
- cd && wget -O Ubuntu.po http://drive.noobslab.com/data/Mac/change-name-on-panel/ubuntu.po
- cd /usr/share/locale/en/LC_MESSAGES; sudo msgfmt -o unity.mo ~/Ubuntu.po;rm ~/Ubuntu.po;cd
8、安装Tweak tool软件启用主题、图标等
- sudo apt-get install unity-tweak-tool
- sudo apt-get install gnome-tweak-tool
打开Unity-Tweak-Tool
设置的重点就在Appearance这一栏中,
我们可以看到这里可以修改主题,图片,字体等。自己修改吧,我就不多说了。注意修改字体要等到第10步以后。
9、为Libreoffice安装Monochrome icons:
这个就是改变Libreoffice的图标,如果你不想修改可以跳过此步骤。
- sudo apt-get install libreoffice-style-sifr
打开LibreOffice找到菜单栏,如果你找不到,尝试将鼠标移到屏幕的最上边,这样菜单栏就出来了。然后依次选择
"Tools"->"Options"->"LibreOffice"->"View" and select "Sifir" under "Icon size and style".
10、配置Mac字体
这里要使用Unity-Tweak-Tool,Gnome-Tweak-Tool或Ubuntu Tweak软件修改字体
- wget -O mac-fonts.zip http://drive.noobslab.com/data/Mac/macfonts.zip
- sudo unzip mac-fonts.zip -d /usr/share/fonts; rm mac-fonts.zip
- sudo fc-cache -f -v
11、修改启动界面
- sudo add-apt-repository ppa:noobslab/themes
- sudo apt-get update
- sudo apt-get install macbuntu-os-bscreen-lts-v7
- 如果你喜欢 MBuntu 启动界面,你想恢复到 Ubuntu ,使用命令:
- sudo apt-get autoremove macbuntu-os-bscreen-lts-v7
最终的效果图应该如下:
遗憾的是光靠上面的命令,无法实现这样的效果,原因可能出在plymouth软件上,由于,我自己还没有成功,因此,这里也不便多说,给大家几个参考链接:
http://forum.ubuntu.com.cn/viewtopic.php?f=94&t=480766&p=3176544
http://askubuntu.com/questions/775301/unable-to-use-a-custom-splash-screen-in-ubuntu-16-04lts这个很不错,但是还没有成功。
http://www.noobslab.com/2011/11/install-plymouth-manager-and-change.html里面说的安装plymouth-manager,提示找不到安装包,Ubuntu 16.04 已经内置了plymouth。因此plymouth-manage也许被plymouth替代了。
http://askubuntu.com/questions/801351/apply-macbuntu-boot-screen-splash-in-ubuntu-16/801445
重点如下,我个人觉得这个挺靠谱的,后续再尝试一下。
run
- sudo gedit /etc/hosts sudo gedit /etc/hostname
and verify that hostnames are same in both files.
- 127.0.0.1 localhost 127.0.1.1 <your_hostname@your_host>
If not edit,save the file and then reboot. This will solve yor unable to verify hostname issue.
Ensure that you have installed macbuntu splashscreen in their transformation pack by running
- sudo add-apt-repository ppa:noobslab/themes sudo apt-get update sudo apt-get install macbuntu-os-bscreen-lts-v7
After that you can run
- update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/macbuntu/macbuntu.plymouth 100
here you are installing macbuntu splash screen you have installed with the transformation pack as a plymouth alternative.
The format isupdate-alternatives --install <link> <symlink name> <path> <priority>
Now run
- sudo update-alternatives --config default.plymouth sudo update-initramfs -u
and Reboot.
12、修改登录界面特别需要注意这一步是有风险的,如果你不是很在意,建议不安装,这个仅仅适合Ubuntu Unity - Lightdm 和 Ubuntu Gnome - gdm,其他桌面有风险。Ubuntu 16.04 默认是Unity,因此可以安装。
光使用上面的命令是没有效果的,我们还需要修改两个配置文件,可参考:http://tieba.baidu.com/p/4723320982
- sudo add-apt-repository ppa:noobslab/themes
- sudo apt-get update
- sudo apt-get install macbuntu-os-lightdm-lts-v7
- 卸载恢复命令:
- sudo apt-get remove macbuntu-os-lightdm-lts-v7
1、安装lightdm-webkit-greeter:终端输入sudo apt-get install lightdm-webkit-greeter.其实,这个软件已经内置在Ubuntu 16.04中了,我们可以忽略这一步。
2、并配置/etc/lightdm/lightdm.conf(如果没有就创建自己一个),内容为:
[SeatDefaults]
greeter-session=lightdm-webkit-greeter
theme-name=macbuntu-lightdm
webkit-theme=macbuntu-lightdm
到这,基本上就OK了。重启计算机。
如果你想更炫更酷,可以尝试Tweak Tool 和 Unity Tweak Tool两个工具自己再好好研究一下吧。