lorenzodelarocha / touchegg

Automatically exported from code.google.com/p/touchegg
0 stars 0 forks source link

Documentation for config file #181

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
We have list of actions and gestures, but there isn’t documentation for 
config format. For example, what I should write in application name? Process 
name of part of window title?

Original issue reported on code.google.com by and...@sitnik.ru on 7 Nov 2012 at 9:43

GoogleCodeExporter commented 8 years ago
Execute in the terminal xwininfo, click over the window of the app that you 
want to configure. For exaple, for xterm app this is the output:

$ xwininfo

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x60000d "xterm"

  Absolute upper-left X:  0
  Absolute upper-left Y:  22
  Relative upper-left X:  0
  Relative upper-left Y:  22
  Width: 610
  Height: 667
  Depth: 24
  Visual: 0x22
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x21 (installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+22  -1310+22  -1310-369  +0-369
  -geometry 101x51+0+0

Original comment by jose.exposito89@gmail.com on 7 Nov 2012 at 5:18

GoogleCodeExporter commented 8 years ago
Issue is about documentation, it isn’t a question. Maybe we need to put this 
answer to FAQ page? https://code.google.com/p/touchegg/wiki/FAQ

Original comment by and...@sitnik.ru on 11 Nov 2012 at 7:03

GoogleCodeExporter commented 8 years ago
I think the correct command line would be "xprop | grep WM_CLASS" because 
xwininfo only shows the current display name of the window. Especially with 
browsers this can vary a lot! And I still don't see this documented anywhere 
although the bug report is closed, or didn't I look properly?

Original comment by webmas...@geloescht.net on 29 Apr 2013 at 12:37