
Freehand Gestures
Source (link to git-repo or to original if based on someone elses unmodified work):
This time with configurations options for the OSD colors and behaviour.
Freehand Gestures allows you to open applications using pure, always active, multi level, mouse gestures not involving ANY keypresses at all. It works on top of other applications and does not interrupt their focus, displaying actions and states in an on screen display.
The gestures dont care how small or big they are drawn on the screen. However, the way they are drawn DOES matter.
Installation:
go to download directory
tar -xvf gesture-.tar.gz
cd gesture
./configure
make
make install (Must be run as root)
if ./configure fails, try adding --prefix=/usr/kde/3.4/ with your correct kde version number (eg. ./configure --prefix=/usr/kde/3.4/)
Run the program by simply typing gesture
The first time the program is run, it copies the default configuration files to ~/.kde/share/apps/gesture if none exists at this location.
If anybody is interested in helping out with this project or have any suggestions, let me know!
Freespirit
PS. I really need some feedback and suggestions for enhancements! :-)
Changes in 0.4
Added new configuration subsystem
Added config options for OSD colors and behaviour
Many internal changes and code reorganizations
Changes in 0.3.3
Added gui state and action editor
Preperations for future features
Major code restructuring
Bugfixes, especially one very nasty missing include file that only made the build fail on some systems
Changes in 0.3:
Now runs as a tray icon
Easily arm/disarm gesture recognition by clicking on tray icon
Tray icon context menu
Display global gestures
Installable!!
Major internal changes/refactoring
Changes in 0.2:
Added much better graphics
Added more gestures
Lots of bug fixes
Ratings & Comments
29 Comments
Hi, does development of this great app stoped? Any plans for the future?
Hi! I know that there has not been any updates for a while, but I am trying to figure out what to do next! I still really need some feedback about what features people would like to see added! I actually have a protoype of a pretty nice gesture editor (an app that lets you define new gestures by drawing them on the screen a number of times) but I am having a hard time figuring out how to integrate it with the rest of the app as this requires a completely new file format. Also, once you have defined a nice gesture, where does the graphics to be shown on the screen come from? I could really need some help developing this app as it is rapidly growin too large for me with my limited free time. - nhnFreespirit
Hi again. I will try to help you with ideas for this app. But not sooner then after my holiday and installing new KateOS3.0. Then I will contact with you. greetings
A SlackWare TGz package with SlackBuild Script is Ready to DownLoad!!! http://www.slacky.it/ http://www.slacky.it/index.php?option=com_remository&Itemid=1&func=fileinfo&filecatid=1049&parent=category
Thats awesome! :-) I was thinking of doing a Gentoo ebuild myself, but I have been to busy coding on the app! :-D Expect a new release very soon (Tomorrow I hope) with a completely new config system that (for now) allows you to customize the colors and behaviours of the on screen display.
How's that different from KHotKeys' gesture functionality?
Mainly the nested states and the graphical feedback.
Thanks. These two are indeed valuable features. May I suggest that you join efforts with KHotKeys' author? The duplication of efforts that occurs otherwise seems a waste.
But constant crashing :( Whenever Gesture recognizes one of the gestures, it crashes. KDE 3.4.2, Mandriva Linux 2006 i586, Kernel 2.6.12
uhm... thats not good :-/ What happens if you select "Show current state actions" from the right click menu of the tray icon? Are all the images there?
Another crash. I guess it has something todo with the following output: [xxx@localhost xxx]$ gesture libpng error: PNG file corrupted by ASCII conversion libpng error: PNG file corrupted by ASCII conversion KCrash: Application 'gesture' crashing...
Do I understand correctly that it crashes when you select the menu entry?
Yes, when I click "Show current state actions"
Ok, could I get you to check the contents of /usr/kde/3.4/share/apps/gesture (should contain a pics and a config directory with files in both) and $home/.kde/share/apps/gesture (should just contain config file) if you are interested in helping me solve this problem, pls mail me at nhnFreespirit@gmail.com (you can mail me an icq number, skype name or msn account name if you prefer)
I get the following error on compile: ..... checking if config should be compiled... yes checking if graphics should be compiled... yes checking if src should be compiled... yes configure: creating ./config.status Good - your configure finished. Start make now cd . && /bin/sh ./config.status Makefile fast creating Makefile config.pl: fast created 1 file(s). cd . && /bin/sh /home/max/downloads/gesture/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 `/home/max/downloads/gesture' Making all in config make[2]: Entering directory `/home/max/downloads/gesture/config' make[2]: *** No rule to make target `all'. Stop. make[2]: Leaving directory `/home/max/downloads/gesture/config' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/max/downloads/gesture' make: *** [all] Error 2 I use: Qt: 3.3.4 KDE: 3.4.1
You need to enter the scr directory before running make. (as I wrote in the description) I had some serious issues with kdevelop and getting it to package additional directories into the source release (first time trying this) and it seems I messed up somehow, and this problem is the result.
Write configuration prog for the xml file. It is second most important thing for the user, in your case!
You are absolutely right, but my focus up until now (and for a while to come still) has been getting the program itself to a usable stage. There is a long way to go still! As I wrote in the top of the discription, this is a preview of what I am working on! :-)
. o 0(/home/mai/INCOMING/gesture/src) [6] > make cd .. && \ /bin/sh /home/mai/INCOMING/gesture/admin/missing --run automake-1.6 --gnu src/Makefile cd .. && perl admin/am_edit src/Makefile.in cd .. && /bin/sh ./config.status src/Makefile depfiles fast creating src/Makefile config.pl: fast created 1 file(s). config.status: executing depfiles commands Making all in axosd make[1]: Gehe in Verzeichnis »/home/mai/INCOMING/gesture/src/axosd« cd ../.. && \ /bin/sh /home/mai/INCOMING/gesture/admin/missing --run automake-1.6 --gnu src/axosd/Makefile cd ../.. && perl admin/am_edit src/axosd/Makefile.in cd ../.. && /bin/sh ./config.status src/axosd/Makefile depfiles fast creating src/axosd/Makefile config.pl: fast created 1 file(s). config.status: executing depfiles commands make[1]: Verlasse Verzeichnis »/home/mai/INCOMING/gesture/src/axosd« make[1]: Gehe in Verzeichnis »/home/mai/INCOMING/gesture/src/axosd« source='axosd.cpp' object='axosd.o' libtool=no \ depfile='.deps/axosd.Po' tmpdepfile='.deps/axosd.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/share/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o axosd.o `test -f 'axosd.cpp' || echo './'`axosd.cpp axosd.cpp: In constructor `axosd::axosd(int, int, int, int)': axosd.cpp:32: error: `assert' undeclared (first use this function) axosd.cpp:32: error: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: *** [axosd.o] Fehler 1 make[1]: Verlasse Verzeichnis »/home/mai/INCOMING/gesture/src/axosd« make: *** [all-recursive] Fehler 1
hmmm... thats a new one! Will look into this when I get home this afternoon.
Ok, to be honest, I have no clue as to why you are getting that error... What kind of system are you running?
I use KUbuntu. But today i have upgraded to the new version, and now it works. Could it be because of the change to gcc 4.0?
hey I fixed the assert error. just add #include assert.h to gesture/src/axosd/axosd.h. DO MAKE SURE THE ASSERT.H IS INBETWEEN THE LESS THAN AND GREATER THAN SYMBOLS. the stoopid less than and greater than symbols are considered html tags in this kdelook forum, strange and it 'makes' happily do make sure you do the make from the 'src' directory. I hope this helps cheerz
hmmm when running i get libpng error: PNG file corrupted by ASCII conversion libpng error: PNG file corrupted by ASCII conversion libpng error: PNG file corrupted by ASCII conversion KCrash: Application 'gesture' crashing... and it crashes. grrr ohh btw the download file is gesture.tar.gz but the actual file type is .tar.bz2 file gesture-0.2.tar.gz gesture-0.2.tar.gz: bzip2 compressed data, block size = 900k cheerz
Thats strange... I tried unpacking the source myself just using tar -xvf and all the files were ok... try redownloading, unpacking and copying the .png files from the fresh download to the graphics directory where you buildt the program. I other news, I could really use someone to help me package things for releases at it is very obvious that I suck at it! :-P Freespirit