RGBA Gtk+ module

Various Gnome Stuff

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

2
Become a Fan
6.5

Available as/for:
Description:
Gtk+ module to activate RGBA in gtk apps.
Use it with Cimitan's murrine theme engine instead of patching applications.

Thanks to VMChaZ for help with debug.
http://home.kis.ru/~vmchaz

Installation
Just use PPA or (1) and (2)
1) Compile it:
gcc -fPIC -shared librgba.c -o librgba.so `pkg-config --cflags --libs gtk+-2.0`
2) Copy librgba.so to /usr/lib/gtk-2.0/modules.

3) Install Cimitan's murrine engine and themes for it
4) Activate RGBA:
- Open gnome-color-chooser
- go to "Engines" tab
- set "global" checkbox
- Choose "Murrine"
- Click preferences
- set 2 RGBA checkboxes
5)Add export GTK_MODULES=rgba to .profile
Set environment variable GTK_RGBA_APPS (usually add to .profile).
export GTK_RGBA_APPS= list of applications

GTK_RGBA_APPS variable
- set it to colon separated list of applications to activate rgba ONLY in these apps:
GTK_RGBA_APPS=gedit:app2:app3

- append "allbut" to start to activate rgba in ALL apps except listed:
GTK_RGBA_APPS=allbut:gedit:app2:app3

FAQ
Q: Some applications does not work. Is it bug?
A: It is Ok, and not bug of RGBA Gtk+ module.
Not all apps can use RGBA.
You SHOULD set up GTK_RGBA_APPS variable.
For example:
GTK_RGBA_APPS=gedit:gcacltool:gnome-help - Activate RGBA ONLY in gnome edit, gnome calculator and gnome help.
or
GTK_RGBA_APPS=allbut:gedit:gcacltool:gnome-help - Activate RGBA in ALL applications except listed.

P.S. Sorry for bad English.
Last changelog:

0.2
prints name of program to console when rgba activated.

0.1
first release


Ratings & Comments

56 Comments

athremix

it's very nice , but how to install it in mate?

juandejesuss

hehe first of all I want to congratulate you for this work you've done, I was trying to apply to my desktop and this is what I found: http://img840.imageshack.us/img840/817/pantallazozb.png as you can see "notification-area-applet" shows transparencies and "gnomenu" as well, overwritting gnome-panel's background, and dunno how to fix it properly. I've found a file in /etc/profile.d named gtkrgba.sh where you have several lines of the exceptions, I tried to add "gnome-panel" or "notification-area-applet" but it didn't work, the area was being shown with a black background now by the way, you should add "cheese" to your exception list, because didn't worked properly with rgba activated, after I added it to the .sh file, it worked like a charm hope you can help me thanks in advance for your patience

juandejesuss

hey hello again look I've fixed the bug I talked you about, that was because of my gtkrc settings hehe but there's a couple of bugs that I can't fix -on Firefox everytime I get on youtube, the videos are not visible, I just can hear audio... -Tuxguitar doesn't work (already added that to the exception list on your file but doesn't work) if you can help me I'd appreciate it a lot friend look what I've achieved with your amazing .deb http://img254.imageshack.us/img254/2863/pantallazoa.png http://img42.imageshack.us/img42/328/pantallazo4f.png http://img535.imageshack.us/img535/4159/pantallazo1gb.png

N00bFor3v3r

Hey, i've deleted .profile, so there is no way to configure APP restrictions, plz can someone paste your own profile script, I'm n00b enought about this.

tsujan

Add the contents of this file to the end of your "profile": http://dl.dropbox.com/u/7793460/profile

jarom004

so im running ubuntu 10.04 (don't know if that wil make a difference, but i added the PPA and i wasn't able to download all f the packages when i updated. . and i alos am not really sure how to do step 5 with the RGBA. . . i'm kinda new to all this. . any tips would be greatly appreciated

jarom004

sorry i figured out the ppa but i don't understand how to "Add export GTK_MODULES=rgba to .profile" and the rest of number 5...im sorry if this is way obvious, but im new and still learning

tsujan

I found that if "XLIB_SKIP_ARGB_VISUALS=1" is used before Firefox command, the above issue doesn't appear.

tsujan

Flash 10.1 stopped working in Firefox 3.6.4 with gtk2-module-rgba, although both FF and exe are excluded. Audio is OK but there's no video. It works with RGBA disabled. I think this issue is related to Flash and not FF because the standalone flash player has some problem too (it's also excluded from RGBA applications and works OK with RGBA disabled).

zniavre

hello i think the ppa murrine patched is too transparent you should keep the regular murrine engine to be fully usable/readable to change transparence level you should edit src/support.h file into murrine source (wich i still think cimi (murrine's dev) use the best values, and modify : /* Opacity settings */ and recompile murrine engine "normal" way regards

aleksey

I think we need a .gtkrc setting for transparency. Someone should say about it to author of murrine.

zniavre

http://www.cimitan.com/murrine/node/add/feature you are welcome to ask :o)

aleksey

http://www.cimitan.com/murrine/node/204 Looks like Cimi not want this...

algalord

exist any way to control the % of transparency?

aleksey

No.Ask author of murrine theme engine for this. Turn on blur in compiz settings, it will help read text on transparent parts of windows.

algalord

I Ask because I don't have blur support for my ATI hd3200 video card.

mucha

do you know where i can find that engine?

Steh

http://www.gnome-look.org/content/show.php/Murrine+Engine+%28Ubuntu+Packages%29?content=99516 This is an unstable version with some cool new features, I'm using it and it works fine... Anyway just search Murrine in Synaptic to get the official Cimi release (if you're using Ubuntu, the engine is alredy installed, Human Murrine is a Murrine theme)

VCoolio

Hi, thanks for your app, works nice. One thing bugs me though (I posted this at the murrine site too, but cimi made me aware of this being an issue with your module): the console output disables usage of zenity. Like this: enter: echo `zenity --entry` if I type "blahblah" the output is: progname=zenity; RGBA=on blahblah Don't know what to change; I guess the code in the .c file on line 46 (printf ("\nprogname=%s; RGBA=on\n",progname);) should be different.

VCoolio

Actually, if you change line 46 to fprintf (stderr, "\nprogname=%s; RGBA=on\n",progname); it seems to work.

JotamanX

Amazing Job!! it works fine on archlinux just type: yaourt librgba-gtk-module

lester2

...but I've already submitted here a similar one once http://www.linux.org.ru/view-message.jsp?msgid=2607191#2609315 Then Cimi came and asked me to remove the entry. He doesn't like an interference with his code. Hope you will succeed more then me.

cimi86

That's true, but I'm considering the svn more stable to be used. I still hope no .debs or similar will be published for this kind of thing: it is meant to be *testing-only*

smif1984

test case: exclude for instance rhythmbox using rgba in .profile file: export GTK_MODULES=rgba export GTK_RGBA_APPS=gedit So the only application which should use rgba would be gedit. Then open a terminal and type rhythmbox: the application could not start because it crashes. I don't know where this comes from, it seems that it's ignoring the blacklist..

aleksey

It is impossible. export GTK_MODULES=rgba export GTK_RGBA_APPS=gedit rhythmbox (rhythmbox:14393): Rhythmbox-WARNING **: Unable to start mDNS browsing: ?????? MDNS ?? ??????? (rhythmbox:14393): Rhythmbox-WARNING **: Unable to stop mDNS browsing: ?????? MDNS ?? ??????? rhythmbox works fine

Pling
0 Affiliates
Details
license
version 0.2 .deb avaible
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 3

Other Various Gnome Stuff:

Karuna OS Logo
JCL
last update date: 18 years ago

Score 5.0

Ubuntu for Sony Ericsson z520i
microscopuce
last update date: 18 years ago

Score 5.0

Ubuntu Studio for SE z520i
microscopuce
last update date: 18 years ago

Score 5.0

Ubuntu Humunity
noobilus
last update date: 14 years ago

Score 6.1

VDesk - Visual Desktop
AnthonyAMC
last update date: 13 years ago

Score 5.5

Youtube search function for gnome shell
rivetrik
last update date: 13 years ago

Score 5.0