aboutsummaryrefslogtreecommitdiffstats
path: root/data/tools/enlightenment_remote
blob: 45295bbd3f843953fbd6e67bdf66796e468c3783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
#!/bin/sh
#
# See the function show_help_new_tool in order to know more about this tool


#-------------------------------------------------------------------------------
#   Show help
#-------------------------------------------------------------------------------
show_help(){
   # Actual implemented features:
echo -e "
OPTIONS:
  -h This help
  -help This help
  --help This help
  --h This help
  --help-new Info about this tool

  -restart Restart Enlightenment
  -exit Exit Enlightenment

  -module-list List all loaded modules
  -module-enable OPT1 Enable the module named 'OPT1'
  -module-disable OPT1 Disable the module named 'OPT1'
  -module-load OPT1 Loads the module named 'OPT1' into memory
  -module-unload OPT1 Unloads the module named 'OPT1' from memory

  -profile-list List all existing profiles
  -profile-add OPT1 Add profile named OPT1
  -profile-del OPT1 Delete profile named OPT1
  -default-profile-get Get the default configuration profile
  -default-profile-set OPT1 Set the default configuration profile to OPT1

  -desktops-get Get the number of virtual desktops
  -desktop-show OPT1 OPT2 Show the desk at position OPT1 (x) and OPT2 (y), see -desktops-get for current count.
  -desktop-show-by-name OPT1 Show the desk named OPT1
  -desktop-bg-add OPT1 OPT2 OPT3 OPT4 OPT5 Add a desktop bg definition. OPT1 = container no. OPT2 = zone no. OPT3 = desk_x. OPT4 = desk_y. OPT5 = bg file path
  -desktop-bg-del OPT1 OPT2 OPT3 OPT4 Delete a desktop bg definition. OPT1 = container no. OPT2 = zone no. OPT3 = desk_x. OPT4 = desk_y.
  -desktop-bg-list List all current desktop bg definitions
  -desktop-lock Lock the desktop

  -efm-open-dir OPT1 Open dir in OPT1 in EFileManager. Opens /home/$USER if no path is given or it doesn't exist

  -window-list List all window names and ids
  -window-close OPT1 Request the close of window with xwin id OPT1
  -window-kill OPT1 Request the kill of window with xwin id OPT1
  -window-focus OPT1 Request the focus of window with xwin id OPT1
  -window-iconify OPT1 Request iconify of window with xwin id OPT1
  -window-uniconify OPT1 Request uniconify of window with xwin id OPT1
  -window-maximize OPT1 Request maximize of window with xwin id OPT1
  -window-unmaximize OPT1 Request unmaximize of window with xwin id OPT1

Note: This is a new implementation of enlightenment_remote,
      for more information about it see the '--help-new' option.
"
# List of available features: qdbus org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject
}


#-------------------------------------------------------------------------------
#   Show info about the new implementation of enlightenment_remote
#-------------------------------------------------------------------------------
show_help_new_tool(){
   echo -e "
This is a new implementation of enlightenment_remote, it uses dbus calls to
enlightenment so it is using the new system, this tool is a front-end just like
the original tool, created for the ease-to-use of the users and in order to
maintain a bit of compatibility with possible scripts from the users too.

The original tool is not (at the date of today) not removed and you can still
have access to it, it is renamed to enlightenment_remote_old

This tool depends of the command dbus-send, normally included in the main 
dbus package

This tool is just a front-end and may be not updated, you should
use dbus calls instead

If you want to see the list of actual dbus calls available for Enlightenment,
run: qdbus org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject
"
}


#===  FUNCTION  ================================================================
#          NAME:  ERC
#   DESCRIPTION:  eremote callback
#    PARAMETERS:  interface/method call
#       RETURNS:  
#===============================================================================
ERC(){
   dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1"
}

#===  FUNCTION  ================================================================
#          NAME:  ERCS
#   DESCRIPTION:  eremote call with string parameter
#    PARAMETERS:  interface/method call, string parameter
#       RETURNS:  
#===============================================================================
ERCS(){
   dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" string:"$2"
}

#===  FUNCTION  ================================================================
#          NAME:  ERGS 
#   DESCRIPTION:  Get a (single) value (string)
#    PARAMETERS:  interface/method call
#       RETURNS:  value (string)
#===============================================================================
ERGS(){
   result="$( dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" )"
   echo $result
   unset result
}

#===  FUNCTION  ================================================================
#          NAME:  ERGM
#   DESCRIPTION:  Get a (multiple) values (string)
#    PARAMETERS:  interface/method call
#       RETURNS:  values (string)
#===============================================================================
ERGM(){
   result="$( dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" )"
   result="${result##*[}"
   result="${result%%]*}"
   for value in $result
   do
      echo -n "$value "
   done
   echo ""
   unset result value
}

#===  FUNCTION  ================================================================
#          NAME:  ERGMI
#   DESCRIPTION:  Get a (multiple) values (integer)
#    PARAMETERS:  interface/method call
#       RETURNS:  values (integer)
#===============================================================================
ERGMI(){
   result="$( dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" )"
   result="$( echo "$result" | sed 's/int32//g' )"
   for value in $result
   do
      echo -n "$value "
   done
   echo ""
   unset result value
}

#===  FUNCTION  ================================================================
#          NAME:  ERGMST
#   DESCRIPTION:  Get a (multiple) struct value
#    PARAMETERS:  interface/method call
#       RETURNS:  struct values
#===============================================================================
ERGMST(){
   result="$( dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" )"
   result="${result##*array \[}"
   result="${result%%]*}"
   result="$( echo "$result" | sed -e 's/int32//g' -e 's/struct {//g' )"
   for value in $result
   do
      if test "$value" = "}"; then
         echo
      else
         echo -n "$value "
      fi
   done
   echo ""
   unset result value
}

#===  FUNCTION  ================================================================
#          NAME:  ERCIIIIS
#   DESCRIPTION:  eremote call with int, int, int, int, string parameter
#    PARAMETERS:  interface/method call, int, int, int, int, string
#       RETURNS:  
#===============================================================================
ERCIIIIS(){
   dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" int32:"$2" int32:"$3" int32:"$4" int32:"$5" string:"$6"
}

#===  FUNCTION  ================================================================
#          NAME:  ERCIIII
#   DESCRIPTION:  eremote call with int, int, int, int parameter
#    PARAMETERS:  interface/method call, int, int, int, int
#       RETURNS:  
#===============================================================================
ERCIIII(){
   dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" int32:"$2" int32:"$3" int32:"$4" int32:"$5"
}

#===  FUNCTION  ================================================================
#          NAME:  ERCII
#   DESCRIPTION:  eremote call with int, int parameter
#    PARAMETERS:  interface/method call, int, int
#       RETURNS:  
#===============================================================================
ERCII(){
   dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" int32:"$2" int32:"$3"
}

#===  FUNCTION  ================================================================
#          NAME:  ERCI
#   DESCRIPTION:  eremote call with int parameter
#    PARAMETERS:  interface/method call, int
#       RETURNS:  
#===============================================================================
ERCI(){
   dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" int32:"$2"
}

#-------------------------------------------------------------------------------
#   E Lock
#-------------------------------------------------------------------------------
er_lock(){
   ERC org.enlightenment.wm.Desktop.Lock
}

#-------------------------------------------------------------------------------
#   E Restart
#-------------------------------------------------------------------------------
er_restart(){
   ERC org.enlightenment.wm.Core.Restart
   sleep 6
}

#-------------------------------------------------------------------------------
#   E Logout
#-------------------------------------------------------------------------------
er_exit(){
   ERC org.enlightenment.wm.Core.Shutdown
}

#-------------------------------------------------------------------------------
#   E Module Disable
#-------------------------------------------------------------------------------
er_module_disable(){
   ERCS org.enlightenment.wm.Module.Disable "$2"
}

#-------------------------------------------------------------------------------
#   E Module Enable
#-------------------------------------------------------------------------------
er_module_enable(){
   ERCS org.enlightenment.wm.Module.Enable "$2"
}

#-------------------------------------------------------------------------------
#   E Module List
#-------------------------------------------------------------------------------
er_module_list(){
   echo 'Module -- Status'
   ERGMST org.enlightenment.wm.Module.List | \
      sed -e 's/ 1/ -- Enabled/' -e 's/ 0/ -- Disabled/'
}
#-------------------------------------------------------------------------------
#   E Module Load
#-------------------------------------------------------------------------------
er_module_load(){
   ERCS org.enlightenment.wm.Module.Load "$2"
}

#-------------------------------------------------------------------------------
#   E Module Unload
#-------------------------------------------------------------------------------
er_module_unload(){
   ERCS org.enlightenment.wm.Module.Unload "$2"
}

#-------------------------------------------------------------------------------
#   E Profile Add
#-------------------------------------------------------------------------------
er_profile_add(){
   ERCS org.enlightenment.wm.Profile.Add "$2"
}

#-------------------------------------------------------------------------------
#   E Profile Delete
#-------------------------------------------------------------------------------
er_profile_del(){
   ERCS org.enlightenment.wm.Profile.Delete "$2"
}

#-------------------------------------------------------------------------------
#   E Profile List
#-------------------------------------------------------------------------------
er_profile_list(){
   ERGM org.enlightenment.wm.Profile.List
}

#-------------------------------------------------------------------------------
#   E Profile Get
#-------------------------------------------------------------------------------
er_default_profile_get(){
   ERGS org.enlightenment.wm.Profile.Get
}


#-------------------------------------------------------------------------------
#   E Profile Set
#-------------------------------------------------------------------------------
er_default_profile_set(){
   ERCS org.enlightenment.wm.Profile.Set "$2"
}


#-------------------------------------------------------------------------------
#   E Virtual desktop get
#-------------------------------------------------------------------------------
er_desktop_get(){
   ERGMI org.enlightenment.wm.Desktop.GetVirtualCount
}

#-------------------------------------------------------------------------------
#   E Virtual show
#-------------------------------------------------------------------------------
er_desktop_show(){
   ERCII org.enlightenment.wm.Desktop.Show "$2" "$3"
}

#-------------------------------------------------------------------------------
#   E Virtual show by name
#-------------------------------------------------------------------------------
er_desktop_show_by_name(){
   ERCS org.enlightenment.wm.Desktop.ShowByName "$2"
}

#-------------------------------------------------------------------------------
#   E Desktop background add
#-------------------------------------------------------------------------------
er_desktop_bg_add(){
   ERCIIIIS org.enlightenment.wm.Desktop.Background.Add "$2" "$3" "$4" "$5" "$6"
}

#-------------------------------------------------------------------------------
#   E Desktop background del
#-------------------------------------------------------------------------------
er_desktop_bg_del(){
   ERCIIII org.enlightenment.wm.Desktop.Background.Del "$2" "$3" "$4" "$5"
}

#-------------------------------------------------------------------------------
#   E Desktop background list
#-------------------------------------------------------------------------------
er_desktop_bg_list(){
   ERGMST org.enlightenment.wm.Desktop.Background.List
}

#-------------------------------------------------------------------------------
#   E FileManager open dir
#-------------------------------------------------------------------------------
er_efm_open_dir(){
	if [ $# -lt 2 ] || [ ! -e "$2" ]; then
		EFM_DIR="/home/$USER"
	else
		EFM_DIR="$2"
	fi
	
   dbus-send --session --type=method_call --print-reply=literal --dest=org.enlightenment.FileManager /org/enlightenment/FileManager org.enlightenment.FileManager.OpenDirectory "string:$EFM_DIR"
}

#-------------------------------------------------------------------------------
#   E Window list
#-------------------------------------------------------------------------------
er_window_list(){
   echo 'Window -- ID'
   ERGMST org.enlightenment.wm.Window.List
}

#-------------------------------------------------------------------------------
#   E Window close
#-------------------------------------------------------------------------------
er_window_close(){
   ERCI org.enlightenment.wm.Window.Close "$2"
}

#-------------------------------------------------------------------------------
#   E Window kill
#-------------------------------------------------------------------------------
er_window_kill(){
   ERCI org.enlightenment.wm.Window.Kill "$2"
}

#-------------------------------------------------------------------------------
#   E Window focus
#-------------------------------------------------------------------------------
er_window_focus(){
   ERCI org.enlightenment.wm.Window.Focus "$2"
}

#-------------------------------------------------------------------------------
#   E Window iconify
#-------------------------------------------------------------------------------
er_window_iconify(){
   ERCI org.enlightenment.wm.Window.Iconify "$2"
}

#-------------------------------------------------------------------------------
#   E Window uniconify
#-------------------------------------------------------------------------------
er_window_uniconify(){
   ERCI org.enlightenment.wm.Window.Uniconify "$2"
}

#-------------------------------------------------------------------------------
#   E Window maximize
#-------------------------------------------------------------------------------
er_window_maximize(){
   ERCI org.enlightenment.wm.Window.Maximize "$2"
}

#-------------------------------------------------------------------------------
#   E Window unmaximize
#-------------------------------------------------------------------------------
er_window_unmaximize(){
   ERCI org.enlightenment.wm.Window.Unmaximize "$2"
}


#===  FUNCTION  ================================================================
#          NAME:  Main
#   DESCRIPTION:  We start there and go to the desired option
#    PARAMETERS:  get options and use them
#       RETURNS:  just finishes and exit
#===============================================================================

if ! type dbus-send > /dev/null 2>&1; then
   echo "E: dbus-send command not found, please install it first"
   exit 1
fi

case "$1" in
   --help-new)
      show_help_new_tool
   ;;
   -restart)
      er_restart
   ;;
   -exit)
      er_exit 
   ;;
   -module-list)
      er_module_list
   ;;
   -module-enable)
      er_module_enable "$@"
   ;;
   -module-disable)
      er_module_disable "$@"
   ;;
   -module-load)
      er_module_load "$@"
   ;;
   -module-unload)
      er_module_unload "$@"
   ;;
   -profile-add)
      er_profile_add "$@"
   ;;
   -profile-del)
      er_profile_del "$@"
   ;;
   -profile-list)
      er_profile_list
   ;;
   -default-profile-get)
      er_default_profile_get
   ;;
   -default-profile-set)
      er_default_profile_set "$@"
   ;;
   -desks-get|-desktops-get)
      er_desktop_get
   ;;
   -desktop-lock)
      er_lock
   ;;
   -desktop-show)
      er_desktop_show "$@"
   ;;
   -desktop-show-by-name)
      er_desktop_show_by_name "$@"
   ;;
   -desktop-bg-add)
      er_desktop_bg_add "$@"
   ;;
   -desktop-bg-del)
      er_desktop_bg_del "$@"
   ;;
   -desktop-bg-list)
      er_desktop_bg_list
   ;;
   -efm-open-dir)
      er_efm_open_dir "$@"
   ;;
   -window-list)
      er_window_list
   ;;
   -window-close)
      er_window_close "$@"
   ;;
   -window-kill)
      er_window_kill "$@"
   ;;
   -window-focus)
      er_window_focus "$@"
   ;;
   -window-iconify)
      er_window_iconify "$@"
   ;;
   -window-uniconify)
      er_window_uniconify "$@"
   ;;
   -window-maximize)
      er_window_maximize "$@"
   ;;
   -window-unmaximize)
      er_window_unmaximize "$@"
   ;;

   # This entry needs to be always the last option of the list (*)
   -h|-help|--help|--h|*)
      show_help
   ;;
esac


################################################################################
################################################################################
################################################################################
ignore_this(){
# IGNORE THIS SECTION
# think at it just like as a TODO list or a list where are listed all the old options of enlightenment_remote
# Remember that the elements of this next list are removed every time they are implemented on this tool

echo "
  -module-list List all loaded modules
  -default-bg-set OPT1 Set the default background edje to the desktop background in the file 'OPT1' (must be a full path)
  -default-bg-get Get the default background edje file path
  -font-available-list List all available fonts
  -font-apply Apply font settings changes
  -font-fallback-append OPT1 Append OPT1 to the fontset
  -font-fallback-prepend OPT1 Prepend OPT1 to the fontset
  -font-fallback-list List the fallback fonts in order
  -font-fallback-remove OPT1 Remove OPT1 from the fontset
  -font-default-set OPT1 OPT2 OPT3 Set textclass (OPT1) font (OPT2) and size (OPT3)
  -font-default-get OPT1 List the default font associated with OPT1
  -font-default-remove OPT1 Remove the default text class OPT1
  -font-default-list List all configured text classes
  -font-fallback-clear Clear list of fallback fonts
  -lang-list List all available languages
  -lang-set OPT1 Set the current language to 'OPT1'
  -lang-get Get the current language
  -dirs-list OPT1 List the directory of type specified by 'OPT1', try 'themes'
  -dirs-list-append OPT1 OPT2 Append the directory of type specified by 'OPT2' to the list in 'OPT1'
  -dirs-list-prepend OPT1 OPT2 Prepend the directory of type specified by 'OPT2' to the list in 'OPT1'
  -dirs-list-remove OPT1 OPT2 Remove the directory of type specified by 'OPT2' from the list in 'OPT1'
  -framerate-set OPT1 Set the animation framerate (fps)
  -framerate-get Get the animation framerate (fps)
  -menus-scroll-speed-set OPT1 Set the scroll speed of menus (pixels/sec)
  -menus-scroll-speed-get Get the scroll speed of menus (pixels/sec)
  -focus-policy-set OPT1 Set the focus policy. OPT1 = CLICK, MOUSE or SLOPPY
  -focus-policy-get Get focus policy
  -edge-flip-dragging-set OPT1 Set the edge flip while dragging policy flag (0/1)
  -edge-flip-dragging-get Get the edge flip while dragging policy flag
  -font-cache-set OPT1 Set the font cache size (Kb)
  -font-cache-get Get the speculative font cache size (Kb)
  -image-cache-set OPT1 Set the image cache size (Kb)
  -image-cache-get Get the speculative image cache size (Kb)
  -edje-cache-set OPT1 Set the edje cache size (items)
  -edje-cache-get Get the speculative edje cache size (items)
  -edje-collection-cache-set OPT1 Set the edje collection cache size (items)
  -edje-collection-cache-get Get the speculative edje collection cache size (items)
  -menus-fast-move-threshold-set OPT1 Set the mouse speed (pixels/second) that is considered a 'fast move'
  -menus-fast-move-threshold-get Get the mouse speed (pixels/second) that is considered a 'fast move'
  -menus-click-drag-timeout-set OPT1 Set the time (in sec) between a mouse press and release that will keep the menu up anyway
  -menus-click-drag-timeout-get Get the time (in sec) between a mouse press and release that will keep the menu up anyway
  -border-shade-animate-set OPT1 Set the shading animation flag (0/1)
  -border-shade-animate-get Get the shading animation flag (0/1)
  -border-shade-transition-set OPT1 Set the shading animation algorithm (0, 1, 2 or 3)
  -border-shade-transition-get Get the shading animation algorithm (0, 1, 2 or 3)
  -border-shade-speed-set OPT1 Set the shading speed (pixels/sec)
  -border-shade-speed-get Get the shading speed (pixels/sec)
  -desks-set OPT1 OPT2 Set the number of virtual desktops (X x Y desks OPT1 = X, OPT2 = Y)
  -maximize-policy-set OPT1 Set the maximize policy. OPT1 = FULLSCREEN, SMART, EXPAND or FILL
  -maximize-policy-get Get maximize policy
  -maximize-manipulation-set OPT1 Allow manipulation, 1 for enabled 0 for disabled
  -maximize-manipulation-get Get manipulation, 1 for enabled 0 for disabled
  -binding-mouse-list List all mouse bindings
  -binding-mouse-add OPT1 OPT2 OPT3 OPT4 OPT5 OPT6 Add an existing mouse binding. OPT1 = Context, OPT2 = button, OPT3 = modifiers, OPT4 = any modifier ok, OPT5 = action, OPT6 = action parameters
  -binding-mouse-del OPT1 OPT2 OPT3 OPT4 OPT5 OPT6 Delete an existing mouse binding. OPT1 = Context, OPT2 = button, OPT3 = modifiers, OPT4 = any modifier ok, OPT5 = action, OPT6 = action parameters
  -binding-key-list List all key bindings
  -binding-key-add OPT1 OPT2 OPT3 OPT4 OPT5 OPT6 Add an existing key binding. OPT1 = Context, OPT2 = key, OPT3 = modifiers, OPT4 = any modifier ok, OPT5 = action, OPT6 = action parameters
  -binding-key-del OPT1 OPT2 OPT3 OPT4 OPT5 OPT6 Delete an existing key binding. OPT1 = Context, OPT2 = key, OPT3 = modifiers, OPT4 = any modifier ok, OPT5 = action, OPT6 = action parameters
  -always-click-to-raise-set OPT1 Set the always click to raise policy, 1 for enabled 0 for disabled
  -always-click-to-raise-get Get the always click to raise policy, 1 for enabled 0 for disabled
  -always-click-to-focus-set OPT1 Set the always click to focus policy, 1 for enabled 0 for disabled
  -always-click-to-focus-get Get the always click to focus policy, 1 for enabled 0 for disabled
  -use-auto-raise-set OPT1 Set use auto raise policy, 1 for enabled 0 for disabled
  -use-auto-raise-get Get use auto raise policy, 1 for enabled 0 for disabled
  -pass-click-on-set OPT1 Set pass click on policy, 1 for enabled 0 for disabled
  -pass-click-on-get Get pass click on policy, 1 for enabled 0 for disabled
  -auto-raise-delay-set OPT1 Set the auto raise delay (Seconds)
  -auto-raise-delay-get Get the auto raise delay  (Seconds)
  -use-resist-set OPT1 Set resist policy, 1 for enabled 0 for disabled
  -use-resist-get Get use resist policy, 1 for enabled 0 for disabled
  -drag-resist-set OPT1 Set drag resist threshold (0-100)
  -drag-resist-get Get drag resist threshold
  -desk-resist-set OPT1 Set desktop resist threshold (0-100)
  -desk-resist-get Get desktop resist threshold
  -window-resist-set OPT1 Set window resist threshold (0-100)
  -window-resist-get Get window resist threshold
  -gadget-resist-set OPT1 Set gadget resist threshold (0-100)
  -gadget-resist-get Get gadget resist threshold
  -winlist-warp-while-selecting-set OPT1 Set winlist (alt+tab) warp while selecting policy
  -winlist-warp-while-selecting-get Get winlist (alt+tab) warp while selecting policy
  -winlist-warp-at-end-set OPT1 Set winlist (alt+tab) warp at end policy
  -winlist-warp-at-end-get Get winlist (alt+tab) warp at end policy
  -winlist-warp-speed-set OPT1 Set winlist warp speed (0.0-1.0)
  -winlist-warp-speed-get Get winlist warp speed
  -winlist-scroll-animate-set OPT1 Set winlist (alt+tab) scroll animate policy
  -winlist-scroll-animate-get Get winlist (alt+tab) scroll animate policy
  -winlist-scroll-speed-set OPT1 Set winlist scroll speed (0.0-1.0)
  -winlist-scroll-speed-get Get winlist scroll speed
  -winlist-list-show-iconified-set OPT1 Set whether winlist (alt+tab) will show iconfied windows
  -winlist-list-show-iconified-get Get whether winlist (alt+tab) will show iconfied windows
  -winlist-list-show-other-desk-iconified-set OPT1 Set whether winlist (alt+tab) will show iconfied windows from other desks
  -winlist-list-show-other-desk-iconified-get Get whether winlist (alt+tab) will show iconfied windows from other desks
  -winlist-list-show-other-screen-iconified-set OPT1 Set whether winlist (alt+tab) will show iconfied windows from other screens
  -winlist-list-show-other-screen-iconified-get Get whether winlist (alt+tab) will show iconfied windows from other screens
  -winlist-list-show-other-desk-windows-set OPT1 Set whether winlist (alt+tab) will show other desk windows
  -winlist-list-show-other-desk-windows-get Get winlist (alt+tab) show other desk windows
  -winlist-list-show-other-screen-windows-set OPT1 Set winlist (alt+tab) show other screen windows policy
  -winlist-list-show-other-screen-windows-get Get winlist (alt+tab) show other screen windows policy
  -winlist-list-uncover-while-selecting-set OPT1 Set whether winlist (alt+tab) will show iconified windows while selecting
  -winlist-list-uncover-while-selecting-get Get whether winlist (alt+tab) will show iconified windows while selecting
  -winlist-list-jump-desk-while-selecting-set OPT1 Set winlist (alt+tab) jump desk while selecting policy
  -winlist-list-jump-desk-while-selecting-get Get winlist (alt+tab) jump desk while selecting policy
  -winlist-pos-align-x-set OPT1 Set winlist position align for x axis (0.0-1.0)
  -winlist-pos-align-x-get Get winlist position align for x axis
  -winlist-pos-align-y-set OPT1 Set winlist position align for y axis (0.0-1.0)
  -winlist-pos-align-y-get Get winlist position align for y axis
  -winlist-pos-size-w-set OPT1 Set winlist position size width (0.0-1.0)
  -winlist-pos-size-w-get Get winlist position size width
  -winlist-pos-size-h-set OPT1 Set winlist position size height (0.0-1.0)
  -winlist-pos-size-h-get Get winlist position size height
  -winlist-pos-min-w-set OPT1 Set winlist (alt+tab) minimum width
  -winlist-pos-min-w-get Get winlist (alt+tab) minimum width
  -winlist-pos-min-h-set OPT1 Set winlist (alt+tab) minimum height
  -winlist-pos-min-h-get Get winlist (alt+tab) minimum height
  -winlist-pos-max-w-set OPT1 Set winlist (alt+tab) maximum width
  -winlist-pos-max-w-get Get winlist (alt+tab) maximum width
  -winlist-pos-max-h-set OPT1 Set winlist (alt+tab) maximum height
  -winlist-pos-max-h-get Get winlist (alt+tab) maximum height
  -kill-if-close-not-possible-set OPT1 Set whether E should kill an application if it can not close
  -kill-if-close-not-possible-get Get whether E should kill an application if it can not close
  -kill-process-set OPT1 Set whether E should kill the process directly or through x
  -kill-process-get Get whether E should kill the process directly or through x
  -kill-timer-wait-set OPT1 Set interval to wait before killing client (0.0-120.0)
  -kill-timer-wait-get Get interval to wait before killing client
  -ping-clients-set OPT1 Set whether E should ping clients
  -ping-clients-get Get whether E should ping clients
  -transition-start-set OPT1 Get the background transition used when E starts
  -transition-start-get Get the background transition used when E starts
  -transition-desk-set OPT1 Set the transition used when switching desktops
  -transition-desk-get Get the transition used when switching desktops
  -transition-change-set OPT1 Set the transition used when changing backgrounds
  -transition-change-get Get the transition used when changing backgrounds
  -focus-setting-set OPT1 Set the focus setting policy ("NONE", "NEW_WINDOW", "NEW_DIALOG", "NEW_DIALOG_IF_OWNER_FOCUSED")
  -focus-setting-get Get the focus setting policy
  -exec-action OPT1 OPT2 Executes an action given the name (OPT1) and a string of parameters (OPT2).
  -theme-list List themes and associated categories
  -theme-set OPT1 OPT2 Set theme category (OPT1) and edje file (OPT2)
  -theme-get OPT1 List the theme associated with the category OPT1
  -theme-remove OPT1 Remove the theme category OPT1
  -move-info-follows-set OPT1 Set whether the move dialog should follow the client window
  -move-info-follows-get Get whether the move dialog should follow the client window
  -resize-info-follows-set OPT1 Set whether the resize dialog should follow the client window
  -resize-info-follows-get Set whether the resize dialog should follow the client window
  -move-info-visible-set OPT1 Set whether the move dialog should be visible
  -move-info-visible-get Get whether the move dialog should be visible
  -resize-info-visible-set OPT1 Set whether the resize dialog should be visible
  -resize-info-visible-get Set whether the resize dialog should be visible
  -focus-last-focused-per-desktop-set OPT1 Set whether E should remember focused windows when switching desks
  -focus-last-focused-per-desktop-get Get whether E should remember focused windows when switching desks
  -focus-revert-on-hide-or-close-set OPT1 Set whether E will focus the last focused window when you hide or close a focused window
  -focus-revert-on-hide-or-close-get Get whether E will focus the last focused window when you hide or close a focused window
  -desktop-name-add OPT1 OPT2 OPT3 OPT4 OPT5 Add a desktop name definition. OPT1 = container no. OPT2 = zone no. OPT3 = desk_x. OPT4 = desk_y. OPT5 = desktop name
  -desktop-name-del OPT1 OPT2 OPT3 OPT4 Delete a desktop name definition. OPT1 = container no. OPT2 = zone no. OPT3 = desk_x. OPT4 = desk_y.
  -desktop-name-list List all current desktop name definitions
  -cursor-size-set OPT1 Set the E cursor size
  -cursor-size-get Get the E cursor size
  -use-e-cursor-set OPT1 Set whether E's cursor should be used
  -use-e-cursor-get Get whether E's cursor should be used
  -menu-autoscroll-margin-set OPT1 Set the distance from the edge of the screen the menu will autoscroll to
  -menu-autoscroll-margin-get Get the distance from the edge of the screen the menu will autoscroll to
  -menu-autoscroll-cursor-margin-set OPT1 Set the distance from the edge of the screen the cursor needs to be to start menu autoscrolling
  -menu-autoscroll-cursor-margin-get Get the distance from the edge of the screen the cursor needs to be to start menu autoscrolling
  -transient-move-set OPT1 Set if transients should move with it's parent
  -transient-move-get Get if transients should move with it's parent
  -transient-resize-set OPT1 Set if transients should move when it's parent resizes
  -transient-resize-get Get if transients should move when it's parent resizes
  -transient-raise-set OPT1 Set if transients should raise with it's parent
  -transient-raise-get Get if transients should raise with it's parent
  -transient-lower-set OPT1 Set if transients should lower with it's parent
  -transient-lower-get Get if transients should lower with it's parent
  -transient-layer-set OPT1 Set if transients should change layer with it's parent
  -transient-layer-get Get if transients should change layer with it's parent
  -transient-desktop-set OPT1 Set if transients should change desktop with it's parent
  -transient-desktop-get Get if transients should change desktop with it's parent
  -transient-iconify-set OPT1 Set if transients should iconify with it's parent
  -transient-iconify-get Get if transients should iconify with it's parent
  -modal-windows-set OPT1 Set if enlightenment should honour modal windows
  -modal-windows-get Get if enlightenment should honour modal windows
  -input-method-list List all available input methods
  -input-method-set OPT1 Set the current input method to 'OPT1'
  -input-method-get Get the current input method
  -window-placement-policy-set OPT1 Set the window placement policy. OPT1 = SMART, ANTIGADGET, CURSOR or MANUAL
  -window-placement-policy-get Get window placement policy
  -binding-signal-list List all signal bindings
  -binding-signal-add OPT1 OPT2 OPT3 OPT4 OPT5 OPT6 OPT7 Add an existing signal binding. OPT1 = Context, OPT2 = signal, OPT3 = source, OPT4 = modifiers, OPT5 = any modifier ok, OPT6 = action, OPT7 = action parameters
  -binding-signal-del OPT1 OPT2 OPT3 OPT4 OPT5 OPT6 OPT7 Delete an existing signal binding. OPT1 = Context, OPT2 = signal, OPT3 = source, OPT4 = modifiers, OPT5 = any modifier ok, OPT6 = action, OPT7 = action parameters
  -binding-wheel-list List all wheel bindings
  -binding-wheel-add OPT1 OPT2 OPT3 OPT4 OPT5 OPT6 OPT7 Add an existing wheel binding. OPT1 = Context, OPT2 = direction, OPT3 = z, OPT4 = modifiers, OPT5 = any modifier ok, OPT6 = action, OPT7 = action parameters
  -binding-wheel-del OPT1 OPT2 OPT3 OPT4 OPT5 OPT6 OPT7 Delete an existing wheel binding. OPT1 = Context, OPT2 = direction, OPT3 = z, OPT4 = modifiers, OPT5 = any modifier ok, OPT6 = action, OPT7 = action parameters
  -winlist-list-focus-while-selecting-set OPT1 Set winlist (alt+tab) focus while selecting policy
  -winlist-list-focus-while-selecting-get Get winlist (alt+tab) focus while selecting policy
  -winlist-list-raise-while-selecting-set OPT1 Set winlist (alt+tab) raise while selecting policy
  -winlist-list-raise-while-selecting-get Get winlist (alt+tab) raise while selecting policy
  -theme-category-list List all available theme categories
  -transition-list List all available transitions
  -action-list List all available actions
  -default-engine-set OPT1 Set the default rendering engine to OPT1 (SOFTWARE, SOFTWARE_16 or XRENDER)
  -default-engine-get Get the default rendering engine
  -engine-list List all existing rendering engines
  -engine-set OPT1 OPT2 Set the rendering engine for OPT1 to OPT2 (SOFTWARE or XRENDER)
  -engine-get OPT1 Get the rendering engine for OPT1
  -menu-eap-name-show-set OPT1 Set whether to show eapps' name field in menus
  -menu-eap-name-show-get Get whether eapps' name field is shown in menus
  -menu-eap-generic-show-set OPT1 Set whether to show eapps' generic field in menus
  -menu-eap-generic-show-get Get whether eapps' generic field is shown in menus
  -menu-eap-comment-show-set OPT1 Set whether to show eapps' comment field in menus
  -menu-eap-comment-show-get Get whether eapps' comment field is shown in menus
  -fullscreen-policy-set OPT1 Set the fullscreen policy. OPT1 = RESIZE or ZOOM
  -fullscreen-policy-get Get fullscreen policy
  -color-class-color-set OPT1 OPT2 OPT3 OPT4 OPT5 Set color_class (OPT1) r, g, b, a (OPT2-5)
  -color-class-color2-set OPT1 OPT2 OPT3 OPT4 OPT5 Set color_class (OPT1) color2 r, g, b, a (OPT2-5)
  -color-class-color3-set OPT1 OPT2 OPT3 OPT4 OPT5 Set color_class (OPT1) color3 r, g, b, a (OPT2-5)
  -color-class-color-list List color values for all set color classes
  -color-class-color2-list List color2 values for all set color classes
  -color-class-color3-list List color3 values for all set color classes
  -color-class-del OPT1 Delete color class named OPT1
  -color-class-list List all color classes used by currently loaded edje objects
  -cfgdlg-auto-apply-set OPT1 Set config dialogs to use auto apply, 1 for enabled 0 for disabled
  -cfgdlg-auto-apply-get Get config dialogs use auto apply policy, 1 for enabled 0 for disabled
  -cfgdlg-default-mode-set OPT1 Set default mode for config dialogs. OPT1 = BASIC or ADVANCED
  -cfgdlg-default-mode-get Get default mode for config dialogs
  -lock-desktop Locks the desktop
  -init-set OPT1 Set edje file (OPT1) to use for init screen
  -init-get Get the current edje file for init screen
  -font-hinting-set OPT1 Set font hinting method to use, 0 = Bytecode, 1 = Auto, 2 = None
  -font-hinting-get Get font hinting method
  -use-composite-set OPT1 Set whether composite should be used
  -use-composite-get Get whether composite should be used
  -remember-internal-windows-set OPT1 Set whether internal windows should be remembered
  -remember-internal-windows-get Get whether internal windows are remembered
  -logout Logout your user
  -hibernate Hibernate the computer
  -reboot Reboot the computer
  -suspend Suspend the computer
  -shutdown Halt (shutdown) the computer
  -desklock-use-custom-desklock-set OPT1 Set whether a custom desklock will be utilized
  -desklock-use-custom-desklock-get Get whether a custom desklock is being used
  -desklock-custom-desklock-cmd-set OPT1 Set the current custom desklock command to OPT1
  -desklock-custom-desklock-cmd-get Get the current custom desklock command
"
}