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