nokuake

Various KDE 1.-4. Improvements

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:

This is a replacement for the recently resurrected application
named kuake, which imitates the quake console (a console that instantly rolls out off the top of the screen when a hotkey is pressed). Unlike kuake, which is a standalone application written in C++, NoKuake is simply a configuration of kwin,khotkeys, and a simple DCOP script for konsole written in Perl. NoKuake provides nearly the same
functionality as the original kuake, but unlike kuake, it supports *all*
konsole features, such as tabs, smart tab-bar hiding, etc. The only non-KDE dependency is the wmctrl tool for forcing focus of the shown console (feel free to advice a better solution).
Last changelog:

14 years ago

0.2 release (but don't expect many more releases, one you have it installed, you don't need to upgrade anyway)

- the install script automatically detects the screen width
- toggle_nokuake script is now implemented in shell

jonk

14 years ago

there is one issue i have noticed and am not quite sure how to fix:

Upon the first invokation of the script, the console does not receive focus. Subsequent invokations however give it focus. I've tried fooling around with kwinrules for nokuake but haven't had any success? Any ideas?

Report

rossoft

14 years ago

i have a similar "nokuake" configuration in my desktop, and i use wmctrl too.
my window slide's , with the command wmctrl -r "consola_superior" -b toggle,shaded

Report

bsander

14 years ago

does it slide?

Report

C

pajas

14 years ago

Nope, it just pops up.

Report

sirtalon

14 years ago

You've just converted me over :-D

Kuake is a really nice app and has some really nice features (like the bar you can click on to open it or you can click on another app to close it), though NoKuake has taken its place on my desktop. After playing with the positioning a little bit (my resolution is 1280x1024 and I changed the position to -1,-1 and size to 1283,480), and enabling Konsole's transparency (yay I get to see my wallpaper!) it is even nicer than Kuake (I haven't tried to new version by hunt0r though).

Also using the bash script version of toggle_kuake you don't need the wmctrl (which I forgot to install haha).

Report

C

pajas

14 years ago

The fact that you don't need wmctrl is more likely due to your kwin settings than the version of the toggle_script.

Report

sirtalon

14 years ago

Oh yeah, the only 'feature request' I can of would be in the installer for it to ask you your desktop resolution so it can pick a default size that would fit on the screen. Other than that one thing I have to agree that it seems perfect!

Report

dfaure

14 years ago

The description is really not clear, for someone who doesn't know what kuake is or was. I wondered what this does (the screenshot doesn't really tell me what to look for), so I also looked up kuake at http://www.kde-apps.org/content/show.php?content=28808, and that one is equally unclear... Can you update the description to explain what this really is? Ah, following the link game one more step I ended up at the initial kuake (11330), but, hmm, how can a console have the look and feel of a game engine? ;)

Report

C

pajas

14 years ago

First of all, it's not meant to resemble the quake game engine:-), but just a smal part of quake UI, the console. In quake, anytime in the game, if you press ~, a chat console rolls out of the top of the screen (screen-wide and about 1/4 screen high). Konsole and NoKonsole are just like that (only for shell not chat): it is a hidden instance of Konsole that you can "roll out" of the top of the screen with a single hotkey any time you need it (e.g. to do some quick filesystem operation, run a command, etc.). It's really handy. On the screenshot, it fills about half of the screen (there is one normal konsole under it and a small emacs window and kicker below).

Now, while Kuake is a standalone C++ program that "embeds" konsole (sort of a modified but also crippled konsole), nokuake simply utilizes existing KDE features (DCOP scripting) to achieve the same effect with pure unmodified Konsole, no C++.

Report

hunt0r

14 years ago

kuake does not "embed" konsole it just uses kparts to display the konsole window ;)

Report

apoptozinho

14 years ago

Hi

Nice work. Let me just add the nextscript to those who want to avoid perl dependencies. I'm sure someone who understands dcop and shell better will find plenty of ways to improve it:

#!/bin/bash

nk=""
for i in `dcop konsole*` ; do
( dcop $i | grep nokuake ) && nk=$i
done

if [ "$nk" = "" ] ; then
konsole -name nokuake &
exit
fi

if [ `dcop $nk nokuake shown` = "true" ]; then
dcop $nk nokuake hide &
else
dcop $nk nokuake restore &
fi

A.

Report

gnumdk

14 years ago

As i haven't perldcop on my debian, i write this little shell script.

Same thing, install kwinrulesrc, run a konsole with --name nokuake.
Configure khotkeys to run this shell script.

Thanx pajas for this really good idea, it's rox!

http://hibbert.univ-lille3.fr/~cbellegarde/nokuake.sh

Report

C

pajas

14 years ago

Thank you and apoptozinho for the sh-versions of the toggle script. I used perl cause I just tend to use it (almost exclusively;-)

I wonder if someone comes up with a way to work around wmctrl (I like that tool, just wonder why kwin's dcop doesn't offer the same functionality)...

Report

gnumdk

14 years ago

seems to be a kwin problem.

Via dcop, you have access to must of QWidget functions but setActiveWindow is missing :(

Need a bug report i think.

Report

xarafaxz

14 years ago

Add support for generating schema to people with diffrent desktop resolution.

Report

gnumdk

14 years ago

But you need to set the window type to "panel" in the kwinrulesrc ;)

Report

C

pajas

14 years ago

Right. That would be:

type=2
typerule=2

I set it initially, but somehow it didn't get into the final setup. In fact, turning it on seems to make no difference here, since I have no top panel and stuff on my notebook, so I couldn't notice.

Thanks!

Report

14 years ago

0.2 release (but don't expect many more releases, one you have it installed, you don't need to upgrade anyway)

- the install script automatically detects the screen width
- toggle_nokuake script is now implemented in shell

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.2
updated Sep 16 2005
added Sep 15 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0