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