LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 09-18-2010, 10:07 AM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch
Posts: 1,164

Rep: Reputation: Disabled
Question How to copy to clipboard using bash command?


Tried this, but there's no such a command in Arch.

And this also doesn't work:
Code:
find ~ | grep -i pidgin | xclipboard 
Error: another clipboard is already running
Please advise.
 
Old 09-18-2010, 11:07 AM   #2
harryhaller
Member
 
Registered: Sep 2004
Posts: 428

Rep: Reputation: Disabled
There are quite a few programs. Try xsel.

Another is xclip.
 
1 members found this post helpful.
Old 09-18-2010, 11:20 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,520
Blog Entries: 27

Rep: Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174
Which desktop are you using? Netsearching for the error message suggests the problem is caused by a restriction in Gnome -- but I found no solution

Might be worth trying gclipper ... ?
 
Old 09-18-2010, 11:25 AM   #4
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch
Posts: 1,164

Original Poster
Rep: Reputation: Disabled
I use Gnome.
 
Old 09-18-2010, 11:42 AM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,698

Rep: Reputation: 287Reputation: 287Reputation: 287
Point your favorite browser at www.google.com/linux, and enter this search phrase: bash copy to clipboard.

Then start reading. Here is my favorite return on that search: http://linuxtidbits.wordpress.com/20...-to-clipboard/. But there others as well.
 
Old 09-18-2010, 11:46 AM   #6
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch
Posts: 1,164

Original Poster
Rep: Reputation: Disabled
Thanks.
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Python: Won't copy to the clipboard narnie Programming 1 08-28-2010 09:43 PM
LXer: xclip - Copy contents from command line to X clipboard in openSUSE LXer Syndicated Linux News 0 04-14-2009 02:11 PM
Copy to Clipboard rubadub Programming 5 02-11-2008 02:39 AM
Copy screenshot to clipboard simbamford Linux - Newbie 1 11-24-2006 03:17 PM
copy from terminal to clipboard curos Linux - Newbie 2 02-04-2006 09:39 AM


All times are GMT -5. The time now is 02:41 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration