Some Computer Hints


Ubuntu Others

Multimedia

To record sound from microphone:

$ parecord file_name

To play back a sound file:

$ paplay file_name

To just speak out some text:

$ spd-say "Hello $(whoami)... How are you doing?"

To resize an image and set the new width to 520px:

$ convert "IMG*.jpg[520x]" -set filename:base "%[base]" "%[filename:base]_R.jpg"

To resize an image to half:

$ convert "IMG*.png[50%]" -set filename:base "%[base]" "%[filename:base]_H.png"