DEV Community

Cover image for Switching to Arch Linux
Mauro Garcia
Mauro Garcia

Posted on • Updated on • Originally published at maurogarcia.dev

Switching to Arch Linux

Full disclaimer

I don't hate Windows. It's a great operating system, and I've been using it for decades. And it's totally ok if you use it too. In fact, you may need to use Windows or Mac if your work depends on tools that are not available on Linux.

Even though I tried Linux many years ago, I always returned to Windows for different reasons (mostly work and gaming). But my desire to leave Windows behind has grown on me recently, mainly because I've been learning more about the free software movement (free as in freedom).

Like many of you, I want to get things done, and the idea of having to spend weeks learning how to use a new operating system didn't sound appealing to me. That's why I decided to change my point of view and see it as an occasional hobby.


💡 If you found this content valuable, you can follow me on Twitter and Instagram.

Early experiments

After dual-booting Windows 10 and Manjaro Linux, I started to spend a few hours a week doing small experiments within Manjaro. Three months later, and with a better understanding of both the operating system in general and the Linux terminal, I decided to try ArcoLinux and spend even more time on Linux.

Finding the right tools

My main concern when switching to Linux was not being able to do my job. I use a few tools every day (like Figma or Notion) that I thought could not be used on Linux. But after some research and experimentation, I managed to get all of those tools working.

So I decided to share a list of tools/projects/apps I found that enabled me to do my daily job with Linux. A few apps are not strictly required for my job, but they highly improved my experience and boosted my productivity.

i3 Window Manager

i3 Window Manager
After doing some research, I learn that there are unlimited customization options for your desktop environment on Linux. You can use a full desktop environment like GNOME, KDE, Mate, Cinnamon, or you can use Window Managers.

Window Managers are only one of the many components of a desktop environment, and its objective is to control where elements appear on the display. Because I wanted to fully customize my setup (and get a deeper understanding of Linux), I decided to start using i3.

There are dozens of options out there (xmonad, qtile, dwm, Awesome, Openbox, etc.), but I stick with i3 because it's easy to customize.

I really love Window Managers because it allows you to move through different windows without leaving the keyboard. Once you get used to them, there is no going back.

I managed to set up i3 to work with different workspaces on each monitor and open certain apps like VSCode on a specific workspace. In that way, I always have my browser on my left monitor and my code editor on the right one.

To learn more about i3, follow this link

Feh

Feh is a lightweight and versatile image viewer. I'm using it to set up my wallpapers on my i3 config file. You may not need this tool if you're using a full desktop environment instead of a window manager like i3. If you want to learn more about Feh, follow this link

Polybar

I wanted to have a custom status bar for my i3 window manager, so after some research, I found Polybar. Polybar is a powerful open-source tool that aims to help users build beautiful and highly customizable status bars for their desktop environment.⁣⁣

Even though I'm an absolute noob to Polybar, I spend some time customizing my bar to look like this:
Polybar custom setup
Polybar status bar

One of the things I love about Polybar is that it's modular. Meaning that there are tons of out-of-the-box modules you can add to your bar without prior scripting knowledge.⁣⁣ Besides, you can create your own module if you want, and the documentation for the out-of-the-box modules is fantastic.

To learn more about Polybar, follow this link

Flameshot

Flameshot is the best substitute for the Windows Snipping Tool. It's a powerful yet simple to use screenshot utility. Here you can see an example of how many things you can do with it.

Flameshot screenshot software

If you want to learn more about Flameshot, follow this link

Vysor

I've been working a lot with React Native, and I needed reliable software that lets me cast my phone screen on my desktop environment to control my phone without having to deal with the touch keyboard. Besides, sometimes I need to show a demo of the apps I'm working on, so having the ability to run this tool on Linux was kind of a deal-breaker for me.

After doing some research, I managed to compile the app following the instructions available on GitHub.

Here's Vysor, running on my ArcoLinux and casting the screen of my Android Phone:

Vysor working on ArcoLinux

To learn more about Vysor, follow this link

Peek

There's a tool called ScreenToGif that I use a lot on Windows. It allows me to record animated gifs to share on social media quickly. Sadly, it's not available for Linux. Thankfully I found Peek.
Peek is a super simple-to-use gif/video recorder. It's not a general-purpose screencast app with extended features but instead focuses on the single task of creating small screencasts of an area of the screen.

Here's an example of a GIF generated using Peek.
Example of gif generated using Peek

To learn more about Peek, follow this link

OBS

Open Broadcaster Software (OBS) is a free and open-source, cross-platform streaming and recording program. If you're producing content for YouTube or streaming on Twitch, this program has pretty much everything you'll need to start. Follow this link to learn more about the project.

Alacritty (Terminal Emulator)

Alacritty is a modern terminal emulator that allows extensive configuration, and it's a GPU-Accelerated Terminal, so it is known for having a good performance. To learn more about Alacritty, follow this link.

Alacritty Terminal Emulator

Brave browser

I really love Brave. It's privacy-focused, it's open-source, and it pays you with crypto if you accept to see sponsored ads occasionally. Besides, it's based on Chromium, so the developer tools are excellent. You can learn more about Brave on its official website

Spotify

Even though you can't download Spotify for Linux from the official website, you can get Spotify using the Snap package management system. Just type snap install spotify on your terminal, and you're ready to go. Now you can listen to your favorite music on Linux.

Spotify-TUI

If you are into Terminal user interfaces like me, you'll really enjoy Spotify-TUI
Spotify Terminal User Interface

Lotion (unofficial Notion app for Linux)

Lotion was an unexpected but cool surprise. I found this fantastic project on GitHub. It's super easy to install, and it just works!

Lotion - Notion unofficial client for Linux

Figma-Linux

Figma-Linux is an unofficial electron-based Figma desktop app for Linux. You can easily install it using the snap package management tool.
Figma-Linux: Unofficial Figma client for Linux

To learn more about the project, visit the GitHub repo

VSCode

There's no much to say here. VSCode is my favorite IDE, and it's multi-platform. So, if you're working with VSCode on Windows, just know that the Linux client has precisely the same features.
You can find more specific instruction for installation based on your Linux distribution here in the official VSCode documentation

Docker

Docker is my daily driver to work with things like MongoDB and SQL Server on Linux. Docker is multi-platform, and you can use it on Linux. If you heavily rely on Docker for your daily job, know that you won't find any limitations while using it on Linux.

Final thoughts

I wanted to share my experience in case you're thinking about trying Linux, but you're not sure if that time invested will pay off.
At least for me, Linux has improved my work experience by letting me customize every single piece of the environment. And that's enough for me to keep learning and tweaking.


Did you do your daily work on Linux? What's your favorite distro and why?

I would love to hear about your experience with other Window Managers, so let me know if you tried anyone besides i3.

Top comments (157)

Collapse
 
cmuralisree profile image
Chittoji Murali Sree Krishna

Welcome to arch, I started my linux journey with linux mint , ubuntu and alot, finally ended up with arch Linux,

I've fallen in love with vanilla arch

The only thing is, it's hard to install, but basically you are creating your own system, you can easily understand if anything goes wrong, it's an really light weight distro than others and ofcourse it's an rolling release, no matter what just sudo pacman -Syu will find you the latest kernels and applications, And for applications there are ton of support from pacman repository, and we can have this stuff AUR, once we have that installed, we can almost get any software that we needed, finally the famous arch wiki,

I tried xmonad, dwm, awesome, and qtile, but these are a bit complicated when it comes to customisation, so I sticked with i3,

I am using i3 from past 2 years, it's really lot easier to customize, and it's pretty lightweight and simple to use.

Collapse
 
ryencode profile image
Ryan Brown

A while back I was trying various distros and couldn't settle. When I sat down and analyzed what I wanted out of Linux, Arch came out on top. I truly value the knowing exactly what is going into everything I'm doing. Arch runs most of my VMs and some of my desktops (that aren't windows)
Arch rules :)

Collapse
 
mauro_codes profile image
Mauro Garcia

You mentioned many of the reasons why I decided to use Arch too. It takes a little bit of effort initially, but it's totally worth it in the long run.

Thread Thread
 
ryencode profile image
Ryan Brown

Agreed, the effort to understand really helped me later in solving issues that came up even when dealing with other operating systems and programming situations.

Thread Thread
 
kettle3d profile image
Kettle3D

I really like Arch. I completely GNOMEd it, and I like that pacman handles dependencies better than apt.

Collapse
 
raralang profile image
Conrado Fonseca • Edited

Exactly, one of the best things about Arch is the package repositories (Pacman and AUR). Mauro suggested using snap, this is completely unnecessary on Arch, and you should be able to have everything you need on the main repository (Pacman) or users repository (AUR).
And, as Chittoji said, the famous arch wiki 💕
Also, want to say that I use DWM, ST and dmenu (suckless ftw) đŸ€–

Collapse
 
mauro_codes profile image
Mauro Garcia

For most packages, AUR is all you need. But I found a few packages (like Figma-Linux) that are not available in the AUR. That's why snap is not entirely unnecessary.

I heard a lot of good things about dwm! I definitely want to try it later on my journey. And I love dmenu! I'm currently using it.

Thread Thread
 
raralang profile image
Conrado Fonseca

Nice one, Mauro. I was able to find the Figma-Linux on AUR repository. Have you tried it?

DMW looks to be one of the more complicated Window Manager to configure, and it's possible to get to a point where patches conflict with others 😅 . Still, if you have experience with C, it's possible to overcome the conflicts. Also, polybar is easier to customize compared with the DWM builtin status bar, but once you have it all set, it's all happiness 🙂.
Check my dwm build, and feel free to reach out if you have any question or need any help.

Thread Thread
 
mauro_codes profile image
Mauro Garcia

Not sure why, but today I searched the same package in AUR, and I get 0 results. I just performed the exact search, and now I see two results.

About DWM, what you mentioned about the patches was the reason why I'm skeptical about using it, but I'm sure once you get to the point you want, you probably don't need to touch it frequently.

It's been like eight years since the last time I worked with C, so I'm rusty. 😄

I'm going to check your dwm build later :) Thanks for your help, Conrado!

Collapse
 
mauro_codes profile image
Mauro Garcia

Wow! thanks for such complete feedback, Chittoji! You mentioned a couple of things like pacman and AUR that I'm really enjoying! I've been using snap, too, for a few packages.

About window managers, I was learning about Awesome because I saw that it comes with great defaults and has good documentation. I hear that dwm and xmonad requires a lot of additional work, so I think I will try them later on my journey :D

I would like to hear your thoughts and experiences with Awesome.

Thanks again for taking the time to share your experience with Arch!

Collapse
 
cmuralisree profile image
Chittoji Murali Sree Krishna • Edited

Awesome is a good window manager, but it uses rc.lua file for config, Awesome wm comes out of the box with
a good desktop, panels and widgets, unlike other window managers Awesome wm have a proper menu system, but if you want to config the wm, you have to import the libraries first, then have to settle things around, people like it because it comes close to desktop like feel.

unlike i3, you can use right click on empty window for options like opening menu, or other stuff just like desktop managers, it probably a good window manager, but its config is not as easy and simple as i3

Thread Thread
 
mauro_codes profile image
Mauro Garcia

The thing about awesome that didn't like me was the amount of stuff that it has. As you said, it comes with a full menu system, status bar, etc. I think that I'll stick with i3 at the for the moment. Thanks for your feedback 😄

Collapse
 
josemanuelp profile image
josemanuelp

I took that path too, it was a lot of fun, but I finally settled on Manjaro Gnome with Material Shell. Simply the best desktop a developer could have, IMO.

Collapse
 
mauro_codes profile image
Mauro Garcia

Great choice! I'll be playing for a while until I learn a little bit more, and then I'll probably stick to one configuration too.

Collapse
 
shrihankp profile image
Shrihan

I always liked the Arch and Arch based distros, because:

Ubuntu: sudo apt-get update && sudo apt-get upgrade
Arch: sudo pacman -Syu

Ubuntu: sudo apt-get install software-properties-common; sudo add-apt-repository ppa:some/repository(Run the second command for every new software not found in the official repos)
Arch: sudo pacman -S git;git clone https://aur.archlinux.org/yay-git;cd yay-git;makepkg -si(No need to do anything again. Almost every software is found in the AUR)

Ubuntu: sudo apt-get install ...
Arch: pacman -S ...

Collapse
 
ginsburgnm profile image
Noah Ginsburg

That's interesting, WARNING HERE BE DRAGONS( i.e. my opinion lol)

I find apt a lot easier, because I'm typing out the verb that I want to happen. With pacman it's all flags, so you have to memorize all those flags instead of just thinking about what you're trying to do.

I also I have an update script that I wrote for Debian based systems to handle update/upgrade/dist-upgrade and what not, that sure id never run on production systems but it's served me well for years.

That way my upgrade process is just "updatey" (yes the y means auto accept lol)

Also as far as additional repos go I think I've only got like 2 on Debian based machines, so I don't feel like that's a big deal.

I also always found it strange that pacman basically needs wrappers (such as yay) to do the same functionality that the other package managers do out of the box. Now sure, you don't need to use yay, but it's gonna get painful if you don't.

Collapse
 
mauro_codes profile image
Mauro Garcia

You're right about Pacman being a little bit cryptic, but I think you could solve it using aliases.

Really cool what you did with your script 😄

Thread Thread
 
ginsburgnm profile image
Noah Ginsburg

To pacman's credit though.. man pacman leads to some very well written documentation

Collapse
 
shrihankp profile image
Shrihan

So your dragons are a bit more powerful 😜

Collapse
 
mauro_codes profile image
Mauro Garcia

You're right! I always thought that the ubuntu way of installing packages was “ok” until I started using pacman.

Collapse
 
patferraggi profile image
Patricio Ferraggi

Thanks mauro, awesome guide. I already have my laptop and I will be switching to linux soon (waiting for the ax500 wifi drivers to be fully supported). I also have arch in mind so this is perfect for me

Collapse
 
oben profile image
OBen

you could try a different distro, perhaps from ubuntu family, their team has made a huge progress in supporting ton of drivers.

Collapse
 
patferraggi profile image
Patricio Ferraggi

Yeah probably ubuntu is gonna be my first try, but even for them the drivers are still not fully merged. I am following the launchpad issue for ubuntu fixing that so hopefully soon 🙂

Thread Thread
 
kettle3d profile image
Kettle3D

Linux Mint has good drivers.

Thread Thread
 
mauro_codes profile image
Mauro Garcia

Mint is another great option!

Thread Thread
 
patferraggi profile image
Patricio Ferraggi

Yesterday the driver support got merged on the ubuntu launchpad bug and the dev who fixed it wrote me a message on how to use the fix so today I am gonna give it a try. Wish me luck đŸ€ž

Thread Thread
 
mauro_codes profile image
Mauro Garcia

That was fast :D

Thread Thread
 
patferraggi profile image
Patricio Ferraggi • Edited

Everything worked out great, installed ubuntu (no wifi or bt) gave myself internet with usb tethering, updated kernel and firmware and after that everything worked out of the box. Considering deleting my windows partition even

Thread Thread
 
mauro_codes profile image
Mauro Garcia

So glad it worked out!

Collapse
 
mauro_codes profile image
Mauro Garcia

Thanks Pato! The wifi drivers sometimes are a headache! Thankfully I'm using ethernet so I didn't have to deal with it 😄

Collapse
 
mauro_codes profile image
Mauro Garcia

You're not lucky. Arch is a good distribution :D The documentation is insanely good too.

Thread Thread
 
smonff profile image
🌌 SĂ©bastien FeugĂšre ☔

Yes, the documentation is excellent, I have to admit. I recommend it very often to people using Debian. Because Arch people run into so many problems, they built this amazing wiki that can save a lot of issues. This is really a thing.

Collapse
 
bracikaa profile image
Mehmed Duhovic

I am using Ubuntu exclusively for the last couple of years, but I wanted to go the DIY Linux route, and I'm definitely thinking about picking up a more customizable distro. This was an amazing article!

Collapse
 
brandonwallace profile image
brandon_wallace

A lot the customization is in the installer, certain distributions allow for more customization than others. If you want to customize thing more look at Debian, Arch, Gentoo, and Slackware. The ultimate customization is LFS (linux from scratch).

Collapse
 
mauro_codes profile image
Mauro Garcia

I highly recommend you to check out the distrotube channel on youtube. He covers Avery simple piece of a custom Linux distro in a very beginner-friendly way

Collapse
 
sainad2222 profile image
sainad2222

Thanks for the guide. You inspired me to try arch. I've been using ubuntu for a year. But I don't see a point switching to another distro especially it's a pain to setup port my data from ubuntu. Maybe I'll try in Virtualbox first

Collapse
 
mauro_codes profile image
Mauro Garcia

Sure! Vms are great for testing before doing the switch.

Collapse
 
sainad2222 profile image
sainad2222

Have you faced any hardware problems like Bluetooth or wifi drivers?

Thread Thread
 
mauro_codes profile image
Mauro Garcia

I'm using ethernet (desktop PC), so I didn't have to deal with wifi yet. But I heard that sometimes it is a pain! The same about Bluetooth. Didn't try to use any device yet

Collapse
 
suther profile image
Samuel Suther • Edited

I'm Microsoft-Free since Win98
I used SUSE, Kubuntu and now Manjaro and Arch.
I don't miss anything yet.
I like xfce and KDE. Also nice application I do use is easystroke for mouse gestures, phpstorm for webdeveloping, insomnia as alternate REST-Tool for Postman.
I do prefer Thunderbird over KMail and really love the funktionality of Klipper and KIM (which I've enhanced a bit).
I agree with your choice of brave, flames hot and docker.

I don't know Lotion yet, so I'll have a look at it. Thanks for this suggestion.

Collapse
 
mauro_codes profile image
Mauro Garcia

I really enjoy the simplicity of Xfce! I didn't know about insomnia! I should take a look! Thanks for sharing your story! It's awesome that you've been using Linux for some many time

Collapse
 
suther profile image
Samuel Suther • Edited

Yep, it was a strategic decision. Round about the year 2003 I started as self-employee. Right before I've started I think about which way I'd like to go.
I decide to use Linux, because there you don't have to pay licence fees for the software like on Microsoft Products.
As Webdeveloper I need some Applications for coding, graphic, writing letters, answering mails and so on.
Only thing I had on linux for some years after starting my business was application for doing invoices. At 2003 there where no Cloud-Based invoice Services.
I don't blame Windows or Mac, I'd only like to say: Try Linux and see if it's work for you. If you can make it work, than you will have huge benefits in freedom, saved licensce fees and stability.

Oh did I notice, that Linux - in my opinion - is the best choice for developers?! ;)

Even my mother (> 65) use Linux (currently Manjaro) > 15 Years. She started using Linux, because I recommend her to try it ( as it was to time consuming for me to fix and repair her Windows nearly once per quarter).

Thread Thread
 
mauro_codes profile image
Mauro Garcia

Make sense want you said about Linux as a strategic decision. Today we have the privilege of choosing between many free options for each type of software we need, but back then, it was tough.

How cool is it that your mother uses Manjaro! I would really like to have her feedback here! 😀

Collapse
 
timothydjones profile image
Tim Jones

Thanks, Mauro, for the great guide, especially your list of tools. I've been trying to switch from Ubuntu to Arch Linux, but have been having a rough time. Not so much with Arch itself, but just leaving the "comfort and familiarity" of Ubuntu. You've inspired me to give it another go. :)

Collapse
 
mauro_codes profile image
Mauro Garcia

Thanks for the kind words, Tim! Let me know if I can help you with your transition. DM me on Twitter if you want!

Collapse
 
phandungtri profile image
Phan DĆ©ng TrĂ­ • Edited

I've been using Manjaro Linux for about 2 years, and totally got rid of Windows. Before Manjaro, I tried many other distros, and finally I decided to settle here, in Manjaro. I don't why many people on internet hate Manjaro, it's a good distro, almost things I need are available on Manjaro, it gives me a very good performance. I'm a lazy ass so I use GNOME as my DE because I can have a beautiful desktop without doing so much. Nice post btw, you show me many cool apps that I've never discovered before.

Collapse
 
mauro_codes profile image
Mauro Garcia

Gnome is a beautiful DE and it just works so it’s a great choice! I’m really enjoying window managers because it’s an excuse to learn a little bit more about the system, but who knows maybe I’ll try a DE later.

Collapse
 
hcwrohan profile image
Ro

Awesome article, definitely going to try out some of those tools. I dual boot Windows and Fedora but over the years have found rarely launch Windows at all anymore. Haven't used Arch yet but may end up running it one day

Collapse
 
mauro_codes profile image
Mauro Garcia

You can start with Manjaro or ArcoLinux too. Both great arch-based distros

Collapse
 
hcwrohan profile image
Ro

Sweet Manjaro looks good, think I'll fire it up on the weekend

Thread Thread
 
mauro_codes profile image
Mauro Garcia

Great choice!

Collapse
 
lord_fido profile image
Lord Fido

I ve been using Linux mint xfce for decade. Tried cinnamon, mate, ubuntu, but never last more than 3 days. Ive never have courage to try arch LOL because I heard arch needs an expert user. I just saw garuda dragonize it Looks really cool. But I Dont have time to switch to it so far. Maybe years later I have courage to try Arch ;) thanks for the article, awesom job here.

Collapse
 
mauro_codes profile image
Mauro Garcia

I assure you I'm not an expert :D The distrotube channel on YouTube helped me a lot in doing this transition. But as I said in the post, it took me a couple of months of spending 2 o 3 hours a week learning, watching videos, playing with the console, etc.

You can try Manjaro or ArcoLinux instead of plain Arch. The installation process is the same as it is for Ubuntu.

Collapse
 
mauro_codes profile image
Mauro Garcia

I'm using ArcoLinux to avoid the initial pain of installing Arch. The installation process is pretty user-friendly in case you want to give it a shot lately. Ubuntu is an excellent alternative though 😁

I'm going to try bspwm! Thanks for the recommendation

Collapse
 
phantas0s profile image
Matthieu Cneude

Ah! Arch Linux. It's my OS for 6 years now, and I never had a system as stable as this one. The myth that Arch Linux breaks all the time is just that... a myth.

I've some experience in OS. I've been using in order: MS-DOS, windows 3.1, Windows 98, Windows XP, macOS, Windows 7 , Ubuntu, MANY Linux distros, and finally Arch.

If somebody is interested, I wrote a whole book how to install Arch Linux with i3, zsh, Neovim, and tmux: themouseless.dev

I thought it would be cool to share all the knowledge I gathered over these years :)

Collapse
 
mauro_codes profile image
Mauro Garcia

Love the idea of a mouseless environment! I'll definitely take a took at your book 😁

Collapse
 
phantas0s profile image
Matthieu Cneude

Thanks :) don't hesitate to reach out if you have any question.

Collapse
 
smonff profile image
🌌 SĂ©bastien FeugĂšre ☔

Arch Linux should be only allowed for people doing experimental art. I wish you a good time on your new OS and let's talk about it again in six months.

Collapse
 
carrotfarmer profile image
Dhruva Srinivas

Lotion (unofficial Notion app for Linux) Lotion was an unexpected but cool surprise. I found this fantastic project on GitHub. It's super easy to install, and it just works!

There is an AUR package for notion which works seamlessly with Arch:

git clone https://aur.archlinux.org/notion-app.git
cd notion-app
makepkg -si
Enter fullscreen mode Exit fullscreen mode

OR

yay -S notion-app
Enter fullscreen mode Exit fullscreen mode
Collapse
 
mauro_codes profile image
Mauro Garcia

Wow! I didn't know about this package! Thanks for sharing! I'll definitely check that out 😁