On Thu, 27 Jun 2019, Andrey ``Bass'' Shcheglov wrote:
Which files under `${HOME}/.dt` does `sdthotkey` modify?
Good question. I'll have to fire up a Solaris box and find out. As you point out, it can't be rocket science to map out the hotkeys and there is likely full documentation somewhere knowing CDE.
Probably the same functionality can be implemented using some python or shell scripting, with `zenity` or `xdialog` (or even `dtksh`) as the front-end.
I've rarely actually seen a Python GUI work. I've seen a *lot* of tracebacks, though. Python scripts with GUIs make PHP-GTK or Perl-GTK programs seem rock-solid-stable. They only seem to work in screenshots, but hey at least the code is well-indented, hehe.
Now zenity and xdialog are interesting. Those have at least as good a chance at working as most shell scripts you find in the wild. However, they have no MOTIF look and feel unless you do a bunch of theme jiggery pokery. The dtksh idea is one I like, too. That works okay and keeps it in the family. I'm not aware of any zenity-alike thing for MOTIF besides dtksh. Then again, I could stop whining and just write it in C, too. It's just that I haven't done MOTIF from soup to nuts in 15 years. I think I still could, given enough drive, though.
I've had the same ideas, honestly. Now, if I just had the time to start. It'd be a fun and useful little project. The main reason I don't use CDE more is that I haven't found an easy way to customize the hotkeys. Perhaps now is time to do it the hard way.
-Swift _______________________________________________ cdesktopenv-devel mailing list cdesktopenv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel