maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   X Term capability? (https://talk.maemo.org/showthread.php?t=47905)

roja 2010-03-21 03:17

X Term capability?
 
Understand in X Term, you can play with local system/filesystem, however what about over the air, e.g. make a call, send a txt, or send an email, upload a photo to online sharing website??? Can you do that in X Term???


Many thanks

jacktanner 2010-03-21 03:30

Re: X Term capability?
 
Yes.

:)

That's the short answer. The long answer is that each of these things requires you to execute a command that may be very, very cryptic, and the executable for said command may not even be installed on the N900 by default.

roja 2010-03-21 03:45

Re: X Term capability?
 
Thanks jacktanner, the reason for me to understand what kind of role X term plays in the system, and also if X term might result any security concerns, e.g can X Term be accessed remotely???

Patola 2010-03-21 04:38

Re: X Term capability?
 
The shell can be accessed remotely if you install the openssh server and set the root or the user's password.

And for doing things in the terminal you have this little useful page:

http://wiki.maemo.org/Phone_control

roja 2010-03-21 11:30

Re: X Term capability?
 
Patola, thanks for the info of controlling the phone, how about commands to send an email, copy contact details? backup??

thanks

noobmonkey 2010-03-21 11:32

Re: X Term capability?
 
Quote:

Originally Posted by roja (Post 575703)
Patola, thanks for the info of controlling the phone, how about commands to send an email, copy contact details? backup??

thanks


hmmm interesting concept - essiantly the easier way would be to developt a script (python for example) - that would be able to do the above, you could then easily remotely run these... (Providing you know the root password/ssh etc)

Crashdamage 2010-03-21 11:42

Re: X Term capability?
 
All things can be done from the terminal in Unix/Linux. But as jacktanner said "each of these things requires you to execute a command that may be very, very cryptic" (and long), so as to make typing it every time you want to execute a command impractical. That's where noobmonkey's reference to writing a script comes in handy.

KiberGus 2010-03-21 14:47

Re: X Term capability?
 
Quote:

Originally Posted by Crashdamage (Post 575717)
All things can be done from the terminal in Unix/Linux. But as jacktanner said "each of these things requires you to execute a command that may be very, very cryptic" (and long), so as to make typing it every time you want to execute a command impractical. That's where noobmonkey's reference to writing a script comes in handy.

Well, the same thing can be said about graphical interface, especially new user friendly ones.
In many cases CLI is much more practical.

roja 2010-03-21 21:12

Re: X Term capability?
 
thanks guys, i wonder for all these actions above, do you have to be root to be able to execute these commands/scripts??? if yes, then what can a user do(any tweaks?) in X Term without Root???

roja 2010-03-21 22:32

Re: X Term capability?
 
also is there a log which records all the commands you put in X Term?


All times are GMT. The time now is 23:03.

vBulletin® Version 3.8.8