![]() |
How to run script as ROOT from desktop icon ?
Hi
Is it possible to execute script as ROOT from desktop icon ? for example on N9 we could to run something like this: 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 |
Re: How to run script as ROOT from desktop icon ?
Quote:
|
Re: How to run script as ROOT from desktop icon ?
he is always asking before :)
|
Re: How to run script as ROOT from desktop icon ?
I still not at home and yes I always asking before :D
But I also tried just command (without script), I tried killall sailfish-browser: echo rootme | devel-su -c "killall sailfish-browser" Not worked... p.s. and what about notification command ? |
Quote:
|
Re: How to run script as ROOT from desktop icon ?
You need to set password when you activate developer mode.
|
Re: How to run script as ROOT from desktop icon ?
notifications should be same with meego
|
Re: How to run script as ROOT from desktop icon ?
Coderus thanks, will try..
I already set pass for nemo and root users.. |
Re: How to run script as ROOT from desktop icon ?
Ok, Finally I tried with script, it not work :( Also it not show any errors...
Here is the script: Code:
#!/bin/bashCode:
[root@localhost ~]# dbus |
Re: How to run script as ROOT from desktop icon ?
Quote:
edit: In /etc/sudoers you just need this line: Code:
nemo ALL=(ALL) NOPASSWD: ALL |
| All times are GMT. The time now is 13:03. |
vBulletin® Version 3.8.8