Notebook

これは日々の作業を通して学んだことや毎日の生活で気づいたことをを記録しておく備忘録である。

HTML ファイル生成日時: 2025/07/30 08:17:51.269 (台灣標準時)

Fvwm3 の設定について

しばらく前に、 pkgsrc に Fvwm3 が 含まれていることに気づいたので、 Fvwm3 をインストールして使ってい るでござる。随分長いこと、 focus されている window (マウスがのっていて 操作ができる状態になっている window) と、それ以外の window の枠の色は 以下のように設定していたでござる。


# fore and back border colors for focused window
Style * HilightFore linen, HilightBack VioletRed4

# fore and back border colors for other windows
Style * Color linen/SteelBlue4

active になっている window は赤っぽい色で、それ以外の window は青っぽ い色にしていたでござる。ところが、 Fvwm3 にしてみたら、この指定の色に なっていないことに気づいたでござる。 active な window が灰色で、それ以 外の window は黒になっていたでござる。

/usr/pkg/share/fvwm3/ConfigFvwmDefaults を見てみたら、以下のような記述 があったでござる。


# Default colorsets to ensure they are set.
Colorset 0 fg black, bg grey
Colorset 1 fg black, bg grey25
Style * Colorset 1, HilightColorset 0

書式が変わったのかもしれぬと思い、 ConfigFvwmDefaults にある書き方で設 定してみることにしたでござる。以下のような設定を試してみたでござる。


# fore and back border colors for focused window
#Style * HilightFore linen, HilightBack VioletRed4

# fore and back border colors for other windows
#Style * Color linen/SteelBlue4

# Default colorsets to ensure they are set.
#Colorset 0 fg black, bg grey
#Colorset 1 fg black, bg grey25
#Style * Colorset 1, HilightColorset 0
Colorset 0 fg linen, bg VioletRed4
Colorset 1 fg linen, bg SteelBlue4
Style * Colorset 1, HilightColorset 0

Fvwm を再起動してみると、期待通りの色になったでござる。



Frequently accessed files

  1. Misc___Taiwan/20240819_00.html
  2. Computer___TeX/20231107_00.html
  3. Computer___NetBSD/20250301_01.html
  4. Computer___NetBSD/20250728_00.html
  5. Misc___Taiwan/20240207_00.html
  6. Computer___Hardware/20250319_00.html
  7. Misc___Taiwan/20220831_4.html
  8. Computer___TeX/20240410_00.html
  9. Computer___Network/20230516_00.html
  10. Food___Taiwan/20230608_04.html
  11. Misc___Taiwan/20250728_01.html
  12. Computer___NetBSD/20240805_03.html
  13. Food___Taiwan/20220605_4.html
  14. Food___Taiwan/20230609_06.html
  15. Computer___NetBSD/20250409_00.html
  16. Computer___Python/20240101_00.html
  17. Food___Taiwan/20220811_9.html
  18. Computer___NetBSD/20230119_00.html
  19. Food___Taiwan/20230604_00.html
  20. Food___Cooking/20230625_03.html
  21. Travel___Taiwan/20230525_09.html
  22. Computer___FreeBSD/20240123_00.html
  23. Food___Cooking/20220821_5.html
  24. Food___Taiwan/20210216_1.html
  25. Food___Taiwan/20230622_10.html
  26. Misc___Taiwan/20240903_01.html
  27. Computer___TeX/20230726_01.html
  28. Computer___NetBSD/20241102_00.html
  29. Computer___NetBSD/20220729_0.html
  30. Food___Taiwan/20230725_24.html


HTML file generated by Kinoshita Daisuke.