topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday October 8, 2024, 11:16 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: Keyboard shortcut of the day  (Read 38818 times)

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #25 on: November 30, 2012, 11:17 PM »
And, in some instances, Ctrl+Z can return/undo a deleted file or directory  :Thmbsup:.

Yeah, I think I succeeded in doing that a few times.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,963
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #26 on: December 01, 2012, 03:50 AM »
^ quotes got confused there (I didnt say that - it's good to know though!)

Re the remapping, sure I could do something that direction. I just thought (hoped) there might be an alternative hotkey for Ctrl+z - like with Shift+Ins etc for Copy etc.
Thanks!
Tom

nudone

  • Cody's Creator
  • Columnist
  • Joined in 2005
  • ***
  • Posts: 4,119
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #27 on: December 01, 2012, 04:05 AM »
If you want to start remapping I'd suggest using autohotkey to remap caps lock to ctrl. This opens up your entire keyboard without breaking standard shortcuts. E.g. my ctrl + z is caps + f8, my ctrl + s is caps + f9, etc. Far easier to reach when touch typing.

There are a few threads about remapping on the forum so I'll say no more.

barney

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,294
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #28 on: December 01, 2012, 09:51 AM »
Um... Bad idea. Ctrl+Y is the (default) re-do compliment to Ctrl+Z's un-do

Ctrl+Shift+Z is also for re-do, so both could be remapped to Y  :-\.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,963
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #29 on: December 01, 2012, 10:13 AM »
thanks nudone and Barney :up:

Ctrl+Shift+Z is very nice -
especially in combination with Ctrl+Z if you want to toggle undo/redo to find the ideal undo moment.

I'll consider it a bit.
Tom

J-Mac

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 2,918
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #30 on: December 01, 2012, 10:15 AM »
A handy combination that I had to search like hell to find.  If a program's window disappears from the screen but it is still open - meaning the window has moved to a location off the screen:

Alt-Tab to the missing window, then Alt-Space, M, then any arrow key. Now move your mouse and the missing window will suddenly pop back onto the screen.

Sounds weird but for a while last year Evernote's window would disappear from the screen right after installing any new update. Developers insisted they had no idea why, so I guess maybe it was something weird on my system. It stopped after a few months though I never did find out why it was happening. Moving the window back onscreen became much easier however after finding the above sequence!

Thanks!

Jim

dojibear

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #31 on: December 06, 2012, 03:42 PM »
J-max thanks. I was just getting ready to try to find that again...

I wonder if I can make an Autohotkey macro to do it. Then I wouldn't have to remember it with my brain.


Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,646
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #32 on: December 06, 2012, 06:17 PM »
Tab at a command prompt to scroll through the items in the current directory.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #33 on: December 06, 2012, 08:50 PM »
Tab at a command prompt to scroll through the items in the current directory.

Nice!

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #34 on: December 06, 2012, 11:07 PM »
I wonder if I can make an Autohotkey macro to do it. Then I wouldn't have to remember it with my brain.

How's this?  Control+Alt+Shift+S to invoke...

Code: Autohotkey [Select]
  1.  
  2. ^!+s::
  3. {
  4.   Send !{Space}
  5.   Send M
  6.   Send {Up}
  7.   MouseMove, 1, 1
  8. }

kwacky1

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 182
  • i am Cody's cousin
    • View Profile
    • CrazyLittleWebsite
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #35 on: December 08, 2012, 04:55 AM »
Tab at a command prompt to scroll through the items in the current directory.

Don't forget with tab you can also use wildcards, eg. s* <tab> to scroll through items starting with s.

F7 to bring up your command history.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #36 on: December 08, 2012, 05:01 AM »
Don't forget with tab you can also use wildcards, eg. s* <tab> to scroll through items starting with s.

F7 to bring up your command history.

Wow -- those are nice too!  Thanks  :up:

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,021
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #37 on: December 08, 2012, 02:47 PM »
On Linux, Ctrl-Alt-Backspace would kill X and drop you to terminal mode.  Real handy when it hung or something graphical was eating memory and the mouse pointer went AWOL.
Ubuntu did away with that when they first rolled out "bulletproof X" so it just restarted X.  Not the same function, but still handy especially if you were using a session manager, because it forced a re-login.  
Now it does nothing, even in Debian, and I haven't been inspired enough to go digging for reasons.  :(

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #38 on: December 08, 2012, 06:23 PM »
On Linux, Ctrl-Alt-Backspace would kill X and drop you to terminal mode.  Real handy when it hung or something graphical was eating memory and the mouse pointer went AWOL.

Indeed.

Ubuntu did away with that when they first rolled out "bulletproof X" so it just restarted X.  Not the same function, but still handy especially if you were using a session manager, because it forced a re-login.  
Now it does nothing, even in Debian, and I haven't been inspired enough to go digging for reasons.  :(

Had missed these changes...

I have found the following helpful with a non-responsive GNU/Linux (or even non-GNU?) system:

Hold down the Alt and SysRq (Print Screen) keys.
While holding those down, type the following keys in order, several seconds apart: REISUB
Computer should reboot.

Text from Wikipedia Magic SysRq key article.

Giampy

  • Participant
  • Joined in 2009
  • *
  • Posts: 444
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #39 on: December 08, 2012, 06:56 PM »
Windows+D or Windows+M turns all the open windows into icons in the taskbar.
"A refrigerator without beer is like a body without soul"

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #40 on: December 08, 2012, 09:07 PM »
Windows+D or Windows+M turns all the open windows into icons in the taskbar.

Convenient!

Of the two, I prefer Windows+D (Desktop?) because if entered again the windows are restored to their previous states.  In contrast, Windows+M seems to be one-way.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #41 on: December 09, 2012, 08:35 PM »
In some applications, Shift+Del removes the selected entry from a combo box -- nice for cleaning things up where it works.

Speaking of Shift, have found the Shift+Arrow sequences for extending / shrinking the current selection helpful when the initial attempt at selecting didn't quite satisfy.


Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,021
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #42 on: December 10, 2012, 12:07 AM »
Had missed these changes...
https://wiki.ubuntu....XorgCtrlAltBackspace

FTR, most of these work on Linux (well, at least Debian Wheezy + Xfce) too, with some notable exceptions:
  • Shift-F10 doesn't toggle the context menu, but it does raise it.
  • Ctrl-Shift-Esc doesn't do anything.
  • Win-Break ditto.
  • Win+D and Win+M do nothing.

Most Linux Desktop Environments have ways to easily remap/assign key combos so it's easy enough to duplicate functionality, like calling htop or the Xfce Task Manager from Ctrl-Shift-Esc.

A good shortcut for Linux is Ctrl-Alt-Fn where n=1-6.
-Switches to one of six terminal interfaces.
Other than that, most Desktop Environments have ways to easily remap/assign key combos.

Never had to use the magic sysrq key and I hope I never will. :P
« Last Edit: March 21, 2013, 12:12 AM by Edvard »

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #43 on: December 10, 2012, 12:25 AM »
https://wiki.ubuntu....XorgCtrlAltBackspace

So it looks like there's a DontZap xorg.conf option...thanks  :up:

A good shortcut for Linux is Ctrl-Alt-Fn where n=1-6.
-Switches to one of six terminal interfaces.

Definitely found these helpful (actually depending on one's setup, I believe n can have a different value :) ).

I've found Shift+PageUp / Shift+PageDown (for the scrollback buffer) helpful sometimes -- though often enough, the lines I'm interested in are gone for good...some quick searching suggests that there are tweaks available so may be I'll try them some time.

Never had to use the magic sysrq key and I hope I never will. :P

I hope so too -- but if you do get to a point of needing it, you might find the sufficient pausing between letters to be of some help.

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,021
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #44 on: January 23, 2013, 10:24 PM »
Just discovered this last week:
Open Notepad, and hit F5.
It pops the time and date.  

No idea how useful that is, but somebody coded it that way for a reason, so there ya go...
« Last Edit: January 23, 2013, 10:35 PM by Edvard »

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,021
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #45 on: January 23, 2013, 10:35 PM »
More Notepad madness, courtesy of Stephen in the IRC:
http://kn4gc.us/notepadtricks.html

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,963
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #46 on: March 19, 2013, 05:13 PM »
Windows 7 (with aero theme) desktop shortcut & alttab variations.

With CtrlAltTab, the 'switcher' is shown, but you dont have to keep the keys pressed.
Which is nice if you want to tune out for a bit in no man's land :)

Show the XP style alt-tab (without enabling classic theme):
    Hold down the left alt key.
    Press and release the right alt key.
    Keeping the left alt key held down the whole time, now tab-tab-tab away

Winkey+Spacebar shows the desktop temporarily
Tom

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,759
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #47 on: March 19, 2013, 08:17 PM »
Cool, tomos! I didn't know about any of those.

I haven't read this thread, so many this was already mentioned, but don't forget about Windows+Tab for a 3D-ish window preview as you tab through your open windows.

Krishean

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 75
  • I like pie
    • View Profile
    • Draconis Labs
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #48 on: March 19, 2013, 08:49 PM »
Ctrl+Shift+T in a browser.
Any sufficiently advanced technology is indistinguishable from magic.

- Arthur C. Clarke

Josh

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Points: 45
  • Posts: 3,411
    • View Profile
    • Donate to Member
Re: Keyboard shortcut of the day
« Reply #49 on: March 19, 2013, 09:04 PM »
WinKey+B for system tray access and navigation via the left/right arrows.