Skip to content

u/keyks

In this archive from May 2015 to Nov 2016

30
posts
117
comments
2
media
717
score

Top posts

Speed up compiling of AUR packages!

As I am not a C programmer I never really looked into PKGBUILDs and how the compiler works. I just grabbed the nearest AUR helper or makepkg and moved on. Anyway.. I just wanted to try out a new software that got its sources from a git repository and was bothered because compiling was painstakingly...

95 points103 comments
Open on Reddit

Quickly search Arch Wiki

If you use an application launcher like dmenu or whiskermenu which uses .desktop files to start applications you can use this to quickly search the Arch Wiki. You can modify this for any site of course! The %u is the string that is passed by your launcher when you activate this. For exampe typing "A...

48 points13 comments
Open on Reddit

Share your nicest automation scripts!

Show off your scripts you use to automate and make life easier. Mine are really lame because I don't have the time nor the nerves to learn the bash syntax. So let me see yours :) But anyway here is one of mine... I set this up as an action in my File Manager. So with a right click I can send the sel...

48 points35 comments
Open on Reddit

Full disk hw encryption and auto login?

I'd like to login automatically into my user account, because I enter a password on boot due to full disk hardware encryption. However if I don't login with a password I can't use a keyring and am therefore saving passwords in plaintext. What do you suggest? Is entering the password twice the only w...

19 points15 comments
Open on Reddit

Top comments

Why didn't you just make an alias? alias install='sudo pacman -S'

Not sure though if that would interfere like above. You try :)

EDIT:

The answer lies in here. But I am too stupid.

An alias definition shall affect the current shell execution environment and the execution environments of the subshells of the current shell. When used as specified by this volume of POSIX.1‐2008, the alias definition shall not affect the parent process of the current shell nor any utility environment invoked by the shell; see Section 2.12, Shell Execution Environment.

45 points

I don't recommend taking notes on a computer, especially if comprehension is key. A laptop just distracts too much and you are limited to written text. Good old pencil and paper still works great (or a tablet if you happen to find one that does not suck with a pen)

There are a lot of studies and articles to back up my opinion. Here is one from Scientific American

19 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.