Alter Linux i3wm Editionを別機種でインストールしたら、壁紙が表示されない。ファイルマネージャーから 壁紙に設定する を選択しても駄目。
![Alter Linux](/media/2021/2021-11-05-00001_hu6e972551b8d9fecb1cd65d651be28645_24210_480x600_fit_q80_box_3.png)
設定ファイルを見ると
~/.config/i3/config
exec_always --no-startup-id nitrogen --restore
としているところがあり、 Nitrogenというアプリを使って壁紙設定していることを知る。
nitrogen --restore
と叩くと、
(nitrogen:4536): Gtk-WARNING **: 23:30:57.675: Unable to locate theme engine in module_path: "murrine",
(nitrogen:4536): Gtk-WARNING **: 23:30:57.675: Unable to locate theme engine in module_path: "murrine",
(nitrogen:4536): Gtk-WARNING **: 23:30:57.676: Unable to locate theme engine in module_path: "murrine",
ERROR: Could not load file in bg set: Failed to open file “/usr/share/backgrounds/alter-jiju.png”: そのようなファイルやディレクトリはありません
と表示される。
Unable to locate theme engine in module_path: “murrine”は、今回の件と関係ないが、鬱陶しいのでsudo pacman -S gtk-engine-murrine
をして警告が出ないようにする。
で、何故か自分の場合、画像が無かったので、
alterlinux/images/wallpapers at dev · FascodeNet/alterlinux · GitHubから画像をダウンロードしてきて、sudo cp ~/Downloads/alter*.png /usr/share/backgrounds
とコピーすれば、直った。
![Alter Linux](/media/2021/2021-11-05-00002_hucd6c431e24e46cd1a8e77cd9a654e3a2_1721701_480x600_fit_q80_box_3.png)
もし、他の壁紙にしたい場合は、表示したい画像が格納されているディレクトリを指定してnitrogen
して、特定の画像を選択して、適用すればOKだ。
コマンド例:nitrogen /home/arimasou16/Nextcloud/Public_Picture/wallpapers/4k/