![]() |
2014-12-24
, 08:56
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#3
|
![]() |
2014-12-24
, 08:57
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#4
|
The Following User Says Thank You to coderus For This Useful Post: | ||
![]() |
2014-12-24
, 08:58
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#5
|
![]() |
2014-12-24
, 09:09
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#6
|
[Desktop Entry] Type=Application Name=More snoozes Exec=/usr/share/openrepos-moresnoozes/moresnoozes-root Icon=openrepos-moresnoozes X-Desktop-File-Install-Version=0.20
#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <unistd.h> int main() { setuid( 0 ); system( "fingerterm -e /usr/share/openrepos-moresnoozes/moresnoozes.sh"); return 0; }
[Desktop Entry] Type=Application Name=Dalvik Cleanup Terminal=false Exec=/usr/share/openrepos-dalvikcleanup/dalvikcleanup-start Icon=openrepos-dalvikcleanup X-Desktop-File-Install-Version=0.20
#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <unistd.h> int main() { setuid( 0 ); system( "fingerterm -e /usr/share/openrepos-dalvikcleanup/dalvikcleanup.sh"); return 0; }
![]() |
2014-12-24
, 09:32
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#7
|
![]() |
2014-12-24
, 09:40
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#8
|
![]() |
2014-12-24
, 09:51
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#9
|
![]() |
2014-12-26
, 19:29
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#10
|
or try in reverse way:
desktop file starting script1 in fingerterm
script1 executing root helper binary
binary executing script2 with root privileges
it should work better
I asked this question on TJC, but no answer yet... Maybe here someone can help me..
After last update I have some problem with my apps (scripts). Maybe someone can help me to fix it...
1. CAN'T get notification... if I'll run this command for example:
2. Strange way to open script via fingerterm.
When I press on the .desktop file, it should open fingerterm and start my script inside. All worked perfectly before update, but now it work in different way, see picture:
1. Start window
2. Open fingerterm window with my script
BUT #2 CAN'T came to foreground automatically, like it was before update. It just stay in this mode like you can see on the image. If you will press on the #2 it came to foreground, and when you close this window it also will close the #1 window.
Maybe problem came from python/dbus problem from the first question ?
Python that I have installed:
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.