LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Paste the file content into GEDIT with xclip ? (https://www.linuxquestions.org/questions/linux-general-1/paste-the-file-content-into-gedit-with-xclip-851040/)

Xeratul 12-18-2010 06:38 AM

Paste the file content into GEDIT with xclip ?
 
Hello,

I have a file clipboard.txt

I do :

Code:

sleep 10s ; echo "focus on the gedit" ; xclip -o clipboard.txt
is not working.

How to make that possible, how, please?

stress_junkie 12-18-2010 06:52 AM

http://elcasey.wordpress.com/2008/02...-command-line/

Xeratul 12-20-2010 05:14 PM

Quote:

Originally Posted by stress_junkie (Post 4195753)

:(
Code:

gerard@debian:~$ sleep 3s ; ls -al  | xclip
# I go to gedit
gerarddebian:~$ sleep 3s ; ls -al  | xclip -selection c
# I go to gedit

not working :( sorry


All times are GMT -5. The time now is 01:54 AM.