shellcolorsconfigurationdialogkdialog

Is it possible to change Kdialog text color?


I have some kdialog textboxes in my script and I need to change its texts colors based on a configuration file. Is it possible?


Solution

  • You can set the foreground and background colors for a Kdialog window (--fg and --bg options), but it has no way to color individual words on the window.

    If you read through the source-code, you'll notice that Kdialog is just a thin layer on top of the KDE widget set, with options corresponding to a subset of dialog in 2005.