1 |
On Thu, 22 Nov 2018 09:35:42 -0700 thelma@×××××××××××.com wrote: |
2 |
> I have a simple text file (with few lines in it) and using XFCE. |
3 |
> |
4 |
> How do I copy text from that file to "clipboard" so that user can past |
5 |
> it with "ctrl-v" |
6 |
> I would like to that text to be in a clipboard after XFCE started. |
7 |
|
8 |
Use x11-misc/xclip: |
9 |
xclip -in filename_with_paste |
10 |
|
11 |
Add this script to you XFCE autostart. This can be done either by: |
12 |
|
13 |
1) GUI: Settings -> Session and Startup -> Application Autostart |
14 |
https://docs.xfce.org/xfce/xfce4-session/preferences#application_autostart |
15 |
|
16 |
2) Custom run hook: |
17 |
Edit ~/.config/xfce4/xinitrc properly (call xclip, then |
18 |
default xfce4 xinitrc) |
19 |
https://unix.stackexchange.com/a/267238 |
20 |
|
21 |
Best regards, |
22 |
Andrew Savchenko |