Darkness gtk2 (rgba true)

GTK2 Themes

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

7
Score 63.3%
Description:

To those who vote bad, please write a comment with the reasons, it will give me more to work with in order to improve the theme.

Info for updating from v1.0
The files and folders has been restructured since v1.0, some files moved and some renamed etc. Because of this it is best to completely remove any previous installations of the Darkness theme prior to installing this (only the actual theme, the murrine engine and rgba module can remain unchanged).


ABOUT:

Darkness is a set of different themes and skins wich main purpose was not to publish here but rather to have a consistent look for my own desktop. The complete sets does have inspirations from both windows and mac but is not intended to be a lookalike for either (wich should be quite obvious from the screenshots).

This GTK theme primarily uses the Murrine gtk2 engine with rgba enabled but also has a few areas using pixmaps. It is however not a "plug & play" theme and does require a little bit of work to install.



INSTALLATION:

To use this theme you first need to enable window transparency (rgba). I don't know how that works for all distributions so the guide below is for Ubuntu only. For those using other distributions you will unfortunately have to find another solution.

Notice/Warning: Not all computers and/or applications will play nice with this enabled. If you want to install the theme i advice you to first test rgba on your system by following the instructions on the wiki-link below. Darkness is only a murrine theme and i do not have anything to do with the repository or rgba window opacity other then having it enabled in my theme, my help for troubleshooting if any problem may occur will therefor be limited.

For more information about window transparency you can check these two links:
https://wiki.ubuntu.com/DesktopTeam/RgbaGtkWithPPA/
http://www.omgubuntu.co.uk/2010/02/enable-rgba-window-transparency-in.html
http://ubuntuforums.org/showthread.php?t=1412052

First step is to install the things required to activate rgba.

sudo add-apt-repository ppa:erik-b-andersen/rgba-gtk
sudo apt-get update && sudo aptitude upgrade
sudo apt-get install gtk2-module-rgba


Darkness gtk theme uses different opacity-settings then the default. Because of this we need to change the opacity levels manually and then recompile the murrine gtk2 engine.

sudo apt-get install checkinstall
sudo apt-get build-dep gtk2-engines-murrine
mkdir tempbuild
cd tempbuild
apt-get source gtk2-engines-murrine
ls


(cd into the only folder that exists)

gedit src/support.h


Scroll down to find the section "/*Opacity Settings*/". You can change the opacity levels to what you want but for the windows to blend in nicely with my emerald theme you need to set WINDOW_OPACITY to 70 or 85 (depending on what emerald version you use). My own personal settings are as below:

Higher transparency, use with emerald theme Darkness 70
/* Opacity settings */
#define GRADIENT_OPACITY 1.00
#define WINDOW_OPACITY 0.70
#define ENTRY_OPACITY 0.92
#define NOTEBOOK_OPACITY 0.85
#define MENUBAR_OPACITY 0.70
#define MENUBAR_GLOSSY_OPACITY 0.70
#define MENUBAR_STRIPED_OPACITY 0.70
#define TOOLBAR_OPACITY 0.70
#define TOOLBAR_GLOSSY_OPACITY 0.70
#define MENU_OPACITY 0.70
#define TOOLTIP_OPACITY 0.70


Less transparency and darker, use with emerald theme Darkness 85
/* Opacity settings */
#define GRADIENT_OPACITY 1.00
#define WINDOW_OPACITY 0.85
#define ENTRY_OPACITY 0.92
#define NOTEBOOK_OPACITY 0.90
#define MENUBAR_OPACITY 0.85
#define MENUBAR_GLOSSY_OPACITY 0.85
#define MENUBAR_STRIPED_OPACITY 0.85
#define TOOLBAR_OPACITY 0.85
#define TOOLBAR_GLOSSY_OPACITY 0.85
#define MENU_OPACITY 0.85
#define TOOLTIP_OPACITY 0.85


When the changes are done, save and go back to terminal.

./configure --prefix=/usr/ --enable-animation
make
sudo checkinstall


After the above steps to activate window opacity you may however need to restart X or simply log out and then back in. When that is done you can install the theme as you would with any other gtk theme.

Please note that it has been a while since i did this myself and may have forgotten or left out something. If something is not working with the guide above, drop me a note and i will try to figure out what may be missing.



CUSTOMIZING & OPTIONAL SETTINGS


Blur Windows: First off it is adviced to activate Blur Windows in compiz. This will make it much easier to see the active window.

1. Start CompizConfig Settings Manager.
2. Go to "Blur Windows".
3. In the textfield for "Alpha blur windows" type in "any".
4. Activate the checkbox for "Alpha Blur".
5. Change "Blur Filter" to "Gaussian".
6. Change "Gaussian Radius" to 5 (or play around some until it suits you).
7. Change "Gaussian Strength" to 0.2 (or same as gaussian radius, play around some).



Colortones: Each of my Darkness gtk themes has 10 colortones to choose from. Since there are a rgba version and a non rgba version i have chosen not to make each colortone into a separate theme since that would result in 20 different themes.

Inside the gtk-2.0 folder you will find an additional folder named "colors". To change the colortone simply copy (not cut/move) the 2 files (colors.rc + panel_button_prelight.png) from a specific colorfolder and paste into top of the colors-folder, replace the existing files.
Example: copy the files from gtk-2.0/colors/red and paste into gtk-2.0/colors/

After you have changed the color you will need to reload the theme or simply log out and then back in.


Gnome-panel: The gnome panels has a default background. If you wish to change this background and/or make them transparent follow these steps:

1. Open the file panel.rc inside the gtk-2.0 folder.
2. Add a # at the beginning of the line: bg_pixmap[normal] = "pixmaps/panel_bg_default.png"
3. Open up the panel properties window and click "Background".
4. Choose a background image for the panel.
5. Reload the Darkness theme (or log out and then back in).


The theme has a few different panel backgrounds included inside the gtk-2.0/pixmaps folder, each are 32px high:
panel_bg_default.png = Default background, not transparent, made for top panels
panel_70_btm.png = Transparent, bottom panels, opacity settings at 70
panel_70_top.png = Transparent, top panels, opacity settings at 70
panel_85_btm.png = Transparent, bottom panels, opacity settings at 85
panel_85_top.png = Transparent, top panels, opacity settings at 85


Open Office: The theme has a small fix included for Open Office when using a dark theme. The actual fix may not be perfect but it should work fine. For now i have temporary made use of the NOX theme for gtk2 but with a few minor changes in base colors and also making it possible for it to read chosen colortones of the Darkness theme.

Install method 1:
in terminal, cd into the fixes folder included inside the theme

mkdir ~/bin
cp ooffice ~/bin/ooffice

Open the file ooffice located in ~/bin with a suitable texteditor and uncomment the correct line wich corresponds to install method 1 and location of where darkness theme is installed.


Install method 2 (requires root-privileges):
in terminal, cd into the fixes folder included inside the theme

sudo mv /usr/bin/ooffice /usr/bin/oofficeBIN
sudo cp ooffice /usr/bin/ooffice

Open the file ooffice located in /usr/bin with a suitable texteditor and uncomment the correct line wich corresponds to install method 2 and location of where darkness theme is installed.


Please note that the ooffice file located in either ~/bin or /usr/bin must be set as an executable file.



More Darkness themes

GTK2 (rgba false) + Metacity
http://gnome-look.org/content/show.php/Darkness+gtk2+%28rgba+false%29?content=125113

GTK2 (rgba true)
http://gnome-look.org/content/show.php/Darkness+gtk2+%28rgba+true%29?content=124548

Emerald theme
http://gnome-look.org/content/show.php/Darkness+emerald+theme?content=124315

DockbarX theme
http://gnome-look.org/content/show.php/Darkness+theme+for+DockbarX?content=124216

GnoMenu button theme
http://gnome-look.org/content/show.php/Darkness+GnoMenu+button+theme?content=124257
Last changelog:

9 years ago

v1.3b
- Fixed a minor error with the paths in the fix for open office

v1.3
- Completely remade the fix for open office, no longer based on Nox theme
- Moved sections from gtkrc into the colorfiles to improve the customization of each colortone
- Improved appearance of each colortone
- Tabs modified slightly for a more smooth look

v1.2
- Slightly increased the size of scrollbars to increase it's usability

v1.1
- Cleaned up the filestructure a bit
- Remade the panelbackground and added alternate versions depending on opacity settings
- A small fix for Open Office by making use of a modified version of the NOX theme

2010-05-12 17:51
Same version of the theme but updated installation guide with optional opacity levels to match v1.1 of emerald theme.

paramerlin

1 year ago

9 +Nice job. It is still actual and works well.

Report

JhonDoeKs

8 years ago

Problem videos in the browser

After installing a theme that seems successful.
I get to see more videos, there's sound but the frame is black.

Report

JhonDoeKs

8 years ago

Thank you for this works pretty

Report

Moringotto

9 years ago

Hi!

All works fine, except some applets for gnome-panel (including DockbarX): they have black background.

How can I fix this?

Report

MezzoForte

8 years ago

For the gnome panel I solved this issue by creating a transparent background with gimp. A 1*24 pixels png image with an alpha channel for example.

Report

MezzoForte

8 years ago

I forgot : in gnome-color-chooser go to the last tab (engine), and choose another engine for the panel ("Mist" for example"). You will see the gnome panel as it was before.

Report

Vinschni

9 years ago

Is there a way to increase frames per secound of the progressbar animation? It would look much smoother with 30fps. I was looking around in the gtkrc, but i didn't find something.

Report

C

adamantis

9 years ago

Unfortunately i have no idea, this is my first gtk-theme to make so am no expert on it. But i would guess that it would be something in the murrine engine in that case.

Report

XxAndoxX

9 years ago

Thanks

Report

XxAndoxX

9 years ago

when i type the command sudo apt-get build-dep gtk2-engines-murrine the terminal gives me: couldn't find a source package for gtk2-engines-murrine
any solution?

Report

XxAndoxX

9 years ago

Hey i think two heads works better than one and the work reduces to the halve¡¡¡
If you allow me to express my opinion i think you should reflect about the offer of Ribon

Report

Rainbow

9 years ago

Instead of me hosting my mod separately, would you like to perhaps work on a way to collaborate here? You've done most of the work, all I did was patch a few apps (gnome-panel included) to work better with the theme. I don't want to be seen as trying to take credit for your work.

Report

XxAndoxX

9 years ago

What is the name of the icons? and where i can find them?

Report

C

adamantis

9 years ago

My icons are a bit mixed, the folder icons are primarily Pry with a few minor modifications on a some.

http://jonasraskdesign.com/iconarchive/iconarchive.html

Report

survivor

9 years ago

I'm sorry for the stupid question, but how can I remove the theme, because I had some problems installing it and I need to reinstall it.

Report

survivor

9 years ago

Everything is fine now :)

Report

C

adamantis

9 years ago

Glad you got it sorted, for any uninstallation in the future i think you can just follow the guide on the bottom of this page:
https://wiki.ubuntu.com/DesktopTeam/RgbaGtkWithPPA/

Report

sanjayb30

9 years ago

Such an amazing theme. With the combination of emerald , dockbarx, it looks out of the world. But as usual, Openoffice applications suffers from dark themes.
Above all, the transparency in all gtk application creates a wow factor.
I wish a non dark theme would have the same effects as yours.
Thanks for making our desktop smiles.

Report

C

adamantis

9 years ago

I am very pleased to hear you like it since it is my first gtk theme to make.

I still have a few things to do with the whole darkness themeset, a better fix for open office without the use of Nox, a non rgba version of it with metacity windowborders and finish up some themes for screenlets and so.

When all of that is done i have plans on making a "white" version of darkness.

Report

twodogs

9 years ago

can I get the wallpaper in screenshot one? voted good.

Report

C

adamantis

9 years ago

Not sure wich one, all images has a different wallpaper.

The Ubuntu wallpaper can be found here: http://awesomewallpapers.wordpress.com/2009/06/19/ubuntu-wallpaper-set-4/

For the rose: http://dianephotos.deviantart.com/art/Passion-Wallpaper-98698962

Last one i can't remember where i found it.

Report

XxAndoxX

9 years ago

Which msn screenlet are you using?

Report

C

adamantis

9 years ago

Pidgin screenlet with the facebook plugin

Report

gavaets

9 years ago

SShot:
http://uppix.net/d/b/6/910a20238054dbb2d5a6e84615429.png

Report

XxAndoxX

9 years ago

i have suggested to incorporate this to the win2-7 project

Report

9 years ago

v1.3b
- Fixed a minor error with the paths in the fix for open office

v1.3
- Completely remade the fix for open office, no longer based on Nox theme
- Moved sections from gtkrc into the colorfiles to improve the customization of each colortone
- Improved appearance of each colortone
- Tabs modified slightly for a more smooth look

v1.2
- Slightly increased the size of scrollbars to increase it's usability

v1.1
- Cleaned up the filestructure a bit
- Remade the panelbackground and added alternate versions depending on opacity settings
- A small fix for Open Office by making use of a modified version of the NOX theme

2010-05-12 17:51
Same version of the theme but updated installation guide with optional opacity levels to match v1.1 of emerald theme.

12345678910
2
product-maker paramerlin Aug 12 2018 9 excellent
+Nice job. It is still actual and works well.
product-maker JhonDoeKs Feb 07 2011 9 excellent
product-maker Base: 4 x 5.0 Ratings
JhonDoeKs
Feb 07 2011
Lightmhere
Sep 13 2010
AlanT
Jun 24 2010
XxAndoxX
May 22 2010
syco
May 21 2010
gavaets
May 14 2010
brucelee
May 11 2010
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
1.3b
updated May 30 2010
added May 11 2010
downloads 24h
0
page views 24h 4