Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] copy text file to clipboard on startup
Date: Thu, 22 Nov 2018 19:01:28
Message-Id: aa817221-d3ab-7afb-f393-e4310a479c69@sys-concept.com
In Reply to: Re: [gentoo-user] copy text file to clipboard on startup by Andrew Savchenko
1 On 11/22/2018 11:33 AM, Andrew Savchenko wrote:
2 [snip]
3 > On Thu, 22 Nov 2018 10:49:00 -0700 thelma@×××××××××××.com wrote:
4 >> On 11/22/2018 10:02 AM, Andrew Savchenko wrote:
5 >>> On Thu, 22 Nov 2018 09:35:42 -0700 thelma@×××××××××××.com wrote:
6 >>>> I have a simple text file (with few lines in it) and using XFCE.
7 >>>>
8
9 >> Hmm... I tried it from the command line and restarting the XFCE; nothing
10 >> in the clipboard, empty. Nothing to paste.
11 >
12 > I don't understand what you are meaning. Have you ran xclip and
13 > then restarted XFCE? O_o. Of course this will not work, because X
14 > server is being reset during restart. You need to run xclip after
15 > XFCE is started. The ways to automate this are described above.
16 >
17 >> xclip -in test.txt
18 >
19 > Best regards,
20 > Andrew Savchenko
21 >
22
23 Andrew, it worked but the sequence is:
24 xclip -sel clip < test.txt
25
26
27 --
28 Regards,
29 Thelma