setterm impact changed (was: setterm syntax changed)

Chris Adams linux at
Thu Jun 26 18:24:34 UTC 2014

Once upon a time, Felix Miata <mrmazda at> said:
> New problem. Now that the kernel is no longer putting the display to
> sleep and I can start X, I find that setterm command no longer
> applies only to the vttys. It's now coloring my Konsoles, which I do
> not want, and I don't see a way in the setterm man page to stop it.
> :-(

Are you calling it from your .bashrc?  A simple thing like this should
do (basically, only run setterm when connected to /dev/tty[0-9]*):

[ "$tty" != "${tty#/dev/tty[0-9]}" ] && setterm <your setterm args>

Chris Adams <linux at>

More information about the devel mailing list