コンテンツにスキップ

Prey

提供: ArchWiki
2022年1月12日 (水) 12:37時点におけるKusanaginoturugi (トーク | 投稿記録)による版 (バグ: 削除)
この記事あるいはセクションは翻訳の途中です。
ノート: 2019-03-01 以来更新されていない (議論: トーク:Prey#)

Prey はコンピュータが盗まれたときに位置を確認することができる bash スクリプトセットです。

このガイドでは Prey をインストールする方法を説明します。

インストール

AUR から prey-node-clientAUR をインストールしてください。

設定

ノート Create an account on Prey's website if you have not done so already.
ヒント You can configure Prey using either the CLI config or the GUI config.

CLI config

Configure your device with your Prey account:

# prey_project config account setup

Follow on-screen instructions.

To activate your configuration, run prey_project config activate as user prey. One way to accomplish this is with sudo -u prey prey_project config activate.

ヒント The installer has automatically started/enabled prey-agent.service to activate Prey at boot. You can check the unit status if in doubt.

プラグイン

プラグインを有効化・無効化するには、prey config plugins を実行してください。有効化・無効化する方法と利用可能なプラグインを読むことができます。

GUI 設定

prey config gui コマンドを使うことで GUI で prey を設定することができます:

# prey config gui

トラブルシューティング

トラブルシュートするには、次を実行:

$ prey config check

また、Prey が起動時に実行されるように systemd サービスの prey-agent.service が有効になっていることを確認してください。

レポートに含まれているウェブカメラの画像が受信できない場合、公式リポジトリから xawtv をインストールしてください。

ビープ音が鳴る

scrot がインストールされている場合、session モジュールが有効になっていると prey は scrot を使ってスクリーンショットを取得します。うっとうしいことに、スクリーンショットが撮られる度に scrot はビープ音を発します。ビープ音を無効化するには、/usr/share/prey/modules/session/core/run の最初に xset -b を追加してください。