Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [SCRIPT] Restart wazapp automatically upon crash!

    Reply
    Page 4 of 6 | Prev |   2     3   4   5     6   | Next
    godofwar424 | # 31 | 2012-07-06, 10:42 | Report

    Originally Posted by bnwg View Post
    Yes, it can start by running the script in terminal but not by tapping the custom desktop file
    Please type this into Terminal and tell me the results:

    Code:
    devel-su
    rootme
    cd /usr/share/applications/
    chmod 644 waxmppplugin.desktop
    cd /home/user/
    chmod 755 wazapp.sh
    Then open up Wazapp icon on the desktop and tell me what happens, you have to wait a little while for it to start 5-15 seconds

    If you recieve permission errors then try the commands that errored as a normal NON ROOT user.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ZogG | # 32 | 2012-07-06, 10:46 | Report

    Originally Posted by eltoffer View Post
    noup it neither worked for me :/ any idea?
    Let's be clear on that I do not know anything about desktop file. All i assume is you have some script, so all you need to run it is:
    chmod +x "/path/to/script.sh" && /path/to/./script.sh

    Edit | Forward | Quote | Quick Reply | Thanks

     
    godofwar424 | # 33 | 2012-07-06, 10:52 | Report

    I have updated the instructions in the initial post, please follow the new instructions:

    http://talk.maemo.org/showpost.php?p...66&postcount=5

    Edit | Forward | Quote | Quick Reply | Thanks

     
    bnwg | # 34 | 2012-07-06, 12:05 | Report

    Originally Posted by godofwar424 View Post
    I have updated the instructions in the initial post, please follow the new instructions:

    http://talk.maemo.org/showpost.php?p...66&postcount=5
    Thxk. It works now.

    The code can be input as non-root except the last line

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to bnwg For This Useful Post:
    godofwar424

     
    GBlaster | # 35 | 2012-07-08, 19:47 | Report

    Originally Posted by godofwar424 View Post
    End result script works great here are the two scripts created from this idea!

    INSTRUCTIONS!

    Connect your N9 to your computer via USB and copy the waxmppplugin.desktop and wazapp.sh file onto your Device.

    Now unplug the USB and open the Terminal, and type in the following. If any commands give a permissions error, try again as root.
    Getting a "can't create" with the first command line. Running as root

    Have to try as non-root, if it works keep going till you find a problem. After that try as root.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by GBlaster; 2012-07-08 at 20:09.

     
    GBlaster | # 36 | 2012-07-08, 20:13 | Report

    I wonder if it is possible to run the script using the default .desktop file?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    godofwar424 | # 37 | 2012-07-08, 23:13 | Report

    Originally Posted by GBlaster View Post
    Getting a "can't create" with the first command line. Running as root

    Have to try as non-root, if it works keep going till you find a problem. After that try as root.
    In order to move a file to the /home/user/ you need to be NON-root, and to move it to the /usr/share/applications/ you need to be Root!

    Hope that helps

    Originally Posted by GBlaster View Post
    I wonder if it is possible to run the script using the default .desktop file?
    That is the default .desktop file mate, I just edited it so that it opens the script and NOT wazapp directly

    Thats why it has the same name and icon and everything else

    Edit | Forward | Quote | Quick Reply | Thanks

     
    GBlaster | # 38 | 2012-07-09, 01:25 | Report

    Originally Posted by godofwar424 View Post
    In order to move a file to the /home/user/ you need to be NON-root, and to move it to the /usr/share/applications/ you need to be Root!

    Hope that helps



    That is the default .desktop file mate, I just edited it so that it opens the script and NOT wazapp directly

    Thats why it has the same name and icon and everything else
    Got it! Maybe you've already explained but I'm too lazy xD. Is it normal for the app to stop showing the splash screen when launched? Thanx!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    godofwar424 | # 39 | 2012-07-09, 10:46 | Report

    Originally Posted by GBlaster View Post
    Got it! Maybe you've already explained but I'm too lazy xD. Is it normal for the app to stop showing the splash screen when launched? Thanx!
    Yes, this launches wazapp directly without the splashscreen.

    Tbh the splashscreen stays on for too long sometimes and its not really a useful feature to me :P

    Edit | Forward | Quote | Quick Reply | Thanks

     
    chasetheangel | # 40 | 2012-07-09, 11:27 | Report

    @GOW424

    Just a feedback:

    I think most of the crashes on Wazapp that Im using is/was caused by switching of connections from Wifi to 3g and vice versa. Some of this crashes, the UI just hanged without any activity. I tried the script and experienced while it tried to reconnect the hanged Wazapp, it comes to a loop of 'connecting', 'online', 'offline'. Is there anyway to make the script to completely shutdown the app before restart and connect?

    BTW, I'm using the dev version. I've able to avoid the hanged Wazapp crash by staying on 3g all the time and completely disabling Wifi connection for it.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 4 of 6 | Prev |   2     3   4   5     6   | Next
vBulletin® Version 3.8.8
Normal Logout