Migrating from hugo-theme-learn to alternative theme

Introduction

For personal web site, I use hugo and hugo-theme-learn for statically generated contents.

Recently I've noticed that these combination of specific version is not compatible with.

(Not so frequently update contents, so it was delayed to found this situation)

What was the actual error?

ERROR deprecated: .Site.IsMultiLingual was deprecated in Hugo v0.124.0 and subsequently removed. Use hugo.IsMultilingual instead.
Total in 21 ms

It seems that hugo-theme-learn is not compatible with recent Hugo anymore.

How to deal with it?

With checking upstream issue, I've found the following issue.

What are people migrating too?

'hugo-theme-relearn' was noted as an alternative.

As 'hugo-theme-learn' is not actively maintained anymore, so it is easy to migrate from hugo-theme-learn to hugo-theme-relearn.

For example, it needs just a few lines of configuration.

diff --git a/website/config.toml b/website/config.toml
index 702d4da..99ddf03 100644
--- a/website/config.toml
+++ b/website/config.toml
@@ -3,7 +3,7 @@ languageCode = "en-US"
 defaultContentLanguage = "en"

-theme = "hugo-theme-learn"
+theme = "hugo-theme-relearn"
 themesdir = "themes"
 metaDataFormat = "yaml"
 defaultContentLanguageInSubdir= true
@@ -16,6 +16,7 @@ defaultContentLanguageInSubdir= true
   disableNextPrev = true
   disableSearch = true
   disableShortcutsTitle = true
+  themeVariant = 'learn'

 [markup]
   [markup.goldmark]

It was sad that hugo-theme-learn is not maintained actively, but many thank to this greateful hugo theme. And also thanks the effort to fork it as hugo-theme-relearn.

My Free Software Activities in Oct 2025

10月のハイライト

10月は、見える部分ではそれほど活動していなかった。 個人的に実験プロダクトの実装をちまちま進めていた。

久しぶりにキースイッチを追加で試してみたりしたが、 なかなか既存のやつを置き換えるほどには至らず。至高のキースイッチ探しの度はまだ続く。

10月の活動記録

My Free Software Activities in Sep 2025

9月のハイライト

9月は従来だましだまし延命していたPCパーツをようやくえいやと交換して、作業環境を改善した。

Debian方面だとGCC 15が投入されたり、CMake 4投入など、FTBFS祭りが始まったのが印象深い。

他にも印象に残った不具合としては、VirtualBoxVMを起動できなくなった #1114886 があった。 作業環境が変わったが、M.2はそのまま再利用したせいで、VirtualBoxカーネルモジュールが 読み込まれなくてVMを起動できなかったというもの。 これは結局手元の環境の問題で、MOK Managerで鍵を登録しないといけないのを失念していたせいだった。

9月の活動記録

My Free Software Activities in Aug 2025

8月のハイライト

8月は、AMDGPUに変更してからおよそ一ヶ月経過した。 ROCmまわりを触ってみたいと思っているが、まだそれほど遊べていない。

先月実施したdebian/watch version 5への移行フィードバックも、devsciptsがリリースされたことで マージされていっている。自分がメンテナンスしているやつもd/watch 5にしている。

Fluent Packageのv6をなんとかリリースできたことは喜ばしい。 水面下では、Fluentdの設定ファイルの検証ツールとか、apt更新するときより既存のバグに早く気づけるようにするしくみの改善なんかをやっている。 来月辺りに成果物をだせるとよい。

8月の活動記録

My Free Software Activities in July 2025

7月のハイライト

trixieリリースが控えていたので、deskflowを更新して投入した。 主要なパッケージではないため、パッチリリースでなくても20日待てば投入可能であった。

Debian関連だと、d/watchのバージョン5というのが提案され、実際に投入されはじめたので deeplearning-teamとかrocm-team配下のリポジトリへと実際にフィードバックした。 d/watch 5への移行はuscanで実行できるので機械的に適用するだけで楽である。

あとは、Fluentdプラグインの良くない書き方なんかを指摘するカスタムCopを開発したのが成果。 元々はプラグインのコードを対象にしていたが、Fluentd本体の修正にも寄与することができた。

7月の活動記録

Switching from NVIDIA GPU to AMD GPU

Introduction

Recently, I've got a chance to try AMD GPU.

I didn't have experience as a user with AMD GPU, but I felt it was very easy to switch.

How to switch from NVIDIA GPU to AMD GPU?

Here is the steps to migrate from NVIDIA GPU.

(I'm using Debian sid as a daily driver, but the following instructions are also applicable)

Not only nvidia-driver, but also need to say good-bye to CUDA related packages. Anyway, it is important to clean it up.

  • Reboot it!

Ensure without nvidia-driver, it correctly boot with GUI desktop.

Now you can see driver was changed to nouveau module. You can ensure it with lsmod command.

$ lsmod |grep nou
nouveau              3055616  16
mxm_wmi                12288  1 nouveau
drm_gpuvm              45056  1 nouveau
drm_exec               12288  2 drm_gpuvm,nouveau
gpu_sched              65536  1 nouveau
video                  81920  1 nouveau
i2c_algo_bit           16384  1 nouveau
drm_display_helper    274432  1 nouveau
drm_ttm_helper         16384  2 nouveau
ttm                   106496  2 drm_ttm_helper,nouveau
drm_kms_helper        253952  3 drm_display_helper,drm_ttm_helper,nouveau
drm                   774144  14 gpu_sched,drm_kms_helper,drm_exec,drm_gpuvm,drm_display_helper,drm_ttm_helper,ttm,nouveau
wmi                    28672  4 video,wmi_bmof,mxm_wmi,nouveau
button                 24576  1 nouveau
  • Install amdgpu related stuff

Install the following packages.

libdrm-amdgpu1 2.4.124-2
xserver-xorg-video-amdgpu 23.0.0-1
mesa-vulkan-drivers 25.0.7-2
mesa-utils 9.0.0-2+b2
firmware-amd-graphics 20250410-2

Now ready to switch GPU.

I rarely had the opportunity to replace the GPU and in this time need to change power supply as well, it was a bit difficult to do.

Then, graphic driver was changed from nouveau to amdgpu as expected.

$ lsmod | grep amd
amd_atl                57344  1
edac_mce_amd           28672  0
kvm_amd               217088  0
kvm                  1396736  1 kvm_amd
ccp                   163840  1 kvm_amd
amdgpu              14450688  33
amdxcp                 12288  1 amdgpu
drm_exec               12288  1 amdgpu
gpu_sched              65536  1 amdgpu
drm_buddy              20480  1 amdgpu
video                  81920  1 amdgpu
i2c_algo_bit           16384  1 amdgpu
drm_suballoc_helper    12288  1 amdgpu
drm_display_helper    274432  1 amdgpu
drm_ttm_helper         16384  2 amdgpu
ttm                   106496  2 amdgpu,drm_ttm_helper
drm_kms_helper        253952  3 drm_display_helper,amdgpu,drm_ttm_helper
drm                   774144  23 gpu_sched,drm_kms_helper,drm_exec,drm_suballoc_helper,drm_display_helper,drm_buddy,amdgpu,drm_ttm_helper,ttm,amdxcp
crc16                  12288  3 bluetooth,amdgpu,ext4
gpio_amdpt             16384  0
gpio_generic           20480  1 gpio_amdpt

That's all.

Currently, I'm using it on linux-image-6.12.38+deb13-amd64 kernel.

It seems that there is more newer release for firmware-amd-graphics, but no critical issue is found yet.

Conclusion

By switching from NVIDIA GPU, there were some disadvantage that some application does not support AMD GPU yet.

On the positive side, no need to worry about nvidia-driver issues such as #1089513

I just started using AMD GPU, I hope I could help to improve the AMD GPU experience on Debian.

This article was written with Ultimate Hacking Keyboard 60 v2 with Riser 60.

My Free Software Activities in June 2025

6月のハイライト

今月は、Debian Installerを使ってグラフィカルインストールを日本語で行おうとすると 一部のグリフが期待通りに表示されない、いわゆる中華フォントの問題が修正されたことが大きなトピックであった。 インストーラーへと組み込む修正自体はDebian Installerに関するキーパーソンであるCyrilさんが実施したのだけれど、 事前の検証とかフォントパッケージに関する修正あたりなんかは協力して行えたのは成果である。

Debian 13のhard freeze期間なので、やや無理やりねじ込んだ感じはあるものの、Debian 13 (trixie)に間に合ったのは喜ばしい。 Debian 9から発生していた地味な問題をようやく解決にもっていけた。

この件については、Debian勉強会でも発表したし、記事にもしておいた。

あとは、毎回ぎりぎりになっていた、Debian勉強会の発表内容を原稿化する作業も終わった。 「あんどきゅめんてっどでびあん」の夏号として収録されるはずである。

また、普段利用しているキーボードのUHK 60 v2向けに、専用のRiser 60を購入した。 標準のチルトだと、たまにぐらついて使い勝手が悪かったのだが、Riser 60を導入することで ぐらつきが一切なくなったのでかなり改善した。ハンガリーからの個人輸入になったのでちょっとお財布には優しくなかった。 (10度の傾きを安定的に確保するための出費と考えるとたぶんコスパはものすごく悪いんだろうが、時間を買ったのだ。。。)

6月の活動記録