anyone interested in: startup functions; and/or using X resources?
"Greg A. Woods" <[email protected]> Thu, 25 Sep 2025 13:33:44 -0700
| Newsgroups | gmane.comp.window-managers.ctwm |
|---|---|
| Organization | Planix, Inc. |
| Message-ID | <[email protected]> |
--pgp-sign-Multipart_Thu_Sep_25_13:33:36_2025-1 Content-Type: text/plain; charset=US-ASCII So I've been procrastinating getting my changes into a new branch on the new repository by thinking about two other features I am considering implementing (or would welcome them if someone else implemented them): 1. startup functions -- some way to have CTWM start some programs automatically at startup. Currently this is somewhat possible with M4, if of course one builds M4 support in. That's a hack, but some people are apparently already using it. The idea is to avoid having to duplicate some startup in my ~/.xinitrc. I want to be able to restart some/most programs via CTWM menu actions, but I also want some of those things started automatically when I log in, so currently I have to export various command line arguments via environment variables and the duplicate the command lines for those programs in both ~/.xinitrc and in menu definitions in ~/.ctwmrc. If there was a startup function that would "run" when CTWM first starts then I could move everything for these programs into ~/.ctwmrc (perhaps using M4 to define the command lines as macros) 2. use X resources for some defaults, especially fonts. There is at least one built-in font that cannot even be overridden in the config file. Ideally it could come from a resource, not just a hard-coded string in the source code. Perhaps there are one or two other defaults that could optionally come from resources too? -- Greg A. Woods <[email protected]> Kelowna, BC +1 250 762-7675 RoboHack <[email protected]> Planix, Inc. <[email protected]> Avoncote Farms <[email protected]> --pgp-sign-Multipart_Thu_Sep_25_13:33:36_2025-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit Content-Description: OpenPGP Digital Signature -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRuK6dmwVAucmRxuh9mfXG3eL/0fwUCaNWnJAAKCRBmfXG3eL/0 f1v8AJ0Z0OkCjf2HGyHXR4aPOTFRsIIyZQCfeNTn0PLOzFbwlzEB9HqMXYbGkGE= =f8kD -----END PGP SIGNATURE----- --pgp-sign-Multipart_Thu_Sep_25_13:33:36_2025-1--