Tag Info

New answers tagged

2

i dont understand what you are asking but why dont you double click the word/filename that you want to use? when you double click a word it will select the whole word. You can setup breaks so like . or , or < or ( will stop the double click select. These are configureable. I dont have putty so i forget how to configure. Google putty doubleclick word ...


2

ls -t | sed q | xclip for the latest file in the current directory in the buffer


1

In order to copy the content of the files from Linux to windows machine. You can use WINSCP. Install WINSCP in windows and use the login credentials of linux and vice versa to transfer the files.


1

If you are using bash in a terminal under X11 (most people are), then you can do cut and paste with the mouse, no keys required. Left click and drag to highlight. This puts the highlighted text into the X11 primary selection. To paste the primary selection, put the cursor in the target window and center-click the mouse. You can interact with the ...


3

Killing and yanking text are readline features. bash normally uses readline but you could argue that it is not really a part of bash. You can test that with bash --noediting


3

I've edited @don_crissti's answer to allow pipe input: #!/usr/bin/env python import sys from gi.repository import Gtk, Gdk, GdkPixbuf def store(pixbuf): clipboard = Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD) clipboard.set_image(pixbuf) clipboard.store() def copy_image(f): image = Gtk.Image.new_from_file(f) if ...



Top 50 recent answers are included