Hello Everyone,
as you can see on my screenshot, i am using an intel based mac for years now, which i customized to my needs. However i have reached the limits of this machine in terms of customization options and would like to move to linux to test it out as a daily driver. I’m actually quite happy with mac from the pov that everything just works, however there are certain things that annoy me, but apple does not allow me to change them.
As a newbie in terms of desktop linux (i’ve used ubuntu roughly 12 years ago as a daily driver and am familar with headless linux), i’d like your advice.
Specifically I am looking for:
- a minimal, fast system
- keyboard / shortcut based - all interactions can be done from keyboard (within common sense limits)
- all keys can be custom mapped (i have muscle memory of my custom keys for certain actions, so i’d like to keep them)
- all can be configured from dotfiles (worse case shell scripts and ansible)
- very low ressource consumption, snappy system with no delays.
I’d like to try NixOs due to it’s unique configuration ability, however on a headless server it was a buggy pain just weeks ago (for example user passwords just vanished/changed without any external influence, not allowing access anymore), so i’m open to alternatives.
What i am looking for in advice is:
- a minimal, configurable (file based for git) tiling window manager
- a top status bar like you see in the screenshot that i can freely configure
- as much terminal emulator based as possible (i honestly mostly only need a browser and the terminal, most other apps have a TUI that i can use with the keyboard, see the above requirement)
- terminal based package management as easy as brew (maybe Nix?)
- custom keyboard layout (I am not a native english speaker, so i mapped all non-english characters to my option keys with the english layout as the base)
- Option to use 2 keyboards at once (come by default when using Karabiner Elements) as i combined 2 small keyboards to one to a fake split keyboard ;)
My current stack on macos is Hammerspoon for heavy customization, Karabiner Elements, yabai, kitty (and alacritty, for ssh, as kitty is bad with ssh in my personal experience), sketchybar. firefox (customized for privacy)
Any good recommendations or dotfiles? Anything i should look out for as a MacOs User?
Thanks in advance!
Well, i can’t really recommend a specific combination, but I can give you options so you can comprehend more about by researching. All the distros I will list here have dedicated editions, or ways to install different desktop environments. As of judging by your screenshot, it seems like you’re somewhat of a technical user so these recommendations were made by keeping this in mind, these are not the greatest options if you want something for a newbie non-tech savy Linux user.
-
Fedora - exceptionally stable and quite fast distribution, altrought not the fastest, great software availability, if you don’t find your software, or the version shipped by fedora on the repos isnt working for you, consider install it using containers, like flatpak, or distrobox.
-
Arch Linux - very tecnicial distribution, on my experience not really stable and not very usable on the longterm, but works well for a Great amount of people, it’s main features are it’s customizability, being able to craft your own system by deciding precisely what will compose it, and the aur(arch user repository), in it, you will find user made scripts to install all kinds software, even pathed ones.
-
EndeavourOS - Arch’s youngest daughter, arch but a bit more polished, and user friendly, with it you get all the features of arch Linux, with better setuo, and more ease of install your desktop environment / window manager, at the expense of worsened customization.
-
Opensuse - not very popular, but by far the fastest distro on the list, its main edition is based on the plasma desktop environment, you may run into some issues, but if you know your way around things, you will surely get the most out of this system, just like fedora, if you don’t find, or the software on the repositories isn’t working for you, you can always use containers.
Desktop environments / window managers - if you don’t know what these are, I recommend you do a more indeph research about them, but in resume, both are the user interfaces which run on top of your system, the difference is that desktop environments tend to be more user friendly and “complete” than window managers, while window managers tend to be more lightweight, simpler, and customizable.
-
KDE plasma environment - excellent and fast desktop environment, has a great implementation of the keyboard shortcuts, you can make anything do anything just by changing them on the settings app, the glimpse of desktop customization on Linux, it has a lot of themes available and a built in theme “store” integrated right into the desktop. Recommended if you want a great balance between customizability and convenience.
-
Sway - sway is a window manager for Linux based on the Wayland protocol, being the first of it’s kind, can be heavily customized using it’s configuration files, in which have a simple and comprehensive syntax, just like any other window manager, it can be configured to do pretty much anything.
-
Hyprland - I would sway hyprland is a successor to sway, it’s more polished than sway with more features, has beautiful and fluid animations, I have never used hyperland myself, but for what I have seen, it’s the best window manager out there.
-
I can absolutely recommend hyprland to you, tiling compositor with animations you likely know from macOS, lots of configurability and a good example of using it with nix (NixOS might be a good choice here) https://github.com/fufexan/dotfiles
Also quite a nice discord server or matrix if you have questions about it.
a minimal, configurable (file based for git) tiling window manager
I like i3, it ticks all your boxes. Made my own config in 2020 and it still works. Keep in mind that you have to design your whole desktop enviroment when you go the window manager route. bspwm might be an option as well
terminal based package management as easy as brew (maybe Nix?)
Every linux distro has it, I’m an Arch person, many people like Archs package manager pacman, so you could go with EndevourOS or if you’re adventorous with vsnilla Arch.
as much terminal emulator based as possible (i honestly mostly only need a browser and the terminal, most other apps have a TUI that i can use with the keyboard, see the above requirement)
Well, what kind of software you’ll run is up to you. Linux has all the TUI stuff. If you haven’t already, check out vim, emacs and nnn. Don’t forget to customize your shell (and choose it first, i would recommend zsh or fish).
General advice: Look into r/unixporn, most posts there have dotfiles, look for something you like an try it (with a fresh user that you can delete afterwarda maybe?)
I daily drive NixOS on a gaming PC and work laptop, works great for both and haven’t encountered that password issue you mentioned
ElementaryOS, mint and pop are good starter ones and elementary looks a lot like Mac’s interface
For desktop environments the ones I know well that have the top bar, GNOME has one by default but don’t think it’s very configurable, Pantheon looks a lot like the Mac UI and I think you can technically edit the html behind it? KDE is definitely the one people use for maximum customisability and you can create a top bar with that pretty easily
As for capabilities, most distros will do most things, they’re all pretty much the same under the hood and all run the same software depending on package manager
Package managers generally come with the distro and I think that’s usually the thing that makes people’s minds. I’ve not used brew but most package managers will be something like
Snap (most distros): “snap install firefox” Apt (Ubuntu based distros): “apt-get install firefox” Pacman (arch based distros): “pacman -S firefox”
Apologies if I got any details/syntax for any of this wrong am doing this off the top of my head and am rather tired
Thank you everyone for all your suggestions! I’ll quickly try to summarize them for myself. So what you suggest is:
Operating Systems:
- NixOs
- Debian 12
- ElementaryOS
- mint
- PopOs
- EndevourOS
- Fedora
- arch
- Opensuse
- Novara
Tiling Window Manager:
Recomended to use something based on wayland.
- hyprland (can be configured from file, good compatibility with nix)
- sway (proposed with Debian, multiple suggestions, config via file as well, good for custom keybindings, already options for sway in nixos)
- i3
- bspwm
- KDE Plasma
- dwm / dwl
Status Bar:
- swaybar (in case of using sway)
- waybar (when using wayland)
- eww
- ags
- KDE neon
Package Managers:
- flatpack
- brew (is this already stable enough?)
- Nix (obvious choice if nix os chosen)
- snap
- (pacman if arch)
- integrated one
Packages:
- together with wayland alacritty or kitty
- foot
- Yakuake
- suckless
At the moment I am trying to avoid anything where RedHat is involved. Not because of the recent controversy, but simply IBM is known to kill their software solutions on a whim. (although i still use ansible), so Fedora is unfortunately out (again, no judging on how great it is). I’ve been quite interested in EndevourOS, so that might be fun to try out. Debian for the desktop probably not right now. I’m running it on servers for stability, but for a desktop environment, i prefer having more recent packages (e.g. neovim). The “sales pitch” for Mint sounded pretty interesting as well. However i’ll give NixOs a try first, simply because it was mentioned very often, same with sway.
Based on this i’ll try out these combinations first:
- NixOs with sway and eww
- NixOs with hyprland and waybar
- NixOs with dwl and ?
If this does not satisfy, i’ll look into endevourOS and mint, but that might require some Ansible I assume.
Thank you very much!
I have a very keyboard heavy setup and have used the same distro for 5 years, I might be biased. That said…
Try KDE neon, you can set up a top bar and shortcut pretty much everything. It’s based on Ubuntu so you can get some familiarity.
For terminal you can look into Tmux. It’s pretty cool shortcutty terminal multiplexer that you can bring with you if you ssh into a server.
Yakuake is also nice, quake style drop down terminal that I use to launch apps or run some of my bash functions.
All in all, give it a go, imo Linux has the most modern display managers, most customization and best multitasking tools.
Removed by mod
You may find yourself interested in suckless software, take a look here.
Its all written and configured with C, so it should be pretty fast. And there’s dwm, their dynamic tiling window manager.
I guess the distro/package manager would be whatever you want, as suckless software encourages that you build from source and maintain your version of the software.
No reaspn to use xorg anymore. So therefore, dwl is much better choice.
for example user passwords just vanished/changed without any external influence, not allowing access anymore
Could you elaborate on this? It doesn’t happen for me and thousands of other NixOS users. Did you create some sort of impermanence setup or anything?
I believe Arch+i3 would answers your needs.
i3 is pretty easy to configure, IMO.
Especially compared to other WMs.
I forgot one essential tool, where I need a recommendation for: spotlight. I use it to switch quickly between applications or to folders. Keyboard shortcut, first letter of the application name and enter… I know there are solutions, but I only heard from Ubuntu, which I don’t want. Anything simple and fast you can recommend?
Fuzzel is also nice if you are using Wayland.
About the status bar I want to suggest Tint2 because it is relatively easy to setup. You can create new widgets by writing an “executor” in bash. This is how I display the window name in my Tint2 panel.
execp_command = xdotool getwindowfocus getwindowname
There are more advanced executor examples here. https://github.com/IanLeCorbeau/tint2-executors/tree/master
The other suggestions are also nice, maybe more featured, but Tint2 was just less intimidating for me.
That looks promising, especially since my current status bar is also just a collection of shell scripts, so that might be easier to switch