1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Changes between Version 3 and Version 4 of Documentation

Show
Ignore:
Timestamp:
01/23/10 23:01:10 (3 years ago)
Author:
thjaeger (IP: 172.29.29.58)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation

    v3 v4  
    5555By default, gestures work in any application (unless the application is disabled entirely, which can be set up on the ''Preferences'' tab).  This feature allows you to set up easystroke to behave differently depending on which application the cursor is in.  To use the feature, simply open the ''Applications'' expander on the ''Actions'' tab.  You can maintain a list of applications, whose behavior differs from the default by using the ''Add Application'' and ''Remove Application'' buttons.  The special entry ''Default'' refers to all other applications.  To edit the list of gestures for an application simply click on the application. 
    5656 
    57 It is important to understand how application-dependent gestures are stored:  Rather than maintaining a list of actions for each applications, easystroke only stores the '''difference''' to its parent node ''Default''.  This means that all default actions are available in your applications, and if you add or delete a gesture in the ''Default'' actions, this change will be reflected in all applications.  On the other hand, adding, changing or deleting gestures for a specific application never affects the list of default actions in any way, and you can revert to the default at any time using the ''Reset Action(s)'' button.  You can even bring actions back from the dead by enabling the ''Show deleted rows'' check box and then resetting the deleted actions. 
     57It is important to understand how application-dependent gestures are stored:  Rather than maintaining a list of actions for each applications, easystroke only stores the '''difference''' to its parent node ''Default''.  This means that all default actions are available in your applications, and if you add or delete a gesture in the ''Default'' actions, this change will be reflected in all applications.  On the other hand, adding, changing or deleting gestures for a specific application never affects the list of default actions in any way, and you can revert to the default at any time using the ''Reset Action(s)'' button.  You can even bring actions back from the dead by enabling the ''Show deleted rows'' check box and then resetting the deleted actions.  It is easy to tell which actions have been changed compared with the default: changed entries are rendered bold; deleted actions appear grayed out. 
    5858 
     59The power of this approach is best illustrated by an example:  The screenshot above shows some modifications that were made to the action list for the gnome-terminal application.  Most applications with a tabbed interface use Ctrl+T as a shortcut for opening a tab, but gnome-terminal uses the non-standard Shift+Ctrl+T combination, so that the user can use Ctrl+T to interact with terminal applications.  In easystroke, we can simply change the key combination for gnome-terminal to Shift+Ctrl+T without affecting any other applications.  Similarly, gnome-terminal doesn't support to reopen a closed tab, so we can simply delete the action from the list. 
    5960 
     61If you'd like several application to be have in a similar way, you may combine them to an ''Application Group''.  All applications belonging to the application group inherit their gestures from the group, which in turn inherits its actions from its parent.  Easystroke allows arbitrary trees (with root ''Default'') as its hierarchy for applications and groups. 
    6062 
    6163= Preferences Tab = 
     
    129131{{{ 
    130132The following changes still need to be incorporated into the documentation: 
    131         * application-dependent gestures 
    132133        * application-dependent gesture button 
    133134        * Timeout gestures