|
2014-01-24
, 13:31
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#2
|
Hi
Is it possible to execute script as ROOT from desktop icon ?
for example on N9 we could to run something like this:
Can we do the same on Jolla ?Code:Exec=sh -c "echo rootme | devel-su -c 'sh /path/to/script.sh'"
And second question, someone know what the command to show notification bar ? Or where I can check it ?
Thanks
The Following User Says Thank You to For This Useful Post: | ||
![]() |
2014-01-24
, 16:46
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#4
|
![]() |
2014-01-24
, 17:58
|
Posts: 204 |
Thanked: 443 times |
Joined on Jul 2012
@ Germany - Potsdam
|
#5
|
![]() |
2014-01-24
, 18:07
|
|
Posts: 645 |
Thanked: 519 times |
Joined on Apr 2012
@ Finland
|
#6
|
![]() |
2014-01-24
, 18:26
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#8
|
![]() |
2014-01-24
, 20:38
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#9
|
#!/bin/bash echo rootme | devel-su -c "killall sailfish-browser"
[root@localhost ~]# dbus -bash: dbus: command not found
![]() |
2014-01-24
, 20:52
|
Posts: 2,076 |
Thanked: 3,268 times |
Joined on Feb 2011
|
#10
|
Ok, Finally I tried with script, it not workAlso it not show any errors...
Here is the script:
Also I tried to find the notification commands, but also without success:Code:#!/bin/bash echo rootme | devel-su -c "killall sailfish-browser"
Any advice ?Code:[root@localhost ~]# dbus -bash: dbus: command not found
nemo ALL=(ALL) NOPASSWD: ALL
Is it possible to execute script as ROOT from desktop icon ?
for example on N9 we could to run something like this:
And second question, someone know what the command to show notification bar ? Or where I can check it ?
Thanks
Lausanne & Lyon de descente...
----------------
Schturman's home page
Schturman's repo on openrepos
RPM packaging directly on your Jolla phone.
Root & User SSH access to Jolla via WinSCP.
Root and User SSH access to Jolla via Nautilus on Linux PC.