Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-14-2009, 10:26 AM   #1
Registered: May 2006
Posts: 167

Rep: Reputation: 15
java midlet to ubuntu shell possible?

ok i have a programm running on my ubuntu pc called motion it is executed by typing motion into the terminal, what i would like to have is a java app (my phone supports java midlets if that helps) that when loaded logs into my server pc executes the command motion (preferably on the desktop that is running)(also it would be good if the server pc made a noise to confirm it was activated) and another java app that when run ends the motion program (ctrl+c on the terminal window)
this would mean i could turn on motion upon leaving the flat and turn it off before entry

is what im asking even remotly possible ?

i have read that theres something called telenet that allows text input into the terminal from a remote pc (though everytime i have tried to get my head around it i go crosseyed) so im guessing maybe a java telenet client with a predefined script could do it but no idea howto go about that


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java | Ubuntu 8.04 | java.awt.HeadlessException akuma_linux Linux - Newbie 3 01-06-2009 10:27 AM
Ubuntu 7.10 64bit - how to set java path to/redirect java to ? Thane Ubuntu 1 03-25-2008 05:52 PM
Java with Shell Scripts lazkyr Programming 1 07-30-2004 04:30 PM
How to use Java in a Shell Script arnneisp Programming 1 07-13-2004 02:18 AM
Java programming in a shell lolmc Programming 2 12-13-2001 08:12 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration