From 1d34f84c0fb226d9053513651cffb9a1160b703a Mon Sep 17 00:00:00 2001 From: Shipwreckt Date: Sun, 29 Sep 2024 15:49:53 +0100 Subject: Big upgrade on the dwm page and some fixes on BSD page, I have also made a TEMP to use when making new posts --- public/posts/00dwm | 25 ++++++++++++++++++++----- public/posts/02FreeBSD | 6 +++--- public/posts/Temp | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 8 deletions(-) create mode 100644 public/posts/Temp (limited to 'public') diff --git a/public/posts/00dwm b/public/posts/00dwm index 6d37963..213350b 100644 --- a/public/posts/00dwm +++ b/public/posts/00dwm @@ -23,15 +23,30 @@

Switching to DWM

Date: 13-7-2024


-

It has been a little while since I have updated or added anything to the website, and this is due to the fact that I have been working on my configs, and so far I have them in such a way that I am happy with them. I have also been switching from Qtile to i3 to, well, Dwm now, which has been fun! The reason why I have switched to DWM is because it is written in C, and as my last article stated, I am currently learning C, so it's a win-win: I get a highly hackable window manager, and I get to learn more about C. I also just like how small it is in size because I have been considering doing a few projects in the future, that being, trying BSD, LFS, and Gentoo, which DWM works on all of them; since two of them (LFS and Gentoo) require me to compile everything, this has not been the worst decision I have made.

+

What is DWM?

+ +

DWM stands for Dynamic Window Manager. It is a window manager for X.org; it was developed by the programmers at Suckless Software. DWM is super lightweight, with the entire window manager programmed in about 3,000 lines of C code. Its very minimalistic, allowing users to modify and patch it to their heart's content!


-


Here is my DWM config on my PC

+

Why DWM?

+

The reason why I have chosen DWM as my window manager is because recently I have been on a sort of pilgrimage for the perfect window manager, something lightweight and functionable. I started my window manager pilgrimage with the very user-friendly and configurable Qtile written in Python; I was happy with it. But I felt the urge to explore more into window managers, so from there I tried out I3, another great window manager, and I really enjoyed using it, but I wanted to test out the most lightweight and fastest window manager, being DWM. As of writing, I believe this is the end of my pilgrimage since I am more than happy with DWM.

+

There is also the fact that I want to try out Linux from scratch, Gentoo, and Freebsd in the future, so having the same window manager throughout using all of these operating systems will just make it easier for me to use the OS.

- Linux rice +

What I like

+ +
+
+ Linux rice +

Here is my DWM setup on my PC as of 13-7-2024

+
+
-


That is all for this post thank you for reading, more posts to come!

+

Overview

+

I love DWM and I plan to use it for as long as I can, there is a wayland version of DWM called DWL so even if I do switch to wayland I will still be able to use DWM. I am exited to further work on my DWM setup and keep an eye on my dotfiles for any updates!


Back 🚪 | More Linux 🐧 | More BSD 😈 | More Tech 🧑‍💻 
diff --git a/public/posts/02FreeBSD b/public/posts/02FreeBSD index b1600d0..1636300 100644 --- a/public/posts/02FreeBSD +++ b/public/posts/02FreeBSD @@ -22,7 +22,7 @@

Trying out FreeBSD

Date: 22-7-2024


-

Today, I had the pleasure of trying out FreeBSD, the open source, Unix-like operating system. In this post, I will share my experience with FreeBSD based on my time using it.

+

Today, I had the pleasure of trying out FreeBSD, the open source, Unix-like operating system. In this post, I will share my experience with FreeBSD based on my time using it.


Instillation

Installing FreeBSD is relatively easy; you are provided with a nice graphical interface that supports mouse input. Below is a screenshot.

@@ -31,7 +31,7 @@

I had no issues with the install script. The only problem I encountered was with using Ventoy; for some reason, FreeBSD does not work with Ventoy, so I had to burn it to a standard USB stick.

I downloaded the amd64-memstick.img for my installation of FreeBSD.

I encountered some internet issues because my test computer has an unusual Wi-Fi card. I resolved this by plugging in an Ethernet cable and would recommend doing the same for anyone installing FreeBSD or any other operating system for that matter. Using Ethernet makes the setup process so much faster.

-

When adding users during the FreeBSD installation, I had to include them in the `wheel` group, which grants them the ability to gain root access.

+

When adding users during the FreeBSD installation, I had to include them in the `wheel` group, which grants them the ability to gain root access.


Post install

After installing everything, the first thing I noticed was that most commands in BSD are similar to those in Linux, as both are Unix-like operating systems. Another observation was that the `sudo` command was not available by default. This command allows users to run commands with root privileges, so I had to install it using FreeBSD's package manager, PKG. The command to install it is listed below.

@@ -48,7 +48,7 @@

After updating `sudo`, I was able to use the command. The next step was installing X.Org and dwm. I didn't need a display manager (login prompt) since I could use `startx`, so I focused on installing the X.Org package and `git` to use my own `dwm` configuration that I uploaded there. I tested X.Org with `startx`, and it worked fine. However, when I cloned my configuration files and tried to compile `dwm`, I encountered a problem. Fortunately, it was an easy fix thanks to a helpful post on the FreeBSD forums. After applying that fix, I was able to use my `dwm` setup successfully. I then checked if my two most-used programs, Alacritty and Librewolf, were available on FreeBSD. To my surprise, they were, and both were fully functional. Below is a photo of FreeBSD running with `neofetch` (`fakefetch` only works on Linux).

- BSD with DWM + BSD with DWM

Conclusion

Overall, I like FreeBSD and could use it as a daily driver since it supports three of my most-used programs: `git`, `Librewolf`, and `Alacritty`. I appreciate how it works, but for now, I’m sticking with Linux because I am more comfortable with it and prefer Linux over BSD. In the future, I plan to set up a server with OpenBSD, as I’ve heard excellent things about BSD servers.

diff --git a/public/posts/Temp b/public/posts/Temp new file mode 100644 index 0000000..07fc2a4 --- /dev/null +++ b/public/posts/Temp @@ -0,0 +1,39 @@ + + + + + + + CHANGE + + + + +
+ +
+
+

Title

+

Date:

+
+

Introduction

+

What is X ?

+

Why X ?

+

What I like about X

+

What I dislike about X

+

Overview

+ +

+
Back 🚪 | More Linux 🐧 | More BSD 😈 | More Tech 🧑‍💻 
+
+
+ + + -- cgit v1.2.3