
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
Here is another preview of my gesture recognition program for KDE.
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! :-)
14 years ago
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
14 years ago
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
patpi1
14 years ago
Report
nhnFreespirit
14 years ago
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
Report
patpi1
14 years ago
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
Report
gohanz
14 years ago
http://www.slacky.it/
http://www.slacky.it/index.php?option=com_remository&Itemid=1&func=fileinfo&filecatid=1049&parent=category
Report
nhnFreespirit
14 years ago
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.
Report
logixoul
14 years ago
Report
nhnFreespirit
14 years ago
Report
logixoul
14 years ago
Report
dansmug
15 years ago
KDE 3.4.2, Mandriva Linux 2006 i586, Kernel 2.6.12
Report
nhnFreespirit
15 years ago
What happens if you select "Show current state actions" from the right click menu of the tray icon?
Are all the images there?
Report
dansmug
15 years ago
[xxx@localhost xxx]$ gesture
libpng error: PNG file corrupted by ASCII conversion
libpng error: PNG file corrupted by ASCII conversion
KCrash: Application 'gesture' crashing...
Report
nhnFreespirit
15 years ago
Report
dansmug
15 years ago
Report
nhnFreespirit
15 years ago
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)
Report
MMax
15 years ago
.....
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
Report
nhnFreespirit
15 years ago
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.
Report
MMax
15 years ago
It is second most important thing for the user, in your case!
Report
nhnFreespirit
15 years ago
As I wrote in the top of the discription, this is a preview of what I am working on! :-)
Report
sango
15 years ago
[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
Report
crazycrusoe
15 years ago
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
Report
crazycrusoe
15 years ago
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
Report
nhnFreespirit
15 years ago
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
Report
crazycrusoe
15 years ago
file tells me its .bzip2 file strange but i can extract with tar -xvf gesture.tar.gz
The easiest for you to package it is:
after u made sure it compiles and works.
1. make clean in the source
2. cd to the directory containing the gesture directory. (eg. /home/user has the directory gesture with its source files)
3. tar jcvf gesture.tar.bz2 /home/user/gesture
will give you gesture.tar.bz2 in the current directory
4. upload the file to kde-look.org
I hope this helps :)
Other issues:
Gesture doesnt work if make install is done. It doesnt find the png files (the pervious error i reported).
It does work when i run gesture from the gesture source directory (./gesture from src directory) BUT there still seems to be the issue of not being able to find
"gesture: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file gestureui.rc"
but that file is in the current directory. I even added the current directory to my path, still no avail.
Ohh on the other hand I have no clue on how to use this gestures ;( I get a window without the .ui file being loaded it shows mouse cursor position. I dont know how to enable the gesture tho.
I hope that makes some sense. Let me know if you need any help. Do remember tho my c++ is pathetic when compared to yours :(
Report
crazycrusoe
15 years ago
Thats what I can think of now. I believe there is good potential for gestures on the desktop, abeit It just needs to be easily configurable and give visualfeedback of the drawn desktop. Possibly a panel applet which shows the current gesture drawn in real-time would be a great feedback.
cheers
Report
nhnFreespirit
15 years ago
I really appreciate the feedback! :-)
I actually much prefer that no button presses at all are involved, as you risk sending some command to the underlying window when you press a button. But this could easily be made into a config option...
I do not understand what you mean that it does not work on the desktop? Have you switched to another virtual desktop or used the Show Desktop Icon on the kicker?
Anyway, I think my next task will be to make the program into a Kicker Applet and making it install properly. An after that comes the quite daunting task of writing a nice config program that can actually help ypu define new gestures.
Freespirit
Report