maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [Announce] Dalvik resetter + Profile changer for Sailfish (https://talk.maemo.org/showthread.php?t=92545)

Schturman 2014-02-01 01:26

Re: [Announce] Dalvik resetter + Profile changer for Sailfish
 
Ok, I tried to create new version and using helper instead SUDO from meShell post.
For Alien Dalvik it work without any problem (update will be uploaded soon, but in the profile changer I have one little problem, Desktop icon & text not updated :( All commands work like expected, it change icon and create new .desktop file for silent or general when you press again on the icon. It just leave empty icon with same text on the desktop. In the version with sudo usage all work like should to work, it also updated desktop icon and text.

How to cause update of the icon on the desktop without refresh of homescreen ?

EDIT: Nevermind , got it :) (update soon)

EDIT2: No.. it still not work :(

Schturman 2014-02-01 02:39

Re: [Announce] Dalvik resetter + Profile changer for Sailfish
 
Dalvik resetter updated..

v0.3
* sudo not needed anymore (used helper from meShell post, thanks)

Boxeri 2014-02-01 08:18

Re: [Announce] Dalvik resetter + Profile changer for Sailfish
 
Nice job

seems to be working correctly

Schturman 2014-02-01 23:42

Re: [Announce] Dalvik resetter + Profile changer for Sailfish
 
Update:
v0.4 (Profile changer)
* sudo NOT required anymore, but also can't change icon on your homescreen.

jayki 2014-02-03 19:24

Re: [Announce] Dalvik resetter + Profile changer for Sailfish
 
Could you please make the source public?
I think alien resetter is just a litte "systemctl restart aliendalvik.service, but i'd like to see how exactly you make the root think, i just don't understand the steps posted on page 1 :O
Would be helpful for my app :)
Thank you :)

Schturman 2014-02-07 22:16

Re: [Announce] Dalvik resetter + Profile changer for Sailfish
 
Quote:

Originally Posted by jayki (Post 1410698)
Could you please make the source public?
I think alien resetter is just a litte "systemctl restart aliendalvik.service, but i'd like to see how exactly you make the root think, i just don't understand the steps posted on page 1 :O
Would be helpful for my app :)
Thank you :)

This is my helper file:
Code:

#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>

int main()
{
  setuid( 0 );
  system( "systemctl restart aliendalvik.service");

  return 0;
}


Schturman 2014-02-07 22:17

Re: [Announce] Dalvik resetter + Profile changer for Sailfish
 
Update:
v0.5 (Profile changer)
* sudo NOT required anymore, this version also update icon on your homescreen (thanks to Coderus).

JjyKs 2014-02-08 05:00

Re: [Announce] Dalvik resetter + Profile changer for Sailfish
 
Thanks for Dalvik reset, i was already annoyed by constant "systemctl restart aliendalvik.service"

http://i.imgur.com/VKhyeWm.png
http://i.imgur.com/Azca3NI.png

Two icons i made quickly. No idea if you wanted to stick with orange theme, but i did these to fit my personal favorite ambience :p

Edges seem to be a bit rough, but so did the icon_launcher_template file, so i think that it isn't noticeable on phone screen

TMavica 2014-02-08 06:29

Re: [Announce] Dalvik resetter + Profile changer for Sailfish
 
there is a new app in jolla habour call killdroid

Schturman 2014-02-09 11:18

Re: [Announce] Dalvik resetter + Profile changer for Sailfish
 
Quote:

Originally Posted by TMavica (Post 1411616)
there is a new app in jolla habour call killdroid

probably it's do the same like my..


All times are GMT. The time now is 14:37.

vBulletin® Version 3.8.8