################################################################################
## Theme Packs (http://lirent.net/linux/make-ubuntu-look-like-vista-or-leopard.html)
############################## OSX Theme Pack ##################################
#XXX OSX (http://lifehacker.com/software/how-to/make-your-linux-desktop-look-like-a-mac-317110.php http://www.howtoforge.com/mac4lin_make_linux_look_like_a_mac http://www.taimila.com/?q=node/11)
#wget -c http://ufpr.dl.sourceforge.net/sourceforge/mac4lin/Mac4Lin_v1.0_RC.tar.gz
#XXX Mac4Lin
#XXX OBS.: The version of gtk2-engines-pixbuf in the intrepid repositories is not compatible with the Mac4lin GTK theme
############################## Vista Theme Pack ################################
#!/bin/bash
#
# Description
#
# Version 0.1
# (c) 2008 Everthon Valadão <everthonaladao@gmail.com> under the GPL
# http://www.gnu.org/copyleft/gpl.html
#
# OBS.: windows vista theme inspired in http://gnomestyle.blogspot.com/2007/05/make-ubuntu-look-like-vista.html
echo "*************************************"
echo " Welcome to Vista4Lin v0.1 Installer "
echo "*************************************"
echo
echo
echo
echo "Installing Vista4Lin UI..."
apt-get install compizconfig-settings-manager
#1) vista fonts
cd /tmp
wget -c http://home.arcor.de/salnet/segoe_ui.zip
mkdir -p /usr/share/fonts/truetype/vista
unzip segoe_ui.zip -d /usr/share/fonts/truetype/vista/
fc-cache -f -v /usr/share/fonts/truetype/vista
#2) aero theme
cd /tmp
wget -c http://gnome-look.org/CONTENT/content-files/57352-aero.tar.gz
tar xvzf 57352-aero.tar.gz
#2.1) controls
tar -xvzf aero/aero-clone.tar.gz -C /usr/share/themes/
#2.2) window border
apt-get install emerald
mkdir -p /usr/share/emerald/themes/aero_blue
tar xvzf aero/aero_blue.emerald -C /usr/share/emerald/themes/aero_blue
#2.3) icon set
#XXX [BROKEN LINK] NuoveXT-Aero (http://www.uploadjockey.com/download/122831/nuovext-aero.tar.gz)
#Oxygen-Refit (http://download.tuxfamily.org/oxygenrefit/OxyRepo/pool-src/oxygen-refit/Oxygen-Refit-1.1.tar.bz2)
wget -c http://download.tuxfamily.org/oxygenrefit/OxyRepo/pool/main/g/gnome-icon-theme-oxygen-refit/gnome-icon-theme-oxygen-refit_1.1-1nano_all.deb
dpkg -i gnome-icon-theme-oxygen-refit_1.1-1nano_all.deb
#2.4) cursor
#Aero Mouse
tar -xvzf /tmp/aero-drop.tar.gz -C ~/.icons/
wget -c http://www.gnome-look.org/CONTENT/content-files/58853-42734-aeromousetheme11.tar.gz
tar -xvzf 58853-42734-aeromousetheme11.tar.gz -C /usr/share/icons/
# #XXX [DON'T WORK] Aero Mouse with Drop Shadow
# wget -c http://www.infinality.net/files/aero-drop.tar.gz
# tar -xvzf aero-drop.tar.gz -C /usr/share/icons/
#2.5) wallpaper
tar xvzf vista-wallpapers.tar.gz -C /usr/share/backgrounds
#wallpapers (http://www.winmatrix.com/forums/index.php?showtopic=8330)
#wget -c http://img408.imageshack.us/img408/2945/w127hv.jpg && wget -c http://img208.imageshack.us/img208/7141/w027su.jpg && wget -c http://img206.imageshack.us/img206/1070/w018fx.jpg && wget -c http://img204.imageshack.us/img204/1962/w031vg.jpg && wget -c http://img204.imageshack.us/img204/5536/w043oy.jpg && wget -c http://img215.imageshack.us/img215/3273/w072pz.jpg && wget -c http://img215.imageshack.us/img215/9973/w096oa.jpg && wget -c http://img408.imageshack.us/img408/8402/w144uk.jpg && wget -c http://img218.imageshack.us/img218/2973/w220jx.jpg && wget -c http://img408.imageshack.us/img408/3741/w153vt.jpg && wget -c http://img408.imageshack.us/img408/3153/w165zw.jpg && wget -c http://img206.imageshack.us/img206/1480/w170vm.jpg && wget -c http://img206.imageshack.us/img206/1961/w181tp.jpg && wget -c http://img206.imageshack.us/img206/1638/w199vs.jpg && wget -c http://img206.imageshack.us/img206/4421/w206uy.jpg && wget -c http://img408.imageshack.us/img408/1618/w215ti.jpg && wget -c http://img207.imageshack.us/img207/9928/w297hs.jpg && wget -c http://img218.imageshack.us/img218/9397/w234wd.jpg && wget -c http://img218.imageshack.us/img218/8872/w250bz.jpg && wget -c http://img207.imageshack.us/img207/5230/w260ap.jpg && wget -c http://img207.imageshack.us/img207/6807/w273cg.jpg && wget -c http://img408.imageshack.us/img408/9162/w280zz.jpg && wget -c http://img207.imageshack.us/img207/1041/w304sn.jpg
#wallpapers-extra (http://www.winmatrix.com/forums/index.php?showtopic=12220)
#wget -c http://farm1.static.flickr.com/30/62615653_68dd524b81_o.jpg && wget -c http://farm1.static.flickr.com/47/146739334_be35537550_o.jpg && wget -c http://farm1.static.flickr.com/40/97403945_54c179d8e8_o.jpg && wget -c http://farm1.static.flickr.com/60/159680174_d26cccb607_o.jpg && wget -c http://farm1.static.flickr.com/42/113777199_de44a2d4a2_o.jpg && wget -c http://farm1.static.flickr.com/50/134666650_67ecea3e1f_o.jpg && wget -c http://farm1.static.flickr.com/155/359793612_d6a8a6075f_o.jpg
#3) panel
#3.1) change distributor logo
#icontheme="OxygenRefit2-orange-version"
icontheme="Oxygen-Refit"
for iconresolution in 128x128 16x16 22x22 24x24 32x32 48x48 64x64 72x72 96x96; do
logoicon=/usr/share/icons/$icontheme/$iconresolution/places/start-here.png
if [ ! -f "${logoicon}.old2" ]; then mv "${logoicon}" "${logoicon}.old2"; else echo "backup of original logo already done"; fi
cp aero/start-here2.png $logoicon
done
#3.2) change panel dimmensions
gconftool-2 -t str -s /apps/panel/toplevels/top_panel_screen0/size "32"
#restart panel
gtk-update-icon-cache /usr/share/icons/$icontheme && killall gnome-panel
#[MANUALLY]
#remova o painel inferior e arraste o painel superior para baixo
#troque a "Barra de Menu" pelo "Menu Principal (ícone apenas)" e adicione ao painel um separador (apos o logo)
#adicione ao painel a "Lista de Janelas" e o "Alternador de Espacos de Trabalho" (configurando-o p/ exibir em 2 linhas)
#3.3) widgets (screenlets)
#XXX screenlets ativados: Sysmonitor, Clock, ClearRSS, Clearweather
#XXX ativar a camada de widgets no ccsm
#cleareeather bugfix (http://ubuntuforums.org/showthread.php?t=784053)
sed -i 's/\?cc=/\?link=xoap\&cc=/g' /usr/share/screenlets/ClearWeather/ClearWeatherScreenlet.py
#start-button orb
apt-get install screenlets
tar -xvzf aero/orb.tar.gz -C /usr/share/screenlets
#XXX [MANUALLY] Place the orb screenlet above the main-menu button and lock the position.
#/usr/share/screenlets-manager/screenlets-manager.py > /dev/null
#4) applications skins
#audacious/xmms (http://customize.org/winamp2/skins/46560)
cd /tmp
#XXX outras
wget -c http://customize.org/download/files/46560/AlmondCopper1-1.wsz && mv AlmondCopper1-1.wsz /usr/share/audacious/Skins/
wget -c http://illusions.hu/Themes/MediaPlayers/Almond%20XMMS%20skin/Almond-rounded.zip && unzip Almond-rounded.zip -d /usr/share/audacious/Skins/
#wget -c http://download.nullsoft.com/customize/component/3/2008/8/2/S/Vista.wal && mv Vista.wal /usr/share/audacious/Skins/
#wget -c http://fc06.deviantart.com/fs16/f/2007/133/b/4/Winamp_Vista_by_capnkyle.wal && mv Winamp_Vista_by_capnkyle.wal /usr/share/audacious/Skins/
#5) GDM login
#GDM login
wget -c http://www.uni-magdeburg.de/oelgarte/gdm/Avio-GDM-0.9.2.tar.gz
# wget -c http://www.gnome-look.org/CONTENT/content-files/57349-vista-0.2.tar.gz
# wget -c http://www.dream-dimensions.de/misc/relaxing/GDM-Relaxing-0.2.tar.bz2
# wget -c http://www.gnome-look.org/CONTENT/content-files/86350-Relaxing_open_solaris.tar.bz2
tar xvzf Avio-GDM-0.9.2.tar.gz -C /usr/share/gdm/themes/
THEMES=Avio-GDM
THEME_DIR=/usr/share/gdm/themes
N=`echo $THEMES | wc -w`
sudo sed -i.old s/GraphicalTheme=.*/GraphicalTheme=`echo $THEMES | cut -d ' ' -f $N`/ /etc/gdm/gdm.conf
#6) splash screnn (loading)
# #splash screen (http://www.vivaolinux.com.br/artigo/Alterando-as-imagens-de-splash-no-Ubuntu?pagina=2)
# #sudo apt-get install startupmanager
# apt-get install libbogl-dev
# cd /tmp
# wget -c http://www.2blabla.ch/stuff/Linux/KSplash/Vista/Vista/vista.tar.bz2
# tar xvjf vista.tar.bz2
# usplashimage=/tmp/Vista/Background-sm.jpg
# #XXX É (REALMENTE?) importante que a imagem esteja no formato *.PNG e tenha 640x400/16 cores
# #sera q REALMENTE tem essa restricao? o usplash-theme-ubuntu.so tem 25MB e o usplash-theme-vista.so tem SOMENTE 162KB
# convert -colors 256 $usplashimage -resize "640X400" -quality 100 -strip /tmp/usplash-theme-vista.png
# pngtobogl usplash-theme-vista.png > usplash-artwork.c
# gcc -Os -g -I/usr/include/bogl -fPIC -c usplash-artwork.c -o usplash-artwork.o
# gcc -shared -Wl,-soname,usplash-artwork.so usplash-artwork.o -o usplash-theme-vista.so
# #http://penguim.wordpress.com/2006/07/05/alterando-a-cor-do-usplash-do-ubuntu-correcao/
# cd /usr/lib/usplash && sudo cp usplash-artwork.so usplash-artwork.so.old
# sudo cp /tmp/usplash-theme-vista.so /usr/lib/usplash/
# #XXX parei aqui: deu um medo de bustiar... testar numa VM
# rm -f /usr/lib/usplash/usplash-artwork.so && ln -s /usr/lib/usplash/usplash-theme-vista.so /usr/lib/usplash/usplash-artwork.so
# sudo update-alternatives --install /usr/lib/usplash/usplash-artwork.so usplash-artwork.so /usr/lib/usplash/usplash-default.so 55
# sudo dpkg-reconfigure linux-image-$(uname -r)
# #sudo reboot
#http://www.kde-look.org/content/show.php/Vista+Ksplash?content=56738
#http://www.gnome-look.org/content/show.php/Usplash+Theme+-+Fingerprint?content=50468
#http://www.kde-look.org/content/show.php/Vista+Splash+-+Moodin?content=58511
#http://www.gnome-look.org/content/show.php/ubuntu+windows+logos+in+Yin%26Yang?content=75057
#http://www.gnome-look.org/content/show.php/ubuntu-vista?content=54958
#http://www.gnome-look.org/content/show.php/Usplash+Theme+-+Fingerprint?content=50468
#8) finnaly apply theme to the user
exit
#controles
gconftool-2 -t str -s /desktop/gnome/interface/gtk_theme "aero-clone"
#window border
gconftool-2 -t str -s /apps/metacity/general/theme "Glossy"
gconftool-2 -t str -s /apps/compiz/plugins/decoration/allscreens/options/command "emerald --replace"
emerald --replace 1>&2 /dev/null &
#icon set
#gconftool-2 -t str -s /desktop/gnome/interface/icon_theme "Oxygen-Refit-orange-version"
#cursor
gconftool-2 -t str -s /desktop/gnome/peripherals/mouse/cursor_theme "aero"
gconftool-2 -t str -s /apps/compiz/general/allscreens/options/cursor_theme "aero"
#wallpaper
gconftool-2 -t str -s /desktop/gnome/background/picture_filename "/usr/share/backgrounds/w031vg.jpg"
#fonts
gconftool-2 -t str -s /desktop/gnome/interface/font_name "Segoe UI 10"
gconftool-2 -t str -s /desktop/gnome/interface/document_font_name "Segoe UI 10"
gconftool-2 -t str -s /apps/nautilus/preferences/desktop_font "Segoe UI 10"
gconftool-2 -t str -s /apps/metacity/general/titlebar_font "Segoe UI Bold 10"
sudo su
#restart the X session
/etc/init.d/gdm restart
#9) [optional] change applications names to make ubuntu more "user friendly" (i.e.: migration of non-linux users)
##XXX alterar as descricoes dos programas de maneira "windows user friendly"
#desktopiconrename:
#sed -i -e "s/Name=.*/Name=$2/g" -e "s/Name\[pt_BR\]=.*/Name\[pt_BR\]=$2/g" "$1"
#/usr/share/applications
desktopiconrename ccsm.desktop "Configurar Efeitos 3D"
desktopiconrename ccsm.desktop "Reprodutor de Músicas Xmms"
################################################################################
## AKA "perfumaria"
##compiz
#!!! libcompizconfig-backend-gconf parece que a atualização foi prejudicial...
apt-get -y install compizconfig-settings-manager
apt-get -y install compiz-fusion-*
## widgets
# Screenlets
#apt-get -y install screenlets
#KDE Plasmoids
#apt-get install plasma-playground extragear-plasma kde4-base
kde4base-data #OBS.: este último meio que "conflita" com kde4-core
#ln -s ln -s /usr/lib/libkdeprint.so.4 /usr/lib/libkdeprint.so.5
##para compilar plasmoids de terceiros:
#apt-get install libplasma-dev kdelibs5-dev
## instale o novo plasmoid assim:
## cmake -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4/
## make
## sudo make install
## kbuildsycoca4
## laucher
#apt-get -y install gnome-do
## docks
#apt-get -y install cairo-dock cairo-dock-plug-ins
##apt-get -y install kiba-dock kiba-plugins
## gnome-applets
# Hamster Time Tracking
echo "deb http://ppa.launchpad.net/hamster.support/ubuntu intrepid main" >> /etc/apt/sources.list
apt-get update && apt-get install hamster-applet
## screensavers
#electricsheep
list=/etc/apt/sources.list.d/electricsheep.list
echo 'deb http://ppa.launchpad.net/flam3/ubuntu intrepid main' > $list
echo 'deb-src http://ppa.launchpad.net/flam3/ubuntu intrepid main' >> $list
apt-get update
apt-get install electricsheep
## alternador de wallpaper
#apt-get install wallpaper-tray
################################################################################
## icon-sets
cd /tmp
#OxygenRefit2 Orange (http://www.gnome-look.org/content/show.php?content=83003)
wget -c wget -c http://download341.mediafire.com/iekyd9wga9yg/1qzlom14xui/OxygenRefit2-orange-version.tar.bz2
tar -xvjf OxygenRefit2-orange-version.tar.bz2 -C /usr/share/icons/
#Other Oxygen-Refit2 versions:
#Black Version: http://www.gnome-look.org/content/show.php?content=83623
#Orange Version: http://www.gnome-look.org/content/show.php?content=83003
#Green Version: http://www.gnome-look.org/content/show.php?content=84683
#Red Version: http://www.gnome-look.org/content/show.php?content=84890
#White Version: http://gnome-look.org/content/show.php?content=85054
#XXX Hydroxygen (http://linux.softpedia.com/get/Desktop-Environment/Icons/hydroxygen-41163.shtml)
wget -c http://download.softpedia.ro/dl/8ac51c206855112d305997c730c9ce90/48fd0384/500041163/linux/hydroxygen.tar.bz2
tar xvjf hydroxygen.tar.bz2 && tar xvjf /tmp/hydroxygen/hydroxygen.tar.bz2 -C /usr/share/icons/
#XXX non apple start-here!!!
#find /usr/share/icons/hydroxygen/ -name "start-here.png" -exec mv {} {}.old \;
#cd /home/softwares/icons/OSX-by_EVS/distributor_logo
#find ./ -name "start-here.png" -exec bash -c "echo {} | sed
's/\(\.\/\)\(.*\)/cp \1\2 \/usr\/share\/icons\/hydroxygen\/\2/g' |
bash" \;
#gtk-update-icon-cache /usr/share/icons/hydroxygen/ && killall gnome-panel
#Oxygen-Refit 1.1 (http://gnome-look.org/content/show.php/Oxygen-Refit?content=74900)
##apt-get -y install gnome-icon-theme-oxygen-refit
#wget -c
http://download.tuxfamily.org/oxygenrefit/OxyRepo/pool/main/g/gnome-icon-theme-oxygen-refit/gnome-icon-theme-oxygen-refit_1.1-1nano_all.deb
#dpkg -i gnome-icon-theme-oxygen-refit_1.1-1nano_all.deb
#aplica o tema
gtk-update-icon-cache /usr/share/icons/OxygenRefit2-orange-version/
exit
#gconftool-2 -t str -s /desktop/gnome/interface/icon_theme "Oxygen-Refit"
gconftool-2 -t str -s /desktop/gnome/interface/icon_theme "Oxygen-Refit-orange-version"
sudo su
################################################################################
## GTK engines
# Neutronium (GTK pixbuf engine)
#http://www.gnome-look.org/content/show.php/Neutronium+Unity?content=59189
apt-get -y install gtk2-engines-pixbuf unzip openoffice.org-style-hicontrast openoffice.org-style-crystal
exit
#baixa e instala
cd /tmp
wget -c http://fc05.deviantart.com/fs16/f/2007/148/0/6/Neutronium_Classic_by_nordlicht.zip
unzip Neutronium_Classic_by_nordlicht.zip
tar -xvzf ./Neutronium-Theme-Pack-0.7.5/GTK2/Neutronium-Gtk2.tar.gz
mv ./Neutronium-Gtk2 ~/.themes
#gedit ./Neutronium-Theme-Pack-0.7.5/instructions
#mv ./Neutronium-Theme-Pack-0.7.5 ~/.themes/Neutronium-Gtk2
#aplica o tema
gconftool-2 -t str -s /desktop/gnome/interface/gtk_theme "Neutronium-Gtk2"
#configura a imagem de fundo do painel
cp ./Neutronium-Theme-Pack-0.7.5/Gnome-Panel/panel.png ~/.themes/Neutronium-Gtk2
gconftool-2 -t str -s /apps/panel/toplevels/top_panel_screen0/background/image "~/.themes/Neutronium-Gtk2/panel.png"
#configura o papel de parede
wget -c "http://www.gnome-look.org/CONTENT/content-files/70808-B&W.jpg"
mv 70808-B&W.jpg ~/.themes/Neutronium-Gtk2
gconftool-2 -t str -s /desktop/gnome/background/picture_filename "~/.themes/Neutronium-Gtk2/70808-B&W.jpg"
#cor da fonte no firefox
mv ./Neutronium-Theme-Pack-0.7.5/userContent.css ~/.mozilla/firefox/*.default/chrome/
#cor da fonte no pidgin
touch ~/.purple/gtkrc-2.0
echo 'style "Custom"' >> ~/.purple/gtkrc-2.0
echo '{' >> ~/.purple/gtkrc-2.0
echo 'base[NORMAL] = "#292B29"' >> ~/.purple/gtkrc-2.0
echo '}' >> ~/.purple/gtkrc-2.0
echo 'class "GtkWidget" style "Custom"' >> ~/.purple/gtkrc-2.0
#ícones no openoffice
#To get a white document background color instead of black, go to:
#Tools > Options > OpenOffice.org > Appearance > Custom Colors > Document background
#For dark themes Open Office 2 uses a high contrast icon theme (due to automatic icon settings). If you don't like this, do the following:
#1. Open "Tools -> Options dialog -> OpenOffice.org -> View"
#2. Change the icon theme from automatic/null to a different one.
#distributor logo ??
##pegar caminho em "/desktop/gnome/interface/icon_theme" e substituir os distributor-logo.png:
#ICONSET=`gconftool-2 -g "/desktop/gnome/interface/icon_theme"`
#ICONPATH="~/.icons/$ICONSET"
#alterar start-here.png/distributor-logo.png em: $PATH/48x48/apps, $PATH/48x48/places, $PATH/32x32/place, $PATH/24x24/places
#gtk-update-icon-cache && killall gnome-panel
sudo su
#aurora (GTK engine for alpha efects)
cd /tmp
wget -c http://www.gnome-look.org/CONTENT/content-files/56438-Aurora-1.4.tar.bz2
tar -xvjf GTK-Theme-Aurora-1.4.tar.bz2
tar -xvjf gtkrc_themes.tar.bz2
exit
mv Aurora ~/.themes/
mv Aurora-looks/ ~/.themes/
mv Aurora-Midnight/ ~/.themes/
cd ~/Desktop
wget -c http://www.gnome-look.org/CONTENT/content-files/70808-B&W.jpg
sudo su
cd /tmp
tar -xvzf aurora-1.4.tar.gz
cd aurora-1.4/
apt-get -y install libgtk2.0-dev
./configure --prefix=/usr -enable-animation
make
make install
#instalado em /usr/lib/gtk-2.0/2.10.0/engines
Nenhum comentário:
Postar um comentário