Freehand Gestures

Various KDE Stuff

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:

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! :-)
Last changelog:

13 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

13 years ago

Hi, does development of this great app stoped? Any plans for the future?

Report

C

nhnFreespirit

13 years ago

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

Report

patpi1

13 years ago

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

Report

gohanz

13 years ago

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

Report

C

nhnFreespirit

13 years ago

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.

Report

logixoul

14 years ago

How's that different from KHotKeys' gesture functionality?

Report

C

nhnFreespirit

14 years ago

Mainly the nested states and the graphical feedback.

Report

logixoul

14 years ago

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.

Report

dansmug

14 years ago

But constant crashing :( Whenever Gesture recognizes one of the gestures, it crashes.

KDE 3.4.2, Mandriva Linux 2006 i586, Kernel 2.6.12

Report

C

nhnFreespirit

14 years ago

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?

Report

dansmug

14 years ago

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...

Report

C

nhnFreespirit

14 years ago

Do I understand correctly that it crashes when you select the menu entry?

Report

dansmug

14 years ago

Yes, when I click "Show current state actions"

Report

C

nhnFreespirit

14 years ago

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)

Report

MMax

14 years ago

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

Report

C

nhnFreespirit

14 years ago

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.

Report

MMax

14 years ago

Write configuration prog for the xml file.

It is second most important thing for the user, in your case!

Report

C

nhnFreespirit

14 years ago

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! :-)

Report

sango

14 years ago

. 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

Report

crazycrusoe

14 years ago

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

Report

crazycrusoe

14 years ago

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

Report

C

nhnFreespirit

14 years ago

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

Report

crazycrusoe

14 years ago

ok strange.

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

14 years ago

OK I managed to get it to work, but I think the gesture should be drawn when the mouse moves with the LMB pressed. And It does not work when there is selection of icons, eg: try doing it on the desktop.

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

C

nhnFreespirit

14 years ago

Hi!

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

13 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

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.4
updated Apr 24 2006
added Oct 12 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0