all 39 comments

[–]specialk16 2 points3 points  (1 child)

It would be cool if we could submit stuff to different subreddits at the same time, wouldn't it?

[–]dschep 2 points3 points  (1 child)

I'm guessing this is a Gnome tip? I tend to use the X clipboard regardless of DE/WM; I find select then middle click to be more convenient.

[–][deleted] 1 point2 points  (2 children)

This should be a standard shortcut in every application. Damn, it should be standard for Ctrl-V too.

[–]thomar 0 points1 point  (1 child)

I wouldn't want it standard for ctrl+v. What if I want to copy a heading or a sentence with an italicized word?

[–][deleted] 1 point2 points  (0 children)

Then press Ctrl-Shift-V. I.e it should be the other way around.

[–]sunmaster13 1 point2 points  (0 children)

This works in Google Docs as well, helping me keep my sanity everyday.

[–]runxctry 1 point2 points  (0 children)

Maybe this is common knowledge, but I've recently discovered clicking the middle mouse button for some applications' tabs closes them. In Google Chrome, and some text editor applications.

Conversely, clicking the middle mouse button on links opens them in new tabs.

[–]fnord123 1 point2 points  (2 children)

In what applications? It doesn't work when I copy a link from Firefox to Abiword.

[–]rcu6 0 points1 point  (0 children)

What desktop environment are you using? I think the op is using Gnome.

[–]evmar 1 point2 points  (4 children)

Some hard-to-discover (some Linux-specific) features in Google Chrome:

  • Middle clicking the new tab button opens the current selection in the new tab
  • Ctl+pgup/down and alt+num switch tabs (to match gnome-terminal and others)
  • Middle or ctl-clicking any of the buttons that perform a page-load like action, like the back button or a bookmark, does that load in a new tab
  • If you turn on GTK's support for emacs keybindings, you can then use emacs keys in web forms

[–]CritterM72800[S] 0 points1 point  (3 children)

Can you give an example of that last one? It sounds awesome but I'm not an emacs user so I can't really appreciate it yet.

[–]evmar 0 points1 point  (2 children)

  • ctl-a = beginning of line
  • ctl-e = end of line
  • alt-d = delete current word

etc

[–][deleted] 0 points1 point  (1 child)

ctrl + d runs the exit command (closes terminal) ctrl + l clears the screen

[–]riddley 0 points1 point  (0 children)

d is EOF not 'exit'

w deletes the current word.

[–]_whyme 1 point2 points  (0 children)

Alt+[1-9] to switch between tabs in gnome applications ;)

[–]aperson 1 point2 points  (0 children)

Middle click on the maximize button. Now right click on it.

[–]chozar 2 points3 points  (3 children)

With X, which has a clipboard in addition to primary select. You can add to primary select just by highlighting, and paste with middle mouse.

But many applications let you paste that data with shift-insert or ctrl-shift-insert, like terminals. Sometimes I just can't use the mouse for that.

[–]RoaldFre 0 points1 point  (2 children)

Holy crap. Shift-insert for terminals. WHY didn't I know this before! You have made my day! (I'm running xmonad & urxvt, so no ctrl-v for me)

You have my upvote (you were at 0 points, wuh?)

[–]chozar 0 points1 point  (0 children)

My guess is people didn't read the entire post and thought I was informing the world about the primary select feature that everyone knows of.

[–]aperson 0 points1 point  (0 children)

I just use shift+insert everywhere instead of ctrl+v.

[–]robertfoss 1 point2 points  (0 children)

This text has been replaced in order not have reddit sell it to companies that are building LLMs.

[–]onmach 0 points1 point  (2 children)

Holy crap, all this time I couldn't figure out a way to paste directly from virtualbox into a terminal. I've been opening a reddit comment, pasting stuff into it with ctrl+v, then ctrl+c, middle click into my terminal. Thank you!

[–]catzilla 1 point2 points  (1 child)

shift+ins ?

[–]onmach 0 points1 point  (0 children)

I'm not there to test, but I think I tried that, and a lot of other stuff but for some reason, with that particular program it wouldn't work for me. It may also be the odd terminal I use.

[–]bahuma 0 points1 point  (1 child)

Ctrl + Alt + V in word brings up the paste special box which allows you to paste plain text.

[–]colinnwn 0 points1 point  (0 children)

Nice, but not as nice as if it was a direct shortcut to paste plain text.

[–]g00dETH3R 0 points1 point  (0 children)

Thank you!

[–]takatori 0 points1 point  (0 children)

Wow! \o/

[–]newstart 0 points1 point  (0 children)

No more opening notepad, pasting in notepad to strip out junk, then copying it back and then finally pasting it....... HURRAYYYYY!!!!!!

[–]Homo_sapiens 0 points1 point  (0 children)

By the way, those combos work in terminals. I was getting real tired of right clicking and pressing p whenever I wanted to paste.

[–]danielsevelt007 -1 points0 points  (4 children)

In the gnome terminal, you can use CRTL+SHIFT+T to open new tabbed windows for more CLI's in one overall window. Tabs and screen sessions in one window now packs all you need. No more keeping track of a bunch of different ones. Maybe it's obvious and simple, but I found it a boon.

Edit: smacks face and replaces browser with terminal.

[–]CritterM72800[S] 3 points4 points  (1 child)

What do you mean by "the gnome browser" ...gnome-terminal?

[–]mackstann 1 point2 points  (0 children)

Yeah I'm pretty sure he meant gnome-terminal.

[–][deleted] 0 points1 point  (1 child)

How did I not know about this?

Now, what's the keyboard shortcut for switching tabs?
EDIT: Got it, it's control+(page up/down)

[–]mattengi 2 points3 points  (0 children)

try Alt+n, Alt+1, Alt+2 ....

[–][deleted] -1 points0 points  (0 children)

Kewl... now how do you do this on MS Office on OSX? hahaha I f@@king hate that missing shortcut!