missing option to start without gui in easystroke

Asked by scripters

After the upgrade to jaunty the version showed with a missing option that adds the ability to start the program without showing its window or gui.

The option I believe is '-n' or /usr/bin/easystroke -n

Running the program currently with the -n option returns an error and dont run the easystroke application

Having the program run at startup without showing the gui helps maintaining a clean desktop at login, and also we dont have to click the Hide button everytime.

Can we have this option back in next update.

Best regards,
S.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu easystroke Edit question
Assignee:
No assignee Edit question
Solved by:
Tom Jaeger
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

read through:

man easystroke

would have been my first move.

Revision history for this message
scripters (scripters-1) said :
#2

Checking the man or help of easystroke shows this:

The full easystroke documentation is available at the following address:

http://easystroke.wiki.sourceforge.net/Documentation#content

Usage: easystroke [OPTION]...
or: easystroke send <action_name>

Options:
  -c, --config-dir Directory for config files
      --display X Server to contact
  -x --no-xi Don't use the Xinput extension
  -e --experimental Start in experimental mode
  -g, --show-gui Show the configuration dialog on startup
      --offset-x XInput workaround
      --offset-y XInput workaround
  -v, --verbose Increase verbosity level
  -h, --help Display this help and exit
      --version Output version information and exit

On their previous version on intrepid it has the --no-gui option:

NAME

        easystroke - X11 gesture recognition application

SYNOPSIS

        easystroke [OPTION]...

DESCRIPTION

        The full easystroke documentation is available at the following
        address:

        http://easystroke.wiki.sourceforge.net/Documentation#content

OPTIONS

        -c, --config-dir
               Directory for config files

        --display
               X Server to contact

        -x --no-xi
               Don’t use the Xinput extension

        -e --experimental
               Start in experimental mode

        -n, --no-gui
               Don’t start the gui

        --offset-x
               XInput workaround

        --offset-y
               XInput workaround

        -v, --verbose
               Increase verbosity level

        --help Display this help and exit

        --version
               Output version information and exit

AUTHOR

        Written by Thomas Jaeger <email address hidden>.

or this link:

http://manpages.ubuntu.com/manpages/intrepid/man1/easystroke.1.html

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

looks like its:

easystroke --no-gui

I just installed it and ran it with

alt+f2
easystroke

and it was fine

Revision history for this message
Best Tom Jaeger (thjaeger) said :
#4

Starting with the configuration window open has never been the default behavior for easystroke, although it can be enabled using the -g (--show-gui) option. The -n (--no-gui), which I removed a long time ago, did something different: It bypassed all gtk code, so there was no tray icon and no way of showing the configuration at all when easystroke was started with this option.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

you could force it:

sudo apt-get install alltray

wait for it to install then press alt+f2 and type

alltray easystroke

alltray will sens ANY app (except terminal) to the system tray. This is dead handy for apps like Thunderbird which benefit from a tray icon but prefer to clutter the app launcher. Not graceful but should work.

Revision history for this message
scripters (scripters-1) said :
#6

@Tom Jaeger: I see, on the Hardy installation I used the -n (--no-gui) on start-up and makes the application start with no windows showing, so I thought it was how it worked. Thanks for explaining.

@actionparsnip: I'll try the alltray as suggested.

easystroke is one of my favorite linux applications and goes well with the Ubuntu install I have.

Thanks for your time and the great application!

Revision history for this message
scripters (scripters-1) said :
#7

Thanks Tom Jaeger, that solved my question.