Auxlaunch

From Openmoko

(Difference between revisions)
Jump to: navigation, search
m (Latest Changes (for Version 0.5))
(Changes for ver 0.6)
Line 1: Line 1:
Auxlaunch is a simple, "finger-friendly" app launcher and optional window-switcher. It appears when the "AUX" button is pressed. The top button changes when the buttons below are pressed.<br>
+
Auxlaunch is a simple, "finger-friendly" app launcher for the Neo Freerunner (open source cell phone). It (optionally) appears when the "AUX" button is pressed. The top on-screen button changes function when the on-screen buttons below are pressed.<br>
 
<br>
 
<br>
  
Line 6: Line 6:
 
== Operation ==
 
== Operation ==
  
Use the top button to launch an application, enter a group (menu), or switch to another window. To cycle through apps, groups, or windows, press the buttons below.<br>
+
Use the top, on-screen button to launch an application, enter a menu group, or switch to another window. To cycle through apps, groups, or windows, press the on-screen buttons below.<br>
 
<br>
 
<br>
 
The top button changes function based on the most recently used adjust (arrow) buttons.<br>
 
The top button changes function based on the most recently used adjust (arrow) buttons.<br>
 
<br>
 
<br>
The app launch items are configured in a comma delimited text file (.auxlaunchrc). Items such as "Suspend", "Cancel", and "Quit" can be configured too. Auxlaunch uses stock GTK icons or images from files.<br>
+
The app launch items are configured in a comma delimited text file (.auxlaunchrc) in the user's home directory. Items such as "Suspend", "Cancel", and "Quit" can be configured too. Auxlaunch uses stock GTK icons or images from files.<br>
 
<br>
 
<br>
Note: Auxlaunch is, of course, very beta and, so far, only tested in Debian.
+
Note: Auxlaunch is beta may be a bit rough around the edges. :-)
 
<br>
 
<br>
 
== Configuration ==
 
== Configuration ==
  
Edit the ".auxlaunchrc" file.<br>
+
Edit the "~/.auxlaunchrc" file.<br>
 
<ol>
 
<ol>
<li>Create a new group (for items that follow) with a line containing group name in quotes followed by a comma.</li>
+
<li>Create a new menu group (for items that follow) with a line containing group name in quotes followed by a comma.</li>
 
<li>For item icons, specify a stock GTK icon identifier or a path to an existing image.</li>
 
<li>For item icons, specify a stock GTK icon identifier or a path to an existing image.</li>
<li>Use " &" at end of command to run in background.</li>
 
 
<li>Use "(quit)", "(cancel)", or "(reload)" to create items to hide Auxlaunch, stop Auxlaunch, or reread Auxlaunch's configuration.
 
<li>Use "(quit)", "(cancel)", or "(reload)" to create items to hide Auxlaunch, stop Auxlaunch, or reread Auxlaunch's configuration.
 +
<li>Use a "-" in the first column to indicate titles of windows that should not appear in the window-switching list.</li>
 
</ol>
 
</ol>
 
<br>
 
<br>
Line 30: Line 30:
  
 
<ul>
 
<ul>
<li>-dms = Include items from Debian Menu System.</li>
+
<li>-dms   = Include items from Debian Menu System.</li>
<li>-nowm = No window manager. (Do not show window switching buttons).</li>
+
<li>-nowm   = No window manager. (Do not show window switching buttons).</li>
<li>-right = Swap app-launchning and window-switching buttons (right for left).</li>
+
<li>-right = Swap app-launchning and window-switching buttons (right for left).</li>
<li>-hide = Cause AUX button to hide Auxlaunch (when it is displayed).</li>
+
<li>-hide   = Cause AUX button to hide auxlaunch (when it is displayed).</li>
 
<li>-simple = Use "change" buttons for grp/app/win selecting (instead of up/down buttons).</li>
 
<li>-simple = Use "change" buttons for grp/app/win selecting (instead of up/down buttons).</li>
 +
<li>-noaux  = Do not react to AUX button. (Run auxlaunch again to unhide.)</li>
 
</ul>
 
</ul>
 
<br>
 
<br>
 
== Installation ==
 
== Installation ==
  
Python and PyGTK are required. Package "wmctrl" is required for window (app) switching.
+
Python and PyGTK are required. Package "wmctrl" is required for window (app) switching. If installing by hand, make sure to place the ".auxlaunchrc" file in your  home directory.
  
[http://aliasid.googlepages.com/auxlaunch-0.5.tar.gz Download] (from external site)
+
[http://code.google.com/p/auxlaunch/downloads/list Download] (from external site)
  
<ol>
 
<li>Extract all files to new directory.</li>
 
<li>At command line, run "./auxlaunch".</li>
 
<li>Press AUX button and enjoy!</li>
 
</ol>
 
<br>
 
 
== Screenshots ==
 
== Screenshots ==
  
Auxlaunch shown here in normal and "simple" modes. Both shown underneath the cool "openmoko-panel-plugin':
+
Auxlaunch shown here in normal and "simple" modes. Both shown underneath the cool "openmoko-panel-plugin" app:
 
<br><br>
 
<br><br>
  
Line 58: Line 53:
 
[[Image:Auxlaunch-Screenshot-2.png]]
 
[[Image:Auxlaunch-Screenshot-2.png]]
 
<br>
 
<br>
== Latest Changes (for Version 0.5) ==
+
== Latest Changes ==
  
 +
<b>Version 0.6</b>
 +
<ul>
 +
<li>Changed code to open rc file in user's home directory.</li>
 +
<li>Changed app launch code to use fork and execvp.</li>
 +
<li>Fixed bug where mode not set to WIN on gaining focus</li>
 +
<li>Added '-noaux' feature as alternative to claiming the aux button.</li>
 +
<li>Added code to enforce single instance and signal any currently running auxlaunch process.</li>
 +
<li>Started using version control (at http://code.google.com/p/auxlaunch/).</li>
 +
<li>Removed pesky /r's. Thanks to Timo for the alert.</li>
 +
<li>DMS: Shortened 'Applicatons' to 'Apps'</li>   
 +
</ul>
 +
<br>
 
<b>Version 0.5-2</b>
 
<b>Version 0.5-2</b>
 
<ul>
 
<ul>

Revision as of 22:15, 30 November 2008

Auxlaunch is a simple, "finger-friendly" app launcher for the Neo Freerunner (open source cell phone). It (optionally) appears when the "AUX" button is pressed. The top on-screen button changes function when the on-screen buttons below are pressed.

Contents


Operation

Use the top, on-screen button to launch an application, enter a menu group, or switch to another window. To cycle through apps, groups, or windows, press the on-screen buttons below.

The top button changes function based on the most recently used adjust (arrow) buttons.

The app launch items are configured in a comma delimited text file (.auxlaunchrc) in the user's home directory. Items such as "Suspend", "Cancel", and "Quit" can be configured too. Auxlaunch uses stock GTK icons or images from files.

Note: Auxlaunch is beta may be a bit rough around the edges. :-)

Configuration

Edit the "~/.auxlaunchrc" file.

  1. Create a new menu group (for items that follow) with a line containing group name in quotes followed by a comma.
  2. For item icons, specify a stock GTK icon identifier or a path to an existing image.
  3. Use "(quit)", "(cancel)", or "(reload)" to create items to hide Auxlaunch, stop Auxlaunch, or reread Auxlaunch's configuration.
  4. Use a "-" in the first column to indicate titles of windows that should not appear in the window-switching list.


Options

Use: "auxlaunch -option1 -option2". Command line options include:

  • -dms = Include items from Debian Menu System.
  • -nowm = No window manager. (Do not show window switching buttons).
  • -right = Swap app-launchning and window-switching buttons (right for left).
  • -hide = Cause AUX button to hide auxlaunch (when it is displayed).
  • -simple = Use "change" buttons for grp/app/win selecting (instead of up/down buttons).
  • -noaux = Do not react to AUX button. (Run auxlaunch again to unhide.)


Installation

Python and PyGTK are required. Package "wmctrl" is required for window (app) switching. If installing by hand, make sure to place the ".auxlaunchrc" file in your home directory.

Download (from external site)

Screenshots

Auxlaunch shown here in normal and "simple" modes. Both shown underneath the cool "openmoko-panel-plugin" app:

Auxlaunch-Screenshot-1.png

Auxlaunch-Screenshot-2.png

Latest Changes

Version 0.6

  • Changed code to open rc file in user's home directory.
  • Changed app launch code to use fork and execvp.
  • Fixed bug where mode not set to WIN on gaining focus
  • Added '-noaux' feature as alternative to claiming the aux button.
  • Added code to enforce single instance and signal any currently running auxlaunch process.
  • Started using version control (at http://code.google.com/p/auxlaunch/).
  • Removed pesky /r's. Thanks to Timo for the alert.
  • DMS: Shortened 'Applicatons' to 'Apps'


Version 0.5-2

  • Added license, comments, and file for GPL.
  • Fixed bug where "go" button was hardcoded to 3 columns.
  • Added window title filtering ('-' in first column of rc file).
  • Added chrysn's '(reload)' feature.

Version 0.5

  • Moved to using single, top-level, 'go" button for app-launch, group-change, win-switch.
  • Added "group" feature to provide menu-like associations of apps. (For now, only one level.)
  • Made DMS file parsing slightly more robust.
  • Added "-hide" options to integrate Ben's AUX-button-minimize feature.
  • Added "-simple' feature to simplify user interface.
  • Reorganized code to try Model-View-Controller paradigm.
  • More code comments!
  • General code rewrite.
Personal tools

Auxlaunch is a simple, "finger-friendly" app launcher and optional window-switcher. It appears when the "AUX" button is pressed. The top button changes when the buttons below are pressed.

Contents


Operation

Use the top button to launch an application, enter a group (menu), or switch to another window. To cycle through apps, groups, or windows, press the buttons below.

The top button changes function based on the most recently used adjust (arrow) buttons.

The app launch items are configured in a comma delimited text file (.auxlaunchrc). Items such as "Suspend", "Cancel", and "Quit" can be configured too. Auxlaunch uses stock GTK icons or images from files.

Note: Auxlaunch is, of course, very beta and, so far, only tested in Debian.

Configuration

Edit the ".auxlaunchrc" file.

  1. Create a new group (for items that follow) with a line containing group name in quotes followed by a comma.
  2. For item icons, specify a stock GTK icon identifier or a path to an existing image.
  3. Use " &" at end of command to run in background.
  4. Use "(quit)", "(cancel)", or "(reload)" to create items to hide Auxlaunch, stop Auxlaunch, or reread Auxlaunch's configuration.


Options

Use: "auxlaunch -option1 -option2". Command line options include:

  • -dms = Include items from Debian Menu System.
  • -nowm = No window manager. (Do not show window switching buttons).
  • -right = Swap app-launchning and window-switching buttons (right for left).
  • -hide = Cause AUX button to hide Auxlaunch (when it is displayed).
  • -simple = Use "change" buttons for grp/app/win selecting (instead of up/down buttons).


Installation

Python and PyGTK are required. Package "wmctrl" is required for window (app) switching.

Download (from external site)

  1. Extract all files to new directory.
  2. At command line, run "./auxlaunch".
  3. Press AUX button and enjoy!


Screenshots

Auxlaunch shown here in normal and "simple" modes. Both shown underneath the cool "openmoko-panel-plugin':

Auxlaunch-Screenshot-1.png

Auxlaunch-Screenshot-2.png

Latest Changes (for Version 0.5)

Version 0.5-2

  • Added license, comments, and file for GPL.
  • Fixed bug where "go" button was hardcoded to 3 columns.
  • Added window title filtering ('-' in first column of rc file).
  • Added chrysn's '(reload)' feature.

Version 0.5

  • Moved to using single, top-level, 'go" button for app-launch, group-change, win-switch.
  • Added "group" feature to provide menu-like associations of apps. (For now, only one level.)
  • Made DMS file parsing slightly more robust.
  • Added "-hide" options to integrate Ben's AUX-button-minimize feature.
  • Added "-simple' feature to simplify user interface.
  • Reorganized code to try Model-View-Controller paradigm.
  • More code comments!
  • General code rewrite.