< More Posts
A Manjaro Installation
Published 06 September 2020 at Yours, Kewbish. 1921 words. Subscribe via RSS.
Also published on Dev.to.
As you may have guessed from the title of this blog post, I have switched to Linux. And no, not Arch Linux - though I guess Manjaro is close. Specifically, XFCE Manjaro (and I’ve also been experimenting with i3).
Before this, I was on Windows (yes, Windows, no need to pull all the ‘but development’ cards) and WSL. I had a very strange split where most of my development things (like Python packages, programs, scripts) would be on the Windows side, and then only the programs that I absolutely needed from Bash and WSL (like C compilers for CS50 and vim) on WSL. However, I’ve been recently having to lean more on the WSL side, and having dependencies on both sides was a little annoying to manage. For example, I wanted to try Vim and configuring autocomplete with Python there, but the problem was, I needed the packages to be on the WSL side.
As well, I find myself surrounded by a lot of people who use Linux (specifically Arch evangelists), and their constant harping on about this super cool program and that interesting configuration made me curious. I wanted to see what it was like, and I’d been spending a lot of time browsing shiny rices on Reddit. I don’t think Windows has a proper tiling manager, and I didn’t feel like trying to set up X sessions on Windows. While it’s possible, I felt that it’d be easier (and more fun besides) to just try installing Linux.
Leading up to the install, which I kept putting off, I spent a decent amount of time researching how to dual boot, partition, configure Linux, and choosing a distro. Various distro quizzes (yes, somewhat cringe) and recommendations led me to Manjaro. It has the configurability of Arch, while having a GUI installer and being less of a pain to install (according to several blog posts, which were extremely reliable sources of information) than pure Arch. I didn’t want to go with Ubuntu1 either, and based on several (probably biased) articles, I decided that Manjaro would be the happy medium.
I also was thinking about KDE versus just a tiling WM, but I decided to go with XFCE (also with the help of several probably biased articles). It’d provide graphical options, and would probably make it easier to transition from Windows and its infinitely explorable menus to the already unfamiliar Linux. I liked the idea of a tiling WM, but reading that it didn’t provide the same shiny menus to click through was a bit off-putting. After a while, I also installed i3, but more on that later.
And of course, I wanted to experience the ever-mentioned Vim in its full glory. I’d tried it in WSL so this wasn’t too much of a leap, but it was a situation and a half getting used to no VSCode and just terminal.
Day 1 was a fine Thursday - just after Hack The 6ix, where I really wanted to just spend some time doing mindless work that’d work without headaches (spoiler alert: it wasn’t entirely that, but it’s fine). In the morning, I backed up all my old data (in the case of unfortunate fat-fingering) and while that was happening, I burned the ISO.2
After backing things up and doing some last minute research, I finally booted to the USB and followed this very fine guide on the Manjaro forum.3 I only shrunk my Windows partition by maybe half (this is important for Day 2), but besides that I was pretty proud of myself. I was quite pleasantly surprised that I ended up not messing anything major up, and the entire installation was done in 15 minutes.
For the remainder of today, I mostly messed around with terminal settings, and trying to explore XFCE settings. I managed to import my Chrome history and also set up a theme. I did a bit of terminal theming tweaking, and messing around with LightDM backgrounds. Didn’t really do much to mess things up, just a lot of installing. I was also pleasantly surprised how fast things and packages download on Linux, and how relatively easy pacman was to use.4
In the morning, I did a bit of schoolwork, and in the background, tried to install more packages. In the meantime though, I also realized that I would really be on Windows much, given that Linux seemed to be alright for everything except an office suite (which I have now but not at the time). So - I tried to resize partitions. (This is where the bit about partitions from last section comes into play). This is what my partitions approximately looked like:
||| windows things ||| linux things + + |
The Linux side had about half, and I wanted to make it more like:
||| win ||| lots of linux space |
Essentially, more space. The problem was, I didn’t know how to rearrange the space after shrinking Windows to move capacity to the home directory. I realize now that I could probably have just formatted the other directories and kept home, but I didn’t know that then. In my defense, I hadn’t realized that yet. So, I got the trusty Manjaro USB out again - and reinstalled. This unfortunately wiped a lot of my packages, so I had to reinstall things yet again. Unfortunate.
At least this time round, it was a lot easier to get things set up the way I’d like - I knew where each of the relevant settings were, and I even set up OneDrive properly this time. It was very tedious to reinstall everything yet again, but in the grand scheme of things, I spent more time configuring each and removing unneeded packages.
Today, I was messing around with power settings and things, and I found that normal Chrome was using a bunch of resources relative to the other programs, at least according to powertop. I did some research, and apparently it was due to YouTube and GPU decoding videos. It wasn’t really enough to be noticeable, but I was interested in trying to tweak it anyway. So, I (tried to) download Chromium from pamac. I thought it wouldn’t do anything major - just another install. (Spoiler alert: I was wrong.)
It was a pretty big install, so I just did more work and let it run in the background. However, once I finished a problem or two and I was checking on the install progress, I realized it was stuck. What’s more, when I tried to close pamac (bad idea #1) just by exiting, it didn’t close. Huh. I then tried to force quit it through processes (bad idea #2). It did close, but before that, I noticed that it was stuck particularly on ‘Updating grub menu’. In hindsight, that was probably a very bad idea. But I go about my day, and after finishing work, I shut down (kinda bad idea #3).
When I tried to boot my laptop again, I noticed that Manjaro’s bootloader kept getting stuck on the HP logo screen, where the spinner would appear for a while, and it’d go dark as if it were properly booting, but then getting stuck in a loop again. I thought it was an issue with the partition things I’d done yesterday, so I re-enter the Manjaro boot live environment. Problem was, it was stuck waiting for a module forever. (Actually not forever, I was just impatient.)
I then tried booting into Windows, but for some reason, that was extremely slow and things weren’t opening properly. I was pretty stuck on this, but then a friend donated a Manjaro wiki5 link. It detailed some grub menu fixes, which I attempted to do, but by then, the live USB had managed to fix itself (I guess turning things on and off again does somehow fix things), and I just ended up formatting every partition except my home, which I kept.
Cue a couple minutes of waiting, and then tedious reinstalls. After this though, I managed to not break my system (fingers crossed I don’t manage to break it again), and I’ve been fiddling for the past few days, tweaking configuration files and the like.
In the future, I’m going to continue configuring i3 (which I also installed, just to see what a tiling manager was like) and try to set this up just as I like it. I’d like to fix the status bar to be not quite so colourful and information-full, and make the window tabs a different colour and design. I’m still lurking a lot on various ricing subreddits, and it’s quite inspiring to see how creative people are. I don’t want to invest too much time into ricing, but I can tell I’m going to be spending a while on it already. In addition, I’d like to make all my colourschemes nice and greyscale, and maybe properly set up my dotfiles.
In case you wanted a screenshot, here’s how my desktop looks at the moment (yes, this is a metascreenshot):
My desktop at the moment
I’m actually pretty pleased with what I’ve managed to learn and create in the past week or so. It’s quite bare - mostly just the default i3 config. I’d like to ‘rice’ it some more (apparently that’s what it’s called), and I feel like I’ve learned a lot from repeatedly breaking my system three times in as many days. I can definitely see why Linux users get so superiorist about it - it’s very easy to customize and I think I’ll be trying to make this system as bespoke and shiny as I possibly can.
I’ve been finishing up a lot of small projects recently, and I’d like to finally get to a more long-term project. I’m thinking about creating a Chip-8 emulator, just to learn about CPUs and virtual machines / emulator development and things of that sort. I have an old Kano Pixel kit that I honestly haven’t touched in roundabout 2 years, but they’ve come up with a community SDK that I can probably use to write the Chip-8 graphics to. I haven’t written a lot of Python recently either, so perhaps I’ll look into making this as a learning project.
I’m also going to be rewriting my website (yes, again), so please forgive any strange bugs that may occur on this site as I try my best to get it a little more modern. I’ll be writing a post about this. Hopefully. If I remember. I have a lot of post ideas, and I’m trying to get a couple weeks of backlog before I go back to school, so time to write!
Liquid Galaxy VM configuration flashbacks ↩︎
Funnily enough this was my first time actually burning a USB (besides Raspberry Pi but that doesn’t really count) - my prior Linux experience was just messing around in VMs hoping for things to not break. ↩︎
Life pro tip, when googling around the Manjaro forum, the links aren’t broken, just add
archived.in front of the forum link. This would have saved a lot of time for me. sigh. ↩︎
To be fair, most of this was just me being very surprised that Linux wasn’t as difficult as I thought it was. Very interesting. ↩︎
I swear, the Manjaro forum has everything. And if it doesn’t, the Arch Wiki definitely does. Linux and open source debugging is now forever mapped with wiki browsing in my mind. ↩︎
MLA: Ma, Emilie. "A Manjaro Installation." Yours, Kewbish. n.p., 06 Sep. 2020. Web.
APA: Ma, E. (2020, September 06). A Manjaro Installation [Web log post]. Retrieved from https://kewbi.sh/blog/posts/200906/
UBC citation style.
- Yours, Kewbish
< More Posts