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

1
Score 50.0%
Description:

A flat windec (no colour gradients) with rounded corners.

With deepest apologies to ceebx for the hatchet job, whose Knifty code I destroyed to make this :)
Last changelog:

14 years ago

0.4.1

- Anti-aliased corner rounding

0.4: 1 am

- Lighter buttons
- Thicker border boxes
- New colour scheme included
- Don't just download! Please comment!

To do: Improve shaded appearance, more useful default settings, cruft removal, renaming, fix narrow window/many buttons bug, button regions fix

0.3: Frankendec

- Border boxes for the buttons to (hopefully) improve usability
- Minor button cleanups

0.2: Bloodied corpse

- Now a standalone windec instead of 2 files! Will wonders never cease?
- Added the three new KDE 3.3 buttons
- Completely flat now - no 3D edge effects
- Removed spacer between title bar and window
- Drop shadow now only affects active window
- Hover button box drawn in high contrast mode too
- Misc. tweaking
- Colour scheme from screenshot included - use the Import button in the Colors control panel

0.1: Initial 'FlatKnifty Mod' release

rfujimoto

14 years ago

Compiled it fine after creating the moc stuff, but the configuration options don't show up in the control center after choosing flatKnifty. I get a blank space where I should see the config options.

kde-3.4-rc1
qt-3.3.4

Report

redrat

14 years ago

Same problem here. Makes it unusable at the moment, cause both - active and inactive - windows have the same colors.

Report

mooselix

14 years ago

Same issue - possibly the new version of gcc which miscompiles KDE also miscompiles this.

Report

redrat

14 years ago

Well, last time I compiled party of kde (i.e. kdepim) it worked without any problems... also I compiled some other decorations. So the error must be in this code.

Timo

Report

karel

14 years ago

i'm pretty confused here, FlatKnifty still not showing up in the KDE-window decorations section

i'm running
# cd flatknifty-0.4.1
# cd client
# moc -o flatkniftyclient.moc flatkniftyclient.h
# moc -o config.moc config.h
# cd config
# ./configure --prefix=/usr/kde
# make
# make install

with what user i run is doesn't make any difference...

output:
--------
Making install in client
make[1]: Entering directory `/home/karel/Desktop/Upload/15477-flatKnifty-0.4.1/15477-flatKnifty-0.4.1/flatknifty-0.4.1/client'
Making install in config
make[2]: Entering directory `/home/karel/Desktop/Upload/15477-flatKnifty-0.4.1/15477-flatKnifty-0.4.1/flatknifty-0.4.1/client/config'
make[3]: Entering directory `/home/karel/Desktop/Upload/15477-flatKnifty-0.4.1/15477-flatKnifty-0.4.1/flatknifty-0.4.1/client/config'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../admin/mkinstalldirs /usr/kde/lib/kde3
/bin/sh ../../libtool --silent --mode=install /usr/bin/install -c -p kwin_flatknifty_config.la /usr/kde/lib/kde3/kwin_flatknifty_config.la
PATH="$PATH:/sbin" ldconfig -n /usr/kde/lib/kde3
make[3]: Leaving directory `/home/karel/Desktop/Upload/15477-flatKnifty-0.4.1/15477-flatKnifty-0.4.1/flatknifty-0.4.1/client/config'
make[2]: Leaving directory `/home/karel/Desktop/Upload/15477-flatKnifty-0.4.1/15477-flatKnifty-0.4.1/flatknifty-0.4.1/client/config'
make[2]: Entering directory `/home/karel/Desktop/Upload/15477-flatKnifty-0.4.1/15477-flatKnifty-0.4.1/flatknifty-0.4.1/client'
make[3]: Entering directory `/home/karel/Desktop/Upload/15477-flatKnifty-0.4.1/15477-flatKnifty-0.4.1/flatknifty-0.4.1/client'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../admin/mkinstalldirs /usr/kde/lib/kde3
/bin/sh ../libtool --silent --mode=install /usr/bin/install -c -p kwin3_flatknifty.la /usr/kde/lib/kde3/kwin3_flatknifty.la
PATH="$PATH:/sbin" ldconfig -n /usr/kde/lib/kde3
/bin/sh ../admin/mkinstalldirs /usr/kde/share/apps/kwin/
/usr/bin/install -c -p -m 644 flatknifty.desktop /usr/kde/share/apps/kwin//flatknifty.desktop
make[3]: Leaving directory `/home/karel/Desktop/Upload/15477-flatKnifty-0.4.1/15477-flatKnifty-0.4.1/flatknifty-0.4.1/client'
make[2]: Leaving directory `/home/karel/Desktop/Upload/15477-flatKnifty-0.4.1/15477-flatKnifty-0.4.1/flatknifty-0.4.1/client'
make[1]: Leaving directory `/home/karel/Desktop/Upload/15477-flatKnifty-0.4.1/15477-flatKnifty-0.4.1/flatknifty-0.4.1/client'
make[1]: Entering directory `/home/karel/Desktop/Upload/15477-flatKnifty-0.4.1/15477-flatKnifty-0.4.1/flatknifty-0.4.1'
make[2]: Entering directory `/home/karel/Desktop/Upload/15477-flatKnifty-0.4.1/15477-flatKnifty-0.4.1/flatknifty-0.4.1'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/karel/Desktop/Upload/15477-flatKnifty-0.4.1/15477-flatKnifty-0.4.1/flatknifty-0.4.1'
make[1]: Leaving directory `/home/karel/Desktop/Upload/15477-flatKnifty-0.4.1/15477-flatKnifty-0.4.1/flatknifty-0.4.1'

Report

karel

14 years ago

sorry, it must be:

# cd flatknifty-0.4.1
# cd client

# moc -o flatkniftyclient.moc flatkniftyclient.h
# cd config
# moc -o config.moc config.h
# cd ../..

# ./configure --prefix=/usr/kde
# make
# make install

Report

kde-rock

14 years ago

I like this kwin-deco very much
thank you!

Report

bhautikj

14 years ago

I've made mandrake 10.1 rpm's of flatknifty 0.4.1. You can find them here:

http://cow.mooh.org/togo

Enjoy ;)

Report

Drolyk

14 years ago

configure: creating ./config.status

Good - your configure finished. Start make now

cd . && /bin/sh ./config.status Makefile
fast creating Makefile
cd . && /bin/sh /mnt/share1/gentoo/tmp/portage/flatknifty-0.4.1/work/flatknifty-0.4.1/admin/missing --run autoheader
touch ./config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/mnt/share1/gentoo/tmp/portage/flatknifty-0.4.1/work/flatknifty-0.4.1'
Making all in client
make[2]: Entering directory `/mnt/share1/gentoo/tmp/portage/flatknifty-0.4.1/work/flatknifty-0.4.1/client'
cd .. && \
/bin/sh /mnt/share1/gentoo/tmp/portage/flatknifty-0.4.1/work/flatknifty-0.4.1/admin/missing --run automake-1.6 --foreign client/Makefile
cd .. && perl admin/am_edit flatknifty-0.4.2/client/Makefile.in
cd .. && /bin/sh ./config.status client/Makefile depfiles
fast creating client/Makefile
config.status: executing depfiles commands
make[2]: Leaving directory `/mnt/share1/gentoo/tmp/portage/flatknifty-0.4.1/work/flatknifty-0.4.1/client'
make[2]: Entering directory `/mnt/share1/gentoo/tmp/portage/flatknifty-0.4.1/work/flatknifty-0.4.1/client'
Making all in config
make[3]: Entering directory `/mnt/share1/gentoo/tmp/portage/flatknifty-0.4.1/work/flatknifty-0.4.1/client/config'
cd ../.. && \
/bin/sh /mnt/share1/gentoo/tmp/portage/flatknifty-0.4.1/work/flatknifty-0.4.1/admin/missing --run automake-1.6 --gnu client/config/Makefile
cd ../.. && perl admin/am_edit flatknifty-0.4.2/client/config/Makefile.in
cd ../.. && /bin/sh ./config.status client/config/Makefile depfiles
fast creating client/config/Makefile
config.status: executing depfiles commands
make[3]: Leaving directory `/mnt/share1/gentoo/tmp/portage/flatknifty-0.4.1/work/flatknifty-0.4.1/client/config'
make[3]: Entering directory `/mnt/share1/gentoo/tmp/portage/flatknifty-0.4.1/work/flatknifty-0.4.1/client/config'
source='config.cpp' object='config.lo' libtool=yes \
depfile='.deps/config.Plo' tmpdepfile='.deps/config.TPlo' \
depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -march=pentium3 -O2 -pipe -mfpmath=sse,387 -frename-registers -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o config.lo `test -f 'config.cpp' || echo './'`config.cpp
config.cpp:110:22: config.moc: No such file or directory
make[3]: *** [config.lo] Error 1
make[3]: Leaving directory `/mnt/share1/gentoo/tmp/portage/flatknifty-0.4.1/work/flatknifty-0.4.1/client/config'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/share1/gentoo/tmp/portage/flatknifty-0.4.1/work/flatknifty-0.4.1/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/share1/gentoo/tmp/portage/flatknifty-0.4.1/work/flatknifty-0.4.1'
make: *** [all] Error 2
-----
gcc-3.4.1

Report

twentysixreverse

14 years ago

This was answered earlier. From the other post:

There were 2 .moc files missing in the
last .tar.bz2 package, and I can't compile without them (flatkniftyclient.moc and config.moc).
To compile it, I did a moc -o config.moc config.h and a moc -o flatkniftyclient.moc flatkniftyclient.h.

Report

borisdigital

14 years ago

exactly the same problem here.
--
using gcc-3.4.3

Report

fernandezm22

14 years ago

After selecting Flat-Knifty as a window decoration, the focused window color is the same as the unfocused! (both appear 'grey')... And I can't make it change from kde "colors" menu.

Report

C

fubarbundy

14 years ago

Change the Window Decoration settings to the same as in the screenshot :)

Report

fernandezm22

14 years ago

But... when I select 'flatKnifty' in the Window Decoration Options, those options disappear!
(it doesn't happen with Plastik, for example)
Could it be because of Xfree 4.3? (I'm using Debian Sid). I'm using Kde 3.3.1 too.

Report

fernandezm22

14 years ago

There were 2 .moc files missing in the
last .tar.bz2 package, and I can't compile without them (flatkniftyclient.moc and config.moc).
To compile it, I did a moc -o config.moc config.h and a moc -o flatkniftyclient.moc flatkniftyclient.h.

Report

C

fubarbundy

14 years ago

Yeah... that's because I'm crap at this. I'm like a monkey at a typewriter. I'll see if I can do anything for the next release.

Report

l1nx

14 years ago

i liked knifty when it wasn't flat!
i use it and i think it's much better that flat version...could you start improving the "knifty" theme as whell?

Report

C

fubarbundy

14 years ago

I am not the maintainer of knifty - the title just comes from the fact that it was originally based on the knifty code. Anyway, knifty is a 3.2 dec, so it still works! I am going to rename this for the next version maybe, and see where it goes.

Report

lokheed

14 years ago

Gotta agree. Use Knifty and love it. Just perfect. I would also suggest to keep Knifty alive but I cant think of anything more you could add to it...

Report

memphidoo

14 years ago

I don't see how this theme differs that much from Plastik. Of course I haven't seen it in action. It's not necessarily a bad thing, however, as Plastik is imo the best windec out there. I'm interested to see where you take this windec :)

Report

C

fubarbundy

14 years ago

It doesn't :-) But it has rounded bottom corners, thicker borders and a title bar colour that bears a resemblance to the one selected in the control centre! I like plastik too, but that last one really pisses me off!

Report

legalos

14 years ago

Plastik's win decoration was rounded corners, but it doesn't have the jagged edges, can you do this with flat knifty?

cheers

Report

C

fubarbundy

14 years ago

Done: 0.4.1

Report

C

fubarbundy

14 years ago

Plastik doesn't have anti-aliased corners - it just has less rounding so you don't notice it as much. I am going to see what I can do anyway, at some stage

Report

Brandybuck

14 years ago

Are you using a different Plastik windeco than I? Because mine has those aliased round corners as well. Maybe the CVS version is different (too lazy to check), but not the released version.

Report

14 years ago

0.4.1

- Anti-aliased corner rounding

0.4: 1 am

- Lighter buttons
- Thicker border boxes
- New colour scheme included
- Don't just download! Please comment!

To do: Improve shaded appearance, more useful default settings, cruft removal, renaming, fix narrow window/many buttons bug, button regions fix

0.3: Frankendec

- Border boxes for the buttons to (hopefully) improve usability
- Minor button cleanups

0.2: Bloodied corpse

- Now a standalone windec instead of 2 files! Will wonders never cease?
- Added the three new KDE 3.3 buttons
- Completely flat now - no 3D edge effects
- Removed spacer between title bar and window
- Drop shadow now only affects active window
- Hover button box drawn in high contrast mode too
- Misc. tweaking
- Colour scheme from screenshot included - use the Import button in the Colors control panel

0.1: Initial 'FlatKnifty Mod' release

12345678910
product-maker Base: 4 x 5.0 Ratings
klejczklejczkl
May 28 2013
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.4.1
updated Nov 06 2004
added Aug 22 2004
downloads 24h
0
page views 24h 1
System Tags linux unix