
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
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).
15 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
15 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
15 years ago
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
15 years ago
my window slide's , with the command wmctrl -r "consola_superior" -b toggle,shaded
Report
bsander
15 years ago
Report
pajas
15 years ago
Report
sirtalon
15 years ago
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
pajas
15 years ago
Report
sirtalon
15 years ago
Report
dfaure
15 years ago
Report
pajas
15 years ago
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
15 years ago
Report
apoptozinho
15 years ago
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
15 years ago
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
pajas
15 years ago
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
15 years ago
Via dcop, you have access to must of QWidget functions but setActiveWindow is missing :(
Need a bug report i think.
Report
xarafaxz
15 years ago
Report
gnumdk
15 years ago
Report
pajas
15 years ago
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