Tag Info

New answers tagged

1

Some clipboard managers provide this function. xfce4-clipman is a good example, it will also work not only in Xfce, but on any Desktop Environment. From its help page: Sync selections: Sync the primary clipboard with the default clipboard in a way that it is possible to paste what gets selected


3

The primary is not local to the terminal, you can paste it in other X applications by using the middle mouse button. What you should install is autocutsel: Autocutsel tracks changes in the server's cutbuffer and CLIPBOARD selection. When the CLIPBOARD is changed, it updates the cutbuffer. When the cutbuffer is changed, it owns the CLIPBOARD selection. ...


0

if your local machine is running windows(7+) you can just use this from the CommandLine: ssh user@server cat /home/user/file | clip


0

You can combine xbindkeys and xdotool to bind a key to injecting the output of a command into whatever application has the focus. Choose a key, e.g. Ctrl+Shift+F1, and put the following in your ~/.xbindkeysrc: "xdotool type $(oathtool --totp some-seed)" control+shift+F1 You'll need to start the program xbindkeys with your session. If you're using a ...


2

You can use xclip. oathtool --totp some-seed | xclip The output of your command will be in X primary selection and you can paste it with a middle click. You can also send it to the clipboard to paste with Ctrl+V in Firefox : some_command | xclip -selection clipboard Or use xdotool as explained in this question


2

Save As, Save Image As, Save Page As etc are (gtk+) file-chooser dialogs. The file name that appears in the Save... dialog is hard-coded via gtk_file_chooser_set_current_name () and usually defaults to the original file name unless you edit a new document, e.g. : if (user_edited_a_new_document) gtk_file_chooser_set_current_name (chooser, ...


1

You have two 'clipboards' in Linux. The first is the one of which you speak, where you select text and it is pasted via SHIFTINSERT or Middle-Mouse. This clipboard/buffer is very fickle and changes constantly. Be careful using this, especially with chat clients, because one day you'll paste your password into IRC. The second is the standard CTRLC and ...


1

This is a buffer flush-to-disk problem. Vim tries to keep your work safe and doesn't assume you can type several thousand characters per second. Read :help swap-file for some details on the buffering. The solution to your problem is this: Turn off vim's swapfile either with: vim -n <your file> or from within vim before the paste: :set noswapfile ...



Top 50 recent answers are included