Neovim and Java with LazyVim, part 2: IDE mechanisms

This is the second part of a few tutorials on Java development with Neovim using the LazyVim setup. This post assumes you already read and applied all the steps of the first part. You need Java installed (possibly 21), while Maven is optional. I will use this Maven example during the tutorial: https://github.com/LorenzoBettini/maven-bank-example, part of […]

Sway in Arch Linux: other configurations

Let’s continue the Sway window manager (in Arch Linux) series I started in my previous post and continued in the other post. Screenshots We can use “grimshot”, part of sway-contrib, to take screenshots, which requires the main program for performing the actual screenshot, “grim”.

By default, such utilities are installed in “/usr/share/sway-contrib”, which is […]

Sway WM: Notifications with Mako

Let’s continue the Sway window manager (in Arch Linux) series I started in my previous post. In this post, we deal with system notifications. (This post is similar to the corresponding one about Hyprland.) We use mako, a lightweight notification daemon for Wayland, one of the optional software suggested when we installed Sway. We also […]

Speeding up AUR package installations in Arch Linux

This post can be used for Arch Linux and EndeavourOS. Recently, a change was committed that highly compresses AUR packages before the actual installation. This takes a lot of time: even on a fast machine, installing something like Chrome or Visual Studio (AUR packages) takes even minutes just for the compression phase. Since I typically […]

Hyprland EndeavourOS on a PineBook Pro

After installing EndeavourOS on a PineBook Pro, I tried to use Hyprland on this PineBook Pro. Since I have already blogged about Hyprland a lot, I want to report that Hyprland runs smoothly on this PineBook Pro. I basically reused all my ricing and customizations that I blogged about in my previous posts about Hyprland. […]

Sway in Arch Linux: getting started

I’m starting a new blog series about Sway, a Wayland Tiling Window Manager (the Wayland version of i3). Though I’ve already blogged about Sway, this post (and a few future ones) are intended as “getting started tutorials”. I’ll focus on Sway in Arch, in particular, EndeavourOS. Let’s start by installing EndeavourOS with no graphical environment […]

How I manage Neovim configuration with Chezmoi

I love to manage my dotfiles with Chezmoi, which I highly recommend! In a single Git repository, I have common dotfiles and Window Manager specific (KDE, GNOME, Hyprland, and Sway). However, I prefer to have my Neovim configuration in another Git repository, separate from my Chezmoi dotfiles. I’ve just started learning Neovim, and I’m not […]

Installing EndeavourOS ARM on a PineBook Pro (August 2024)

I have already blogged about installing EndeavourOS ARM on a PineBook Pro (and previously, directly Arch ARM: the first article and the second article). This blog post will describe the new procedure for installing EndeavourOS ARM on a PineBook Pro. As usual, the instructions can be found here: https://endeavouros.com/endeavouros-arm-install/. Previously, there used to be three possible […]

Eclipse in Hyprland 0.43

I hadn’t used Eclipse in Hyprland for a while. It used to work correctly; however, starting from somewhere in version 0.41, something broke, and it’s still broken in the current (at the time of writing) version 0.43. When I execute Eclipse in Hyprland, i.e., in Wayland mode, the trees in Eclipse, e.g., Package Explorer (but […]

Sway: monitor configuration for different computers

I’m using Sway (not as my daily driver) on different computers: PCs and laptops. For the PCs, I’m using an HDMI monitor. Laptops have different display sizes, e.g., small displays with low resolution and more extensive displays with retina resolution. Thus, I need to set different scaling factors for the different displays. It’s pretty easy […]

Better KDE theming and styling in Hyprland

Recently, I blogged about using KDE applications in Hyprland. I also blogged about theming and styling them. However, I’m not very happy with that solution, so I’ll provide a possible alternative, which, in my opinion, is better. Some of the steps are similar to the ones in my previous post. I assume you’ve already installed […]

Waybar Workspaces in Hyprland

Waybar has a dedicated module for Hyprland workspaces: https://github.com/Alexays/Waybar/wiki/Module:-Hyprland#workspaces. One of its most fantastic features is the possibility of representing the application windows in each workspace. For example, here I have the workspaces with the following application windows: Kate (text editor) and terminal (Alacritty) Dolphin (file manager) A Firefox window and a Firefox window on […]

Downgrading packages in Arch Linux Arm

In Arch Linux, you can easily downgrade packages with the script https://github.com/archlinux-downgrade/downgrade, also available from AUR. I experienced problems with the new version (2:2.11.1) of wpa_supplicant in PineBook Pro, where I have EndeavourOS. WiFi does not work anymore with the new version of wpa_supplicant. I tried downgrading as suggested in the EndeavourOS forum. However, I […]

Multibooting Fedora and Arch with GRUB

I have already blogged about multibooting several different Linux distributions with GRUB. This post is a simplified and updated version of the previous post. Moreover, I made it easier to test such configurations manually: install several Linux distributions in a single KVM virtual machine. In this post, I’ll show how to configure GRUB (without os-prober, […]

Problems with xdg-desktop-portal-kde as well

I recently blogged about some problems with UI tests in GNOME due to xdg-desktop-portal-gnome. Unfortunately, I also started to experience problems similar to those with KDE Plasma 6.1 (Linux EndeavourOS and Arch); as in the other blog post, the problem is only with Wayland. I’ll use this example project (taken from my TDD book): https://github.com/LorenzoBettini/demo-attsw. It is […]

A first look at Fedora 40 Sway

I started to look at the Window Manager Sway. Hopefully, in the future, I’ll post more articles on that. In the meantime, I looked at the Fedora Sway spin (the current version is 40) and will briefly comment on that in this post. The live environment already provides a Sway window manager and leaves documentation […]

Environment Variables in Sway

Setting environment variables in Hyprland is easy: just put them in its config file. Setting environment variables in Sway is a bit harder, and there seems to be some confusion. The documentation is unclear about that, at least in my humble opinion. This blog post documents my way of setting environment variables in Sway. Let’s […]