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

12
Become a Fan
7.8

Description:
This is a titlebar-less decoration, inspired by Google Chrome, and
Nitrogen minimal mod
(http://kde-look.org/content/show.php/KDE+4+Nitrogen+minimal+mod?content=109355).

Instead of the traditional full-width titlebar, a mini-titlebar is
placed at the upper-right corner of the application window --- where
usually is unused by the application menu bar.

Because notebooks today have very wide screens but limited in height,
I think this saving in the vertical space can be good.


Build
=====

Please following instructions in the INSTALL file.


Usage
=====

Just use the small bar in the top-right corner as your good old titlebar.

Ctrl-MouseWheel grows/shrinks the bar. So if your window title is
really long, you can make the bar wider.


Theme
=====

Begin with v0.1, Chromi uses themes from Aurorae Theme Engine
(http://kde-look.org/content/show.php/Aurorae+Theme+Engine?content=10715.
You can download dozens of Aurorae themes in the configuration UI.

Chromi ships with Scnd101's "Chrome Aurorae" theme
(http://kde-look.org/content/show.php/Chrome+Aurorae?content=119106)
as the default. If you customized the theme SVG files in older
versions, please move SVG files from /usr/share/kde4/apps/chromi to
/usr/share/kde4/aurorae/themes/chrome. Chromi no longer load theme
files from the former directory.


Config File
===========
You can change various settings in the [Engine] section in ~/.kde/share/config/chromirc:

DefaultTitlebarWidth=250
The default width of the mini-titlebar.

MinimalWindowWidth=500
Window narrower than this will use full titlebar. Set it to -1 to disable this checking.


Known Problems
==============
* Full-width titlebar has no hovering effect.
Last changelog:

0.2 (2010-02-23):

* Support customized button positions.
Only buttons in the right side are shown.
App icon and shade buttons are not supported yet.

0.12:

* If the initial window width is less than MinimalWindowSize (default is 500), use full titlebar.

* Use Aurorae's KNewStuff file. We used a renamed file (chromi.knsrc
vs. aurorae.knsrc), but then themes installed in Chromi is shown as
uninstalled in Aurorae, and vice versa. Now Chromi installs the
untouched aurorae.knsrc, and only do so when it's not found.

Note all themes previously installed in Chromi will still shown as
uninstalled in Aurorae. You'll need to install them again.


0.11:

* Remember titlebar width settings for each window classes.


0.1:

* Use Aurorae themes

* Revert to traditional, full-width titlebar for dialog and toolbox
windows.

* Ctrl-MouseWheel grows/shrinks titlebar.

* Transparent theme has system color as the background. So you can set
the "titlebar color" in SystemSettings to tweak the tone of the
theme. (Thanks for furumaro's suggestion.)

* Smoothed corners of the titlebar. (Thanks for IkaCoast's suggestion.)


0.03:
* Maximize button uses "restore" image when maximized.

* Use hover/pressed image.

* Fixed preview.


0.02:

Borrowed artwork from Chrome Aurorae
(http://kde-look.org/content/show.php/Chrome+Aurorae?content=119106). Button
animations still missing.


0.01:

A minimal implementation that barely works.


Ratings & Comments

58 Comments

ArneBab

I just stumbled over this when looking for chrome in Gentoo, and I’m really impressed. Thank you for this cool project! Now I’ll just have to find out how to adapt the color to my colorscheme ☺

thecurseddevil

its awesome i hadnt thought ever that this wud be possible but the problem comes when there is no menu bar in apps such as calibre and firefox also is this possible that the decoration automatically resizes to the end of menu bar (i.e 'help')while resizing,max.,min etc? i mean that wud be great!

dee2er

Have you tried Chromi with Compiz? The Aurora parts are painted in the wrong location for me since trying Compiz as my window manager with KDE 4.6. Everything worked great using Kwin but with Compiz the little titlebar and buttons are generally drawn just below where they should be, sometimes they are drawn in a random place and sometimes not at all. Aurora decorations on there own appear normally as do native deco's like Oxygen. Otherwise, outside of my experience using Compiz, Chromi is awesome. Thanks for your great work.

biophysics

there is an error with lucid + kde 4.4.4 rya@rishi:build > make [ 0%] Built target kwin3_chromi_automoc [ 11%] Building CXX object src/CMakeFiles/kwin3_chromi.dir/kwin3_chromi_automoc.o [ 22%] Building CXX object src/CMakeFiles/kwin3_chromi.dir/factory.o [ 33%] Building CXX object src/CMakeFiles/kwin3_chromi.dir/client.o [ 44%] Building CXX object src/CMakeFiles/kwin3_chromi.dir/button.o [ 55%] Building CXX object src/CMakeFiles/kwin3_chromi.dir/themeconfig.o Linking CXX shared module ../lib/kwin3_chromi.so [ 55%] Built target kwin3_chromi Generating config.moc [ 55%] Built target kwin_chromi_config_automoc [ 66%] Generating ui_config.h [ 77%] Building CXX object src/CMakeFiles/kwin_chromi_config.dir/kwin_chromi_config_automoc.o [ 88%] Building CXX object src/CMakeFiles/kwin_chromi_config.dir/config/config.o /home/rya/delete/kwin-deco-chromi/src/config/config.cpp: In member function ‘void Aurorae::AuroraeConfig::slotGHNSClicked()’: /home/rya/delete/kwin-deco-chromi/src/config/config.cpp:622: warning: ‘Engine’ is deprecated (declared at /usr/include/KDE/KNS/../../knewstuff2/engine.h:44) [100%] Building CXX object src/CMakeFiles/kwin_chromi_config.dir/themeconfig.o Linking CXX shared module ../lib/kwin_chromi_config.so [100%] Built target kwin_chromi_config

BenderBendingRodriguez

I love this!! My netbook loves this. And everybody wins :D There is just one quirk though, in system settings it covers the search but no biggie i LOVE IT OVERALL

genericity

I've no reliable method to move the search box away, but you can use Ctrl+MouseWheel to shrink the titlebar and reveal part of the search box. Hope this helps.

BenderBendingRodriguez

I understand that, as i said no biggie since that's just systemsettings, no need to do much searching there :) And if someone knows how to install chromi then he definitely doesn't need search box :) P.S. Sorry for polluting this thread but i am so grateful for this app, i even consider that it should be default on every system (after rebuilding some things of course) but what can i do :)

BenderBendingRodriguez

Please please, tell me at least how i could fix it. I found a solution in an ebuild http://anpn.de/aurorae-0.2.0.ebuild There it mentions a gentoo specific fix, any idea how i could apply it?

genericity

OK, I can somewhat understand this. You need to open the file src/CMakeLists.txt, replace ${KDE4WORKSPACE_KDECORATIONS_LIBS} with kdecorations in the 3rd line. So it should look like: target_link_libraries(kwin3_chromi ${KDE4_KDEUI_LIBS} ${KDE4_PLASMA_LIBS} kdecorations ${X11_X11_LIB})

BenderBendingRodriguez

Thank You so much for help and for this great great stuff

okias

Lastest Gentoo ebuild in KDE overlay.

BenderBendingRodriguez

I'd love to use this but half way through it complains: cannot find -lKDE4Workspace__kdecorations I am using gentoo and KDE 4.4.1 Any idea how to fix it? I looked for that string in all the files but i didn't find it anywhere.

genericity

Sorry, no idea. It should be -lkdecorations (i.e., links /usr/lib/libkdecorations.so), but where is that KDE4_Workspace__ thing come from? I'm using Debian so no idea about Gentoo building processes.

TheRob

this is starting to look really good! I do have a question regarding the second ss tho. The taskmanager seems to have launcher support, so what taskmanager is it in the panel? //Robert

genericity

It's another of my project. Too early for showtime, but you can give it a try anyway: http://github.com/jinliu/plasma-superbar-cxx The launchers are from your Kickoff favorites.

TheRob

nice! 10 thumbs up! I'm guessing there is no settings window atm right? also, I know it's prolly not even supposed to work under this version: Platform Version 4.4.64 (KDE 4.4.64 (KDE 4.5 >= 20100220)) but it does :D it just stretches over the whole panel, which judging from your ss isn't supposed behaviour. however, I'm gonna use this taskbar, I have been waiting too long for something like this to come around not to make use out of it! one more thing, the "box" or "button" doesn't appear in a running task when starting it... just after re-starting plasma... ...in kde trunk. too bad they have to change the api this much within plasma for each version. you prolly use kde stable right? sorry for the long and boring post.

genericity

Thanks for the test drive, Robert! However, I'll abandon that attempt, and try to add launcher support to panzi's Smooth Tasks (http://kde-look.org/content/show.php/Smooth+Tasks?content=101586) instead. It has much more features than my pet project. You can try the first result here: http://bitbucket.org/jinliu/smooth-tasks/get/a82d04ea9e6b.gz There's a lot of pieces missing (pin/unpin/tool tip/etc.), but I'm now pretty sure they are not so hard to implement. BTW: Only tested on 4.4.1. Hope it works on your KDE trunk :-)

stribianese91

Works in kde 4.4? Someone uses it?

echoes

does not work correctly in KDE 4.4 for me either. OpenSUSE 11.2 x86_64 KDE 4.4.0 Compositing Enabled

genericity

I installed Debian's KDE 4.4.1 unofficial packages, rebuilt this decoration, and it works OK. I don't meet aforementioned problems (titlebar disappearing, etc.). Make sure to upgrade *-dev packages to 4.4, delete the "build" directory, and build from scratch. Hope this can fix the problem.

stribianese91

Hi! Thanks for adding my idea to chromi! I'm using this ppa ppa:samrog131/ppa for installing chromi, but the version 0.11 hasn't the title bar! Is this your PPA?

genericity

No I'm using Debian sid/KDE 4.3. I changed the window embedding code so that may be the problem. Could you try this version to see if it works: http://github.com/jinliu/kwin-deco-chromi/tarball/v0.11a I reverted the change in the above version.

stribianese91

Using the PPA I've update to chromi 0.12 and it's all ok ;)

tpdi

Chromi insists it needs CMake 2.8 to compile, but works with CMake 2.6: change the line project root CMakeLists.txt cmake_minimum_required(VERSION 2.8) to cmake_minimum_required(VERSION 2.6) The file INSTALL lists dependencies as kdelibs6-dev and xorg-dev; I used kdelibs5-dev, but had to additionally install kdebase-workspace-dev. I compiled and am using chromi under Kubuntu Karmic (9.10). I note that on my Atom netbook, some Aurora themes make window drawing noticably slower than other themes do.

genericity

Fixed. That kdelibs6-dev thing is a typo. Thanks. Most of processing power is spent on SVG rendering. This makes Chromi (and Aurorae) slower than other "hand-drawn" decorations. It's especially evident in window resizing, where a lot of repainting is going on. Perhaps we can make an alternate version whose rendering code is based on Oxygen. Should work better with netbooks.

Pling
0 Affiliates
Details
license
version 0.2
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Various KDE 1.-4. Styles:

0kmeleon
somekool
last update date: 22 years ago

Score 5.0

Slick icons for D4X
wuf
last update date: 20 years ago

Score 5.0

CRUX Linux GDM Theme
systemx
last update date: 21 years ago

Score 5.0

theme dotclear kde v2.0
boumchacha
last update date: 19 years ago

Score 5.0

blue_heart xmms-kde
folienkartoffel
last update date: 21 years ago

Score 5.0

Quartz (KBFX Theme)
bmfan
last update date: 19 years ago

Score 5.0