Skip to content

u/mercer22

In this archive from Mar 2012 to Oct 2015

1
posts
9
comments
0
media
78
score

Top posts

Laptop backlight brightness changes upon opening firefox or thunderbird or watching a youtube video in full screen.

This problem has been a bit of a journey already. I'm currently using: Linux Mint 17 Kernel 3.16.0-28 Nvidia-331 nvidiabl 0.80 Lenovo y500 laptop (2x Nvidia 650M video cards) Here's the short of it-- as a fresh install, my laptop does not have the ability to control brightness. I eventually discover...

5 points0 comments
Open on Reddit

Top comments

Actually, that's not what the comic says. If you read more closely:

Poor kids... Too soon, too soon for all that.

The parents told the children that straw feminists aren't real to calm them. They were protecting them from an unfortunate truth.

(Second to Last and Last Panel)

A straw feminist returns in the reality of the parent to make a closing remark.

I'm not posting this to be rude or anything, but quite a few people have upvoted your post and I think you're mistaken. I wouldn't want others to needlessly leave this thread with the wrong impression of the comic.

50 points

In order to connect to your vpn without using nm-applet, open a terminal and type nmcli con. There, you will be able to find the UUID of your vpn.

Next, create the following script

#!/bin/sh

VPNCON=UUID from nmcli con
DIRECTORY=/proc/sys/net/ipv4/conf/tun0
if [ -d "$DIRECTORY" ]; then
    TOGGLE=down
else
    TOGGLE=up
fi
nmcli con $TOGGLE uuid $VPNCON

(Be sure to paste your uuid in VPNCON, and check to make sure that directory is the actual directory corresponding to your vpn connection).

Then, whenever you'd like to connect/disconnect from your vpn, you can just run this script. You can bind it to a keysym, or, if the script is on your path, you can just type toggle_vpn or whatever you call the script whenever you wish to toggle your vpn.

Also, you can hide appletes from your bar by typing tray_output dzen2 or something else similar in your i3 config file. Hiding these applets is useful for running things like the dropbox daemon without having the ugly dropbox icon perpetually in your status bar.

4 points

A bit more instruction, then: with your vpn connected, go to /proc/sys/net/ipv4/conf/. Check the contents of this directory. Then, disconnect from your vpn. Did any folders disappear? The folder that disappeared is only present when you have an active connection to your vpn, and the path to that folder is the one you want in your toggle_vpn script.

As for other, script related stuff. If you do not already, you might want to create a ~/bin folder in your home directory (a convenient place to keep script files you might use frequently). Create your file by typing touch toggle_vpn, and then give it executable privileges by typing chmod +x toggle_vpn. Paste the contents of the script I provided above, along with your vpn's uuid and the perhaps modified path to your vpn's directory.

On your next log in, in a terminal type echo $PATH. If /home/$USER/bin is on your path, then you should be able to type toggle_vpn into your terminal directly, and it will execute that script. If it's not, you'll need to add your ~/bin folder to your path. I expect that you won't need to do this, but if you do, then you can google for instructions on how to accomplish this.

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