Skip to content

u/YourFin

In this archive from Aug 2016 to Nov 2017

3
posts
20
comments
0
media
51
score

The alias is a holdover from when I used yaourt, but I find this really useful for making sure that my hard drive doesn't fill up (again) with cached old versions of packages. Also slightly simplifies package commands.

if [ -f "/etc/arch-release" ] ; then
   function y()
   {
       if ! [ -z $(which pacaur) ] ; then
        pacfunc="pacaur"
       elif ! [ $(which yaourt) ] ; then
        pacfunc="yaourt"
       else
        pacfunc="sudo pacman"
       fi
       if [ -z "$1" ]; then
        eval "$pacfunc -Syu"
       else
        eval "$pacfunc -S $@"
       fi &&
        # remove to 3 versions of old packages
        sudo paccache -r &&
        # remove all cached uninstalled packages
        sudo paccache -ruk0
   }
fi

I'm sure other people have done something similar, but I've never seen it suggested.

Ninja edit: screwed up indentation

1 points

Just let me note that you want to get keepassx2, not the keepassx package. Keepassx2 is an order of magnitude faster on my machine for opening password databases.

1 points

26 packages

ballandpaddle 0.8.1-1
brainfuck 0.1-1
checkbashisms 20160930-1
displaylink 1.3.52-1
dropbox-cli 2015.10.28-2
eclim 2.6.0-1
evdi 1.3.43-1
fpp-git 0.7.1.r481-1
git-extras 4.2.0-1
google-chrome 57.0.2987.133-1
gtick 0.5.4-3
latex-mk 2.1-3
libinput-gestures 2.21-1
lilo 24.2-1
neofetch 3.0.1-1
numix-circle-icon-theme-git 0.r3.3773866-1
numix-icon-theme-git 0.r1864.27ddab5-1
pkgtools 25-7
private-internet-access-vpn 3.3.2-2
qdirstat 1.3-1
screenkey 0.9-1
spotify 1.0.52.717-1
tor-browser-en 6.5.1-1
ttf-consolas-powerline 1.0.g3cd9d75-1
udisks 1.0.5-3
unity-editor 1:5.5.1f1+20170201-1
3 points

Not op, but here's a copy of my working uni netctl profile. Damn thing is pissy as hell, couldn't even figure out the difference between this and my previous one that didn't work. Feel free to ask any questions.

Description='A wireless connection using a custom network block configuration'
Interface=wlan0
Connection=wireless
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
    'ssid="ssid"'
    'key_mgmt=WPA-EAP'
    'eap=PEAP'
    'identity="username"'
    'password="password"'
    'priority=1'
)

EDIT: It should be noted that my version has a newline at the end of the file

1 points

Another idiot using dvorak here:

I switched over two or three years ago, and imho it's not worth it. If feels much smoother to type than qwerty once you get used to it, but you lose far more convince than its worth. To learn dvorak you really need to go cold turkey on qwerty for a couple months, which can be hard if you regularly use computers you don't have full access to, and slows your productivity to a halt for a couple days to a week.

Then there are keyboard shortcuts. Cut (ctrl x) turning into quit in many programs cost me tons of work. FPS default keybindings make no sense in dvorak, so you either have to manually re-map every key or have a moment of confusion every time you try typing in chat. God help you if you have to re-learn how to use vim or emacs. You can try to remedy this by re-mapping all your keybindings to qwerty when you press command/control (osx built-in layout, autohotkey works for windows) and spending hours on your config files, but your brain still will have some problems.

There's a discrepancy between how my brain handles the most often used shortcuts and the occasional ones, with the most often ones being more of a movement, and the less common ones I tend to actually think through the keystrokes. Like, Ok, I gotta comment out these lines. That's control-k, so I'm gonna press control and k. and then, if using the keyboard switching program, I just pressed control v because my mind was thinking in dvorak at the time. Giant pain in the butt, at this point I used got used to dvorak kb shortcuts.

On the upshot however, I touch type, at least on dvorak, correctly now, and possibly a teensy bit faster than I used to type on qwerty. Alongside my arch install it also gives me all the "wow you must be amazing with computers" cred I could ever need and keeps people's hands off my laptop.

TL;DR: Dvorak is great for building good touch typing habits, but will destroy your life for a couple months and makes any and all software a giant pain in the ass.

1 points

End of this list.

Back to top

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.