6/22/07

True transparent Tilda Terminal on Ubuntu Feisty

On Feisty Fawn, Compiz [a compositing window manager that uses 3D graphics acceleration via OpenGL] will be installed by default. This provides effects and features on desktop environment like Desktop Effect. This post is about how to install tilda terminal and make it real transparent on ubuntu Feisty.


You must be already installed nvidia driver and enabled the "Desktop Effect" function.
First download tilda source package and install other packages to satisfy the build dependencies of tilda source

pnix@pnix-a7n:~/build$ apt-get source tilda
Reading package lists... Done
Building dependency tree
Reading state information... Done
Need to get 133kB of source archives.
Get:1 http://th.archive.ubuntu.com feisty/universe tilda 0.09.4-0ubuntu2 (dsc) [662B]
Get:2 http://th.archive.ubuntu.com feisty/universe tilda 0.09.4-0ubuntu2 (tar) [126kB]
Get:3 http://th.archive.ubuntu.com feisty/universe tilda 0.09.4-0ubuntu2 (diff) [6782B]
Fetched 133kB in 1s (95.7kB/s)
gpg: Signature made Wed 24 Jan 2007 08:08:51 AM ICT using DSA key ID C88ABDA3
gpg: Can't check signature: public key not found
dpkg-source: extracting tilda in tilda-0.09.4
dpkg-source: unpacking tilda_0.09.4.orig.tar.gz
dpkg-source: applying ./tilda_0.09.4-0ubuntu2.diff.gz
pnix@pnix-a7n:~/build$ sudo apt-get build-dep tilda
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
build-essential cdbs debhelper docbook-xsl g++ g++-4.1 gettext html2text intltool-debian libatk1.0-dev libc6-dev
libcairo2-dev libconfuse-dev libconfuse0 libexpat1-dev libfontconfig1-dev libfreetype6-dev libglib2.0-dev
.
.
Setting up build-essential (11.3) ...
pnix@pnix-a7n:~/build$
Now you should have directory name tilda-0.09.4 in your current directory.
Next create dir name patches under tilda-0.09.4/debian, download a tilda transparency patch for 0.09.4 from here and move it to patches dir, change it's extension to .patch.
pnix@pnix-a7n:~/build$ mv tiltilda-0.09.4-real-transparency.patch_.txt tilda-0.09.4/debian/patches/tilda-0.09.4-real-transparency.patch

Under tilda-0.09.4 dir build deb package by type 'dpkg-buildpackage -rfakeroot'. maybe you have this error[like me].
/usr/bin/dpkg-buildpackage: 212: fakeroot: not found

it's mean you need fakeroot package too. Install it.
pnix@pnix-a7n:~/build/tilda-0.09.4$ sudo aptitude install fakeroot
Password:
Reading package lists... Done
.
The following NEW packages will be installed:
fakeroot
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 99.4kB of archives. After unpacking 397kB will be used.
Writing extended state information... Done
Get:1 http://th.archive.ubuntu.com feisty/main fakeroot 1.5.10ubuntu2 [99.4kB]
Fetched 99.4kB in 8s (11.7kB/s)
Selecting previously deselected package fakeroot.
(Reading database ... 107534 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.5.10ubuntu2_i386.deb) ...
Setting up fakeroot (1.5.10ubuntu2) ...

pnix@pnix-a7n:~/build/tilda-0.09.4$

Now we're ready to build. Do it again.
pnix@pnix-a7n:~/build/tilda-0.09.4$ dpkg-buildpackage -rfakeroot
dpkg-buildpackage: source package is tilda
dpkg-buildpackage: source version is 0.09.4-0ubuntu2
dpkg-buildpackage: source changed by Áron Sisak
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 0.09.4-0ubuntu2
fakeroot debian/rules clean
test -x debian/rules
test "`id -u`" = 0
.
.

It's a good idea to change version before 'dpkg-buildpackage' to prevent autoupdate try to update with a version in repos. To do that add .1 to end of current version# in debian/changelog file.
After fiished tilda_0.09.4-0ubuntu2_i386.deb should be built. So install it by type 'sudo dpkg -i yourdebpkg.deb'.
pnix@pnix-a7n:~/build/tilda-0.09.4$ cd ..
pnix@pnix-a7n:~/build$ ls
tilda-0.09.4 tilda_0.09.4-0ubuntu2_i386.changes
tilda_0.09.4-0ubuntu2.diff.gz tilda_0.09.4-0ubuntu2_i386.deb
tilda_0.09.4-0ubuntu2.dsc tilda_0.09.4.orig.tar.gz
pnix@pnix-a7n:~/build$ sudo dpkg -i tilda_0.09.4-0ubuntu2_i386.deb
Selecting previously deselected package tilda.
(Reading database ... 107569 files and directories currently installed.)
Unpacking tilda (from tilda_0.09.4-0ubuntu2_i386.deb) ...
Setting up tilda (0.09.4-0ubuntu2) ...

pnix@pnix-a7n:~/build$

ref: http://forum.beryl-project.org/viewtopic.php?f=51&p=31430

0 comments: