Skip to content

u/mastermindzh

In this archive from Apr 2018 to Aug 2021

0
posts
63
comments
0
media
230
score

Really depends on what you want.
If you want to get more comfortable with Linux/Arch go for it.
If you want to host some software/service that aren't critical (plex, a webserver, maybe some git...?) sure.. go for it.
If you want a reliable backup solution, more a NAS than a server. Don't go for it.
Though arch rarely has a problem when you update, having it on an important server (like backups) without a failsafe (e.g another server covering the same job that you can update independently) is not the greatest of ideas.

In short; go for it and enjoy!

2 points

Whichever one works for you and is reasonably secure. In the end it's just a program that downloads some files, executes a few scripts and then installs your software.
Your problem with node is unrelated, we'll fix that at the end.
See this wiki for features in AUR helpers (pacman wrappers section).

Now your node-sass situation hasn't got anything to do with the AUR, nor Arch itself.
Note, btw, that node-sass and lib-sass are both deprecated.
You can solve this issue with "nvm". It will allow you to install multiple version of node (and npm) on your system (nvm list) and allow you to switch between them (nvm use). You can update your node to the heavens and back and still use version 4 if you want by simply typing nvm use lts/argon.

1 points

I basically have 2 explanations for you. A short and slightly incorrect one and a longer one which is technically also incorrect (because software is complicated...) but will help you understand what a tty is.

Short: It's the thing you use to enter commands into. Most often known as "Terminal".
Longer:

It's still actually a terminal. But it's a bit of a special beast, really.
You see, usually, an application (like a terminal) does a bunch of stuff in a loop. "Every 5 minutes, check the email server for mail". The terminal is quite dumb and works very differently. The terminal waits for certain signals, mostly hardware signals (not anymore, but keep reading). In fact, a terminal used to be a box on a desk where you'd sit and type in your commands. It had a screen that displayed what you typed and the response that was calculated on the server. These things were both hardware and were connected... hence the "hardware" signals.

Meaning that, in the simplest of terms, you enter text, this text is sent to a server which then processes it and it sends back this text to your terminal which then just displays it. As before, it's really rather dumb.
This meant that, in the old days where computers were expensive things, numerous terminals would be connected to a single server. You only had 1 actual "computer" that did the work, the others were dumb screens with a keyboard that interacted with it.

This type of back and forth between a "terminal" and a "server" was all done on the hardware level. Meaning there were cables between the two. These days it's all done in software.

That doesn't mean we can't... emulate.... a cable+terminal :)...

If you open up two "terminal" applications you basically get two sessions to your server (your actual computer). Both of these can do work for you (albeit, 1 task at a time) and they will both use the underlying system (server). It's almost as if you actually have 2 big old dumb terminals at your disposal. Now how do we simulate the cable? You can use the "screen" command. It'll give you a new session (virtual terminal) to your server (your pc again..) At first, it'll look like nothing has changed, you are just in a terminal.. But it's a special one. You see it ACTUALLY emulates a proper old hardware terminal in the sense that you can disconnect it (it's dumb anyway) and reconnect it later. By default you can do this by holding ctrl + a and pressing d. To reattach you can use "screen -r". I suggest trying this out by running "watch du -h" in your screen session (which will run du -h every 2 sec) and then leaving it. It'll show you that the terminal (software) is still usable. By reattaching you're basically walking back over to the dumb hardware terminal that is still constantly sending requests/receiving data to the server.

Ergo... a tty is basically a connection to a server (async) that lets you run commands. The modern-day terminal is the closest thing to a real TTY experience that everyone uses.

Now.. My answer isn't 100% technically correct. As I said software is complicated, especially when you start working with default TTY's in your OS (I think Ubuntu and such start with 8?), graphical layers etc it all becomes horribly messy. But I think this simple explanation can give you a good idea what a TTY was/is.

If you really want a detailed, history included, kind of deal there is a page on the internet... which isn't the wiki.

3 points

So.. A lot of people here are making this seem more complicated than it really is..

  1. It's not the end but it's a good start. Every now and then (think months apart) a default setting from some product changes and you will face a "problem".A good example of this is the default setting for secondary windows with compton. The default used to be fully opaque but they changed it to 75% opaque.At this point my system did something I did not expect, making secondary windows transparent to a degree. A quick google and 1 config change fixed it.So.. , given that you update daily (which i don't.. I just do it whenever I feel like) your experience will most often result in a 0. Highest I would ever give it is a 3.
  2. Yes you are. Don't put yourself down. No one here just started setting up EVERYTHING all at once. Create a GitHub repo (or something) and whenever you change a config you simply add the entire file (with the change) to that special directory and symlink it over the original file. If you look at the link in my first remark you'll see me add a new file (the very picom.conf), I didn't even know that config existed before... it was a fix I did to a config ;)Eventually you can add a install.sh script that will simply place all the configs in the right place for you. Heck mine even installs the stuff I want on a fresh install... (including DE)
  3. Yes. Of course. Pacman saves old versions of your software in a cache (/var/cache/pacman/pkg/...) so you can always pacman -U one of those. Alternatively you can install downgrade, it'll let you install older version from your cache or from the internet.

Don't fear. Learn.

6 points

I'm going to take a very different opinion to most of the commenters.
It is not worth it. Buy a Sata SSD instead (on sale you can easily get 120gb for under 20 euros).

I have multiple machines, 3 high-end rigs and a lower-end machine (7-9 years old at this point). The high-end machines all have nvme solutions (1 even has raid..), the slower one has a regular SSD.
For the most part I don't even notice the difference between the older, slower, machine with the SSD and the new ones.
Sure it might boot a tad quicker but I wouldn't notice because you do that at max once a day imo.

I had a very hard time switching to a new machine simply because I didn't notice the difference as much and switching meant I had to redo some wiring....
After switching I had to boot into the ssd (which I attached to the new hardware) a few times to get some files off of it and mostly finished the day without another reboot to the faster drives. I couldn't notice....

If budget was a restraint for me the first thing to go would be the nvme drive and I'd get a sata one.

On your question about Ubuntu vs arch in terms of speed. Sure Arch is faster but the difference isn't nearly as major as some would lead you to believe... Especially if you replicate the i3 setup on Ubuntu. One advantage i3 has is that you usually see what others are using and they will most likely use lightweight apps. If you want you can have a look at my dotfiles to get some inspiration.

7 points

Use a cloud solution that automatically syncs with your machine for the truly important files.

After upgrading my last (7-9 year old pc) I had a cloud drive of +- 15gb and a total used capacity on the machine of over 1TB (and I have a file server for the majority of my crap..).

Be smart about what you truly want to save and even a free cloud provider will be able to manage.

1 points

The smarter way to go about it (imo) is:

- windows partition
- linux partition
- backup partition

Install the entire thing (including /home) on the linux partition.
Then, when you eventually nuke it, copy the home directory with the live usb from the linux partition to the backup partition. Then reinstall.

This way you won't have to deal with the headaches if you have to nuke it, + you can even selectively copy files from the old /home (in case you messed something up in /home)

1 points

Sure mate, Have a look at mine.
It has a setup script that I use for all computers running arch (I got 2 computers, 1 work 1 private).

It's recommended that you follow the install script and dive into the other scripts from there.

Files to check out (tailored to your question):

​

Be sure to star the repo so you get updates when I change stuff (it's pretty often)

0 points

I work in IT. In Software development.

I run Arch. I don't take any precautions except minimizing the reboots during worktime.
Nothing much breaks. The latest (and current) thing was my "i3blocks" bar thingy which only shows some widgets.

The last real "problem" I had was that GDM (my login manager) failed. I was able to log in through normal means and resume work in seconds.
I have since installed the new KDE login manager thing (no idea what it is called again...) and haven't had that issue since.

In short, no problems that impact work on my Arch laptop.
You can inspect my setup at: https://github.com/mastermindzh/dotfiles

4 points
  1. There can be. It's about how you set it up. I suggest googling for your specific laptop model number.
  2. No. Follow the guide, don't get distracted reading all the stuff you don't need and stay away from LVM.
  3. Oftentimes, yes. We're not all like that though.
  4. Not much. At the start, you'll have very few apps installed which will make for a snappier system but the main limiting factor is still hardware.
    Don't get me wrong, it's fast... and pacman/AUR are amazing tools. Speed-Wise however? It'll be excellent but mint Xfce is lean as well.
  5. If it fits in the blender it will most definitely.
1 points

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.