News for hackers. Stuff that matters.
Re:I've been writing TILs for 5 years by shrimp_emoji on Saturday April 18, 2020 @04:40PM (#22910914)
Which terminal? In Linux, Alt+Left Click is the "move window around" idiom, while Alt+Right Click is "resize window with the mouse".
Re:I've been writing TILs for 5 years by tommyage on Saturday April 18, 2020 @06:23PM (#22911616)
How can you know that this is a common idiom? Is there an (prob. GNU)-document for these things? Two reasons I am asking: 1) I feel terrible reading this, since my last post was preaching for XCFE for this exact functionality. 2) It would be awesome to have these things bundled and discover many things which are yet not discovered by me.
Re:I've been writing TILs for 5 years by fiddlerwoaroof on Saturday April 18, 2020 @09:03PM (#22912554)
The major Linux desktops have had this sort of thing for like 15 years. It’s usually only discovered by people who obsessively tweak their settings, though.
Re:I've been writing TILs for 5 years by nougatbyte on Saturday April 18, 2020 @07:17PM (#22911935)
Dont think that its a standart of some kind, but KDE does the same thing
Re:I've been writing TILs for 5 years by zimpenfish on Saturday April 18, 2020 @04:41PM (#22910928)
I'd imagine it was Terminal on MacOS from the capitalisation (and that does what he says, just checked.)
Re:I've been writing TILs for 5 years by weiming on Saturday April 18, 2020 @04:48PM (#22910984)
Yes. That would be Mac iTerm/Terminal, should have mentioned.
Re:I've been writing TILs for 5 years by akiselev on Sunday April 19, 2020 @12:12AM (#22913459)
Do people usually use "Alt" to describe the Option key on Macs? I was really confused for a second trying to find it on my Macbook
Re:I've been writing TILs for 5 years by OJFord on Sunday April 19, 2020 @01:35AM (#22913799)
Yes.

Anyone that hasn't been exclusively using macOS for their entire digital life, or at least years, anyway.

'Command' (resp. 'Windows', resp. 'Super') is a different story. You can't say 'Super' with a straight face without also marking yourself out as someone who borders on saying 'GNU with Linux', or 'I run Arch'.

(For what it's worth, I do run Arch. ;))

IIRC Option is dually labelled as Alt on some Apple keyboards anyway.

Re:I've been writing TILs for 5 years by franga2000 on Sunday April 19, 2020 @02:34PM (#22917811)
> You can't say 'Super' with a straight face without also marking yourself out as someone who borders on saying 'GNU with Linux', or 'I run Arch'.

Since basically nobody knows the historical difference these days, I just call it the Meta key to avoid the above situation. When non-techy people ask me what the hell I mean, I just explain that's the technical term for the key and that I use it so both Mac and Windows people understand me. I've even heard one of them start using the term themselves, presumably to appear smarter in front of their boss.

Re:I've been writing TILs for 5 years by Zarel on Sunday April 19, 2020 @04:13PM (#22918444)
While it's not wrong to refer to the Super key as "Meta", I don't like calling it that, because in some contexts (like emacs), "Meta" means the Alt key.
Re:I've been writing TILs for 5 years by vangelis on Monday April 20, 2020 @01:23PM (#22926047)
I use a USB mechanical keyboard with my Mac, Ubuntu at home, so I tend to think of command and option as super and alt.
Re:I've been writing TILs for 5 years by 1998v2 on Saturday April 18, 2020 @07:33PM (#22912045)
I want this badly on gnome-terminal. If anyone has this type if thing on a linux plz. advise.
Re:I've been writing TILs for 5 years by jchook on Saturday April 18, 2020 @09:05PM (#22912565)
I agree, but also can recommend a few good shortcuts...

<c-a> = go to beginning of line

<c-e> = go to end of line

!! = repeat last command

<esc> b = move "back" one word (also <c-b> and <c-left>)

<esc> f = move "forward" one word (also <c-f> and <c-right>)

Many others exist. See `man bash` under READLINE.

Re:I've been writing TILs for 5 years by rtpg on Saturday April 18, 2020 @10:28PM (#22912967)
By the way, recently discovered you can get some of these shortcuts in all input boxes by activating “emacs shortcuts” inside of gnome-tweaks! Was one of the final blockers for getting me from Mac to Linux
Re:I've been writing TILs for 5 years by Too on Sunday April 19, 2020 @01:39AM (#22913813)
You can also use the more standard Home/End/Ctrl+Left/Ctrl+Right to do all of the above. Much easier to remember and works in any other editor also.
Re:I've been writing TILs for 5 years by dylan604 on Saturday April 18, 2020 @10:02PM (#22912842)
!cmd = repeat last usage of that command

!!enter which is 3 buttons where as up-arrow enter is the same thing.

Re:I've been writing TILs for 5 years by Something1234 on Saturday April 18, 2020 @10:19PM (#22912919)
!! is more useful than you think. It's substitute last command here, not just up-arrow enter.

See sudo !!.

Re:I've been writing TILs for 5 years by chrisweekly on Saturday April 18, 2020 @10:55PM (#22913108)
Yes! I use c-u to clear the line all the time.
Re:I've been writing TILs for 5 years by neetfreek on Sunday April 19, 2020 @04:26AM (#22914398)
And <c-w> clears the previous word :) Also <c-y> pastes the line/word back in (so you cant think of it like cut-copy).
Re:I've been writing TILs for 5 years by Kaiyou on Sunday April 19, 2020 @06:09AM (#22914738)
Shift+click works for me.