Ubuntu Experiences Database

Archive for the ‘Eye-candy’ Category

Remove GUI Animations – Gnome

Posted by maximillan on December 13, 2006

to remove gui animations on gnome (opening/closing/minimizing)


find /apps/metacity/general
and check “reduced_resources”

now gnome works well with beryl


Posted in Eye-candy, Howto, linux, ubuntu | Leave a Comment »

Improved subpixel font rendering packages

Posted by maximillan on December 5, 2006

if you want ‘windows-like’ font rendering in ubuntu, just follow the steps.

before > after

open up System -> Administration -> Software Sources from the menu

click on the Third Party tab and click
the Add button.

Copy the following info and click Add Sources.

deb http://www.elisanet.fi/mlind/ubuntu edgy fonts
deb-src http://www.elisanet.fi/mlind/ubuntu edgy fonts

now open Terminal window enter these:

gpg –recv-keys 937215FF
gpg –export –armor 937215FF | sudo apt-key add –

sudo apt-get update

sudo apt-get dist-upgrade

and lastly :

sudo dpkg-reconfigure fontconfig-config

Be sure to set subpixel rendering to “always” on the second screen (and bitmap fonts to “No”). The amount of hinting applied can be adjusted in the Gnome Font Settings dialog.

also consider : commandline way to install this packages (easier)

good luck (:

Posted in Eye-candy, Howto, ubuntu | Leave a Comment »

Installing Beryl and Xgl

Posted by maximillan on December 5, 2006

Installing Xgl and Beryl in (X)ubuntu Edgy Eft is simple. just follow the steps:

This article covers graphical installation, also consider this :

How-to Installing Beryl and Xgl on Ati Graphic Cards (cline)

The Xgl X server requires 3D video acceleration. Most graphics cards should automatically support 3D acceleration in Edgy Eft; some graphics cards might need some tweaking though.

You can check whether direct rendering is enabled by invoking

$ glxinfo | grep direct

if something like:

direct rendering: Yes

For ATI Graphics-Card you can check with:

$ fglrxinfo

then you’re ready to install Xgl and Beryl. If it doesn’t, you might need to install the appropriate driver for your graphics card

Ubuntu Edgy (ATI) Installation Guide
Ubuntu Edgy (Nvidia) Installation Guide

The first thing we should do is to add the needed repositories to your
Ubuntu installation, this is done by starting
System -> Administration -> Software Sources from the menu

Now click on the Third Party tab and click
the Add button.

Copy the following info and click Add Sources.

deb http://ubuntu.beryl-project.org/ edgy main

Now we need to download and install the key used to verify the packages we are going to install are genuine, right click on this link and select Save Link As…
to save the key file needed.

if this is not work try this in terminal:

$ wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add –
$ wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add –

Save the file on your computer, but remember where, I save it on my Desktop.

Then select the Authentication tab from the Software Sources program and click the Import Key File button to import the file.

Browse to the root@lupine.me.uk file, select it and
press OK to import.

Click Close to exit.

Now a dialog should ask you to reload your repositories, click Reload.

Free Image Hosting at www.ImageShack.us

If you see this notification when the reload is completed you should update your system before continuing…

Next we need to install Beryl and Xgl.
For this we will use Synaptic which is a graphical front-end to our package management system.
Start Synaptic from the menu
System -> Administration -> Synaptic Package Manager.

Now we need to find and install 3 key packages xserver-xgl, emerald-themes and beryl. the easiest way to do this is by searching and selecting as show on the pictures.

Then click Apply to install the selected packages, and a Summary screen should appear where you have to click Apply once again, do this to continue the installation.

Next we need to create 2 new files in order to be able to run Xgl, for this we will again use gedit.

1. File – press Alt+F2 and run

gksudo gedit /usr/bin/startxgl

Copy this contents into the file, save the document and exit the text editor.

For ATI Cards:

Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
exec dbus-launch –exit-with-session gnome-session

(for Xfce(Xubuntu) …..session startxfce4)

For Nvidia Cards:

Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
exec dbus-launch –exit-with-session gnome-session

Now press Alt+F2 again and type and click Run

gksudo nautilus /usr/bin

for Xubuntu

gksudo Thunar /usr/bin

Find the file startxgl which we just created, this can be done by just writing startxgl.
Now right click on the file and select Properties and select the Permissions tab, and in the bottom there, check the box “Allow executing file as a program” and
then click Close.

2. File – again press Alt+F2 and run

gksudo gedit /usr/share/xsessions/xgl.desktop

And copy the following contents into this file.

[Desktop Entry]
Comment=Start an Xgl Session

Save the document and exit the text editor.

The last changes we need is to get beryl to start up when logging in, this is done from the menu System -> Preferences -> Sessions under the tab Startup Programs we need to add the following entry


Free Image Hosting at www.ImageShack.us

When you come to the login screen you will have to go down in the left corner and click sessions and select Xgl from the list and click Change Session.

Now you can login and try out Xgl and Beryl.

Free Image Hosting at www.ImageShack.us

By now you should see a fancy wobbely splash for Beryl, when it starts, and all the Beryl effects should be avaiable for you to use..

Posted in Eye-candy, ubuntu | 7 Comments »

Mac-style Menu Bar for GTK and Java/Swing applications

Posted by maximillan on December 4, 2006

hacked gtk2 to use mac-style menubars, and added panel applets for xfce (4.4+) and gnome.

GTK Patches: for gtk 2.10.x | 2.8.x | AUR

GNOME Panel Applet: see post http://ubuntuforums.org/showpost.php?p=1593123
Xfce Panel Applet (xfce 4.4): see post http://ubuntuforums.org/showpost.php?p=1586951 (need libwnck>=2.16)

Ubuntu Edgy Packages #1: Cwiiis’s http://chrislord.net/files/gtkmenubar/
Ubuntu Edgy Packages #2: flargen’s, see post http://ubuntuforums.org/showpost.php?p=1600937

Gentoo Packages: see post http://ubuntuforums.org/showpost.php?p=1672912
Lunar Linux Packages: see post http://ubuntuforums.org/showpost.php?p=1612710
Official Arch Linux packages (.tar.gz format): http://aquila.deus.googlepages.com/archlinuxpackages
(names are gtk2-aqd, gnome-macmenu-applet, xfce4-macmenu-plugin and xfce4-corner-plugin)

Screenshots (official):

Screenshots from zammi (left 2) and Cimi86 (right 1):

Environment variable GTK_MENUBAR_NO_MAC let you set a list app executable names to disable mac menubar for, separated by space (default "gnome-panel acroread"). Set it to 1 to completely disable mac menubar.

If you have KDE apps, set mac-style menubar [control center -> desktop -> behavior] and you will see it appearing in gnome or xfce panel applet. (be careful – the menubars will die when panel/applet quits)

To move/remove the panel applets, move mouse to the rightmost place, where you’ll see a flat button with no text inside, left-click on it to bring up the applet menu (right-click in xfce’s panel plugin). If you have turned on the title label, you can also get the menu by right-click on it.

Application compatibility:
– Perfect: Azuerus, Eclipse, Epiphany, Evince, Gaim, gFTP, GMPC, Listen, Nautilus, Terminal, Thunar, VMware, …
– Small problems: Bluefish, Evolution

– Big problems (need patch): all wxGTK-based programs, you would need my patches in here
– Crash: Acrobat Reader 7 (mac menubar disabled by default)

All the Alt+[A-Z] menu hotkeys cannot work with mac menubar – no fix yet.

To patch gtk2 manually:
0.Get gtk2 source
1.cd …../…./gtk+-2.10.X (X means the version number)
2.patch -p0 < ……./…./gtkmenubar.diff (gtkmenubar-2.8.diff)

3.configure and make & install

To build the panel applets:
0.Go to AUR entries: Xfce | GNOME
1.Download the files under "Source" box

2.See PKGBUILD for gcc arguments and install locations

My modifed GT4_white theme (gtk2, metacity, xfce) => http://www.deviantart.com/deviation/40625220/

For other themes, you can make the menubar thin (more accessible) by edit the /usr/share/themes/THEME_NAME/gtk-2.0/gtkrc, find the line style "menubar" {, and change the ythickness = XXX below it (inside the { and }) to ythickness = 0

taken from: link

Posted in Eye-candy, ubuntu | 2 Comments »