Chromi

Various KDE 1.-4. Styles

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

12
Score 79.5%
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=107158).
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:

9 years ago

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.

ArneBab

5 years ago

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 ☺

Report

thecurseddevil

8 years ago

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!

Report

dee2er

8 years ago

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.

Report

biophysics

9 years ago

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

Report

BenderBendingRodriguez

9 years ago

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

Report

C

genericity

9 years ago

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.

Report

BenderBendingRodriguez

9 years ago

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 :)

Report

BenderBendingRodriguez

9 years ago

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?

Report

C

genericity

9 years ago

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})

Report

BenderBendingRodriguez

9 years ago

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

Report

okias

6 years ago

Lastest Gentoo ebuild in KDE overlay.

Report

BenderBendingRodriguez

9 years ago

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.

Report

C

genericity

9 years ago

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.

Report

TheRob

9 years ago

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

Report

C

genericity

9 years ago

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.

Report

TheRob

9 years ago

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.

Report

C

genericity

9 years ago

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 :-)

Report

stribianese91

9 years ago

Works in kde 4.4? Someone uses it?

Report

echoes

9 years ago

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

Report

C

genericity

9 years ago

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.

Report

stribianese91

9 years ago

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?

Report

C

genericity

9 years ago

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.

Report

stribianese91

9 years ago

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

Report

tpdi

9 years ago

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.

Report

C

genericity

9 years ago

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.

Report

9 years ago

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.

12345678910
116
product-maker serega386 Dec 03 2012 9 excellent
product-maker nikore90 Aug 02 2012 9 excellent
product-maker carlcarl Aug 02 2012 9 excellent
product-maker unikum111 Jul 07 2012 9 excellent
product-maker Naidel Apr 11 2012 9 excellent
product-maker podxboq Nov 09 2011 9 excellent
product-maker mrsaccess Aug 23 2011 9 excellent
product-maker aspotashev Jun 03 2011 9 excellent
product-maker diglam May 17 2011 9 excellent
product-maker phongth May 07 2011 9 excellent
product-maker SirDodger Apr 28 2011 9 excellent
product-maker michroute Nov 25 2010 9 excellent
product-maker ZardoZ84 Nov 20 2010 9 excellent
product-maker molecule-eye Nov 01 2010 3 bad
product-maker DocAngelo Nov 01 2010 9 excellent
product-maker PyroLinux Nov 01 2010 9 excellent
product-maker ingvarg Oct 02 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
ArneBab
May 10 2014
serega386
Dec 03 2012
cruzki
Feb 14 2011
mimi1vx
Feb 11 2011
biophysics
May 20 2010
BenderBendingRodriguez
Apr 06 2010
santam
Mar 06 2010
msledziona
Feb 22 2010
stribianese91
Feb 21 2010
lordlukas
Feb 14 2010
Orodreth
Jan 31 2010
roignac
Jan 26 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
0.2
updated Feb 22 2010
added Jan 24 2010
downloads 24h
0
page views 24h 7