Ask Lemmy
A Fediverse community for open-ended, thought provoking questions
Rules: (interactive)
1) Be nice and; have fun
Doxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them
2) All posts must end with a '?'
This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?
3) No spam
Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.
4) NSFW is okay, within reason
Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com.
NSFW comments should be restricted to posts tagged [NSFW].
5) This is not a support community.
It is not a place for 'how do I?', type questions.
If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.
6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online
Reminder: The terms of service apply here too.
Partnered Communities:
Logo design credit goes to: tubbadu
That's so cool/clever.
I was surprised that many people didn’t know this magical ✨ shortcut
Ctrl + Shift + t
Cmd + Shift + t
If you accidentally closed a tab in a browser, it will reopen it. Most browsers also lets you open closed tabs one after the other.
It is easy to remember to since it is just a shift away from new tab shortcut
Ctrl + t
Cmd + t
What you just described is the most gen-Y always used PCs but never knew dogshit about it thing ive heard.
Regarding that, Wait until you learn you can use strg to move beetween words.
To be pedantic, keyboard shortcuts aren't hacks. That's the intended use of the thing, and long lists of keybaord shortcuts exist so that people can find the ones that work for them and use them. Just because most people don't do it doesn't make it a hack.
My favorite keyboard shortcut is Super/Windows key and spacebar switches keyboard languages. That's not a hack, though.
Closer to a "hack" is going into an android phone with ADB and disabling bloatware manually.
I'm still on Windows, because I'm a lesser human, etc...
That said, PowerToys adds a lot of nice features to Windows (more like...Sindows, amirite), like being able to break your screen into zones, etc...
My biggest computer life hack of all time would probably be: piracy. Highly recommended. Saves you so much money, I'm surprised they don't advertise it more.
Piracy is like an Eye of Sauron thing. You don't get big and ubiquitous like Napster back in the day or you get pounced on like Aragorn clanging his pots and pans. You wanna stay small and quiet undermining the very power they desire like Sam and Frodo :>
Learn vim keybindings.
Learn hotkeys for every program you have and learn to navigate between programs without the mouse.
Stop using the computer and go outside sometimes
Insult and threaten the maschine till it works
The Escape Key closes most popups, dialogs, modals. It’s also non-destructive, so it won’t close a program; any “save changes” dialog will be cancelled.
End > shift+home will let you copy lines outside of IDE
Ctrl + C
Ctrl + V
Ctrl+Shift+Reset returns your document to the last saved state.
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 !$
That's shell dependent, though. It's bash and some others, but definitely not all of them.
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 \!\!)'
Windows+L every time I leave my desk.
If anyone left their computer unlocked at my old job, the entire office was getting an email about how much you love Justin Bieber
That's not even a life hack. That's literally policy, at least where I work at :)
Not everyone knows the keyboard shortcut though. I bet you can find people hunting for it using the mouse every time.
At my old job (tech support), I watched a new hire once highlight text, right click for the context menu, and click "copy". And then right-click to hit "paste". Every time. They didn't know a single shortcut for anything. It was maddening to watch.
I gave em a lot of help because they were clearly not particularly tech savvy, but it made me wonder how the hell they got through the interview process with such a limited skillset.
Keyboard shortcuts in general.
-
Alt + left right (previous/next page in browsers)
-
Windows + 1 (2, 3, ...) on Windows and KDE focuses the window at that position in the taskbar
-
Alt + Tab to switch windows (hold shift to go backwards)
-
Windows + Tab to switch windows within the same application (like, all browser windows if you're in a browser)
-
Alt + 1 (2, 3, ...) on Windows/Linux usually selects the corresponding tab
-
Ctrl + Tab to cycle through tabs like Alt-Tab does for windows (hold shift to go backwards)
-
In most browsers or things with a URL/go to bar, Ctrl+L will focus that. No need to click the address bar, Ctrl+L, example.com, Enter.
-
In Discord and Slack, you can press Ctrl+K to open a box to quickly type a channel/DM name to go to it quickly
-
If you have them, the Home/End/PageUp/PageDown keys are actually pretty useful. Press Home instead of scrolling all the way back up.
-
F1 is usually help
-
F2 is usually rename
-
F3 is usually search
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)
That.... Seems like a pretty massive vulnerability. Like obviously that can be locked down by each user or administrator, but still....
Does bitlocker solve this issue?
Yes, it does. Only affects unencrypted systems.
Nobody tell this man about vim
Vim takes your keyboard shortcuts to the extreme. If you can be bothered to learn it.
Are you serious? arrow keys instead of clicking? let's take it further:
shift+arrow highlights letters
ctrl+arrow skips entire words
ctrl+shift+arrow highlights entire words
home/end jumps to start/end of line
ctrl+home/end jumps to start/end of text box
ctrl+shift+home/end jumps to start/end of textbox and highlights it
um, do you need me to explain what ctrl+xcv do? or ctrl+zy? or ctrl+asdwerfgop?
isn't this just basic typing? didnt yall learn this in the 90s??? how are you all on the internet right now
wait til you hear about how i swipe texted all this
Find a Linux distro you like and install it instead of Windows.
Use LibreOffice, not MSOffice
Ditch Google, Apple, Meta, and Microsoft.
Tech walled gardens are insane asylums. Leave them.
Using the arrow keys for exactly what they’re made for isn’t a hack lol
Nobody tell OP about the Page Up and Page Down keys, their head might literally explode. (jk op).
Ctrl+r on bash and zsh (possibly others) for quickly recalling anything you've typed before
Using ublock origin picker to remove everything useless. Like, Youtube suggestions, everything but download button on ddl websites, useless footers/headers on news, etc...
Yay, nobody said my favorite hack.
While browsing on the web and you want to "open link into a new tab", click using the mouse wheel like it's a regular left or right click.
It's great for researching.