Skip to content

u/9233

In this archive from Mar 2015 to Mar 2017

5
posts
25
comments
1
media
278
score

Top posts

How to check if running from console?

Basically I want to use a different zsh prompt theme when running from the console, because of the lack of Unicode character support. Currently I'm doing this by checking if x severer is running, but this isn't ideal, since I sometimes change to a different TTY (Ctrl+Alt*F1) while x is still running...

1 points2 comments
Open on Reddit

Top comments

That's actually a really good solution. Works like a charm every time i tried. If someone needs a bit of clarification:

  1. Connect to the WiFi on your phone.
  2. Plug in your phone to your arch machine
  3. Enable USB tethering in the phone's settings
  4. Run "ip link" on your arch machine to figure out what the network interface of your Phone is called (something like enp0s20u3)
  5. Run (as root) "dhcpcd enp0s20u3"
  6. Now you have a working Internet connection and could install something like networkmanager to be able to connect to the WPA-Enterprise WiFi.
7 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.