diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/_index.md | 20 | ||||
-rw-r--r-- | content/blog/_index.md | 1 | ||||
-rw-r--r-- | content/blog/ai-art-contest.md | 2 | ||||
-rw-r--r-- | content/blog/data-volatility.md | 2 | ||||
-rw-r--r-- | content/blog/fomo.md | 2 | ||||
-rw-r--r-- | content/blog/modern-web-bloat.md | 2 | ||||
-rw-r--r-- | content/blog/reflector.md | 2 | ||||
-rw-r--r-- | content/blog/void-xfce.md | 131 | ||||
-rw-r--r-- | content/blog/you-should-use-linux.md | 90 | ||||
-rw-r--r-- | content/journal.md | 1 | ||||
-rw-r--r-- | content/more/_index.md | 5 | ||||
-rw-r--r-- | content/more/games.md | 5 | ||||
-rw-r--r-- | content/more/links.md (renamed from content/links.md) | 0 | ||||
-rw-r--r-- | content/more/setups.md | 5 | ||||
-rw-r--r-- | content/more/shows.md | 5 | ||||
-rw-r--r-- | content/tags/_index.md | 5 |
16 files changed, 268 insertions, 10 deletions
diff --git a/content/_index.md b/content/_index.md index 7737bee..fe47a3c 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,21 +1,23 @@ +++ +++ -{{ img(id="https://tilde.team/~birabittoh/wayne128.gif", alt="me", caption="🌯 wayne") }} +{{ img(id="https://tilde.team/~birabittoh/wayne64.gif", alt="me", caption="🌯 wayne") }} ## Status -<div id="statuscafe"><div id="statuscafe-username"></div><div id="statuscafe-content"></div></div><script src="https://status.cafe/current-status.js?name=birabittoh" defer></script> +<div id="statuscafe"><div id="statuscafe-username"></div><blockquote id="statuscafe-content"></blockquote></div><script src="https://status.cafe/current-status.js?name=birabittoh" defer></script> -## Picture -{{ img(id="https://piclog.blue/latest.php?id=105", alt="piclog.blue") }} +<!-- +<span onClick="const x = document.getElementById('piclog'); x.style.contentVisibility = (x.style.contentVisibility == 'hidden' ? 'visible' : 'hidden');">Latest picture on piclog.blue</span> +<div id="piclog" style="content-visibility: hidden;">{{ img(id="https://piclog.blue/latest.php?id=105", alt="piclog.blue") }}</div> +--> ## More -- 🔗 [links](/links) -- 🖥️ [setups](/setups) -- 🎮 [games](/games) -- 🎬 [shows](/shows) +- 🔗 [links](/more/links) +- 🖥️ [setups](/more/setups) +- 🎮 [games](/more/games) +- 🎬 [shows](/more/shows) ## Contact - Email: [birabittoh[at]tilde[dot]team](mailto:birabittoh@tilde.team) - - Code repositories: [github.com](https://github.com/BiRabittoh), [tilde.institute](https://git.tilde.institute/birabittoh) + - Code: [github.com](https://github.com/BiRabittoh), [tilde.institute](https://git.tilde.institute/birabittoh) - {{ metaData(content="@BiRabittoh") }} anywhere else. diff --git a/content/blog/_index.md b/content/blog/_index.md index 377802a..a85ef4e 100644 --- a/content/blog/_index.md +++ b/content/blog/_index.md @@ -1,3 +1,4 @@ +++ title = "Blog posts" +paginate_by = 10 +++ diff --git a/content/blog/ai-art-contest.md b/content/blog/ai-art-contest.md index e4d60f6..a38f4e5 100644 --- a/content/blog/ai-art-contest.md +++ b/content/blog/ai-art-contest.md @@ -1,6 +1,8 @@ +++ title = "The AI takeover is near?" date = 2022-09-21 +template = "blog-page.html" +[taxonomies] tags = [ "art", "ai" ] +++ diff --git a/content/blog/data-volatility.md b/content/blog/data-volatility.md index b94b0d7..24ee90a 100644 --- a/content/blog/data-volatility.md +++ b/content/blog/data-volatility.md @@ -1,6 +1,8 @@ +++ title = "Data volatility" date = 2022-01-14 +template = "blog-page.html" +[taxonomies] tags = [ "privacy", "foss", "advice" ] +++ diff --git a/content/blog/fomo.md b/content/blog/fomo.md index 8cf5967..042d586 100644 --- a/content/blog/fomo.md +++ b/content/blog/fomo.md @@ -1,6 +1,8 @@ +++ title = "My opinion on FOMO" date = 2022-03-06 +template = "blog-page.html" +[taxonomies] tags = [ "advice", "minimalism" ] +++ diff --git a/content/blog/modern-web-bloat.md b/content/blog/modern-web-bloat.md index 11e6373..2d36a25 100644 --- a/content/blog/modern-web-bloat.md +++ b/content/blog/modern-web-bloat.md @@ -1,6 +1,8 @@ +++ title = "Modern web bloat" date = 2021-04-09 +template = "blog-page.html" +[taxonomies] tags = [ "foss", "minimalism" ] +++ diff --git a/content/blog/reflector.md b/content/blog/reflector.md index 609afdc..2a397e2 100644 --- a/content/blog/reflector.md +++ b/content/blog/reflector.md @@ -1,6 +1,8 @@ +++ title = "Update your mirrors!" date = 2023-01-29 +template = "blog-page.html" +[taxonomies] tags = [ "foss", "advice" ] +++ diff --git a/content/blog/void-xfce.md b/content/blog/void-xfce.md new file mode 100644 index 0000000..d203da8 --- /dev/null +++ b/content/blog/void-xfce.md @@ -0,0 +1,131 @@ ++++ +title = "Modernizing XFCE" +date = 2023-02-05 +template = "blog-page.html" +[taxonomies] +tags = [ "foss", "advice" ] ++++ + +This article is more of a memo for myself. Since I often re-install Linux systems, I spend a lot of time doing repetitive tasks and often forget some steps, which leads me to waste even more time figuring out what's wrong. + +These instructions allow you to get a fully functional and modern-looking XFCE desktop on a fresh install of [Void Linux](https://voidlinux.org/) (even though they can be adapted to work in any distro). + +## Initial system update +First thing I tried was to update the system, but the ISO was quite old. I had to update `xbps` before anything else: + +``` +sudo xbps-install -Su xbps +sudo xbps-install -Su +``` + +## Avoid session saving +One thing I hate about XFCE is its fixation to save sessions. A lot of times I get my session saved and restored even with all settings turned off. + +A quick and easy solution to disable session saving entirely is just to create an empty file in place of the `sessions` directory. +``` +rm ~/.cache/sessions -rf +touch ~/.cache/sessions +``` + +This way, even with everything turned on, XFCE fails create a folder with that name and everything works (or doesn't, in this case) like a charm. + +## Change that shell +Your shell is the main tool you use to communicate with your system, so it makes sense to replace `bash` with something more modern and feature-rich. + +``` +sudo xbps-install -S zsh zsh-completions curl +chsh -s /bin/zsh +zsh +curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh +``` + +## Get some good sound quality +I don't like `pulseaudio`. Let's replace it with `pipewire` and `wireplumber`. + +``` +su +xbps-install pipewire wireplumber +mkdir -p /etc/pipewire/pipewire.conf.d +sed '/path.*=.*pipewire-media-session/s/{/#{/' /usr/share/pipewire/pipewire.conf > /etc/pipewire/pipewire.conf +echo 'context.exec = [ { path = "/usr/bin/wireplumber" args = "" } ]' > /etc/pipewire/pipewire.conf.d/10-wireplumber.conf +ln -s /usr/share/applications/pipewire* /etc/xdg/autostart +xbps-remove pulseaudio alsa-plugins-pulseaudio +reboot +``` + +## Make Firefox more secure +I like Firefox as a browser, but it doesn't come with sane defaults as far as privacy's concerned. + +First, visit [Firefox Profilemaker](https://ffprofile.com/) and create a customized `profile.zip`. + +Then, extract your zip file to the correct destination: +``` +sudo xbps-install zip unzip p7zip xarchiver thunar-archive-plugin +unzip -o ~/Downloads/profile.zip -d ~/.mozilla/firefox/xxxxxxxx.default-default/ +``` + +Some useful extensions I always install are: +- [Bitwarden](https://addons.mozilla.org/en-US/firefox/addon/bitwarden-password-manager), a password manager; +- [Decentraleyes](https://addons.mozilla.org/en-US/firefox/addon/decentraleyes), to serve common JS libraries locally; +- [I still don't care about cookies](https://addons.mozilla.org/en-US/firefox/addon/istilldontcareaboutcookies), to hide and auto-reject cookie warnings; +- [LibRedirect](https://addons.mozilla.org/en-US/firefox/addon/libredirect), a redirector for [alternative front-ends](https://github.com/mendel5/alternative-front-ends); +- [SponsorBlock](https://addons.mozilla.org/en-US/firefox/addon/sponsorblock), to skip YouTube sponsorships automagically; +- [uBlock Origin](https://addons.mozilla.org/en-US/firefox/addon/ublock-origin), the best ad-blocker. + +## Customize your DE + +Install the last required packages for desktop usability: +``` +sudo xbps-install -S xfce4-whiskermenu-plugin xfce4-clipman-plugin xfce4-pulseaudio-plugin xfce4-screenshooter xclip micro neovim mpv yt-dlp +``` + +Remove orphaned and cached packages: +``` +sudo xbps-remove -Oo +``` + +Now, open XFCE's Settings Manager and set the following options: +- Appearance → Style → Choose "Adwaita-dark" +- Desktop → Background → _<Choose your favorite wallpaper>_ +- Desktop → Icons → Set "Icon type" to "None" +- Panel → _<Customize your panels>_ +- Screensaver → Disable "Enable Screensaver" +- Text Editor Settings → Enable: + - "Show line numbers", + - "Highlight matching brackets", + - "Wrap long lines" +- Window Manager → Style → Button layout → Remove "Shade" button from title bar +- Window Manager → Advanced → Windows snapping → Enable "To other windows" +- Window Manager → Advanced → Wrap workspaces when reaching the screen edge → Disable "With a dragged window" +- Window Manager Tweaks → Cycling → Enable: + - "Cycle through minimized windows in most recently used order", + - "Cycle through windows on all workspaces", + - "Raise windows while cycling" +- Window Manager Tweaks → Accessibility → Disable: + - "Raise windows when any mouse button is pressed", + - "Use mouse wheel on title bar to roll up the window" +- Window Manager Tweaks → Accessibility → Enable "Notify of urgency by making window's decoration blink" +- Window Manager Tweaks → Compositor → Enable "Show shadows under popup windows" +- Xfce Terminal Settings → General → Scrolling → Set "Scrollbar is" to "Disabled" +- Xfce Terminal Settings → Appearance → + - enable "Use system font", + - set "Background" to "Transparent background", + - set Opacity to 0.80; +- Xfce Terminal Settings → Colors → Presets → Choose "Tango" +- Keyboard → Behavior → Enable "Restore num lock state on startup" + + +## Shortcuts +Finally, set the following shortcuts: +- Keyboard → Application Shortcuts + +| Command | Shortcut | +|--------------------------------------------------------------------------------------------------|-------------------------| +| `exo-open --launch TerminalEmulator` | `Super` + `Return` | +| `xfce4-popup-whiskermenu` | `Super` | +| `xfce4-screenshooter --clipboard --region` | `Shift` + `Super` + `S` | +| `xfce4-screenshooter --clipboard --window` | `Super` + `S` | +| `xfce4-screenshooter --clipboard --fullscreen` | `Print` | +| `sh -c 'xclip -selection clipboard -t image/png -o > "$HOME/Pictures/$(date +%Y-%m-%d_%T).png"'` | `Shift` + `Super` + `V` | +| `xflock4` | `Super` + `L` | +| `loginctl suspend` | `Shift` + `Super` + `L` | diff --git a/content/blog/you-should-use-linux.md b/content/blog/you-should-use-linux.md new file mode 100644 index 0000000..22d357e --- /dev/null +++ b/content/blog/you-should-use-linux.md @@ -0,0 +1,90 @@ ++++ +title = "You should probably use Linux" +date = 2021-04-29 +template = "blog-page.html" +[taxonomies] +tags = [ "privacy", "foss", "advice" ] ++++ + +## Why are you writing this? +As you probably know, I like using free software (free as in _freedom_, not free of charge). Most people see users with this mentality as a group of paranoid psychopaths who circlejerk about their custom systems. While that's in part true, there's much more to it. + +I often get asked by Windows or MacOS users about why they should think about switching to a GNU/Linux OS (which I'll be referring to as Linux); I'm just going to address everything here so I don't have to repeat it to everyone who asks. + +I'll try to address every aspect where Linux is objectively better than the competition, then look at some reasons you _could_ have to stick to Windows or, like I did, set up a dual boot. + +## What is free software? +First of all, let's read the official definition for it. + +> A program is free software if the program's users have the four essential freedoms: +> 0. The freedom to run the program as you wish, for any purpose. +> 1. The freedom to study how the program works, and change it so it does your computing as you wish. +> 2. The freedom to redistribute copies so you can help others. +> 3. The freedom to distribute copies of your modified versions to others. By doing this you can give the whole community a chance to benefit from your changes. +> A program is free software if it gives users adequately all of these freedoms. + +Source: [Free Software Foundation](https://www.gnu.org/philosophy/free-sw.en.html). + +Let's examine how this freedom is beneficial. + +### Linux is open +Using free software on an open source OS means you always know what's going on with your PC; if you get curious or have any suspects you can always read the source code (or trust that somebody already did it in your place). + +The good thing about Linux is that it doesn't hide anything from you. Whenever there's a problem, you can read various logfiles (with different levels of detail) to identify and troubleshoot your problem; it's also easier to fix problems since you actually know what each program and file does, while troubleshooting in closed-source OSes is like trying to fix a car engine without being able to open the hood. + +Some distros, like [Arch Linux](https://archlinux.org/), require you to set everything up from scratch; this means you always know exactly which programs you're installing and their exact function inside the Linux environment. I would only advise this kind of installation to advanced users, but after you do it the first time you'll certainly learn a lot about how a Linux OS actually works. + +### Linux is secure +Every single FOSS-oriented website makes this point, I'm just going to re-iterate it just to be sure. +The source code being publicly available doesn't make software less secure. In fact, it's way more secure since more people can work on it and fix security flaws. +[Security through obscurity](https://en.wikipedia.org/wiki/Security_through_obscurity) just doesn't work. You can see that by looking at the number of security breaches that are found every day on closed-source software. + +If you make your software closed-source you're basically betting you and your small team are able to create a better and more secure code than every single other person in the planet. Of course, this assumption is stupid and irrealistic, that's why FOSS software will always be faster and more secure than closed-source alternatives. + +This goes for every kind of software, including the very operating system code. GNU/Linux based operating systems are the most secure choice for every kind of user. +More often than not, you can trust the software programmers without even reading the code yourself: since they're sharing every single line of code, they probably don't have anything to hide. If they do include malicious code, someone else will probably have noticed by now, provided you didn't build and run that software straight from the repo a few minutes after the last commit lol + +You can also be safe against external attackers. Linux's [market share](https://gs.statcounter.com/os-market-share/desktop/worldwide/#monthly-202012-202012-bar) on desktop and laptop PCs was less than 2% as of January 2021, and those people are probably much more tech-savy than the other OSes' users... +This means attackers will likely target Windows or OS X users, so you can be safe even without using an antivirus or anything similar (even though there _are_ [choices](https://www.clamav.net/) for that, too). + +### Linux is smarter +Saying that Linux is for *everybody* would be a risky take. My point is that you _probably_ could benefit from using a Linux system. + +If you're a programmer, Linux is objectively the best OS you can use. As a programmer, I love using the terminal to do stuff more quickly. I also love the level of integration you can have with the system: a lot of programs are designed with a client/server model, which makes them work in complex scenarios as long as you have the time and patience to configure them properly. + +While Windows still has to retain compatibility with legacy systems, Linux is much more free to do its own thing. Linux will always be smarter and more modern. Just think about the filesystem structure. +Windows is forced to retain a confusing structure, where you have a ton of (not) hidden folders where programmers can store their necessary data... But there are so many choices and they're not coherent! If I wanted to create a backup of all my settings and save files, I would have to copy all of these folders: +``` +C:\ProgramData; C:\Users\username\AppData; C:\Users\username\Documents\my games; +``` +And I would still miss all of the informations saved on the awful Windows Registry... + +On Linux, you just copy the .config folder in your home directory. + +Moreover, in Windows 10 you have two ways of editing system settings: the Control Panel and the Windows Settings. But sometimes editing a setting on one side does NOT reflect on the other! +Windows is literally the most confusing OS you can start with... And people still recommend it to beginners over Linux. It's just dumb. + +### Linux is versatile +Now, to the point everybody's been waiting for. Yes, none of the Adobe programs will run _natively_ on any Linux distro. That means if you're a creative person and you need those programs on a daily basis, maybe you should consider dual booting... + +BUT, steps are being made in two different directions: +* Valve is working on Proton, which allows the execution of most Windows-only applications and games on any Linux system. +* More and more open-source alternatives to closed-source standards are being developed by the day. + +While Proton is interesting, I always prefer to run open source software, especially if we're talking about programs that are also free of charge: imagine trusting a closed-source software you didn't pay for. + +## Conclusion +Ok, now I'm getting repetitive so I'll just get to the point. +Linux is constantly evolving and it has now become the top choice for a lot of people, so let's try and consider every use case. + +* If you're a professional that's deep in the industry and you need some _specific_ program to run perfectly on your device... Yeah, you should use Windows. +* If you're a power user that's just used to paid software, maybe consider trying out some open source alternative? +* If you're a gamer, I say you should dual boot. I have a Windows 10 LTSC installation that I use _exclusively_ for gaming. While Proton has made Linux gaming feasable, the experience isn't always the best, especially if you play games that require millisecond-grade accuracy, like rhythm games or competitive shooters. +* If you're a student or employee, Linux would be perfect for you. You can quickly take notes and do office work without the annoying Windows 10 updates popping up and rebooting your system seemingly at random. Also, any Linux system will probably be more light on resource usage than Windows, so you could take some old hardware you thought would never be using again and actually make something useful with it. +* If you work in the programming or engineering field, then what are you waiting for? You should try out a Linux OS as soon as possible, and not in a virtual machine. A lot of my friends said they didn't like Linux because it felt slow... While running on a VM... Duh? Try it out on real hardware so you can feel its superiority. + +Well, I can't possibly cover *every* profession and use-case, but I hope I was clear about those I managed to list above. +I'm going to conclude this article with some interesting links about Linux and FOSS you definitely should check out. + +* [Is Linux About…?](https://islinuxabout.xyz/) +* [usermod.net - Why use Linux?](https://usermod.net/why-use-linux/) diff --git a/content/journal.md b/content/journal.md index b141550..080439f 100644 --- a/content/journal.md +++ b/content/journal.md @@ -1,4 +1,3 @@ +++ title = "Journal" +++ - diff --git a/content/more/_index.md b/content/more/_index.md new file mode 100644 index 0000000..b157afe --- /dev/null +++ b/content/more/_index.md @@ -0,0 +1,5 @@ ++++ +title = "More sections" ++++ + +You should not be here. diff --git a/content/more/games.md b/content/more/games.md new file mode 100644 index 0000000..311aedc --- /dev/null +++ b/content/more/games.md @@ -0,0 +1,5 @@ ++++ +title = "My favorite videogames" ++++ + +Everything I play. diff --git a/content/links.md b/content/more/links.md index 95f8fd4..95f8fd4 100644 --- a/content/links.md +++ b/content/more/links.md diff --git a/content/more/setups.md b/content/more/setups.md new file mode 100644 index 0000000..198ceba --- /dev/null +++ b/content/more/setups.md @@ -0,0 +1,5 @@ ++++ +title = "My hardware and software" ++++ + +Everything I use. diff --git a/content/more/shows.md b/content/more/shows.md new file mode 100644 index 0000000..5158449 --- /dev/null +++ b/content/more/shows.md @@ -0,0 +1,5 @@ ++++ +title = "Shows I've watched" ++++ + +Everything I watched. diff --git a/content/tags/_index.md b/content/tags/_index.md new file mode 100644 index 0000000..b7efc8b --- /dev/null +++ b/content/tags/_index.md @@ -0,0 +1,5 @@ ++++ +title = "Tags" +description = "Ramblings lie here." +paginate_by = 10 ++++ |