1. 概要
「xfce4-screenshooter」を「xfce4-clipman」とともに使うことが可能であれば、ショートカットキー一発で、クリップボードへコピーすることができるので、楽です。
2. インストール
いずれも、「root」ユーザ権限で。
「EndeavourOS」
yes | pacman -S xfce4-screenshooter xfce4-clipman-plugin
「SpiralLinux」「Ubuntu BUDGIE」
apt install -y xfce4-screenshooter xfce4-clipman
「openSUSE」
zypper install -y xfce4-screenshooter xfce4-clipman-plugin
3. クリップボードマネージャ
以下は、ログインユーザ権限で。
「xfce4-clipman」をログイン時に起動します。
「openSUSE」「SpiralLinux」「Ubuntu BUDGIE」では
mkdir -pv ~/.config/autostart
cp /usr/share/applications/xfce4-clipman.desktop ~/.config/autostart/.
vi ~/.config/autostart/xfce4-clipman.desktop
その他のデスクトップでは。
~/.config/autostart/xfce4-clipman-plugin-autostart.desktop
が作成されていれば
vi ~/.config/autostart/xfce4-clipman-plugin-autostart.desktop
で
TryExec=xfce4-clipman
Exec=xfce4-clipman
Icon=xfce4-clipman-plugin
OnlyShowIn=XFCE;X-Cinnamon;
Terminal=false
Hidden=true
110行をコメントアウトします。
もしくは、末尾に「BUDGIE;」を加えます。
(行番号や「OnlyShowIn」にリストされている内容は、プラットフォームにより異なります)
「MX Linux」では、「.desktop」が作成されていないので
mkdir -pv ~/.config/autostart
sh
cat << 'EOF' >> ~/.config/autostart/xfce4-clipman-plugin-autostart.desktop
[Desktop Entry]
Type=Application
Name=Clipman
Comment=Clipboard manager
TryExec=xfce4-clipman
Exec=xfce4-clipman
Icon=xfce4-clipman-plugin
Hidden=false
EOF
exit
「EndeavourOS」では、「.desktop」が作成されていないので
mkdir -pv ~/.config/autostart
cp /usr/share/applications/xfce4-clipman.desktop ~/.config/autostart/.
vi ~/.config/autostart/xfce4-clipman.desktop
末尾の2行をコメントアウトします。
Categories=GTK;Utility;TrayIcon;
OnlyShowIn=XFCE;GNOME;X-Cinnamon;
StartupNotify=false
キーボードショートカットの設定に関しては、後ろの方の「キーボードショートカット」ページをご参照ください。