Trasformare GNU/Linux in Mac OS X con Macbuntu

di | 26 Ottobre 2013

Basta! Mi sono stancato di GNU/Linux!Ho buttato tutti i PC e ho comprato in un Apple Store un bel MacBook Air.Ecco uno screen:

Ci siete cascati? 😀 Non ho buttato via i miei LinuxPC e non ho comprato un Air,ma ho usato un simpatico ‘programma’ chiamato Macbuntu.
Io ho usato Mint 13 MATE ,ma voi potete usare qualunque Ubuntu-Mint recente (basta che abbia MATE).
Questo skin pack è dotato di uno script autoinstallante che però sulla 12.04 non funziona.
Quindi dovremo installarlo dando dei comandi nel terminale.
Scaricate Macbuntu e 
Aprite un terminale e date:
cd
cd Macbuntu-10.10
cp -r cursors/Macbuntu-Cursors ~/.icons/Macbuntu-Cursors
sudo cp -r cursors/Macbuntu-Cursors /usr/share/icons/Macbuntu-Cursors
sudo cp -r icons/Macbuntu-Icons /usr/share/icons/
sudo cp -r icons/applelogo.png /usr/share/icons/
sudo cp -r icons/applelogo-black.svg /usr/share/icons/
sudo cp -r icons/applelogo.png /usr/share/icons/LoginIcons/apps/64/
sudo cp -r icons/applelogo-black.svg /usr/share/icons/LoginIcons/apps/64/
cp -r themes/Macbuntu ~/.themes/Macbuntu
sudo cp -r themes/Macbuntu /usr/share/themes/Macbuntu
echo “Installing new logo…”
case $dlogo in
1*)
cp -rf distributor-logo/mac-small/* ~/.icons/Macbuntu-Icons/places/scalable/
sudo cp -rf distributor-logo/mac-small/* /usr/share/icons/Macbuntu-Icons/places/scalable/
  cp -rf distributor-logo/mac-big/* ~/.icons/Macbuntu-Icons/places/scalable/
sudo cp -rf distributor-logo/mac-big/* /usr/share/icons/Macbuntu-Icons/places/scalable/
  cp -rf distributor-logo/ubuntu/* ~/.icons/Macbuntu-Icons/places/scalable/
sudo cp -rf distributor-logo/ubuntu/* /usr/share/icons/Macbuntu-Icons/places/scalable/
 cp -rf distributor-logo/gnome/* ~/.icons/Macbuntu-Icons/places/scalable/
 sudo cp -rf distributor-logo/gnome/* /usr/share/icons/Macbuntu-Icons/places/scalable/
cp -rf distributor-logo/mac-middle/* ~/.icons/Macbuntu-Icons/places/scalable/
sudo cp -rf distributor-logo/mac-middle/* /usr/share/icons/Macbuntu-Icons/places/scalable/
sudo cp -rf fonts/mac/ /usr/share/fonts/
sudo cp -rf fonts/gbk/* /usr/share/fonts/mac/
sudo cp -rf fonts/latin/* /usr/share/fonts/mac/ 
sudo cp -r plymouth/Paw-Ubuntu/ /lib/plymouth/themes/
sudo cp -r plymouth/Paw-OSX/ /lib/plymouth/themes/
sudo cp -rf sounds/macbuntu /usr/share/sounds/
sudo cp -rf sounds/purple /usr/share/sounds/
sudo apt-get install compizconfig-settings-manager compiz-fusion-plugins-main compiz-fusion-plugins-extra fusion-icon
sudo apt-get install cheese ubuntu-tweak appmenu-gtk libqtgui4 indicator-applet-appmenu indicator-appmenu
sudo apt-get install docky
gconftool-2 –set /apps/docky-2/Docky/Services/ThemeService/Theme –type string “Glass”
gconftool-2 –set /apps/docky-2/Docky/Services/ThemeService/UrgentHue –type int 150
gconftool-2 –set /apps/docky-2/Docky/DockController/Theme –type string “Glass”
gconftool-2 –set /apps/docky-2/Docky/DockController/UrgentHue –type int 150
gconftool-2 –set /apps/docky-2/Docky/Interface/DockPreferences/Dock1/IconSize –type int 48
gconftool-2 –set /apps/docky-2/Docky/Interface/DockPreferences/Dock1/Position –type string “Bottom”
gconftool-2 –set /apps/docky-2/Docky/Interface/DockPreferences/Dock1/IndicateMultipleWindows –type boolean true
gconftool-2 –set /apps/docky-2/Docky/Interface/DockPreferences/Dock1/ThreeDimensional –type boolean true
gconftool-2 –set /apps/docky-2/Docky/Interface/DockPreferences/Dock1/WindowManager –type boolean true
gconftool-2 –set /apps/docky-2/Docky/Interface/DockPreferences/Dock1/ZoomEnabled –type boolean true
gconftool-2 –set /apps/docky-2/Docky/Interface/DockPreferences/Dock1/ZoomPercent –type float 1.800
gconftool-2 –set /apps/docky-2/Docky/Interface/DockPreferences/Dock1/Plugins –type list –list-type string “[Trash]”
gconftool-2 –set /apps/docky-2/Docky/Interface/DockPreferences/FirstRun –type boolean false
sudo cp -f compiz/$ARCHDIR/libanimation.so /usr/lib/compiz/
sudo cp -f compiz/$ARCHDIR/animation.xml /usr/share/compiz/

# Backgrounds
gconftool-2 –set /desktop/mate/background/picture_filename –type string “/usr/share/backgrounds/leopard-aurora.jpg”
# Gtk Theme
gconftool-2 –set /desktop/mate/interface/gtk_theme –type string “Macbuntu”
gconftool-2 –set /apps/metacity/general/theme –type string “Macbuntu”
gconftool-2 –set /desktop/mate/interface/icon_theme –type string “Macbuntu-Icons”
# Cursor
gconftool-2 –set /desktop/mate/peripherals/mouse/cursor_theme –type string “Macbuntu-Cursors”
gconftool-2 –set /desktop/mate/peripherals/mouse/cursor_size –type int 28
# Button layout
gconftool-2 –set /apps/metacity/general/button_layout –type string “close,minimize,maximize:menu”
# Panels
gconftool-2 –load panel/panel.entries
gconftool-2 –set /apps/panel/general/toplevel_id_list –type list –list-type string “[top_panel_screen0]”
gconftool-2 –set /apps/panel/toplevels/top_panel_screen0/background/type –type string “gtk”
# gconftool-2 –set /apps/panel/toplevels/top_panel_screen0/background/type –type string “image”
# gconftool-2 –set /apps/panel/toplevels/top_panel_screen0/background/image –type string “$HOME/.themes/Macbuntu/gtk-2.0/Panel/panel-bg-solid.png”
# Icons
gconftool-2 –set /desktop/gnome/interface/toolbar_style –type string “icons”
gconftool-2 –set /desktop/gnome/interface/buttons_have_icons –type boolean false
gconftool-2 –set /desktop/gnome/interface/menus_have_icons –type boolean true
# Nautilus
gconftool-2 –set /apps/nautilus/preferences/default_folder_viewer –type string “icon_view”
gconftool-2 –set /apps/nautilus/preferences/side_pane_view –type string “NautilusPlacesSidebar”
gconftool-2 –set /apps/nautilus/preferences/sort_directories_first –type boolean true
gconftool-2 –set /apps/nautilus/preferences/start_with_location_bar –type boolean true
gconftool-2 –set /apps/nautilus/preferences/always_use_location_entry –type boolean false
gconftool-2 –set /apps/nautilus/preferences/start_with_sidebar –type boolean true
gconftool-2 –set /apps/nautilus/preferences/start_with_status_bar –type boolean true
gconftool-2 –set /apps/nautilus/preferences/start_with_toolbar –type boolean true
# Compositing manager
gconftool-2 –set /apps/metacity/general/compositing_manager –type boolean true
# Fonts
if [ ! $lgfont = 1 ]; then
 gconftool-2 –set /desktop/mate/interface/font_name –type string “Lucida Grande Medium 9”
 gconftool-2 –set /desktop/mate/interface/document_font_name –type string “Lucida Grande Medium 9”
 gconftool-2 –set /apps/caja/preferences/desktop_font –type string “Lucida Grande Medium 9”
gconftool-2 –set /apps/metacity/general/titlebar_font –type string “Lucida Grande Medium 10”
 gconftool-2 –set /desktop/mate/interface/monospace_font_name –type string “Lucida Console Semi-Condensed 10”
fi
# Terminal
gconftool-2 –set /apps/mate-terminal/global/use_menu_accelerators –type boolean false
gconftool-2 –set /apps/mate-terminal/profiles/Default/background_color –type string “#000000000000”
gconftool-2 –set /apps/mate-terminal/profiles/Default/background_darkness –type float 0.95
gconftool-2 –set /apps/mate-terminal/profiles/Default/background_type –type string “transparent”
gconftool-2 –set /apps/mate-terminal/profiles/Default/foreground_color –type string “#AAAAAAAAAAAA”
gconftool-2 –set /apps/mate-terminal/profiles/Default/scrollback_unlimited –type boolean true
gconftool-2 –set /apps/mate-terminal/profiles/Default/use_theme_background –type boolean false
gconftool-2 –set /apps/mate-terminal/profiles/Default/use_theme_colors –type boolean false

Ecco fatto.
A questo punto basta modificare il pannello in modo da renderlo simile a Mac OS X.
Io ho messo un MintMenù (se volete un effetto più simile usate il Globalmenu).
Se avete più spazio mettete anche il menu classico,che fa più effetto.
Poi l’elenco finestre (che su Mac non c’è),qualche applet,l’orologio e lo spegnimento.
Se non ci fosse il tema basta applicarlo dalla schermata apposita
Ecco qualche screen:

Se non volete fare fatica scaricate questo script nella cartella home ed eseguitelo.
A breve recensione e nuovi screen
Ciao 🙂

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *