Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Clear Clipboard

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
jase



Joined: Sun Aug 08, 2010 6:38 pm
Posts: 93

PostPosted: Thu Sep 09, 2010 5:07 am    Post subject: Clear Clipboard Reply with quote

I have copied 20gb of data from a remote drive to my PC running Ubuntu 9.10.

How do I now clear the clipboard?

Many thanks
Back to top
View user's profile Send private message
towy71
Moderator


Joined: Wed Apr 06, 2005 3:11 pm
Posts: 4257
Location: wild West Wales

PostPosted: Thu Sep 09, 2010 9:09 am    Post subject: Reply with quote

unless you have some sort of clipboard tracker installed, highlight a word on this web page right-click and select copy and that will be the only thing in clipboard Rolling Eyes
_________________
still looking for that door into summer
Back to top
View user's profile Send private message
jase



Joined: Sun Aug 08, 2010 6:38 pm
Posts: 93

PostPosted: Sun Sep 12, 2010 5:33 pm    Post subject: Reply with quote

so, how do I clear the clipboard Rolling Eyes
Back to top
View user's profile Send private message
loebus
LXF regular


Joined: Fri Apr 09, 2010 7:22 pm
Posts: 165
Location: Here

PostPosted: Sun Sep 12, 2010 8:46 pm    Post subject: Reply with quote

jase, towy71 has answered your question!

I use a clipboard manager program "Pastie", which remembers the last 25 copied items by default, there is an option in the Pastie menu "Clean History"

If you mean the CLI history edit .bash_history with a text editor such as gedit.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8450
Location: Warrington, UK

PostPosted: Sun Sep 12, 2010 9:54 pm    Post subject: Reply with quote

Why do you need to clear the clipboard? As Towy said, its contents are automatically replaced the next time you use it.

BTW, would you please reduce the size of your avatar, 60x60 is the maximum for these forums.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
PCNetSpec
LXF regular


Joined: Sun Feb 21, 2010 3:50 pm
Posts: 631
Location: Cornwall UK

PostPosted: Mon Sep 13, 2010 12:08 am    Post subject: Reply with quote

This has me interested too, I can find plenty of references to Linux clipboard managers such as glipper etc. but once installed they seem to "take over" the job of the clipboard... ie. using the clear button only seems to clear the glipper clipboard buffer, not anything that was in the buffer *before* glipper took over.

I originally thought (at least in Ubuntu) that xclipboard was managing the clipboard, but if you enter:
Code:
xclipboard

in a terminal, you get:
Quote:
Error: another clipboard is already running

does this mean there is another clipboard manager running, or that there is another instance of xclipboard running.

Anyone know exactly what (by default) is managing the clipboard?

[EDIT]

@jase
Installing the parcellite package will give you a panel object which has a clear clipboard menu item that *seems* to clear the clipboard completely.

But I still want to know exactly what it's doing in the background.
_________________
WARNING: You are logged into reality as 'root'... logging in as 'insane' is the only safe option.
Linux in the UK
The Linux Community Forum
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8450
Location: Warrington, UK

PostPosted: Mon Sep 13, 2010 12:52 am    Post subject: Reply with quote

You can clear both clipboards, or at least store an empty string in them, with xclip.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
jase



Joined: Sun Aug 08, 2010 6:38 pm
Posts: 93

PostPosted: Mon Sep 13, 2010 8:13 am    Post subject: Reply with quote

Thanks chaps, makes sense. Smile
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast