DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Last post Author Topic: Keyboard shortcut of the day  (Read 59,631 times)

TaoPhoenix

  • 0 - 60 ... then back to 0 again!
  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • Participated in NANY Challenge Three Times
Re: Keyboard shortcut of the day
« Reply #25 on: December 01, 2012, 05:17 AM »
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.
Use attachthumb=# to show an attached image as an expandable thumbnail, or attach=# to show full size. (With Brackets)

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: Keyboard shortcut of the day
« Reply #26 on: December 01, 2012, 09: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
    • Cody Award
Re: Keyboard shortcut of the day
« Reply #27 on: December 01, 2012, 10: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
Re: Keyboard shortcut of the day
« Reply #28 on: December 01, 2012, 03:51 PM »
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  :-\.
Make a good day ... barn

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: Keyboard shortcut of the day
« Reply #29 on: December 01, 2012, 04:13 PM »
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
Re: Keyboard shortcut of the day
« Reply #30 on: December 01, 2012, 04:15 PM »
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
"I am getting so tired of slitting the throats of people who say that I am a violent psychopath."

dojibear

  • Participant
  • Joined in 2012
  • *
  • Posts: 3
Re: Keyboard shortcut of the day
« Reply #31 on: December 06, 2012, 09: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,652
    • Cody Award
    • Participated in NANY Challenge Five Times
Re: Keyboard shortcut of the day
« Reply #32 on: December 07, 2012, 12:17 AM »
Tab at a command prompt to scroll through the items in the current directory.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: Keyboard shortcut of the day
« Reply #33 on: December 07, 2012, 02:50 AM »
Tab at a command prompt to scroll through the items in the current directory.

Nice!

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: Keyboard shortcut of the day
« Reply #34 on: December 07, 2012, 05:07 AM »
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)
#SingleInstance
#Persistent

^!+s::
{
  Send !{Space}
  Send M
  Send {Up}
  MouseMove, 1, 1
}

kwacky1

  • i am Cody's cousin
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 182
    • Participated in NANY Challenge Once
    • Coding Snacks
Re: Keyboard shortcut of the day
« Reply #35 on: December 08, 2012, 10: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
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: Keyboard shortcut of the day
« Reply #36 on: December 08, 2012, 11: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,027
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Linux User
Re: Keyboard shortcut of the day
« Reply #37 on: December 08, 2012, 08: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.  :(
All children left unattended will be given a mocha and a puppy.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: Keyboard shortcut of the day
« Reply #38 on: December 09, 2012, 12:23 AM »
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.

Quote
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:

Quote
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: 446
Re: Keyboard shortcut of the day
« Reply #39 on: December 09, 2012, 12:56 AM »
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
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: Keyboard shortcut of the day
« Reply #40 on: December 09, 2012, 03:07 AM »
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
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: Keyboard shortcut of the day
« Reply #41 on: December 10, 2012, 02:35 AM »
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,027
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Linux User
Re: Keyboard shortcut of the day
« Reply #42 on: December 10, 2012, 06:07 AM »
Had missed these changes...
https://wiki.ubuntu.com/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
All children left unattended will be given a mocha and a puppy.
« Last Edit: March 21, 2013, 05:12 AM by Edvard »

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: Keyboard shortcut of the day
« Reply #43 on: December 10, 2012, 06:25 AM »
https://wiki.ubuntu.com/XorgCtrlAltBackspace

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

Quote
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.

Quote
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,027
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Linux User
Re: Keyboard shortcut of the day
« Reply #44 on: January 24, 2013, 04:24 AM »
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...
All children left unattended will be given a mocha and a puppy.
« Last Edit: January 24, 2013, 04:35 AM by Edvard »

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,027
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Linux User
Re: Keyboard shortcut of the day
« Reply #45 on: January 24, 2013, 04:35 AM »
More Notepad madness, courtesy of Stephen in the IRC:
http://kn4gc.us/notepadtricks.html
All children left unattended will be given a mocha and a puppy.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: Keyboard shortcut of the day
« Reply #46 on: March 19, 2013, 10: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
  • ***
  • Posts: 9,827
    • Participated in NANY Challenge Eight Times
    • Cody Award
Re: Keyboard shortcut of the day
« Reply #47 on: March 20, 2013, 01:17 AM »
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

  • I like pie
  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 75
    • Participated in NANY Challenge Three Times
Re: Keyboard shortcut of the day
« Reply #48 on: March 20, 2013, 01:49 AM »
Ctrl+Shift+T in a browser.
Any sufficiently advanced technology is indistinguishable from magic.

- Arthur C. Clarke

Josh

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,411
    • Gathering Badge
    • Official Forum Clown
    • Coding Snacks
    • Plugin Coding Medal
    • Volunteers/Staff
    • Military Service Badge - US Army
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Re: Keyboard shortcut of the day
« Reply #49 on: March 20, 2013, 02:04 AM »
WinKey+B for system tray access and navigation via the left/right arrows.
Strength in Knowledge

Original address: https://www.donationcoder.com/forum/index.php?topic=32941.0