General :: Copy To 'clipboard' From Shell?

Apr 5, 2010

Seems a utility called "xclip" and "xsel" are required, but is there anything simpler, that doesn't require extra utilities, along the lines ofCode:cat foo.txt > clipboardThis would for GNOME.

View 9 Replies


ADVERTISEMENT

General :: Copy To Clipboard From Within Vi / Vim Without Mouse?

Jun 30, 2011

I want to copy a highlighted field to the clipboard (not the copy/paste within vim but the clipboard that can be pasted outside of vim). I can do this by using the mouse but using the visual command (v) and then the yank command (y) does not do that.Is there a way to do this without the mouse?

View 10 Replies View Related

General :: Copy To System Clipboard Instead Of Vim Buffer

Sep 11, 2010

I would like to set Y and P to copy and paste directly to the system clipboard instead of vim buffer. I don't want any additional commands. Just the normal ones, but they should copy to and paste from the system clipboard and bypass the vim buffer.

View 5 Replies View Related

General :: Copy To Clipboard Using Bash Command?

Sep 18, 2010

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

View 5 Replies View Related

General :: Bash - Copy Output Into Clipboard Without Using The Mouse?

Feb 5, 2010

Is it possible to copy the output into the clipboard without using the mouse?

For example, I would like to do something like this:

$ pwd >> clipboard

View 2 Replies View Related

General :: Copy A Picture To Clipboard From Command Line?

Jun 24, 2011

I can copy image in Gimp and paste it to OpenOffice document.

How to do it (copy or paste image) from command line?

View 1 Replies View Related

General :: Make Ubuntu's Terminal Program Automatically Copy To Clipboard Selected Text / Paste

Jul 6, 2011

i'm used to using putty on a window's machine.With putty whatever you select is automatically on the clipboard without having to right click and select copy.And right click just pastes.

View 1 Replies View Related

Programming :: Python: Won't Copy To The Clipboard?

Aug 28, 2010

I having a hard time figuring out why this code works in an interactive ipython shell, but it gives a blank clipboard when run in a bash terminal.

Code:
#! /usr/bin/python2.6
#

[code]...

View 1 Replies View Related

Ubuntu :: Cannot Copy To Clipboard From Remote Desktop Viewer In 10.10

Oct 19, 2010

Just installed 10.10 32-bit on a Lenovo T61p laptop, and used Remote Desktop Viewer (version 2.3.2) to VNC into another system. I can copy from an application on 10.10 and then paste into a window in the VNC connection (e.g. to xterm or emacs), but I cannot do the reverse. When I try to paste, I get garbage displayed. For example, I selected "ls -l" from an xterm, which should have copied to the clipboard. When I paste this into an e-mail message, I get junk.

Here is what Emacs in hexl-mode says about that text:
7852 3109 05 xR1..
It shows as "xR1" some whitespace and then a tiny graphical box symbol with 00 and 05 in it. I'll try to paste it on the next line: Is this a known bug? Is there a workaround? Another app I can use?
xR1
This same VNC connection works fine, when I use 10.04.

View 1 Replies View Related

Software :: XMing Clipboard: Can't Copy And Paste To Windows

Jun 21, 2011

I am using XMing+Putty to access a Linux machine from an XP32 machine. I can copy text from windows and paste it to Linux fine, but I can't copy from Linux and paste to Windows consistently. If I try several times (or hold down the paste keystroke) it will eventually paste; sometimes several times!

I would like to improve the consistency of my Linux to Window pastes. I have per-mutated every combo of Clipboard and Clipboard2. I can not edit /etc/gdm/custom.conf like some other fixes suggest. I have been informed the Linux admins will not allocate resources to resolve this problem in the near future so any fixes need to be Windows side or able to be done without root/admin privileges.

View 4 Replies View Related

CentOS 5 :: Copy Output To Buffer / Clipboard With Putty?

Aug 22, 2010

Anyone know how to send output to buffer via putty? Currently I am using vim with windows copy menu, very slow and tedious.

I download xclip but i got the following error:

Quote:cat ../mnt/fs1/tmp/rcentre01.log|xclip
Error: Can't open display: (null)

View 3 Replies View Related

Debian :: Install A Clipboard That Will Copy From The Internet And Paste In Office?

May 12, 2011

I want to install a clipboard that will copy from the internet and paste in office. I looked in the package manager and saw a plethora of clipboards.

View 7 Replies View Related

Ubuntu :: Terminal Server Client - Copy Window To Clipboard?

Feb 24, 2010

In windows using remote desktop connection you can press Ctrl+Alt+minus to copy the current window on the remote desktop to the clipboard. How do you do that in Ubuntu's terminal server client? I have not found any key combination that works

View 2 Replies View Related

Ubuntu :: Xfce4-screenshooter Copy To Clipboard From Command Line?

Mar 10, 2010

My xfce4-screenshooter GUI has the option Copy to the Clipboard, but I could not find this option in its' cI'm trying to bind printscreen key with this. I know that in order for the option to work I need to have the application always running (in GUI thre is option Close the application after screenshot , again somenthing that I can not find in command line).

View 9 Replies View Related

Ubuntu :: Favorite Screenshot Programs - Copy Picture To Clipboard ?

Nov 22, 2010

What is everyone's favorite screenshot programs? I really don't like the gnome one. A timer feature is very important to me and the gnome one doesn't have it.

I found the Xfce4 Screenshooter and it has a timer. Are there any other good ones that other people like? If there was a way to copy the picture to your clipboard that would make me even happier. I almost always edit my screenshots after I take them so that would be even more helpful. [url] [url]

View 7 Replies View Related

OpenSUSE :: When Copy Paste From Universal Clipboard It Keeps Tabbing Making The Scripts Very Long?

Jun 15, 2011

How to remove the auto tab ? After i wrote ( { )In the terminal there is auto tab .. this looks handy at first but :When i copy paste from universal clipboard it keeps tabbing making the scripts very long .. Is there a setting how to remove it

View 1 Replies View Related

Ubuntu Multimedia :: Take Screenshots And Copy Image Files To Clipboard From The Command Line?

Feb 17, 2011

install imagemagick python, and pygtk.

Code:

sudo apt-get install imagemagick python pygtk

Now save the following script somewhere as imgclip.py. This is a simple python script which takes an image file and puts it in the gnome-clipboard.

Code:

#! /usr/bin/python
import pygtk
pygtk.require('2.0')

[code]...

View 1 Replies View Related

Software :: Run What Windows Users Typically Call A Clipboard As A Network Service On My Small LAN / Clipboard / Notepad?

Mar 18, 2011

I'd like to have a Linux machine run what Windows users typically call a clipboard as a network service on my small LAN (about 10 machines). More specifically I am looking to have Linux run the clipboard service centrally in the LAN with both Windows and *nix machines able to connect to it as opposed to the peer-to-peer sync model that I am seeing in almost all of the applications I've discovered thus far.

View 2 Replies View Related

General :: Copy Images From Diff Folder In Shell?

Apr 20, 2011

I have 500 folders of templates in one folder. Now each folder has file called template_thumbnail.png . now i want something so that all those files get copied to one folder with name same as the home folder name

I have cygwin installed and i can copy that folder in there so basically it will linux shell script

View 1 Replies View Related

General :: Copy From 1 Computer To Another With System Shell Commands?

Jun 23, 2011

I want to copy a file (home/remote_computer_user/Desktop/test1.txt) from my remote office computer (a permanent URL + open port) to my home computer (home/home_computer_user/Downloads/).

How can I do this with shell commands in Linux?

My current thoughts:

ssh <user>@<computer1address> -p <port> - gives me a shell on the remote computer
(I think I should use scp, but I dont how exactly how in my case)

What are the exact commands I should use?

View 1 Replies View Related

General :: Copy / Paste Output From Shell (not Terminal)?

Jul 15, 2010

I often have issues starting my window manager--xfce. My computer misbehaves in one of 3 ways, one of which is to fail to open X, but generate several screens of info. I want to paste that info to this site, but since I'm in the shell, not the terminal (please correct my vocabulary if it's wrong here), I don't know how to copy and paste the output, since right-clicking doesn't give me a menu. Even if I could copy I'm not sure the information would be accessible in X. Are there any other options?

View 13 Replies View Related

General :: Shell Script To Copy All Folders Older Than 7 Days?

Mar 16, 2011

I want to make the script to copy all folders which older than 7 days from Linux server to Windows server by Samba. And make it automatically by using cron

View 4 Replies View Related

Ubuntu :: Clipboard "broken" - Corrupts Whatever Copy ?

Dec 15, 2010

The clipboard corrupts whatever I copy to - when pasting to anywhere. It could be copying a URL in FIrefox to Gedit or from Gedit to Gedit. Always the same.

But this only happens when I am running Virtualbox - Win XP Pro SP3. I have been running the same VM for years - this is a new problem.

I googled a bit and most stated to upgrade to the latest (which I did) and run the Guest Additions (which I have).

I have allocated 1 GB of memory to the VM (out of 3GB). Memory on Ubuntu side is fine:

Code:

Copying and pasting within the VM works fine. And a lot of the memory is free:

Code:

View 3 Replies View Related

General :: Shell Script To Shutdown Virtual Machines / Copy And Than Start VM?

Mar 16, 2011

I need to make my 1st ever script to backup VMware workstation VMs to a folder which is then backed up offsite. Here is what I have so far (will be croned):

Code:

sudo vmrun -T ws stop "/home/gareth/vmware/NagiosWeb/NagiosWeb.vmx" soft
sudo vmrun -T ws stop "/home/gareth/vmware/UbuntuBackup/UbuntuBackup.vmx" soft
**copy or rsync to /home/gareth/vmware-backup/ dir**

[code]....

1. Just to confirm, I need to place the above in a file with #!/bin/bash at the top and make it executable.

2. How do I know when the VMs have safely shut down so I can start the copy? I guess I can either a. wait a specified amount of time b. run some sort of if statement to confirm they are off.

3. How do I use Rsync or cp to copy to the backup folder?

4. How will I know the copy is complete so that I can start the VMs again?

View 3 Replies View Related

General :: System Bash Shell Copy Previous Lines (not History) With Keyboard?

Jun 14, 2011

Is it possible to use the keyboard in order to select some text in the terminal windows that is not in the currently edited line? (for example, in order to copy part of previous command output).

View 3 Replies View Related

General :: Copy Files From One Folder To Another Folder Using Shell?

Mar 4, 2010

i need to copy files from a folder called output files to another folder called running but im not able to do it i always get a stat error

View 14 Replies View Related

Ubuntu :: Need Shell Copy Script

Jan 8, 2011

I need a simple shell script, that copies all the files in a folder exept 1 file to another location, but i dont know how to do it myself.

View 3 Replies View Related

Ubuntu :: Copy All Of My Files Using Shell?

Feb 16, 2011

Well my drive has errors where i can't mount it using a GUI but it will mount and let me see my files using shell or w/e it is that i'm using while in recovery mode. I have manage to change my directory to the one that has ALL of the files that i want and need to copy. I was wondering whats the easest way to copy ALL of the files which are like 20 GB onto my 500 GB external HDD? and How will i know everything is done copying?

View 2 Replies View Related

Debian :: Can't Copy From A Web Browser And Paste Into A Shell

Feb 10, 2011

Why can't I copy from a web browser and paste into a shell?

Sometimes it works, other is does not.

I also used the right click menus to make 100% sure that COPY and then Paste were valid

View 12 Replies View Related

Red Hat / Fedora :: Shell Script To Search And Copy Jpg To Another Folder

Jun 3, 2009

My manager askmed me to find out all the jpg files in a directory and copy to another destination directory.I tried to write a shell script.But the problem is this source directory contains thousands of subdirectories. The jpg files resides in all of these directories.We have to search inside all these sub directories.I am reallyconfused.Can Any one help me.I am only a beginner to Shell scripting.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved