{"id":34909,"date":"2025-11-28T16:38:21","date_gmt":"2025-11-28T21:38:21","guid":{"rendered":"http:\/\/www.allyngibson.com\/?p=34909"},"modified":"2025-11-30T18:20:37","modified_gmt":"2025-11-30T23:20:37","slug":"customizing-xscreensaver","status":"publish","type":"post","link":"http:\/\/www.allyngibson.com\/?p=34909","title":{"rendered":"Customizing XScreenSaver"},"content":{"rendered":"<p>Who doesn&#8217;t love a good screensaver?  I&#8217;ve been a fan of 3D Pipes going all the back to Windows 95, and I hypothetically might possibly have hacked my computer at Diamond using a Linux live USB to put 3D Pipes onto that Windows 10 machine.  Possibly.  I can neither confirm or deny.<\/p>\n<p>On Linux Mint, I use <a href=\"https:\/\/www.jwz.org\/xscreensaver\/\">XScreenSaver<\/a>, which has, among its voluminious choices, a 3D Pipes screensaver.  I disable the Cinnamon screensaver, and I load XScreenSaver at startup.<\/p>\n<p>Oh, frabjous day?<\/p>\n<p>Not <i>quite<\/i>.  The password screen, when leaving the screensaver, leaves a bit to be desired.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"800\" src=\"http:\/\/www.allyngibson.com\/wp-content\/uploads\/2025\/11\/20251128_155126.jpg\" alt=\"The default XScreenSaver login window, with a light gray theme\" class=\"aligncenter size-full wp-image-34910\" \/><\/p>\n<p>It&#8217;s fine.  The light gray theme doesn&#8217;t excite me, but there are some other options to choose from, like Aqua Black (a black and blue scheme) and Wine (a reddish scheme).<\/p>\n<p>I had reason to look in the \/etc\/X11\/app-defaults folder, and I saw that XScreenSaver had a file there that defined a number of program defaults that I could adjust by adding the necessary code to my .Xresources file.  &#8220;Can I adjust the password window to make it consistent with the Mint-Y-Dark-Teal theme?&#8221;<\/p>\n<p>And, with about twenty minutes of experimentation, I could!  I could also adjust the way the time and date were presented in that window.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"800\" src=\"http:\/\/www.allyngibson.com\/wp-content\/uploads\/2025\/11\/20251128_155744.jpg\" alt=\"The XScreenSaver password window after my mofications, showing the Mint-Y-Dark Teal color scheme (buttons are teal, the background is a dark gray)\" class=\"aligncenter size-full wp-image-34911\" \/><\/p>\n<p>Here&#8217;s what the code I added to .Xresources looks like:<\/p>\n<p><code>XScreenSaver*default.Dialog.foreground: #f0f0f0<br \/>\nXScreenSaver*default.Dialog.background: #353535<br \/>\nXScreenSaver*default.Dialog.button.foreground: #e4e4e4<br \/>\nXScreenSaver*default.Dialog.button.background: #199ca8<br \/>\nXScreenSaver*default.Dialog.logo.background: #222226<br \/>\nXScreenSaver*default.Dialog.text.foreground: #f0f0f0<br \/>\nXScreenSaver*default.Dialog.text.background: #717171<br \/>\nXScreenSaver*default.Dialog.topShadowColor: #2b2b2b<br \/>\nXScreenSaver*default.Dialog.bottomShadowColor: #2b2b2b<br \/>\nXScreenSaver*default.Dialog.shadowWidth: 1<br \/>\nXScreenSaver*default.Dialog.thermometer.foreground: #116d77<br \/>\nXScreenSaver*default.Dialog.thermometer.background: #199ca8<br \/>\nXScreenSaver*default.Dialog.thermometer.width: 8<br \/>\nXScreenSaver*default.Dialog.borderColor: #199ca8<br \/>\nXScreenSaver*default.Dialog.borderWidth: 2<br \/>\nXScreenSaver*default.Dialog.internalPadding: 24<\/code><\/p>\n<p>That code overwrites the default color scheme, so leaving XScreenSaver on default will give me Mint-Y-Dark-Teal colors instead of the default light grays.<\/p>\n<p>To adjust the date and time, I added this line:<\/p>\n<p><code>XScreenSaver*dateFormat: %l:%M:%S %p %m\/%d\/%Y<\/code><\/p>\n<p>It&#8217;s just <a href=\"https:\/\/man7.org\/linux\/man-pages\/man1\/date.1.html\">the standard Linux time notation<\/a>.<\/p>\n<p>You can&#8217;t get rid of the logo.  I tried.  XScreenSaver specifies width and height defaults, and I thought overwriting both with 0 would do the trick.  Alas, alack, and many alurums, my friends, it did not.<\/p>\n<p>Still, I have something that looks better, than is not as stark as the default or any of the options.  It looks like it <i>belongs<\/i>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Who doesn&#8217;t love a good screensaver? I&#8217;ve been a fan of 3D Pipes going all the back to Windows 95, and I hypothetically might possibly have hacked my computer at Diamond using a Linux live USB to put 3D Pipes onto that Windows 10 machine. Possibly. I can neither confirm or deny. On Linux Mint,<a class=\"more-link\" href=\"http:\/\/www.allyngibson.com\/?p=34909\">Continue reading <span class=\"screen-reader-text\">&#8220;Customizing XScreenSaver&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[763],"tags":[4860,5146,5334],"class_list":["post-34909","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux-mint","tag-linux-mint-debian-edition","tag-xscreensaver","entry"],"_links":{"self":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/34909","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=34909"}],"version-history":[{"count":0,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/34909\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=34909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=34909"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=34909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}