1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ubuntu環境でコマンドラインから画面録画をするには`recordmydesktop`を使えば良さそうという備忘メモ

Posted at

ubuntu環境でコマンドラインから画面録画をするにはrecordmydesktopを使えば良さそうという備忘メモ

リンク

https://over80.hatenadiary.jp/entry/20080802/1217693705
https://github.com/Enselic/recordmydesktop

インストール

sudo apt-get install recordmydesktop

以下のように起動して使う

# record開始
recordmydesktop output.ogg
# record停止
(ctrl+c によるSIGINTで停止)

コマンドラインから実行する場合は以下のようにすれば良さそう

# record開始
recordmydesktop output.ogg &
PROCESS_ID=$!

#(何かの処理)

# record停止
# ctrl+c によるSIGINTで停止
kill -s SIGINT ${PROCESS_ID}
# (録画処理が完了するまでしばらく待つ)
wait ${PROCESS_ID}

参考

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?