Features,
1. Pipes
2. Environment variable setting(setvar, setenv)
3. Redirection(2>,1>,> and <)
And more, that I do not remember adding.
Features,
1. Pipes
2. Environment variable setting(setvar, setenv)
3. Redirection(2>,1>,> and <)
And more, that I do not remember adding.
After a great deal of searching through Android documentation, I’ve made a simple shell script that’ll send SMS!
To send, run this script with argument 1 as the phone number(in CCIIXXXXXXX format C is for country code and I is for company code) and argument 2 as the message. Use “” if you have spaces in it.
#! /bin/bash # Send text through adb by Madura A. # https://market.android.com/details?id=org.jraf.android.nolock # Please use the above app(or similar) to keep it from locking while # using this script ADB=/opt/android-sdk-linux/platform-tools/adb $ADB shell am start -a android.intent.action.SENDTO -d sms:$1 --es sms_body "$2" --ez exit_on_sent true sleep 1 $ADB shell input keyevent 22 sleep 1 $ADB shell input keyevent 66
Change $ADB according to where you’ve installed ADB. Make sure you’ve configured ADB(obviously!).
All Oneiric users are having an ibus bug that does not let them to use any plug-in for ibus to work properly(unprocessed keys such as spaces get added to the text before the converted text). Seems it was introduced with Unity, but it is not just Unity. I am not using Unity(Kubuntu+gnome-shell), but I was affected by this bug as long as I had 11.10 installed! Now finally a fix has arrived but its not in the repositories yet(or I failed to find any). You’ll have to compile from source, hurray!
http://github.com/fujiwarat/ibus
You don’t need to git clone, you can download it in zip format. And happy compile time!
Compile notes
1. It’ll ask for gtk-doc, which I did not find in the repos. This one is a documentation generation tool but the package that’s in Ubuntu repo is just documentation about gtk+; no use in that just download the source and compile it.
2. I was not able to run ibus-setup after installing, it crashed giving a stack trace! Well I don’t like to patch around problems but hey I just want to type some Sinhala, so I just patched it with,
try:
<problematic code>
except:
pass
Make sure you have the indentation correct using tabs.
More information is available on the bug reports,