2015年12月1日 星期二

Ubuntu 14.04改成Mac 風格

※ 就只是Script而已,詳情請參考NoobsLab的這篇文章

請把他複製貼上到您的script檔案裏面,有沒有副檔名不要緊。

程式碼如下:E.g.macstyle.sh...etc.
# -*- coding: utf-8 -*-
#/usr/bin/env bash
sudo add-apt-repository -y ppa:docky-core/ppa
sudo add-apt-repository -y ppa:noobslab/themes
sudo add-apt-repository -y ppa:noobslab/apps
sudo apt-get update
sudo apt-get install -y docky mac-ithemes-v3 mac-icons-v3 mbuntu-bscreen-v3 mbuntu-lightdm-v3 indicator-synapse ubuntu-tweak libreoffice-style-sifr unzip
cd && wget -O Mac.po http://drive.noobslab.com/data/Mac-14.04/change-name-on-panel/mac.po
cd /usr/share/locale/en/LC_MESSAGES
sudo msgfmt -o unity.mo ~/Mac.po;rm ~/Mac.po;cd
gsettings set com.canonical.desktop.interface scrollbar-mode normal
sudo xhost +SI:localuser:lightdm
sudo su lightdm -s /bin/bash
gsettings set com.canonical.unity-greeter draw-grid false;exit
sudo mv /usr/share/unity-greeter/logo.png /usr/share/unity-greeter/logo.png.backup
wget -O launcher_bfb.png http://drive.noobslab.com/data/Mac-14.04/launcher-logo/apple/launcher_bfb.png
sudo mv launcher_bfb.png /usr/share/unity/icons/
wget -O mac-fonts.zip http://drive.noobslab.com/data/Mac-14.04/macfonts.zip
sudo unzip mac-fonts.zip -d /usr/share/fonts; rm mac-fonts.zip
sudo fc-cache -f -v

沒有留言:

張貼留言