the repository of RSA merge with private repository.
[platform/core/uifw/e17.git] / data / tools / enlightenment_remote
1 #!/bin/sh
2 #
3 # See the function show_help_new_tool in order to know more about this tool
4
5
6 #-------------------------------------------------------------------------------
7 #   Show help
8 #-------------------------------------------------------------------------------
9 show_help(){
10    # Actual implemented features:
11 echo -e "
12 OPTIONS:
13   -h This help
14   -help This help
15   --help This help
16   --h This help
17   --help-new Info about this tool
18
19   -restart Restart Enlightenment
20   -exit Exit Enlightenment
21
22   -module-list List all loaded modules
23   -module-enable OPT1 Enable the module named 'OPT1'
24   -module-disable OPT1 Disable the module named 'OPT1'
25   -module-load OPT1 Loads the module named 'OPT1' into memory
26   -module-unload OPT1 Unloads the module named 'OPT1' from memory
27
28   -profile-list List all existing profiles
29   -profile-add OPT1 Add profile named OPT1
30   -profile-del OPT1 Delete profile named OPT1
31   -default-profile-get Get the default configuration profile
32   -default-profile-set OPT1 Set the default configuration profile to OPT1
33
34   -desktops-get Get the number of virtual desktops
35   -desktop-show OPT1 OPT2 Show the desk at position OPT1 (x) and OPT2 (y), see -desktops-get for current count.
36   -desktop-show-by-name OPT1 Show the desk named OPT1
37   -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
38   -desktop-bg-del OPT1 OPT2 OPT3 OPT4 Delete a desktop bg definition. OPT1 = container no. OPT2 = zone no. OPT3 = desk_x. OPT4 = desk_y.
39   -desktop-bg-list List all current desktop bg definitions
40   -desktop-lock Lock the desktop
41
42   -efm-open-dir OPT1 Open dir in OPT1 in EFileManager. Opens /home/$USER if no path is given or it doesn't exist
43
44   -window-list List all window names and ids
45   -window-close OPT1 Request the close of window with xwin id OPT1
46   -window-kill OPT1 Request the kill of window with xwin id OPT1
47   -window-focus OPT1 Request the focus of window with xwin id OPT1
48   -window-iconify OPT1 Request iconify of window with xwin id OPT1
49   -window-uniconify OPT1 Request uniconify of window with xwin id OPT1
50   -window-maximize OPT1 Request maximize of window with xwin id OPT1
51   -window-unmaximize OPT1 Request unmaximize of window with xwin id OPT1
52
53   -zone-rotation OPT1 OPT2 Request rotation of zone OPT1 with angle OPT2 (in degree)
54
55   -log-enalbe Enable log
56   -log-disable Disable log
57   -log-dump OPT1 Write message to OPT1 file
58
59 Note: This is a new implementation of enlightenment_remote,
60       for more information about it see the '--help-new' option.
61 "
62 # List of available features: qdbus org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject
63 }
64
65
66 #-------------------------------------------------------------------------------
67 #   Show info about the new implementation of enlightenment_remote
68 #-------------------------------------------------------------------------------
69 show_help_new_tool(){
70    echo -e "
71 This is a new implementation of enlightenment_remote, it uses dbus calls to
72 enlightenment so it is using the new system, this tool is a front-end just like
73 the original tool, created for the ease-to-use of the users and in order to
74 maintain a bit of compatibility with possible scripts from the users too.
75
76 The original tool is not (at the date of today) not removed and you can still
77 have access to it, it is renamed to enlightenment_remote_old
78
79 This tool depends of the command dbus-send, normally included in the main 
80 dbus package
81
82 This tool is just a front-end and may be not updated, you should
83 use dbus calls instead
84
85 If you want to see the list of actual dbus calls available for Enlightenment,
86 run: qdbus org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject
87 "
88 }
89
90
91 #===  FUNCTION  ================================================================
92 #          NAME:  ERC
93 #   DESCRIPTION:  eremote callback
94 #    PARAMETERS:  interface/method call
95 #       RETURNS:  
96 #===============================================================================
97 ERC(){
98    dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1"
99 }
100
101 #===  FUNCTION  ================================================================
102 #          NAME:  ERCS
103 #   DESCRIPTION:  eremote call with string parameter
104 #    PARAMETERS:  interface/method call, string parameter
105 #       RETURNS:  
106 #===============================================================================
107 ERCS(){
108    dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" string:"$2"
109 }
110
111 #===  FUNCTION  ================================================================
112 #          NAME:  ERGS 
113 #   DESCRIPTION:  Get a (single) value (string)
114 #    PARAMETERS:  interface/method call
115 #       RETURNS:  value (string)
116 #===============================================================================
117 ERGS(){
118    result="$( dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" )"
119    echo $result
120    unset result
121 }
122
123 #===  FUNCTION  ================================================================
124 #          NAME:  ERGM
125 #   DESCRIPTION:  Get a (multiple) values (string)
126 #    PARAMETERS:  interface/method call
127 #       RETURNS:  values (string)
128 #===============================================================================
129 ERGM(){
130    result="$( dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" )"
131    result="${result##*[}"
132    result="${result%%]*}"
133    for value in $result
134    do
135       echo -n "$value "
136    done
137    echo ""
138    unset result value
139 }
140
141 #===  FUNCTION  ================================================================
142 #          NAME:  ERGMI
143 #   DESCRIPTION:  Get a (multiple) values (integer)
144 #    PARAMETERS:  interface/method call
145 #       RETURNS:  values (integer)
146 #===============================================================================
147 ERGMI(){
148    result="$( dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" )"
149    result="$( echo "$result" | sed 's/int32//g' )"
150    for value in $result
151    do
152       echo -n "$value "
153    done
154    echo ""
155    unset result value
156 }
157
158 #===  FUNCTION  ================================================================
159 #          NAME:  ERGMST
160 #   DESCRIPTION:  Get a (multiple) struct value
161 #    PARAMETERS:  interface/method call
162 #       RETURNS:  struct values
163 #===============================================================================
164 ERGMST(){
165    result="$( dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" )"
166    result="${result##*array \[}"
167    result="${result%%]*}"
168    result="$( echo "$result" | sed -e 's/int32//g' -e 's/struct {//g' )"
169    for value in $result
170    do
171       if test "$value" = "}"; then
172          echo
173       else
174          echo -n "$value "
175       fi
176    done
177    echo ""
178    unset result value
179 }
180
181 #===  FUNCTION  ================================================================
182 #          NAME:  ERCIIIIS
183 #   DESCRIPTION:  eremote call with int, int, int, int, string parameter
184 #    PARAMETERS:  interface/method call, int, int, int, int, string
185 #       RETURNS:  
186 #===============================================================================
187 ERCIIIIS(){
188    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"
189 }
190
191 #===  FUNCTION  ================================================================
192 #          NAME:  ERCIIII
193 #   DESCRIPTION:  eremote call with int, int, int, int parameter
194 #    PARAMETERS:  interface/method call, int, int, int, int
195 #       RETURNS:  
196 #===============================================================================
197 ERCIIII(){
198    dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" int32:"$2" int32:"$3" int32:"$4" int32:"$5"
199 }
200
201 #===  FUNCTION  ================================================================
202 #          NAME:  ERCII
203 #   DESCRIPTION:  eremote call with int, int parameter
204 #    PARAMETERS:  interface/method call, int, int
205 #       RETURNS:  
206 #===============================================================================
207 ERCII(){
208    dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" int32:"$2" int32:"$3"
209 }
210
211 #===  FUNCTION  ================================================================
212 #          NAME:  ERCI
213 #   DESCRIPTION:  eremote call with int parameter
214 #    PARAMETERS:  interface/method call, int
215 #       RETURNS:  
216 #===============================================================================
217 ERCI(){
218    dbus-send --print-reply=literal --dest=org.enlightenment.wm.service /org/enlightenment/wm/RemoteObject "$1" int32:"$2"
219 }
220
221 #-------------------------------------------------------------------------------
222 #   E Lock
223 #-------------------------------------------------------------------------------
224 er_lock(){
225    ERC org.enlightenment.wm.Desktop.Lock
226 }
227
228 #-------------------------------------------------------------------------------
229 #   E Restart
230 #-------------------------------------------------------------------------------
231 er_restart(){
232    ERC org.enlightenment.wm.Core.Restart
233    sleep 6
234 }
235
236 #-------------------------------------------------------------------------------
237 #   E Logout
238 #-------------------------------------------------------------------------------
239 er_exit(){
240    ERC org.enlightenment.wm.Core.Shutdown
241 }
242
243 #-------------------------------------------------------------------------------
244 #   E Module Disable
245 #-------------------------------------------------------------------------------
246 er_module_disable(){
247    ERCS org.enlightenment.wm.Module.Disable "$2"
248 }
249
250 #-------------------------------------------------------------------------------
251 #   E Module Enable
252 #-------------------------------------------------------------------------------
253 er_module_enable(){
254    ERCS org.enlightenment.wm.Module.Enable "$2"
255 }
256
257 #-------------------------------------------------------------------------------
258 #   E Module List
259 #-------------------------------------------------------------------------------
260 er_module_list(){
261    echo 'Module -- Status'
262    ERGMST org.enlightenment.wm.Module.List | \
263       sed -e 's/ 1/ -- Enabled/' -e 's/ 0/ -- Disabled/'
264 }
265 #-------------------------------------------------------------------------------
266 #   E Module Load
267 #-------------------------------------------------------------------------------
268 er_module_load(){
269    ERCS org.enlightenment.wm.Module.Load "$2"
270 }
271
272 #-------------------------------------------------------------------------------
273 #   E Module Unload
274 #-------------------------------------------------------------------------------
275 er_module_unload(){
276    ERCS org.enlightenment.wm.Module.Unload "$2"
277 }
278
279 #-------------------------------------------------------------------------------
280 #   E Profile Add
281 #-------------------------------------------------------------------------------
282 er_profile_add(){
283    ERCS org.enlightenment.wm.Profile.Add "$2"
284 }
285
286 #-------------------------------------------------------------------------------
287 #   E Profile Delete
288 #-------------------------------------------------------------------------------
289 er_profile_del(){
290    ERCS org.enlightenment.wm.Profile.Delete "$2"
291 }
292
293 #-------------------------------------------------------------------------------
294 #   E Profile List
295 #-------------------------------------------------------------------------------
296 er_profile_list(){
297    ERGM org.enlightenment.wm.Profile.List
298 }
299
300 #-------------------------------------------------------------------------------
301 #   E Profile Get
302 #-------------------------------------------------------------------------------
303 er_default_profile_get(){
304    ERGS org.enlightenment.wm.Profile.Get
305 }
306
307
308 #-------------------------------------------------------------------------------
309 #   E Profile Set
310 #-------------------------------------------------------------------------------
311 er_default_profile_set(){
312    ERCS org.enlightenment.wm.Profile.Set "$2"
313 }
314
315
316 #-------------------------------------------------------------------------------
317 #   E Virtual desktop get
318 #-------------------------------------------------------------------------------
319 er_desktop_get(){
320    ERGMI org.enlightenment.wm.Desktop.GetVirtualCount
321 }
322
323 #-------------------------------------------------------------------------------
324 #   E Virtual show
325 #-------------------------------------------------------------------------------
326 er_desktop_show(){
327    ERCII org.enlightenment.wm.Desktop.Show "$2" "$3"
328 }
329
330 #-------------------------------------------------------------------------------
331 #   E Virtual show by name
332 #-------------------------------------------------------------------------------
333 er_desktop_show_by_name(){
334    ERCS org.enlightenment.wm.Desktop.ShowByName "$2"
335 }
336
337 #-------------------------------------------------------------------------------
338 #   E Desktop background add
339 #-------------------------------------------------------------------------------
340 er_desktop_bg_add(){
341    ERCIIIIS org.enlightenment.wm.Desktop.Background.Add "$2" "$3" "$4" "$5" "$6"
342 }
343
344 #-------------------------------------------------------------------------------
345 #   E Desktop background del
346 #-------------------------------------------------------------------------------
347 er_desktop_bg_del(){
348    ERCIIII org.enlightenment.wm.Desktop.Background.Del "$2" "$3" "$4" "$5"
349 }
350
351 #-------------------------------------------------------------------------------
352 #   E Desktop background list
353 #-------------------------------------------------------------------------------
354 er_desktop_bg_list(){
355    ERGMST org.enlightenment.wm.Desktop.Background.List
356 }
357
358 #-------------------------------------------------------------------------------
359 #   E FileManager open dir
360 #-------------------------------------------------------------------------------
361 er_efm_open_dir(){
362         if [ $# -lt 2 ] || [ ! -e "$2" ]; then
363                 EFM_DIR="/home/$USER"
364         else
365                 EFM_DIR="$2"
366         fi
367         
368    dbus-send --session --type=method_call --print-reply=literal --dest=org.enlightenment.FileManager /org/enlightenment/FileManager org.enlightenment.FileManager.OpenDirectory "string:$EFM_DIR"
369 }
370
371 #-------------------------------------------------------------------------------
372 #   E Window list
373 #-------------------------------------------------------------------------------
374 er_window_list(){
375    echo 'Window -- ID'
376    ERGMST org.enlightenment.wm.Window.List
377 }
378
379 #-------------------------------------------------------------------------------
380 #   E Window close
381 #-------------------------------------------------------------------------------
382 er_window_close(){
383    ERCI org.enlightenment.wm.Window.Close "$2"
384 }
385
386 #-------------------------------------------------------------------------------
387 #   E Window kill
388 #-------------------------------------------------------------------------------
389 er_window_kill(){
390    ERCI org.enlightenment.wm.Window.Kill "$2"
391 }
392
393 #-------------------------------------------------------------------------------
394 #   E Window focus
395 #-------------------------------------------------------------------------------
396 er_window_focus(){
397    ERCI org.enlightenment.wm.Window.Focus "$2"
398 }
399
400 #-------------------------------------------------------------------------------
401 #   E Window iconify
402 #-------------------------------------------------------------------------------
403 er_window_iconify(){
404    ERCI org.enlightenment.wm.Window.Iconify "$2"
405 }
406
407 #-------------------------------------------------------------------------------
408 #   E Window uniconify
409 #-------------------------------------------------------------------------------
410 er_window_uniconify(){
411    ERCI org.enlightenment.wm.Window.Uniconify "$2"
412 }
413
414 #-------------------------------------------------------------------------------
415 #   E Window maximize
416 #-------------------------------------------------------------------------------
417 er_window_maximize(){
418    ERCI org.enlightenment.wm.Window.Maximize "$2"
419 }
420
421 #-------------------------------------------------------------------------------
422 #   E Window unmaximize
423 #-------------------------------------------------------------------------------
424 er_window_unmaximize(){
425    ERCI org.enlightenment.wm.Window.Unmaximize "$2"
426 }
427
428 #-------------------------------------------------------------------------------
429 #   E Zone rotation
430 #-------------------------------------------------------------------------------
431 er_zone_rotation(){
432    ERCII org.enlightenment.wm.Zone.Rotation "$2" "$3"
433 }
434
435 #-------------------------------------------------------------------------------
436 #   E Log enable
437 #-------------------------------------------------------------------------------
438 er_log_enable(){
439    ERC org.enlightenment.wm.Log.Enable
440 }
441
442 #-------------------------------------------------------------------------------
443 #   E Log disable
444 #-------------------------------------------------------------------------------
445 er_log_disable(){
446    ERC org.enlightenment.wm.Log.Disable
447 }
448
449 #-------------------------------------------------------------------------------
450 #   E Log dump
451 #-------------------------------------------------------------------------------
452 er_log_dump(){
453    ERCS org.enlightenment.wm.Log.Dump "$2"
454 }
455
456
457 #===  FUNCTION  ================================================================
458 #          NAME:  Main
459 #   DESCRIPTION:  We start there and go to the desired option
460 #    PARAMETERS:  get options and use them
461 #       RETURNS:  just finishes and exit
462 #===============================================================================
463
464 if ! type dbus-send > /dev/null 2>&1; then
465    echo "E: dbus-send command not found, please install it first"
466    exit 1
467 fi
468
469 case "$1" in
470    --help-new)
471       show_help_new_tool
472    ;;
473    -restart)
474       er_restart
475    ;;
476    -exit)
477       er_exit 
478    ;;
479    -module-list)
480       er_module_list
481    ;;
482    -module-enable)
483       er_module_enable "$@"
484    ;;
485    -module-disable)
486       er_module_disable "$@"
487    ;;
488    -module-load)
489       er_module_load "$@"
490    ;;
491    -module-unload)
492       er_module_unload "$@"
493    ;;
494    -profile-add)
495       er_profile_add "$@"
496    ;;
497    -profile-del)
498       er_profile_del "$@"
499    ;;
500    -profile-list)
501       er_profile_list
502    ;;
503    -default-profile-get)
504       er_default_profile_get
505    ;;
506    -default-profile-set)
507       er_default_profile_set "$@"
508    ;;
509    -desks-get|-desktops-get)
510       er_desktop_get
511    ;;
512    -desktop-lock)
513       er_lock
514    ;;
515    -desktop-show)
516       er_desktop_show "$@"
517    ;;
518    -desktop-show-by-name)
519       er_desktop_show_by_name "$@"
520    ;;
521    -desktop-bg-add)
522       er_desktop_bg_add "$@"
523    ;;
524    -desktop-bg-del)
525       er_desktop_bg_del "$@"
526    ;;
527    -desktop-bg-list)
528       er_desktop_bg_list
529    ;;
530    -efm-open-dir)
531       er_efm_open_dir "$@"
532    ;;
533    -window-list)
534       er_window_list
535    ;;
536    -window-close)
537       er_window_close "$@"
538    ;;
539    -window-kill)
540       er_window_kill "$@"
541    ;;
542    -window-focus)
543       er_window_focus "$@"
544    ;;
545    -window-iconify)
546       er_window_iconify "$@"
547    ;;
548    -window-uniconify)
549       er_window_uniconify "$@"
550    ;;
551    -window-maximize)
552       er_window_maximize "$@"
553    ;;
554    -window-unmaximize)
555       er_window_unmaximize "$@"
556    ;;
557    -zone-rotation)
558       er_zone_rotation "$@"
559    ;;
560    -log-enable)
561       er_log_enable
562    ;;
563    -log-disable)
564       er_log_disable
565    ;;
566    -log-dump)
567       er_log_dump "$@"
568    ;;
569
570    # This entry needs to be always the last option of the list (*)
571    -h|-help|--help|--h|*)
572       show_help
573    ;;
574 esac
575
576
577 ################################################################################
578 ################################################################################
579 ################################################################################
580 ignore_this(){
581 # IGNORE THIS SECTION
582 # think at it just like as a TODO list or a list where are listed all the old options of enlightenment_remote
583 # Remember that the elements of this next list are removed every time they are implemented on this tool
584
585 echo "
586   -module-list List all loaded modules
587   -default-bg-set OPT1 Set the default background edje to the desktop background in the file 'OPT1' (must be a full path)
588   -default-bg-get Get the default background edje file path
589   -font-available-list List all available fonts
590   -font-apply Apply font settings changes
591   -font-fallback-append OPT1 Append OPT1 to the fontset
592   -font-fallback-prepend OPT1 Prepend OPT1 to the fontset
593   -font-fallback-list List the fallback fonts in order
594   -font-fallback-remove OPT1 Remove OPT1 from the fontset
595   -font-default-set OPT1 OPT2 OPT3 Set textclass (OPT1) font (OPT2) and size (OPT3)
596   -font-default-get OPT1 List the default font associated with OPT1
597   -font-default-remove OPT1 Remove the default text class OPT1
598   -font-default-list List all configured text classes
599   -font-fallback-clear Clear list of fallback fonts
600   -lang-list List all available languages
601   -lang-set OPT1 Set the current language to 'OPT1'
602   -lang-get Get the current language
603   -dirs-list OPT1 List the directory of type specified by 'OPT1', try 'themes'
604   -dirs-list-append OPT1 OPT2 Append the directory of type specified by 'OPT2' to the list in 'OPT1'
605   -dirs-list-prepend OPT1 OPT2 Prepend the directory of type specified by 'OPT2' to the list in 'OPT1'
606   -dirs-list-remove OPT1 OPT2 Remove the directory of type specified by 'OPT2' from the list in 'OPT1'
607   -framerate-set OPT1 Set the animation framerate (fps)
608   -framerate-get Get the animation framerate (fps)
609   -menus-scroll-speed-set OPT1 Set the scroll speed of menus (pixels/sec)
610   -menus-scroll-speed-get Get the scroll speed of menus (pixels/sec)
611   -focus-policy-set OPT1 Set the focus policy. OPT1 = CLICK, MOUSE or SLOPPY
612   -focus-policy-get Get focus policy
613   -edge-flip-dragging-set OPT1 Set the edge flip while dragging policy flag (0/1)
614   -edge-flip-dragging-get Get the edge flip while dragging policy flag
615   -font-cache-set OPT1 Set the font cache size (Kb)
616   -font-cache-get Get the speculative font cache size (Kb)
617   -image-cache-set OPT1 Set the image cache size (Kb)
618   -image-cache-get Get the speculative image cache size (Kb)
619   -edje-cache-set OPT1 Set the edje cache size (items)
620   -edje-cache-get Get the speculative edje cache size (items)
621   -edje-collection-cache-set OPT1 Set the edje collection cache size (items)
622   -edje-collection-cache-get Get the speculative edje collection cache size (items)
623   -menus-fast-move-threshold-set OPT1 Set the mouse speed (pixels/second) that is considered a 'fast move'
624   -menus-fast-move-threshold-get Get the mouse speed (pixels/second) that is considered a 'fast move'
625   -menus-click-drag-timeout-set OPT1 Set the time (in sec) between a mouse press and release that will keep the menu up anyway
626   -menus-click-drag-timeout-get Get the time (in sec) between a mouse press and release that will keep the menu up anyway
627   -border-shade-animate-set OPT1 Set the shading animation flag (0/1)
628   -border-shade-animate-get Get the shading animation flag (0/1)
629   -border-shade-transition-set OPT1 Set the shading animation algorithm (0, 1, 2 or 3)
630   -border-shade-transition-get Get the shading animation algorithm (0, 1, 2 or 3)
631   -border-shade-speed-set OPT1 Set the shading speed (pixels/sec)
632   -border-shade-speed-get Get the shading speed (pixels/sec)
633   -desks-set OPT1 OPT2 Set the number of virtual desktops (X x Y desks OPT1 = X, OPT2 = Y)
634   -maximize-policy-set OPT1 Set the maximize policy. OPT1 = FULLSCREEN, SMART, EXPAND or FILL
635   -maximize-policy-get Get maximize policy
636   -maximize-manipulation-set OPT1 Allow manipulation, 1 for enabled 0 for disabled
637   -maximize-manipulation-get Get manipulation, 1 for enabled 0 for disabled
638   -binding-mouse-list List all mouse bindings
639   -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
640   -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
641   -binding-key-list List all key bindings
642   -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
643   -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
644   -always-click-to-raise-set OPT1 Set the always click to raise policy, 1 for enabled 0 for disabled
645   -always-click-to-raise-get Get the always click to raise policy, 1 for enabled 0 for disabled
646   -always-click-to-focus-set OPT1 Set the always click to focus policy, 1 for enabled 0 for disabled
647   -always-click-to-focus-get Get the always click to focus policy, 1 for enabled 0 for disabled
648   -use-auto-raise-set OPT1 Set use auto raise policy, 1 for enabled 0 for disabled
649   -use-auto-raise-get Get use auto raise policy, 1 for enabled 0 for disabled
650   -pass-click-on-set OPT1 Set pass click on policy, 1 for enabled 0 for disabled
651   -pass-click-on-get Get pass click on policy, 1 for enabled 0 for disabled
652   -auto-raise-delay-set OPT1 Set the auto raise delay (Seconds)
653   -auto-raise-delay-get Get the auto raise delay  (Seconds)
654   -use-resist-set OPT1 Set resist policy, 1 for enabled 0 for disabled
655   -use-resist-get Get use resist policy, 1 for enabled 0 for disabled
656   -drag-resist-set OPT1 Set drag resist threshold (0-100)
657   -drag-resist-get Get drag resist threshold
658   -desk-resist-set OPT1 Set desktop resist threshold (0-100)
659   -desk-resist-get Get desktop resist threshold
660   -window-resist-set OPT1 Set window resist threshold (0-100)
661   -window-resist-get Get window resist threshold
662   -gadget-resist-set OPT1 Set gadget resist threshold (0-100)
663   -gadget-resist-get Get gadget resist threshold
664   -winlist-warp-while-selecting-set OPT1 Set winlist (alt+tab) warp while selecting policy
665   -winlist-warp-while-selecting-get Get winlist (alt+tab) warp while selecting policy
666   -winlist-warp-at-end-set OPT1 Set winlist (alt+tab) warp at end policy
667   -winlist-warp-at-end-get Get winlist (alt+tab) warp at end policy
668   -winlist-warp-speed-set OPT1 Set winlist warp speed (0.0-1.0)
669   -winlist-warp-speed-get Get winlist warp speed
670   -winlist-scroll-animate-set OPT1 Set winlist (alt+tab) scroll animate policy
671   -winlist-scroll-animate-get Get winlist (alt+tab) scroll animate policy
672   -winlist-scroll-speed-set OPT1 Set winlist scroll speed (0.0-1.0)
673   -winlist-scroll-speed-get Get winlist scroll speed
674   -winlist-list-show-iconified-set OPT1 Set whether winlist (alt+tab) will show iconfied windows
675   -winlist-list-show-iconified-get Get whether winlist (alt+tab) will show iconfied windows
676   -winlist-list-show-other-desk-iconified-set OPT1 Set whether winlist (alt+tab) will show iconfied windows from other desks
677   -winlist-list-show-other-desk-iconified-get Get whether winlist (alt+tab) will show iconfied windows from other desks
678   -winlist-list-show-other-screen-iconified-set OPT1 Set whether winlist (alt+tab) will show iconfied windows from other screens
679   -winlist-list-show-other-screen-iconified-get Get whether winlist (alt+tab) will show iconfied windows from other screens
680   -winlist-list-show-other-desk-windows-set OPT1 Set whether winlist (alt+tab) will show other desk windows
681   -winlist-list-show-other-desk-windows-get Get winlist (alt+tab) show other desk windows
682   -winlist-list-show-other-screen-windows-set OPT1 Set winlist (alt+tab) show other screen windows policy
683   -winlist-list-show-other-screen-windows-get Get winlist (alt+tab) show other screen windows policy
684   -winlist-list-uncover-while-selecting-set OPT1 Set whether winlist (alt+tab) will show iconified windows while selecting
685   -winlist-list-uncover-while-selecting-get Get whether winlist (alt+tab) will show iconified windows while selecting
686   -winlist-list-jump-desk-while-selecting-set OPT1 Set winlist (alt+tab) jump desk while selecting policy
687   -winlist-list-jump-desk-while-selecting-get Get winlist (alt+tab) jump desk while selecting policy
688   -winlist-pos-align-x-set OPT1 Set winlist position align for x axis (0.0-1.0)
689   -winlist-pos-align-x-get Get winlist position align for x axis
690   -winlist-pos-align-y-set OPT1 Set winlist position align for y axis (0.0-1.0)
691   -winlist-pos-align-y-get Get winlist position align for y axis
692   -winlist-pos-size-w-set OPT1 Set winlist position size width (0.0-1.0)
693   -winlist-pos-size-w-get Get winlist position size width
694   -winlist-pos-size-h-set OPT1 Set winlist position size height (0.0-1.0)
695   -winlist-pos-size-h-get Get winlist position size height
696   -winlist-pos-min-w-set OPT1 Set winlist (alt+tab) minimum width
697   -winlist-pos-min-w-get Get winlist (alt+tab) minimum width
698   -winlist-pos-min-h-set OPT1 Set winlist (alt+tab) minimum height
699   -winlist-pos-min-h-get Get winlist (alt+tab) minimum height
700   -winlist-pos-max-w-set OPT1 Set winlist (alt+tab) maximum width
701   -winlist-pos-max-w-get Get winlist (alt+tab) maximum width
702   -winlist-pos-max-h-set OPT1 Set winlist (alt+tab) maximum height
703   -winlist-pos-max-h-get Get winlist (alt+tab) maximum height
704   -kill-if-close-not-possible-set OPT1 Set whether E should kill an application if it can not close
705   -kill-if-close-not-possible-get Get whether E should kill an application if it can not close
706   -kill-process-set OPT1 Set whether E should kill the process directly or through x
707   -kill-process-get Get whether E should kill the process directly or through x
708   -kill-timer-wait-set OPT1 Set interval to wait before killing client (0.0-120.0)
709   -kill-timer-wait-get Get interval to wait before killing client
710   -ping-clients-set OPT1 Set whether E should ping clients
711   -ping-clients-get Get whether E should ping clients
712   -transition-start-set OPT1 Get the background transition used when E starts
713   -transition-start-get Get the background transition used when E starts
714   -transition-desk-set OPT1 Set the transition used when switching desktops
715   -transition-desk-get Get the transition used when switching desktops
716   -transition-change-set OPT1 Set the transition used when changing backgrounds
717   -transition-change-get Get the transition used when changing backgrounds
718   -focus-setting-set OPT1 Set the focus setting policy ("NONE", "NEW_WINDOW", "NEW_DIALOG", "NEW_DIALOG_IF_OWNER_FOCUSED")
719   -focus-setting-get Get the focus setting policy
720   -exec-action OPT1 OPT2 Executes an action given the name (OPT1) and a string of parameters (OPT2).
721   -theme-list List themes and associated categories
722   -theme-set OPT1 OPT2 Set theme category (OPT1) and edje file (OPT2)
723   -theme-get OPT1 List the theme associated with the category OPT1
724   -theme-remove OPT1 Remove the theme category OPT1
725   -move-info-follows-set OPT1 Set whether the move dialog should follow the client window
726   -move-info-follows-get Get whether the move dialog should follow the client window
727   -resize-info-follows-set OPT1 Set whether the resize dialog should follow the client window
728   -resize-info-follows-get Set whether the resize dialog should follow the client window
729   -move-info-visible-set OPT1 Set whether the move dialog should be visible
730   -move-info-visible-get Get whether the move dialog should be visible
731   -resize-info-visible-set OPT1 Set whether the resize dialog should be visible
732   -resize-info-visible-get Set whether the resize dialog should be visible
733   -focus-last-focused-per-desktop-set OPT1 Set whether E should remember focused windows when switching desks
734   -focus-last-focused-per-desktop-get Get whether E should remember focused windows when switching desks
735   -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
736   -focus-revert-on-hide-or-close-get Get whether E will focus the last focused window when you hide or close a focused window
737   -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
738   -desktop-name-del OPT1 OPT2 OPT3 OPT4 Delete a desktop name definition. OPT1 = container no. OPT2 = zone no. OPT3 = desk_x. OPT4 = desk_y.
739   -desktop-name-list List all current desktop name definitions
740   -cursor-size-set OPT1 Set the E cursor size
741   -cursor-size-get Get the E cursor size
742   -use-e-cursor-set OPT1 Set whether E's cursor should be used
743   -use-e-cursor-get Get whether E's cursor should be used
744   -menu-autoscroll-margin-set OPT1 Set the distance from the edge of the screen the menu will autoscroll to
745   -menu-autoscroll-margin-get Get the distance from the edge of the screen the menu will autoscroll to
746   -menu-autoscroll-cursor-margin-set OPT1 Set the distance from the edge of the screen the cursor needs to be to start menu autoscrolling
747   -menu-autoscroll-cursor-margin-get Get the distance from the edge of the screen the cursor needs to be to start menu autoscrolling
748   -transient-move-set OPT1 Set if transients should move with it's parent
749   -transient-move-get Get if transients should move with it's parent
750   -transient-resize-set OPT1 Set if transients should move when it's parent resizes
751   -transient-resize-get Get if transients should move when it's parent resizes
752   -transient-raise-set OPT1 Set if transients should raise with it's parent
753   -transient-raise-get Get if transients should raise with it's parent
754   -transient-lower-set OPT1 Set if transients should lower with it's parent
755   -transient-lower-get Get if transients should lower with it's parent
756   -transient-layer-set OPT1 Set if transients should change layer with it's parent
757   -transient-layer-get Get if transients should change layer with it's parent
758   -transient-desktop-set OPT1 Set if transients should change desktop with it's parent
759   -transient-desktop-get Get if transients should change desktop with it's parent
760   -transient-iconify-set OPT1 Set if transients should iconify with it's parent
761   -transient-iconify-get Get if transients should iconify with it's parent
762   -modal-windows-set OPT1 Set if enlightenment should honour modal windows
763   -modal-windows-get Get if enlightenment should honour modal windows
764   -input-method-list List all available input methods
765   -input-method-set OPT1 Set the current input method to 'OPT1'
766   -input-method-get Get the current input method
767   -window-placement-policy-set OPT1 Set the window placement policy. OPT1 = SMART, ANTIGADGET, CURSOR or MANUAL
768   -window-placement-policy-get Get window placement policy
769   -binding-signal-list List all signal bindings
770   -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
771   -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
772   -binding-wheel-list List all wheel bindings
773   -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
774   -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
775   -winlist-list-focus-while-selecting-set OPT1 Set winlist (alt+tab) focus while selecting policy
776   -winlist-list-focus-while-selecting-get Get winlist (alt+tab) focus while selecting policy
777   -winlist-list-raise-while-selecting-set OPT1 Set winlist (alt+tab) raise while selecting policy
778   -winlist-list-raise-while-selecting-get Get winlist (alt+tab) raise while selecting policy
779   -theme-category-list List all available theme categories
780   -transition-list List all available transitions
781   -action-list List all available actions
782   -default-engine-set OPT1 Set the default rendering engine to OPT1 (SOFTWARE, SOFTWARE_16 or XRENDER)
783   -default-engine-get Get the default rendering engine
784   -engine-list List all existing rendering engines
785   -engine-set OPT1 OPT2 Set the rendering engine for OPT1 to OPT2 (SOFTWARE or XRENDER)
786   -engine-get OPT1 Get the rendering engine for OPT1
787   -menu-eap-name-show-set OPT1 Set whether to show eapps' name field in menus
788   -menu-eap-name-show-get Get whether eapps' name field is shown in menus
789   -menu-eap-generic-show-set OPT1 Set whether to show eapps' generic field in menus
790   -menu-eap-generic-show-get Get whether eapps' generic field is shown in menus
791   -menu-eap-comment-show-set OPT1 Set whether to show eapps' comment field in menus
792   -menu-eap-comment-show-get Get whether eapps' comment field is shown in menus
793   -fullscreen-policy-set OPT1 Set the fullscreen policy. OPT1 = RESIZE or ZOOM
794   -fullscreen-policy-get Get fullscreen policy
795   -color-class-color-set OPT1 OPT2 OPT3 OPT4 OPT5 Set color_class (OPT1) r, g, b, a (OPT2-5)
796   -color-class-color2-set OPT1 OPT2 OPT3 OPT4 OPT5 Set color_class (OPT1) color2 r, g, b, a (OPT2-5)
797   -color-class-color3-set OPT1 OPT2 OPT3 OPT4 OPT5 Set color_class (OPT1) color3 r, g, b, a (OPT2-5)
798   -color-class-color-list List color values for all set color classes
799   -color-class-color2-list List color2 values for all set color classes
800   -color-class-color3-list List color3 values for all set color classes
801   -color-class-del OPT1 Delete color class named OPT1
802   -color-class-list List all color classes used by currently loaded edje objects
803   -cfgdlg-auto-apply-set OPT1 Set config dialogs to use auto apply, 1 for enabled 0 for disabled
804   -cfgdlg-auto-apply-get Get config dialogs use auto apply policy, 1 for enabled 0 for disabled
805   -cfgdlg-default-mode-set OPT1 Set default mode for config dialogs. OPT1 = BASIC or ADVANCED
806   -cfgdlg-default-mode-get Get default mode for config dialogs
807   -lock-desktop Locks the desktop
808   -init-set OPT1 Set edje file (OPT1) to use for init screen
809   -init-get Get the current edje file for init screen
810   -font-hinting-set OPT1 Set font hinting method to use, 0 = Bytecode, 1 = Auto, 2 = None
811   -font-hinting-get Get font hinting method
812   -use-composite-set OPT1 Set whether composite should be used
813   -use-composite-get Get whether composite should be used
814   -remember-internal-windows-set OPT1 Set whether internal windows should be remembered
815   -remember-internal-windows-get Get whether internal windows are remembered
816   -logout Logout your user
817   -hibernate Hibernate the computer
818   -reboot Reboot the computer
819   -suspend Suspend the computer
820   -shutdown Halt (shutdown) the computer
821   -desklock-use-custom-desklock-set OPT1 Set whether a custom desklock will be utilized
822   -desklock-use-custom-desklock-get Get whether a custom desklock is being used
823   -desklock-custom-desklock-cmd-set OPT1 Set the current custom desklock command to OPT1
824   -desklock-custom-desklock-cmd-get Get the current custom desklock command
825 "
826 }
827
828
829
830
831
832