Mine is using the arrow keys to navigate typed text while writing and editing. It helps speed things up, versus having to move your hand to the mouse to navigate.
Use the Up and Down Arrows to move/jump vertically.
Left and Right Arrows to move/jump horizontally.
Combine Left or Right Arrow with Shift to be able to select text. Use Up or Down Arrow with Shift to quickly select whole/nearly whole sections of text.
Combine Control with Left/Right Arrow to jump whole words to more quickly move to where you want to type.
Not most used, but I recently discovered a lot of new options in COSMIC’s launcher, and I use them all the time.
Just type
?
and you’ll see what I mean.Dunno if Emacs Lisp counts as a life hack, but I’ve been slowly learning it, and it’s very nice to be able to setup custom workflows with such a high degree of customization (and a substantial amount of flycheck yelling at me)
-
Shift + Tab (also works on Linux)
-
If you have a mouse with side buttons, you can use the side buttons to go back or go to the next page on browsers
-
Pressing Alt + F4 on the desktop opens up a dialog asking if you want to shut down, restart, log out, etc. (I think this works on Linux as well)
-
if you’re concerned about how much you need to move your hand, then you’ll probably love (neo)vim
My main one is to learn shortcuts on your most used programs. Using the mouse for everything is a waste of time, but that has been said multiple times.
My second is to create scripts to do a bunch of repetitive tasks. For example, I have a script I run on my work PC after I log on to the VPN that starts my “always on” programs (like notepad++), unlocks the hosts file, etc. I have some sendto scripts for converting files with pandoc, fetching multiple git repos in one go, etc. It just speeds up things and avoids errors versus me doing them manually.
On Windows I use PowerShell and on Linux I use bash, meaning they work without additional software installed.
Use a tiling window manager like sway.
Get some big HDDs and self host your own file storage on zfs. Same for media servers like jellyfin. You can also host qBitTorrent web client so it’s accessible from anywhere.
Set up a VM in Hetzner cloud and host vaultwarden.
Expose your services over wireguard.
Recently had to help a relative who still uses windows, so here’s a freebie from Linux:
You can use super + number to launch any pinned program on the taskbar. For example let’s say you have your browser right of the start button and file explorer on the next spot right, pressing super+1 launches the browser and super+2 the explorer
Edit: super = windows logo key
Ctrl+r on bash and zsh (possibly others) for quickly recalling anything you’ve typed before
This is a huge one for me. For those who don’t know, this brings up the rev-i-search utility which allows cycling from most recent to oldest commands executed. It also supports partial finds so if you did ‘cd’ it would cycle the most recent change directory commands.
The forward search (in case you’re somewhere in the history stack) is ctrl+s and operates the same except crawls the command history forwards.
I use these constantly in my normal workflow and they save a ton of time.
Win + E to open a file browser window
My favorite windows shortcut is ‘Windows+shift+left/right’ to move an application between monitors. Very helpful for moving games around or snapping without have to use a mouse.
Shift + del: skips the trash and actually deletes things
Microsoft has never fixed the sticky keys replacement cheese to unlock a PC you have physical access to. Ive done it up to W10, never tested it on W11.
-
Get a Windows recovery USB.
-
Boot into the recovery menu and open the command prompt.
-
Navagate to system32 and make a copy of the cmd.exe file (for a backup)
-
Copy the sticky_keys.exe and have it overwrite cmd.exe, then reboot.
-
On the login screen, smash the shift key until the command prompt appears and for some reason (because no user has logged in yet) it has admin permissions, so you can reset local passwords.
-
Once your logged in as a local admin, copy the backup of cmd.exe back so noone is none the wiser (except the security software that knows you messed with something)
I just boot in to a linux iso to use chntpw and reset passwords
That… Seems like a pretty massive vulnerability. Like obviously that can be locked down by each user or administrator, but still…
It is, we used the same just with the accessibility button in earlier Windows Versions to troll one another in school. Thing is, if encryption is enabled it won’t work.
-
To navigate to the previous folder
cd -
To reissue the previous command with a prefix. For example:
cat /root/.ssh/authorized_keys # Will fail without privilege
sudo !!
To use the argument of the previous command. For example:
tac ~/.ssh/authorized_keys # oops, misspelled cat
cat !$
The - works with git branching as well for those who didn’t know.
git checkout -
will switch to the previously checked out branch so it effectively toggles between your two most recent branches.Oh dang, I never knew about the
!!
shortcut. I especially like it for the sudo example, because when it complains I don’t have permission, I can basically yell at it.I’ve seen posts suggesting adding the following to your .bashrc:
alias fuck='sudo $(history -p \!\!)'
cd -… Wow, I can’t believe I never knew about this. I should read more man pages.
!! Is useful too, never knew. Thanks!
Set up three WireGuard network interfaces on a VPS then accept traffic from your end devices to route through the three double hop VPN tunnels to a country with better privacy laws. Install an ad and tracking blocking DNS server to block all nefarious hostnames as well as more granular blockers for your browsers.
hosts file block twitter/reddit/facebook/etc on all my computers. i guess i haven’t done it on my phone because i can’t be bothered [and regardless of how much i need a hit, i’m not gonna sit there on my phone browser for hours anyway]
pi-hole does the same thing for a whole network
Yeah I use AdGuard. It’s so nice to not have ads!
I also saw that Netflix on my TV was constantly phoning home even though I don’t use it on my TV.