flatKnifty

KDE 3.x Window Decorations

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

0
6.3
Description:

flatKnifty is a window decoration for KDE based on Knifty, aiming for a minimalist and tasteful aesthetic. I've taken the last available version, 0.4.2, and updated it in various ways to form 0.5.

Thanks to:
Sandro Giessl (Knifty author)
fubarbundy (flatKnifty author)
Last changelog:

13 years ago

0.5.0.0.0.0.0.1
- moved the .kcsrc files to a 'colors' subdirectory

0.5.0
- Allow configuration of when to draw the buttons high contrast: never, when hovered, when not hovered, or always
- Same thing for when to draw borders around the buttons
- Set them both to 'when hovered' by default (which I happen to like -- though 'Never' for the borders is also a possibility)
- Turned the shadows off by default (likewise)
- Use designated titlebar color by default (fixes white text on white background issues)
- some code cleanups
- updated admin to 3.5 branch (it should actually compile now)

golem

11 years ago

I've posted Gentoo ebuild for this Decoration:
http://bugs.gentoo.org/attachment.cgi?id=150395

Report

wu-hsin

13 years ago

The "Use title blend color for window borders" option doesn't seem to work.

Report

bushwakko

13 years ago

I love this skin! Make a flatKnifty style too ;)

Report

john007

13 years ago

Unfortunately, flatknifty does not compile in OpenSuSE 10. The error message:

In file included from flatknifty.cpp:13:
flatknifty.h:14:25: error: kdecoration.h: No such file or directory
flatknifty.h:15:32: error: kdecorationfactory.h: No such file or directory
flatknifty.h:34: error: expected class-name before '{' token
flatknifty.h:41: error: ISO C++ forbids declaration of 'KDecoration' with no type
flatknifty.h:41: error: 'KDecoration' declared as a 'virtual' field
flatknifty.h:41: error: expected ';' before '*' token
flatkniftyclient.h:25: error: expected class-name before '{' token
flatkniftyclient.h:28: error: expected `)' before '*' token
flatkniftyclient.h:55: error: 'Position' does not name a type
flatkniftyclient.h: In member function 'QPixmap flatKNifty::flatKniftyClient::getTitleBarTile(bool) const':
flatkniftyclient.h:34: error: return type 'struct QPixmap' is incomplete
flatknifty.cpp: At global scope:
flatknifty.cpp:45: error: expected constructor, destructor, or type conversion before '*' token
flatknifty.cpp: In member function 'virtual bool flatKNifty::flatKniftyHandler::reset(long unsigned int)':
flatknifty.cpp:53: error: 'options' was not declared in this scope
flatknifty.cpp:63: error: 'resetDecorations' was not declared in this scope
flatknifty.cpp: In member function 'bool flatKNifty::flatKniftyHandler::readConfig()':
flatknifty.cpp:79: error: 'KDecoration' has not been declared
flatknifty.cpp:79: error: 'options' was not declared in this scope
flatknifty.cpp:80: error: 'BorderTiny' was not declared in this scope
flatknifty.cpp:83: error: 'BorderLarge' was not declared in this scope
flatknifty.cpp:86: error: 'BorderVeryLarge' was not declared in this scope
flatknifty.cpp:89: error: 'BorderHuge' was not declared in this scope
flatknifty.cpp:92: error: 'BorderVeryHuge' was not declared in this scope
flatknifty.cpp:95: error: 'BorderOversized' was not declared in this scope
flatknifty.cpp:98: error: 'BorderNormal' was not declared in this scope
flatknifty.cpp: At global scope:
flatknifty.cpp:134: error: expected constructor, destructor, or type conversion before '*' token
flatknifty.cpp:130: warning: 'handler' defined but not used
make[3]: *** [flatknifty.lo] Fehler 1
make[3]: Leaving directory `/home/user/Desktop/flatknifty-0.5/client'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/user/Desktop/flatknifty-0.5/client'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/user/Desktop/flatknifty-0.5'
make: *** [all] Fehler 2

Any idea what the problem is?
Thanks for any help...

Report

C

illissius-

13 years ago

Do you have the necessary -dev packages installed? Specifically, it looks like you're missing the KWin headers...

Report

angrykeyboarder

13 years ago

I have been reading through the comments and just about when I was abot to attempt to compile this, I saw your remark.

I suppose I'm losing my eyesight. I'm not seeing any reference to "necessary dev files" (or just flat-out dependencies) in the "usual places" (see the following two examples).

README
""flatKnifty" is a neat native KWin window decoration for KDE 3.x
based on the nice KWin theming HOWTO by David Johnson. Also
I've "stolen" some code from the excellent "MKUltra"/"Web"
KWin decos and the KDE CVS KDesktop ShadowEngine class by
Laur Ivan. ;-) Thankyou all!

You can find info about installing in the INSTALL file; the
license is the GNU GPL (see COPYING for details).

If you have any suggestions/wishes please contact me.
Sandro Giessl

have fun. :-)"

Well that didn't' say much. Moving right along...

INSTALL

"Basic Installation (from the console):
- Step 1
$ ./configure --prefix=PREFIX
- Step 2
$ make
- Step 3 (as root)
# make install

where PREFIX is the path to your kde
installation eg: /usr, /opt/kde

If configure fails, check that you have both
the QT and KDE development headers installed.

Debian note: You may need to append
--with-qt-includes=/usr/include/qt3
to the configure line."

-------------------------------
OK, did I miss something? No mention of dependencies whatsoever. Do you just assume that anyone with KDE is good-to-go? Obviously in the case of the previous user, that isn't the case.

As far as "Step 1" is concerned. The path to kde?

"$ whereis kde
kde: /usr/include/kde
~$
"
Is that it?

I've also got /etc/kde2 and etc/kde3. And for good measure there's also /usr/lib/kde3......

Do I just pick one and hope for the best?

Oh and then there's your "Debian Note" at the end. I don't run Debian, but I do run Kubuntu, which is based on Debian. Do I need to follow those instructions as well?

----------------------

Why-oh-why are themes on this site so lacking in decent installation instructions!?!?!

Report

petersi

12 years ago

Don't be angry, be right!
And if you are right (me think so!) you don't need any confirmation of that, now do you :-)

Report

john007

13 years ago

Thanks. I'm so stupid. I had to install the kdebase3-devel package, then it worked. Thought I had everything I needed, as other packages compiled without these headers...

Report

watchitman

13 years ago

Sorry, this is a bit unrelated but how did you get the mac-style toolbar with a clock and tray on it? I could only ever get the toolbar but it couldn't have any applets on it. I haven't used KDE in a while, is this new or some sort of hack?

Report

C

illissius-

13 years ago

No, that's quite easy to do with kicker -- don't know since when, 3.4 at the latest. Just set it up to use the MacOS style menubar, and then right click to add stuff to it like any other panel. (Might need to restart kicker/KDE first, but don't think so.)

Report

Yaba

13 years ago

however the title bar is too big for my taste. Any change that you could make this configurable?

Report

13 years ago

0.5.0.0.0.0.0.1
- moved the .kcsrc files to a 'colors' subdirectory

0.5.0
- Allow configuration of when to draw the buttons high contrast: never, when hovered, when not hovered, or always
- Same thing for when to draw borders around the buttons
- Set them both to 'when hovered' by default (which I happen to like -- though 'Never' for the borders is also a possibility)
- Turned the shadows off by default (likewise)
- Use designated titlebar color by default (fixes white text on white background issues)
- some code cleanups
- updated admin to 3.5 branch (it should actually compile now)

12345678910
product-maker Count:101 Rating: 6.26
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.5
updated Jun 03 2006
added Oct 21 2005
downloads today
0
page views today 2
System Tags linux theme unix