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.
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?
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.
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
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.
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.
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.
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
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).
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]
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
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.
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
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)
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?
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
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:
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?
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).
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?
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.