Is there an terminal interface? ( for servers )

Asked by Ted Jansen

Is there an terminal interface? ( for servers )

Question information

Language:
English Edit question
Status:
Answered
For:
Audio Recorder Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
moma (osmoma) said :
#1

No. The audio-recorder program is pretty well modularized but the program is baked and compiled as a GTK3 GUI program.

Revision history for this message
moma (osmoma) said :
#2

However it's possible to control the program (the GUI) from command line. The commands are sent over DBus.

Simply start the program with -c or --command argument.

-c, --command argument sends a command to the recorder.
Valid commands are; status,start,stop,pause,show,hide and quit.
The status argument returns; 'not running','on','off' or 'paused'.

Examples:
$ audio-recorder --command start
$ audio-recorder --command hide
$ audio-recorder --command stop

$ audio-recorder --command status
$ audio-recorder --command quit

Please see:
$ audio-recorder --help

Revision history for this message
moma (osmoma) said :
#3

This is also valid:
$ audio-recorder --command start,hide

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
moma (osmoma) said :
#5

Control the recorder from command line with the --command argument, or employ GStreamer directly with the gst-launch tool. See:
http://ubuntuforums.org/showpost.php?p=9589123&postcount=4

Can you help with this problem?

Provide an answer of your own, or ask Ted Jansen for more information if necessary.

To post a message you must log in.