Skip to content

u/__MonHun__

In this archive from Aug 2016 to Jun 2020

0
posts
20
comments
0
media
69
score

Top comments

Have a look at powerlevel-10K highly recommended as a long term zsh user who has been through various frameworks such.as.ohmyzsh and prezto. It is pretty awesome, light and easy to configure.

I use a pretty minimal setup with a few plugins such as suggestions syntax etc.

Its biggest merit is the instant prompt feature.

One more bit of advice, try it without any frameworks.

14 points

Apart from Docker containers (that I also use) you can also consider using systemd-nspawn. I personally find it a bit easier to work with and is ideal for development environments rather than projects.

It is essentially a bare bones system VM that can be used to test packages and for development. It gives me the ability to experiment without worrying that I will mess up my host system dependencies. I can keep it as long as needed and is directly accessible from a file explorer. This means I can easily copy dotfiles over to carry over editor configurations etc.

Read more about it on the wiki here but also recommend reading these two blog articles as well

  1. Intro to nspawn
  2. Running GUI apps within nspawn

Some quick tips:

machinectl can only manage your containers if they are stored under /var/lib/machines but that is only accessible by root so it will be a pain to access the filesystem. Create the container under your home directory and then symlink the folder to the var location and machinectl will be able to see the images.

I always use systemd-nspawn command to log into the container rather than machinectl since that allows me to define my test user and not login as root. machinectl login command seems to be a bit buggy.

What I essentialy do is create a container let's say for rust projects then in that container install all rust dependencies such as rustup etc and have my vim editor only setup for rust so all my rust projects live under that environment. I do the same for all languages I work with isolating dependencies editor configs virtually everything.

I also believe you can run docker within nspawn so you don't even need docker on your host machine but that might be an overkill.

Hope this helps!

14 points

There is a terminal application for almost everything the hardest being web browsing. Assuming you don’t rely on any heavy duty applications such as blender, gimp kdenlive krita ardour etc you can live in the terminal. As a note much of the functionality included in those programs can often be run via the terminal.

You can use use Reddit via rtv Twitter via turses and browse the internet using any of these applications or browsh like op which has Firefox hard dependency.

Arch list of applications from the wiki is useful for finding cli alternatives to GUI apps so as /r/unixporn and /r/commandline

Some might say is an overkill but I am doing this challenge and I am thoroughly enjoying it, it is very educational. I don’t think I will be going back any time soon.

Definitely worth a shot even on a spare machine 👍

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