LXDE - 共通事項 - 画面キャプチャ - FreeBSD


 クラウディア


1. 概要
2. インストール
3. 起動設定
4. キーボードショートカット

1. 概要

 以下、「FreeBSD 12.4 RELEASE」「LXDE 1.0_8」での操作です。

2. インストール

 「root」ユーザ権限で。

pkg install -y xfce4-screenshooter-plugin xfce4-clipman-plugin

3. 起動設定

 「xfce4-clipman」の自動起動を設定します。  ログインユーザで。

mkdir -pv ~/.config/autostart
cp /usr/local/share/applications/xfce4-clipman.desktop ~/.config/autostart/.
 「スタート」→「設定」→「LXSession のデフォルトのアプリケーション」で「LXSession の設定」を開いて  「コアアプリケーション」「クリップボードマネージャ」の欄を空白にします。

 「設定」→「デスクトップセッションの設定」で
 「クリップボードマネージャ」へチェックをいれます。


 ログインしなおせば、「xfce4-clipman」がバックグラウンドで動作しているはずです。

4. キーボードショートカット

 ログインユーザで。

vi ~/.config/openbox/lxde-rc.xml

  <!-- Launch gnome-screenshot when PrintScreen is pressed -->
  <keybind key="Print">
      <action name="Execute"><command>gnome-screenshot -i</command></action>
  </keybind>
 を下記へ書き換えます。

  <!-- Launch gnome-screenshot when PrintScreen is pressed -->
  <keybind key="Print">
      <action name="Execute"><command>xfce4-screenshooter -c -f</command></action>
  </keybind>
  <keybind key="C-Print">
      <action name="Execute"><command>xfce4-screenshooter -c -w</command></action>
  </keybind>
 これで、ログインしなおせば ・Print 全画面をキャプチャして、クリップボードへコピー ・Ctrl+Print アクティブウインドウキャプチャして、クリップボードへコピー  が機能します。

earthcar(アースカー)