View Single Post
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#37
Originally Posted by oneFinn View Post
les_garten,

No phone-control sh or exe in /usr/bin..? how can your script work?
It is an additional install. I think it's call phone-control or cell control or something like that. EXTREMELY useful.

N.B. == I just looked it up in appmanager just for you!

It is called phone-control.

It may be in extras-devel, not sure.

To me, you can't get along without the devel repositories.

It does a lot of stuff, you run phone-control with no modifiers and you get this for help:

Nokia-N900:~# phone-control

Usage: phone-control [OPTIONS]

Options:
--version, -v Display version
--help, -h Show this help message.
--call [number] Call the number specified
--answercall Answer an incoming call (if present)
--endcall End an ongoing call (if present)
--startapp [appname] Starts the app specified using the launcher
--imei Print the IMEI (serial) number
--imsi Print the IMSI number
--cellstrength Show cellular signal strength
--speakeron Turn loudspeaker on
--speakeroff Turn loudspeaker off
--vibrateon [pattern] Vibrate using the pattern specified
--vibrateoff [pattern] Stop vibrating the pattern specified
--listvibrapatterns Lists default vibration patterns
--ledon [pattern] Activate the LED pattern specified
--ledoff [pattern] Deactivate the LED pattern specified
--listledpatterns Lists default LED patterns
--profileset [profile] Change the current profile to the one specified
--email [address] Send an email to address specified
--syncemail Send and receive email
Adding launch to the end of these mp commands launches the mediaplyer
e.g: --mp-pause laucnh
--mp-play [/path/file] Open the file specified in the media player.
--mp-pause Pause media player playback
--mp-stop Stop media player playback
--mp-resume Resume media player playback
--mp-next Skip to the next track
--mp-prev Skip to the previous track
--notify [message] Show a one-line notification
--dialog [message] Show a multi-line dialog (requires attention)
--lock Lock the device with a lock code
--unlock Unlock the device (useful over SSH)
--keylock Lock screen and keys
--keyunlock Unlock screen and keys
--cellon Enable cellular modem
--celloff Disable cellular modem
--cellmode [2G/3G/Dual] Set cellular modem mode
--bton Turn bluetooth on
--btoff Turn bluetooth off
--wifion Turn Wi-Fi on (ifconfig up)
--wifioff Turn Wi-Fi off (ifconfig down)
--wifisignal Prints Wi-Fi signal strength
--loadwifi Load Wi-Fi kernel module (doesn't affect power)
--unloadwifi Unload Wi-Fi kernel module (doesn't affect power)
--browse [url] Open the specified url in the browser
--volume [0-100] Set volume level
--dashboard Open dashboard
--fmtxon Turn on the FMTX
--fmtxoff Turn off the FMTX
--fmtxname Set FMTX RDS station name
--fmtxinfo Set FMTX RDS info text
--capture [/path/file] Capture an image and save it to the file specified
--frontcap [/path/file] Capture an image from the front cam

You could just open an Xterm and type "apt-cache search phone-control" to see if you can find it.