|
2013-08-31
, 22:34
|
Posts: 383 |
Thanked: 344 times |
Joined on Jun 2013
@ Greece, Athens
|
#223
|
Connections { target: utils onSignalEdge: { txt.text = edge txt2.text = activeWindow if (edge == "right1") //top right swipe { if (activeWindow == "Desktop") { utils.runProgram("appMenu") } if (activeWindow == "Menu") { utils.runProgram("dbus-send --type=signal --session /com/nokia/hildon_desktop com.nokia.hildon_desktop.exit_app_view") } if (activeWindow == "Task Manager") { utils.runProgram("desktop") } else { utils.runProgram("dbus-send --type=signal --session /com/nokia/hildon_desktop com.nokia.hildon_desktop.exit_app_view") } } if (edge == "right2") //right swipe { if (activeWindow == "Desktop") { utils.runProgram("appMenu") } if (activeWindow == "Menu") { utils.runProgram("dbus-send --type=signal --session /com/nokia/hildon_desktop com.nokia.hildon_desktop.exit_app_view") } if (activeWindow == "Task Manager") { utils.runProgram("desktop") } else { utils.runProgram("dbus-send --type=signal --session /com/nokia/hildon_desktop com.nokia.hildon_desktop.exit_app_view") } } if (edge == "right3") //bottom right swipe { if (activeWindow == "Desktop") { utils.runProgram("appMenu") } if (activeWindow == "Menu") { utils.runProgram("dbus-send --type=signal --session /com/nokia/hildon_desktop com.nokia.hildon_desktop.exit_app_view") } if (activeWindow == "Task Manager") { utils.runProgram("desktop") } else { utils.runProgram("dbus-send --type=signal --session /com/nokia/hildon_desktop com.nokia.hildon_desktop.exit_app_view") } } if (edge == "left1") //top left swipe { if (activeWindow == "Desktop") { utils.runProgram("dbus-send --type=signal --session /com/nokia/hildon_desktop com.nokia.hildon_desktop.exit_app_view") } if (activeWindow == "Menu") { utils.runProgram("desktop") } if (activeWindow == "Task Manager") { utils.runProgram("appMenu") } else { utils.runProgram("dbus-send --type=signal --session /com/nokia/hildon_desktop com.nokia.hildon_desktop.exit_app_view") } } if (edge == "left2") //left swipe { if (activeWindow == "Desktop") { utils.runProgram("dbus-send --type=signal --session /com/nokia/hildon_desktop com.nokia.hildon_desktop.exit_app_view") } if (activeWindow == "Menu") { utils.runProgram("desktop") } if (activeWindow == "Task Manager") { utils.runProgram("appMenu") } else { utils.runProgram("dbus-send --type=signal --session /com/nokia/hildon_desktop com.nokia.hildon_desktop.exit_app_view") } } if (edge == "left3") //bottom left swipe { if (activeWindow == "Desktop") { utils.runProgram("dbus-send --type=signal --session /com/nokia/hildon_desktop com.nokia.hildon_desktop.exit_app_view") } if (activeWindow == "Menu") { utils.runProgram("desktop") } if (activeWindow == "Task Manager") { utils.runProgram("appMenu") } else { utils.runProgram("dbus-send --type=signal --session /com/nokia/hildon_desktop com.nokia.hildon_desktop.exit_app_view") } } if (edge == "bottom") //bottom swipe { if (activeWindow == "Task Manager") { utils.runProgram("close all running programs") } else { utils.runProgram("wmctrl -c :ACTIVE:") } } if (edge == "top") //top swipe { utils.runProgram("Hildon Status Menu") } } }
|
2013-09-22
, 20:30
|
Posts: 242 |
Thanked: 169 times |
Joined on Nov 2011
|
#224
|
Latest and last version.
Now most of the programs may have their own profile.
Close option close all osso-xterm windows and doesn't work on microb instead, better use:
Code:dbus-send --session --type=method_call --print-reply --dest="com.nokia.osso_browser" /com/nokia/osso_browser/request com.nokia.osso_browser.request string:"close_window"
|
2013-09-22
, 21:09
|
Posts: 383 |
Thanked: 344 times |
Joined on Jun 2013
@ Greece, Athens
|
#226
|
Latest and last version.
Now most of the programs may have their own profile.
Close option close all osso-xterm windows and doesn't work on microb instead, better use:
Code:dbus-send --session --type=method_call --print-reply --dest="com.nokia.osso_browser" /com/nokia/osso_browser/request com.nokia.osso_browser.close_window
|
2013-09-22
, 21:11
|
Posts: 578 |
Thanked: 994 times |
Joined on Dec 2012
|
#227
|
|
2013-09-22
, 21:34
|
Posts: 383 |
Thanked: 344 times |
Joined on Jun 2013
@ Greece, Athens
|
#228
|
|
2013-09-22
, 21:42
|
Posts: 383 |
Thanked: 344 times |
Joined on Jun 2013
@ Greece, Athens
|
#229
|
|
2013-09-22
, 21:52
|
Posts: 578 |
Thanked: 994 times |
Joined on Dec 2012
|
#230
|