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