{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/watch/feed/json -- and add it your reader.", "home_page_url": "https://matoken.org/blog/tag/watch", "feed_url": "https://matoken.org/blog/tag/watch/feed/json", "language": "ja", "title": "watch – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "https://matoken.org/blog/?p=4658", "url": "https://matoken.org/blog/2025/07/28/display-clock-even-in-full-screen/", "title": "X11\u74b0\u5883\u3067\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u72b6\u614b\u3067\u3082\u6642\u8a08\u3092\u8868\u793a", "content_html": "
\nmacOS\u3067\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u72b6\u614b\u3067\u3082\u305d\u306e\u4e0a\u306b\u6642\u8a08\u3092\u8868\u793a\u3059\u308b\u30a2\u30d7\u30ea\u3092\u77e5\u308a\u307e\u3057\u305f\uff0e\u6614Linux X11\u74b0\u5883\u3067\u3082\u540c\u3058\u3088\u3046\u306a\u3053\u3068\u3092\u3057\u3066\u3044\u305f\u306a\u3068\u6398\u308a\u51fa\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\n\n\n\n\nNo more hovering just for time checking.
\n
\n
X11\u3067\u306fdzen2\u3068\u3044\u3046\u6c4e\u7528\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u53ca\u3073\u901a\u77e5\u30a2\u30d7\u30ea\u3067\u3059\uff0e
\nDebian\u74b0\u5883\u3067\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u3042\u308b\u306e\u3067apt\u30b3\u30de\u30f3\u30c9\u306a\u3069\u3067\u7c21\u5358\u306b\u5c0e\u5165\u3067\u304d\u307e\u3059\uff0c
\n$ sudo apt install dzen2\n
\u305d\u3057\u3066\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u53f3\u4e0a\u306e\u8fba\u308a\u306b\u6642\u8a08\u3092\u8868\u793a\u3067\u304d\u307e\u3059\uff0e
\ndzen2_x=$((`xrandr | grep \\* | cut -f1 -dx` - 100 ))\nwhile :; do\n date +\"%H:%M:%S\"\n sleep 1\ndone | dzen2 -p 1 -x ${dzen2_x} -y 12 -fn '12' -bg '#000000' -fg '#FFFFFF'\n\u3053\u306e\u72b6\u614b\u3067Firefox\u3084mpv\u3067\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u8868\u793a\u3057\u3066\u3082\u305d\u306e\u4e0a\u306bdzen2\u304c\u8868\u793a\u3055\u308c\u6642\u8a08\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e
\n
\n
\u6700\u8fd1\u306fWayland\u304c\u898f\u5b9a\u5024\u306e\u74b0\u5883\u304c\u591a\u3044\u3067\u3059\u304c\u305d\u306e\u5834\u5408\u306f\u4f7f\u3048\u306a\u3044\u3068\u601d\u3044\u307e\u3059\uff0e
\n\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u74b0\u5883\u306f$XDG_SESSION_TYPE\u306a\u3069\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e
$ echo $XDG_SESSION_TYPE\nx11\n
$ echo $XDG_SESSION_TYPE\nwayland\n
$ dpkg-query -W dzen2 x11-xserver-utils\ndzen2 0.9.5+git20130923.488ab66-1\nx11-xserver-utils 7.7+11\n$ lsb_release -dr\nDescription: Debian GNU/Linux 13 (trixie)\nRelease: 13\n$ arch\nx86_64\n