
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
Kommando is a "Neverwinter Nights" like wheelmenu for KDE. It allows rapid access to user defined applications and shell commands and is of course a nice toy to show off with ;-)
NOTE: Works best with a spare mousebutton and imwheel: http://imwheel.sourceforge.net/
INSTALL and README should cover all (well, most) questions.
UPGRADE FROM VERSION 0.1.x: please read INSTALL on how to go on using your custom settings (hope it was the last time I broke the configfile...)
UPGRADE FROM VERSION 0.3.0 or below:
The config file was put to the default kde config directory, read INSTALL for further informations
VERSION 0.5.0:
This version introduces several changes. First of all the kded patch has been made official, because i was tired of maintainig two branches and of course because I think it is a nice feature. Along with this Kommando is now configured through KControl. Just head to the section Desktop to find the config menu. These two patches have been created by Sergio Cambra. Thanks for your help!
Another neat thing are context sensitive menus. To see what they are good for, copy the included kommandorc file to the Kommando dir under ~/.kde/share/apps
Tested on SuSe 10.1 with KDE 3.5.5
In the tarball I provided a patch (thanks to Sergio Cambra), which lets you run kommando as a Kded module, so it runs in background and you are not bothered by the tray icon any longer. Informations can be found in the README.kded file. Thanks for testing!
There is a Gentoo ebuild by Baldrun Orv available. I put it on rapidshare and made an md5 hash available for the ones like me who don't trust hosting services...
14 years ago
21.08.2007 Kommando v0.5.2:
-clicking with the middle mousebutton excutes commands
16.11.2006 Kommando v0.5.1:
-added a "add menu from kmenu" feature (again a patch by Sergio)
14.11.2006 Kommando v0.5.0:
-added context sensitive menus
-running as kded module (huge thanks to Sergio Cambra)
-configuration via a KControl module (again thanks to Sergio)
-fixed button drawing code and eliminated flickering
-code cleanups (myself and Sergio Cambra)
-major refactoring of the menu code
-fixed some of my own most hated bugs
20.01.2006 Kommando v0.4.1:
IF v0.4.0 WORKS THERE IS NO NEED TO UPGRADE!
-fixed a compile bug
-corrected the application type to KUniqueApplication to make dcop work "properly" again
-automatically move config file to the new location (initial patch provided by Sune Vuorela)
17.01.2006 Kommando v0.4.0:
-added the possibiliy to customize the size of the buttons and the menu
-fixed buttons randomly changing their positions
-added controlls to change the order of the buttons
-moved the configfile to ~/.kde/share/apps/kommando, where it really belongs to
-added the ability to take over items from kmenu (thx to Sergio Cambra for the patch!)
-some enhancements throughout the whole code
-included a patch that lets Kommando run as Kded module (patch by Sergio Cambra)
15.11.2005 Kommando v0.3.0:
-improved the configuration dialog
-added the ability to adjust the opacity and the tint color of the background
-added keyboard and mousewheel navigation (read README)
-added new entries in the config file (there should be no compatibility problems though)
-added the dcop interface many people were hoping for
-made the Config class a singleton
30.09.2005 Kommando v0.2.0:
-major visual enhancements (needs testing on slower computers)
-configuration dialog added (click at tray icon)
-ability to remap the global shortcut added
-code restructuring
26.09.2005 v0.1.2
- fixed a really stupid configfile bug, thx to kdt for pointing it out
26.09.2005 v0.1.1
- minor bugfixes
26.09.2005 v0.1.0:
- initial release
14 years ago
21.08.2007 Kommando v0.5.2:
-clicking with the middle mousebutton excutes commands
16.11.2006 Kommando v0.5.1:
-added a "add menu from kmenu" feature (again a patch by Sergio)
14.11.2006 Kommando v0.5.0:
-added context sensitive menus
-running as kded module (huge thanks to Sergio Cambra)
-configuration via a KControl module (again thanks to Sergio)
-fixed button drawing code and eliminated flickering
-code cleanups (myself and Sergio Cambra)
-major refactoring of the menu code
-fixed some of my own most hated bugs
20.01.2006 Kommando v0.4.1:
IF v0.4.0 WORKS THERE IS NO NEED TO UPGRADE!
-fixed a compile bug
-corrected the application type to KUniqueApplication to make dcop work "properly" again
-automatically move config file to the new location (initial patch provided by Sune Vuorela)
17.01.2006 Kommando v0.4.0:
-added the possibiliy to customize the size of the buttons and the menu
-fixed buttons randomly changing their positions
-added controlls to change the order of the buttons
-moved the configfile to ~/.kde/share/apps/kommando, where it really belongs to
-added the ability to take over items from kmenu (thx to Sergio Cambra for the patch!)
-some enhancements throughout the whole code
-included a patch that lets Kommando run as Kded module (patch by Sergio Cambra)
15.11.2005 Kommando v0.3.0:
-improved the configuration dialog
-added the ability to adjust the opacity and the tint color of the background
-added keyboard and mousewheel navigation (read README)
-added new entries in the config file (there should be no compatibility problems though)
-added the dcop interface many people were hoping for
-made the Config class a singleton
30.09.2005 Kommando v0.2.0:
-major visual enhancements (needs testing on slower computers)
-configuration dialog added (click at tray icon)
-ability to remap the global shortcut added
-code restructuring
26.09.2005 v0.1.2
- fixed a really stupid configfile bug, thx to kdt for pointing it out
26.09.2005 v0.1.1
- minor bugfixes
26.09.2005 v0.1.0:
- initial release
TheDocter
15 years ago
And no, there is no convenient way to change the icon size, you could of course hack the source code.
Report
Kwellmeister
15 years ago
You can find my debian package at:
http://harrys-home.gmxhome.de/kommando_0.2.0-1_i386.deb
debian unstable (Kanotix)
kde 3.4.2 [kdelibs4c2 (>= 4:3.4.2-1)]
qt 3.3.5
gcc 4.02
Regards !
Report
ryampolsky
15 years ago
Also, I thought that the 'minus' button in the middle might launch xkill.
Don't know that this adds up to anything, but if your visual paradigm suggests this behavior, maybe it would make sense to use it for that...
Report
sango
15 years ago
Second problem: i use xbindkeys (imwheel have problems with >9 buttons), so i send a keystroke with xvkbd and -text. But when i use this, to raise the menu it does'nt apear by the mouise-cursor. Instead, it is in the upper left corner (there is also my traybar, possible connection?).
BTW For a longer time i use the program apwal, which ist a icon-menu like kommando, but in gtk. It have some bugs and is really slow, so i hope i can someday skip to this program, which is really fast :)
Report
TheDocter
15 years ago
You should try to invoke the menu with the default key combination. If it still doesn't show up under the mouse cursor let me know.
The first problem really makes me wonder, because there are only 3 conditions the menu should disappear:
1. You click a button.
2. The menu widget loses focus.
3. The application crashes :D
are there perhaps any X events you trigger unintentionally by moving away from the middle button, which could make the window lose focus?
Report
TheDocter
15 years ago
didn't see you use xvkbd... i'll take a look at it
Report
sango
15 years ago
> 2. The menu widget loses focus.
Ok, i have tested again, it could be this, why ever. When the Menu is above the Desktop, it holds, when it is above a program, it disapear. I have configured kde that the focus should follow, so the focus followed to the program when the cursor moved out of the icon-range.
Like i say, i use apwal, and apwal hasn't such a behavior.
Report
jones
15 years ago
Report
alex77s
15 years ago
it's a good job. See if you are intrested to implement the use of the mouse wheel to browse the applications, or the transparent background.
Another estethicism can be the parabolic icon enlargment (like kxdocker).
Thanks for this nice tool.
I hope to see it in the next KDE version.
Report
TheDocter
15 years ago
But i don't think i will be able to implement the transparent background, or better: i should not implement it the way it is in Superkaramba. All they do is in fact taking a screenshot of the position the window is placed on and set this screenshot as background of the window. This looks fine as long as you stay above the background image itself but as soon as icons or other windows get covered it looks as if some western hero shot them, you can see right through... :(
If there is anybody around who can tell me how to do really transparent backgrounds you can bet that i will use them ;-)
Report
polrus
15 years ago
1 suggestion : default .kommandorc should be created when none is found
Report
TheDocter
15 years ago
I am already working on this :)
Report
kybu
15 years ago
SysTray->setPixmap(SysTray->loadIcon("kommando"));
Anyway, good idea.
Report
TheDocter
15 years ago
Report
zuxez
15 years ago
Report
TheDocter
15 years ago
Report
zuxez
15 years ago
Report
multescugeorge
15 years ago
Has an ugly tray icon, but i keep it hidden so it doesn't bother me. It could be nice to use it with a combination of left-right mouse click, or middle click for 3-4 seconds instead of ctrl-alt-H. I tried to get it to work with mouse gestures, but i could't make it run, oh well. I think i'll try imwheel program on middle click, but middle button is used to make quick copy-paste in konsole and such, so i have mixed feelings about it.
Great program!
Report
HessiJames
15 years ago
I compiled an rpm on suse 9.3 without problems. But when I start Kommando from the console I get the error "Fehler!".
Report
SWaN
15 years ago
Report
TheDocter
15 years ago
I know that copying or creating the configfile manually is not very convenient and im working on a configuration dialog for the next release.
Report
chankette
15 years ago
Report
kdt
15 years ago
Report
TheDocter
15 years ago
However in my opinion there is no real need to construct mainWin with kommandoui.rc, (or assign it in the constructor itself) as the widget is only used as a canvas for drawing onto. All gui components are created on the fly.
Report
TheDocter
15 years ago
you're right! should have slept a little longer maybe... i will provide a fix soon
Report