Live data from Hacker News

Linux guide for power users (2022)

xnacly.me

71–80 of 110 posts

Re: Linux guide for power users (2022)

#71

My recent gripe is that I've used Linux for more than half my life and I'm well into my 30's. I feel like my ability to navigate a system has gone _backwards_, Debian no longer accepts 'init 0' as a command, ipconfig isn't a command anymore, systemd changed the whole subsystem from underneath me, ubuntu/snap decided not only to litter+bloat my filesystem with needless duplicates but also that not only would I prefer…

Such is the nature of technology.

For me, I can't see how anybody actually used/managed linux systems before they standardized the api for creating/managing daemons. A simple convenient api layer for saying to a machine "I want this program running always."

Re: Linux guide for power users (2022)

#72

My recent gripe is that I've used Linux for more than half my life and I'm well into my 30's. I feel like my ability to navigate a system has gone _backwards_, Debian no longer accepts 'init 0' as a command, ipconfig isn't a command anymore, systemd changed the whole subsystem from underneath me, ubuntu/snap decided not only to litter+bloat my filesystem with needless duplicates but also that not only would I prefer…

> Debian no longer accepts 'init 0' as a command I'm not sure where this affirmation comes from. Do you have "systemd-sysv" installed? What happens when you do run `init 0´? init(1)[0] says: For compatibility with SysV, if the binary is called as init and is not the first process on the machine (PID is not 1), it will execute telinit and pass all command line arguments unmodified. That means init and telinit are most…

Debian 12.1 out of the box, I'm sure there's a workaround, but I had to google 'How do I shutdown my computer.

s/ipconfig/ifconfig/

> Overall, from the one of your reply, I have the impression that you might be happier switching to a less opinionated distro like Void Linux or Gentoo. Something as curated as Ubuntu isn't a good fit for you.

I agree, but I work in infosec. Nobody ever got fired for running Ubuntu, particularly when there's at least some auditing of source before they push out deb packages. I know there are minimal case studies, but one day someone will get malware into a distro, I'd like to reduce the risk that it happens to the distro I'm running.

I also moved away from Gentoo ~ 10 years after systemd was mainstream, at that point it was basically impossible to get Bluetooth Audio working without pulseaudio, which seemed impossible to run without Systemd. I fully understand that Systemd is probably better in a lot of use cases and I really don't care what's running under the hood, provided it doesn't get in my way.

Edit: And the reason I hate whatever is responsible for the 'ip' command is that it's virtually impossible to google specifically for that command (y'know, because 'ip' was a protocol not a command, convoluting things unnecessarily)...

Re: Linux guide for power users (2022)

#73

My recent gripe is that I've used Linux for more than half my life and I'm well into my 30's. I feel like my ability to navigate a system has gone _backwards_, Debian no longer accepts 'init 0' as a command, ipconfig isn't a command anymore, systemd changed the whole subsystem from underneath me, ubuntu/snap decided not only to litter+bloat my filesystem with needless duplicates but also that not only would I prefer…

> I custom compile gtk+ to remove the 'search on type' behavior in file>open dialogs > I'm not afraid of change If that minor issue is a reason to recompile a whole ui-toolkit, then I guess you should just stop applying any os update at all...

It's not actually that complicated, iirc, I have an ansible script to trigger the build based on a 2-line patch.

The maintainers proposed a similar patch to Gnome/GTK as a hidden option in dconf, but iirc their dev team took the opinionated 'our way or the highway' approach, as they've done on many other occasions.

Re: Linux guide for power users (2022)

#74

My recent gripe is that I've used Linux for more than half my life and I'm well into my 30's. I feel like my ability to navigate a system has gone _backwards_, Debian no longer accepts 'init 0' as a command, ipconfig isn't a command anymore, systemd changed the whole subsystem from underneath me, ubuntu/snap decided not only to litter+bloat my filesystem with needless duplicates but also that not only would I prefer…

You sound about the same era as me. I'm 35 now, have been using Linux since 2001 until now. Just remember, that when you started using Linux, it was about 10 years old. It's now been 20 years since then - double the time has passed since you started, compared to what came before it. Some stuff is going to change. Sure some of those commands come from older Unixes but the point still stands :)

Some of your complaints are practical but 2 specific ones I'd note: "ip" has been the tool you wanted to use since even the mid 2000s - ifconfig wouldn't even show you every IP on an interface since then unless it had an alias. Something that may help you make the transition is the "-brief" (-br for short) switch which gives a very compact simple output that is a little easier to visually parse. If you're using a systemd-networkd system, "networkctl status" is also handy.

For systemd, I have never been bitter about it, but while it has changed many commands and interfaces or ways you work, if you just dig a tiny bit below the surface it has SO many modernsations and conveniences that more than make up for it. Make your own rosetta stone for your top commands, but then look around at all the other things systemctl, etc, offer and find some pluses to make the pain worth it :)

See also: https://github.com/certsimple/rosetta-stone

Re: Linux guide for power users (2022)

#75

My recent gripe is that I've used Linux for more than half my life and I'm well into my 30's. I feel like my ability to navigate a system has gone _backwards_, Debian no longer accepts 'init 0' as a command, ipconfig isn't a command anymore, systemd changed the whole subsystem from underneath me, ubuntu/snap decided not only to litter+bloat my filesystem with needless duplicates but also that not only would I prefer…

Spend a week (seriously it will take that long, especially if you've been doing this for a long time and want to customize everything and also haven't been in the gentoo scene for a while) and switch [back] to Gentoo. (don't go all the way to Funtoo, yet, even though syncing and profiles are probably superior)

if you know what `init 0` is then you'll be able to pick up on Gentoo and it'll be the new distro for the rest of your life. another excellent option is Void or Alpine (both of which I prefer on servers, but Gentoo makes a better desktop because it's incredibly flexible).

Re: Linux guide for power users (2022)

#76

Earlier quoted context omitted.

> Debian no longer accepts 'init 0' as a command I'm not sure where this affirmation comes from. Do you have "systemd-sysv" installed? What happens when you do run `init 0´? init(1)[0] says: For compatibility with SysV, if the binary is called as init and is not the first process on the machine (PID is not 1), it will execute telinit and pass all command line arguments unmodified. That means init and telinit are most…

Debian 12.1 out of the box, I'm sure there's a workaround, but I had to google 'How do I shutdown my computer. s/ipconfig/ifconfig/ > Overall, from the one of your reply, I have the impression that you might be happier switching to a less opinionated distro like Void Linux or Gentoo. Something as curated as Ubuntu isn't a good fit for you. I agree, but I work in infosec. Nobody ever got fired for running Ubuntu, part…

pulseaudio works in Gentoo now, and you can even run it without switching to systemd (which Gentoo also supports if you're into that). Gentoo also has a new sound server called pipewire that is pulseaudio compatible so that's an option also.

(and agreed with all of your other points, and there's still something to be said for the push button utility of ubuntu, etc; to your point, a lot of infosec people, including at large enterprises, prefer gentoo.. I know many of them and am one myself.)

Re: Linux guide for power users (2022)

#77

My recent gripe is that I've used Linux for more than half my life and I'm well into my 30's. I feel like my ability to navigate a system has gone _backwards_, Debian no longer accepts 'init 0' as a command, ipconfig isn't a command anymore, systemd changed the whole subsystem from underneath me, ubuntu/snap decided not only to litter+bloat my filesystem with needless duplicates but also that not only would I prefer…

I have a feeling the BSDs could be the answer to that, but I think at this moment what makes me reluctant to migrate is hardware support (could be mitigated by buying specific hardware but I prefer to use what I already have) and virtualization (evolving but not as great as KVM). It is mainly the amount of packages available on Debian-like distros and the slow update cycle that makes me stick to them.

I tried to use OpenBSD for a while at home, and it mostly worked out, but making my VPN work with it looked so complicated that I went back to Debian.

Re: Linux guide for power users (2022)

#78
A much simpler guide if you are not a terminal fiend

1. Install Xubuntu

2. Start your session

3. Run

    sudo apt update
    sudo apt install pocillo-icon-theme materia-icon-theme fonts-clear-sans
4. Go to the Appearance properties. Under style select "Materia-dark-compact", under Icons select "Pocillo", under Fonts select "Clear Sans".

5. Remove the default desktop wallpaper, use something else.

6. Edit the XFCE panels

6.1. Create a panel to use as a start menu/taskbar/clock.

6.2. Create a panel to use as a dock. Make the icon size larger and make it autohide. Add multiple "Launcher" items to it with the programs you regularly use.

7. Install more stuff

    # The most similar terminal to iTerm2
    sudo apt install tilix

    # Similar to Alfred on macOS
    sudo apt install kupfer

    # Install a web browser
    sudo apt install firefox

    # Webcam software
    sudo apt install guvcview cheese

    # Flatpak
    sudo apt install flatpak
8. Go to https://flathub.org/ and install other useful software.

9. Install an office suite (for example, https://www.freeoffice.com/en/)

For games, Lutris and Steam are your friends.

Re: Linux guide for power users (2022)

#79

My recent gripe is that I've used Linux for more than half my life and I'm well into my 30's. I feel like my ability to navigate a system has gone _backwards_, Debian no longer accepts 'init 0' as a command, ipconfig isn't a command anymore, systemd changed the whole subsystem from underneath me, ubuntu/snap decided not only to litter+bloat my filesystem with needless duplicates but also that not only would I prefer…

I have a feeling the BSDs could be the answer to that, but I think at this moment what makes me reluctant to migrate is hardware support (could be mitigated by buying specific hardware but I prefer to use what I already have) and virtualization (evolving but not as great as KVM). It is mainly the amount of packages available on Debian-like distros and the slow update cycle that makes me stick to them. I tried to use…

I wonder if AI and a future GPT-5 with a much longer context window can fix this. I made a complex Tailscale/VPN/Docker config last month with GPT-4 that would have required either a highly competent/expensive sys. admin; or 2 months of reading/researching.

It took me an afternoon to get it working.

Re: Linux guide for power users (2022)

#80

A much simpler guide if you are not a terminal fiend 1. Install Xubuntu 2. Start your session 3. Run sudo apt update sudo apt install pocillo-icon-theme materia-icon-theme fonts-clear-sans 4. Go to the Appearance properties. Under style select "Materia-dark-compact", under Icons select "Pocillo", under Fonts select "Clear Sans". 5. Remove the default desktop wallpaper, use something else. 6. Edit the XFCE panels 6.1.…

For development:

- You can install JetBrains Desktop, then install all the IDEs you need. Once you open your desired IDE, disable the unneeded plugins, and exclude the directories you don't want indexed. You can also disable feature you don't use like folding, code lens, breadcrumbs, etc.

- Install Rust (https://rustup.rs/) then install useful Rust system tools such as ripgrep, fd-find, bat, hyperfine, helix editor, tokei, etc.

Post reply on HN