KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Frugalware-Art.org Artwork for Frugalware Linux 
 Arch-Stuff.org Artwork and Stuff for Arch Linux 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
Kubuntu-Art.org - Stuff for your Kubuntu Desktop

 Sep 1 2016  
 Not logged in  
 Home    Add Artwork   Forum   Groups   Knowledge   Events   Jobs   Users   Register   Login-


- Content .- Fans  .- Knowledge Base  . 

Themeable windeco buttons for Chromium


Theme/Style for KDE 4.0

Score 63%
Themeable windeco buttons for Chromium

Downloads:  122
Submitted:  Dec 1 2012


This is a set of tools to make some Chromium/Google Chrome resources hackable without any need to rebuild.
You can e.g. change windeco buttons, tab shapes, toolbuttons, etc., which are unthemeable by default.

The package consists of two parts:
1. A utility to extract and recreate chromium *.pak resource files (chrome-pak-extract.tar.bz2)
2. A sample set of windeco buttons to replace default non-themable chromium ones (wm-buttons.tar.bz2)

To theme windeco buttons you have to follow these steps:

 1. Install chrome-pak-extract package using something like the following instructions (assuming you have extracted the outmost tarball):

tar xvf chrome-pak-extract.tar.bz2
cd chrome-pak-extract
sudo make install

 2. Locate your chrome.pak. In Ubuntu it resides in /usr/lib/chromium-browser/chrome.pak
 3. Extract chrome.pak with the following command:

mkdir /tmp/chromium-resources && pak-extract /usr/lib/chromium-browser/chrome.pak /tmp/chromium-resources

 4. Make sure that the copy-to-chrome script in the second package copies the files to correct resource IDs (the names like 15a3.png correspond to ID.png)
 5. Extract the second package, wm-buttons.tar.bz2
 6. Run the script with the following command:

copy-to-chrome path/to/button-images/ /tmp/chromium-resources

, where path/to/button-images is either path to opaque or to transparent directories of wm-buttons.tar.bz2
 The opaque versions are just cropped screenshots of real oxygen buttons, while transparent ones are the same things with bg color changed to alpha in GIMP. The transparent ones might be good to adapt to your color scheme, but they don't look best because of some strange chromium behavior.
 7. Now create a new resource package with button images replaced:

pak-pack /tmp/chromium-resources /tmp/chrome.pak

 8. Now you have your replacement chrome.pak. First, make sure you have a backup of your old package:

sudo mv /usr/lib/chromium-browser/chrome.pak{,.bak}

 9. And install the new one:

sudo cp /tmp/chrome.pak /usr/lib/chromium-browser/

Now make sure that your chromium starts and works as expected, without any red rectangles instead of window controls, and look at windeco buttons. If you have any problems with chromium look, you can revert the changes with this command:
sudo cp /usr/lib/chromium-browser/chrome.pak{.bak,}

I'm looking forward to see some nice themes for now themable Chromium controls ;)


Dec 2 2012 Fixed pak v1 creation
Dec 2 2012 Fixed max/unmax button position
Dec 1 2012 Initial release

Source(Package with packer and sample buttons)
Send to a friend
Other  Artwork  from l0ll0lll
Report inappropriate content

Add commentBack


Copyright 2007-2016 Kubuntu-Art.org Team  Legal Notice
All rights reserved. Kubuntu-Art.org is not liable for any content or goods on this site.
You can find our FAQ here.
All contributors are responsible for the lawfulness of their uploads.
Please send us a notice if you spot an ABUSE of the website.
Information about advertising in Kubuntu-Art.org.
Developers can use our public webservice interface. More information here: public api
For further information or comments on this site, please send us a message
Kubuntu is a registered trademark of Canonical Ltd.
Content RSS   
Events RSS