Install Nodoka (Fedora theme) on Ubuntu (II)

I was explaining here how to install Nodoka theme on Ubuntu.
Or you can use this small script I made to automate this.

PS: You need to have libsexy-dev installed. If not, just run this command in your terminal:

sudo apt-get --assume-yes --force-yes install libsexy-dev

I hope you’ll find it usefull.
Here is the script:

#!/bin/bash
cd $HOME/Desktop
w3m https://fedorahosted.org/nodoka/wiki > page
daemon=`cat page | grep notification |cut -f1 -d" "`
theme=`cat page | grep nodoka-theme |cut -f1 -d" "`
engine=`cat page | grep gtk-nodoka-engine |cut -f1 -d" "`
wget https://fedorahosted.org/releases/n/o/nodoka/$daemon
wget https://fedorahosted.org/releases/n/o/nodoka/$theme
wget https://fedorahosted.org/releases/n/o/nodoka/$engine
tar zxvf $engine
cd gtk-nodoka-engine-*
./configure --prefix=/usr --enable-animation
make
sudo make install
cd ..
tar zxvf $theme
cd nodoka-theme-gnome-*
sudo cp -rv Nodoka/ /usr/share/themes/
cd ..
tar zxvf $daemon
cd notification-daemon-engine-nodoka-*
./configure --prefix=/usr
make
sudo make install
cd ..
cd $HOME/Desktop
rm $daemon
rm $theme
rm $engine
rm page
rm -rf gtk-nodoka-engine-*
rm -rf nodoka-theme-gnome-*
rm -rf notification-daemon-engine-nodoka-*

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">