1. 概要
「Garuda 200831 GNOME」でも「xfce4-screenshooter」を使いましたが・・・。
およそ、本丸に近い「Ubuntu 20.04」「20.10」あたりで「VirtualBox」上のクリップボードに「gnome-screenshot」のクリップボードからコピーできないのです。
「FreeBSD 12.2 RELEASE」「GNOME 3.38.0」でも「gnome-screenshot」でクリップボードの機能が効かないどころか、こけます。
「xfce4-screenshooter」を使うことにします。
ショートカットキーの設定がうまくいかないので、「sxhkd」を使用します。
さらに、どうも「xfce4-clipman」は、ようこけるようです。
「mate-screenshot」の方がよさそうです。
2020年12月16日、「ArcoLinux」では、ようこけます。
2021年8月18日、「Zorin OS」でもようこけます。
2021年9月30日、「Manjaro 21.1」で設定しましたが、時間がたつとこけます。
2. インストール
いずれも「root」ユーザ権限で。
「AcroLinux」「Manjaro」
yes | pacman -S xfce4-screenshooter xfce4-clipman-plugin
「FreeBSD」
pkg install -y xfce4-screenshooter-plugin xfce4-clipman-plugin
「Garuda Linux」
yes | pacman -S xfce4-screenshooter xfce4-clipman sxhkd
「Zorin OS」(「16」で)
apt install -y xfce4-screenshooter xfce4-clipman
3. 自動起動
「ArcoLinux」
ログインユーザで
vi ~/.config/autostart/xfce4-clipman-plugin-autostart.desktop
Icon=xfce4-clipman-plugin
OnlyShowIn=XFCE;
Terminal=false
102行をコメントアウトします。
ログインしなおせば、
xfce4-clipman
が起動しています。
「FreeBSD」
ログインユーザで。
mkdir -pv ~/.config/autostart
cp /usr/local/share/applications/xfce4-clipman.desktop ~/.config/autostart/.
「Garuda Linux」
「xfce4-clipman」「sxhkd」をログイン時に起動します。
「xfce4-clipman」は
vi ~/.config/autostart/xfce4-clipman-plugin-autostart.desktop
Icon=xfce4-clipman-plugin
OnlyShowIn=XFCE;X-Cinnamon;
Terminal=false
110行をコメントアウトします。
「sxhkd」
sh
cat << 'EOF' >> ~/.config/autostart/sxhkd.desktop
[Desktop Entry]
Type=Application
Name=sxhkd
Exec=/usr/bin/sh -c "/usr/bin/sxhkd &"
EOF
exit
ログインしなおせば、
xfce4-clipman
sxhkd
が起動しています。
「Zorin OS」「Manjaro」
ログインユーザで。
mkdir -pv ~/.config/autostart
cp /usr/share/applications/xfce4-clipman.desktop ~/.config/autostart/.
4. 設定
下記のショートカットキーを割り当てます。