LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 01-20-2007, 11:52 PM   #1
Wynd
Member
 
Registered: Jul 2001
Distribution: Slackware 12
Posts: 511

Rep: Reputation: 32
Clear clipboard via command line?


Is there a command I can use that will clear the X clipboard contents?
 
Old 01-21-2007, 10:18 AM   #2
linux-goot
Member
 
Registered: Jun 2004
Posts: 60

Rep: Reputation: Disabled
http://www.typo.co.il/~mooffie/uclip/

uclip -z (i suppose)
 
Old 01-21-2007, 06:41 PM   #3
Wynd
Member
 
Registered: Jul 2001
Distribution: Slackware 12
Posts: 511

Original Poster
Rep: Reputation: 32
Awesome, thanks
 
Old 02-03-2010, 06:31 PM   #4
rogerdpack
LQ Newbie
 
Registered: Feb 2009
Posts: 8

Rep: Reputation: 0
$ touch blank
$ xclip -selection clipboard blank

seemed to work for me.
 
Old 02-03-2010, 11:26 PM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by Wynd View Post
Awesome, thanks
If it has solved the problem please mark the thread SOLVED. This can be done via the "Thread Tools" menu.
 
  


Reply



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
how do i replace the clear "clear screen" with the cls command thefedexguy SUSE / openSUSE 2 12-02-2005 05:02 PM
Command to put texfile in the clipboard? enemorales Linux - Software 0 02-09-2005 03:21 AM
Command to clear RAM? flamesrock Linux - Software 9 11-22-2004 06:41 PM
Always clear last command GUIPenguin Linux - General 3 09-14-2004 04:45 PM
Command output to clipboard sami Linux - Newbie 2 02-23-2004 02:05 AM

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

All times are GMT -5. The time now is 11:30 PM.

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