LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-18-2010, 06:38 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,653

Rep: Reputation: 255Reputation: 255Reputation: 255
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?
 
Old 12-18-2010, 06:52 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
http://elcasey.wordpress.com/2008/02...-command-line/
 
Old 12-20-2010, 05:14 PM   #3
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,653

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by stress_junkie View Post

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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gedit cannot save text file, type mailbox file ! snailchess Linux - Newbie 10 02-26-2011 04:57 AM
[SOLVED] gedit command not opening any file even as root :( blitz_adp Linux - Newbie 2 11-14-2010 04:12 AM
LXer: xclip Does Copy-and-Paste on the Linux Command Line LXer Syndicated Linux News 0 07-03-2009 01:00 AM
how to paste the content of 2 files onto 1 line (in a file)? PatrickBecks Programming 2 02-14-2008 06:41 AM
gedit/gnome error message during file open ksclps Linux - Software 0 12-01-2007 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration