On Thu, 22 Nov 2018 09:35:42 -0700 [email protected] wrote: > I have a simple text file (with few lines in it) and using XFCE. > > How do I copy text from that file to "clipboard" so that user can past > it with "ctrl-v" > I would like to that text to be in a clipboard after XFCE started.
Use x11-misc/xclip: xclip -in filename_with_paste Add this script to you XFCE autostart. This can be done either by: 1) GUI: Settings -> Session and Startup -> Application Autostart https://docs.xfce.org/xfce/xfce4-session/preferences#application_autostart 2) Custom run hook: Edit ~/.config/xfce4/xinitrc properly (call xclip, then default xfce4 xinitrc) https://unix.stackexchange.com/a/267238 Best regards, Andrew Savchenko
pgprBByY5PtdG.pgp
Description: PGP signature

