MKUltra

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
Score 50.0%
Description:

MKUltra is a lightweight native KWin style derived from the minimalist and excellent Web style.

MKUltra ought to appeal to those out there who aren't impressed by super complex alpha-blended reflective throbbing multithreaded aqua clones/alternatives.

Note -- MKUltra respects your choice of window titlebar colors, and actually looks good when window shaded!

Another note -- like the Web style, MKUltra doesn't provide much area for grabbing window corners to resize them. This doesn't bother me, since I always use alt-RMB to resize my windows. Try it, you'll like it!
Last changelog:

17 years ago

Version 0.2.1 -- Made fixes to allow compilation under newer versions of GCC than mine (2.95.3) -- if it works for you right now don't bother downloading this one, on the other hand if you got errors compiling it and have gcc 2.96 or 3.x try this one out.

Version 0.2 -- I realized the default button color (black) was no good for dark titlebar color configurations. Now, the buttons are colored to match the font color for the titlebar. Nothing big, I did it just now on returning from work. See third screenshot.

Version 0.1 -- Unless I get bug reports, it will probably be the last, as I wrote it last night to scratch an itch and take a break from a large software project.

tzvic

17 years ago

for all of you compiling this with gcc 2.96 or gcc 3.x use const reference in g_tweenColor function . It is a good thing to use const reference anyway :
QColor & a => const QColor & a

Report

C

zakariya

17 years ago

Absolutely true -- sometimes I get a little fast and loose with assumed inline conversions from a const & to a plain &. Mainly because I come from a C background, and prefer the use of traditional pointers.

I've updated the archive with the bugfix. It ought to compile fine now.

It also includes a fix to make the resize-arrow work better for GTK apps. Thanks go to Thomas Zell for that one!

Report

Rodion

17 years ago

Are you using your GonX style there? Have you considered porting it to KDE3? I tried compiling version 0.8 under KDE3, but got too many errors (which is to be expected, I suppose). PLEASE consider porting it when you need another one-night break! :)

Report

C

zakariya

17 years ago

A while back I made an attempt to port GONX to the (radically, insanely different) QT/KDE 3 style api. The thing is, I wrote the original GONX in a few evenings. No big deal. I wrote 95% of MKULtra in one evening (after all I just hacked the Web style). But writing GONX for KDE3 would take a couple weeks minimum for me, and I don't feel like taking all that time off.

The thing is, I didn't have much incentive -- I wrote GONX in the first place because I didn't like any of the available styles. However, the light3 style for KDE3 is, in my opinion, The One True Style.

Also, looking back at GONX, it had some design problems which I'm not happy with. More likely, I'd tweak light3 to better integrate with MKUltra.

Report

stealthboy

17 years ago

MKUltraButton.cpp: In method `void
KWinInternal::MKUltraButton::paintEvent (QPaintEvent *)':
MKUltraButton.cpp:254: could not convert
`KWinInternal::options->KWinInternal::Options::color(KWinInternal::Options::TitleBar,
client->KWinInternal::Client::isActive())' to `QColor &'
MKUltraButton.cpp:36: in passing argument 1 of `g_tweenColor (QColor &,
QColor &, int)'
make[2]: *** [MKUltraButton.lo] Error 1
make[2]: Leaving directory `/home/msherman/mkultra/mkultra'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/msherman/mkultra'
make: *** [all] Error 2

Report

smeat

17 years ago

I am running KDE 3.0.2 on Mandrake 8.2. I get the exact same message when I try to make it.


smeat!

Report

LiamOToole

17 years ago

Compiles and installs just fine
on SuSE 8.0. Thanks very much.

Liam

Report

luca

17 years ago

very nice desing, I like it a lot!

but don't you think the name is not realy appropriate for that? or are you a MKUltra-victim?

Report

C

zakariya

17 years ago

Well, the only people who know or care about MKUltra are the kind of people who think the CIA and FBI peruse individuals' grocery club-cards to know what you're eating, people who think the CIA killed elvis, and people who strongly suspect the Philadelphia experiment really did work -- transporting a WWII battleship extradimensionally and killing many of its crew. Take it with a grain of salt.

In other words, don't worry about it. I picked the name because the deisgn reminded me of a pill, and that was the first word that popped into my head.

On the other hand, I *am* an emrican citizen, and I live & work in Washington DC, so I might already be mind-controlled ;)

Report

luca

17 years ago

there has been a process around the "brainwashing"-project, and the victims have won ...

I realy don't think that the fbi killed elvis, but this story - even if I'm not involved directly - seems to have a lot of truth ... don't you think? (btw how could they win the process, if it's only one BIG lie?)

I realy like your work, but the name is not "politicaly correct", and I would appreciate if you could respect those people by changing the name ...

Report

C

zakariya

17 years ago

I have no idea what you're talking about! There may be a language barrier here, and if that's the case I respectfully apologize. The only languages I speak other than english are modern standard arabic and italian, and both are *very* rusty.

Regardless, the fact is: belief in this kind of paranoid fantasy is nothing but mental masturbation.

Of course, take my feeling with a grain of salt -- I am after all a brainwashed amerikkan.

Seems to me, though, that of the perhaps 10,000 people in the world who know what MKUltra is, 9999 will think it's a funny/amusing/irreverant use of the name, not offensive.

Sorry, dude. The name stays, because I like it ;)

Report

luca

17 years ago

"Regardless, the fact is: belief in this kind of paranoid fantasy is nothing but mental masturbation."

Again, fact is that they won the trial in court! Are you realy so well informed as you think????

I didn't know anything about MKUltra before, but last week I've seen a BBC-documentary about that trail. Do you know BBC? It's not the crap you watch in the States ... :)

Ok forget it, it's always the same when discussing about US-politics with americans ... At least you answered my terrible and uncomprehensive english :).

Report

C

zakariya

17 years ago

Respectfully, I think you're confused. It's entirely possible you're mistaking the name mkultra for something completely different.

I figured, "maybe luca's right" so I did some googling. You can too: try MKULtra by itself, or with the BBC. All you'll find is:

1: Paranoid websites.
2: Paranoid websites.
3: Debunking websites.
4: A trip-hop radio show.
5: Paranoid websites.

I have no doubt the bbc did a show on the victims of some drug that *sounded* like MKULtra, but it wasn't MKUltra, I assure you.

Because if it was, why would the English care? It was only used on U.S. citizens IF it did exist and IF it ever was used.

Right now, the U.S. government has its head too far up its ass to pay off the victims of Agent Orange, which is real and did happen (I know, because I worked many years ago as a clerk for a law firm in DC which was defending the military on this issue). If the U.S. government won't admit culpability in agent orange, they sure as hell won't admit it for mkultra, WHICH DOESN'T EVEN EXIST.

Now, please: make fun of me, make fun of my window style, but I get sick and tired of the implicit assumption that as an American I'm ill-educated, ill-informed (I listen daily to the BBC), and in general inferior in every possible way to others whose sole accomplishment in life is to have been born not-American. I've put up with sneering abuse like this for years from various european friends and aquantances; and it hurts, it is tiresome. If you have jabs to give, point them at me, but please don't use my nationality as a leverage point for your weak argument.

Also, I apologize if I offended you about what I thought might be a language issue. I've been trying for a few days now to figure out what you're smoking, and it had occurred to me that it could simply be a matter of unfamiliarity with english. Regardless, I assure you your english is better than my . However, if English is your native language, you should try more carefully editing your arguments.

Anyhow, do some research, please. I assure you that this is a mistake on your part.

I'm letting this be... now.

Report

warlord

17 years ago

I get the following at the end of make:

make[2]: *** [MKUltraButton.lo] Error 1
make[2]: Leaving directory `/root/downloads/mkultra/mkultra'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/downloads/mkultra'
make: *** [all-recursive-am] Error 2

Then I run make install and get this:

make[1]: *** [MKUltraButton.lo] Error 1
make[1]: Leaving directory `/root/downloads/mkultra/mkultra'
make: *** [install-recursive] Error 1


Any ideas?

Report

Xanadu

17 years ago

Yup, I get teh same thing on my MDK (it began life as 8.2, but is running KDE3.0 and many other upgrades) machine. On my SuSE 8 (KDE 3.01) and my Gentoo (KDE 3.0.2) machines, it compiles just fine.

Report

warlord

17 years ago

I'm running Mandrake 8.2 with KDE 3.0.2

Report

houplaboom

17 years ago

/usr/include/limits.h:124:3: warning: #include_next is a GCC extension
MKUltraButton.cpp: In member function `virtual void KWinInternal::MKUltraButton::paintEvent(QPaintEvent*)':
MKUltraButton.cpp:254: could not convert `KWinInternal::options->KWinInternal::Options::color(KWinInternal::Options::ColorType, bool)(KWinInternal::Options::TitleBar, client->KWinInternal::Client::isActive() const())' to `QColor&'
MKUltraButton.cpp:36: in passing argument 1 of `QColor g_tweenColor(QColor&, QColor&, int)'
make[2]: *** [MKUltraButton.lo] Erreur 1
make[2]: Quitte le r

Report

twentysixreverse

17 years ago

except I'm not running mandrake cooker. I am running mandrake 8.2, qt 3.0.4, kde 3.0.1 and gcc 2.96

Report

C

zakariya

17 years ago

It's hard for me to say -- I use gcc 2.95.3 and the const ref passes just fine.

I'll see if it doesn't break anything to pass the QColor by copy (though technically, it will be a performance hit). If that works, I'll re-upload it and let me know if it compiles.

Unfortunately, I don't have gcc 3.x to test against (I've been waiting for gcc's c++ ABI to solidify before I make the jump, as I'd have to spend a weekend recompiling my system).

Report

huangdi

17 years ago

Great style! Where did you get that wallpaper?

Report

luguber123

17 years ago

Cool and nice simplistic window-decoration!

I'm extremly curious where I can get that interesting robot-program you have in the first screenshot.

Regards.
Luguber

Report

C

zakariya

17 years ago

The robot program is the large project I needed a one-evening break from.

I figured it would make a good screenshot for a window style since it has many windows.

Anyhow, it's not in any sort of state for the gentle masses right now... it's useless unless you're a c++ programmer and willing to build a robot and learn electronics and some serial device IO nastiness ;)

Report

luguber123

17 years ago

Nice! if it's not closed source tho. I'm programming C/C++ once in a while and have been studying electronics for five years. I also use Gentoo. If you would like to share some source I'd atleast be able to beta test it :)

Btw. I've now changed from the 3dNoMore-iceWM theme to your even more simplistic and delightful theme :)

Regs.
Luguber

Report

C

zakariya

17 years ago

It is GPL, but I haven't released it simply because it's waaay too immature right now for general use. It's a volatile testbed platform for legged robots which I make in my free time (1 so far, a second in the works).

If you want to discuss it, drop me an email -- this isn't the place to discuss it ;)

Report

root66

17 years ago

Greetings from Mr. Zeldman!

Report

17 years ago

Version 0.2.1 -- Made fixes to allow compilation under newer versions of GCC than mine (2.95.3) -- if it works for you right now don't bother downloading this one, on the other hand if you got errors compiling it and have gcc 2.96 or 3.x try this one out.

Version 0.2 -- I realized the default button color (black) was no good for dark titlebar color configurations. Now, the buttons are colored to match the font color for the titlebar. Nothing big, I did it just now on returning from work. See third screenshot.

Version 0.1 -- Unless I get bug reports, it will probably be the last, as I wrote it last night to scratch an itch and take a break from a large software project.

12345678910
product-maker Base: 4 x 5.0 Ratings
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
updated Aug 17 2002
added Aug 15 2002
downloads 24h
0
pageviews 24h 3
System Tags linux unix