Menu

AutoStart at Login

Help
pjcrux
2011-05-20
2013-02-08
  • pjcrux

    pjcrux - 2011-05-20

    OK, been poking around the web for the last couple of days on how to get remote droid to a) start at autologin and b) minimize at startup.

    How did elementmypc get RemoteDroidServer to do start? I'm tinkering with devilspie to minimize it but so far my efforts have been for naught.

    Any ideas?

     
  • pjcrux

    pjcrux - 2011-05-20

    it would probably help to state what it is that I'm doing:

    Cd ~
    Wget http://remotedroid.net/RemoteDroidServer_v1.5.zip
    Unzip –j RemoteDroidServer_v1.5.zip

    (it will unzip 3 files, one of which is RemoteDroidServer.jar)

    Java –jar RemoteDroidServer.jar

    Initiate at startup:
    update-rc.d RemoteDroidServer.jar

    (init.d will not let me place RemoteDroidServer.jar in its subdirectory nor will it allow the script I've tried)

    chmod +x RemoteDroidServer.jar

    Minimize to background using devilspie:
    sudo apt-get install devilspie
    mkdir ~/.devilspie

    Create a file called ~/.devilspie/RemoteDroidServer.ds and paste the following
    lines:

    (if
    (is (RemoteDroidServer.jar) "RemoteDroidServer")
    (begin (minimize) )
    )

    Someone smack me on the head and tell me where I'm messing up.

     
  • brw02005

    brw02005 - 2011-05-21

    Sorry, I didn't realize that remotedroid didn't come packaged as a deb from the site.

    You have to install the java6 JRE but you can get the original  deb from here

    http://code.google.com/p/element-linux/wiki/Source_Code

    As for how the start up works it puts a desktop file containing

    Name=RemoteDroid
    Comment=Control your PC from your Droid Phone
    Icon=remotedroid.png
    Exec=java -jar /usr/share/RemoteDroid/RemoteDroidServer.jar
    Terminal=false
    Type=Application
    Categories=Utility;
    X-GNOME-Autostart-enabled=false

    In /etc/xdg/autostart

    you should be able to make your own by going to session and startup and pressing the add button.

    Hope this enough for you.  I have to do a reformat then I'll get to your sound issue.

     
  • pjcrux

    pjcrux - 2011-06-01

    Friendly bump…

     
  • brw02005

    brw02005 - 2011-06-08

    Sorry, I thought I answered your question.  You can install the deb to get it working or you can rig up the shortcut file.

     
  • pjcrux

    pjcrux - 2011-06-08

    Sorry the friendly bump was for the sound issue. You stated:

    "I have to do a reformat then I'll get to your sound issue."

     

Log in to post a comment.

MongoDB Logo MongoDB