# this is for running the AIORemote server from my Ubuntu 12.04 LTS Laptop to run with my Android device as remote control mouse pad and wireless file transfer.
I know how to create keyboard shortcut which execute .jar file but i'd like to know how to make a shortcut that would toggle (start/stop) the program either with .jar or .sh files provided by the program developer.
On the same note, is there any way that I can edit the Keyboard Shortcut message that pops up on pressing the "Super" key? I am not sure if this make any more sense but I am running Ubuntu 12.04 LTS 64bit with 3.13 mainline kernel.
kill
though.killall -STOP java
to freeze the process andkillall -CONT java
to resume it. You could also usekill
if you knew the process ID. Not sure how to toggle it, though, and I doubt that that's the answer you're looking for. How do you terminate the server? Is it a GUI or a CLI app?