setterm impact changed

Felix Miata mrmazda at earthlink.net
Thu Jun 26 19:26:00 UTC 2014


On 2014-06-26 13:24 (GMT-0500) Chris Adams composed:

> Felix Miata said:

>> 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)
> [ "$tty" != "${tty#/dev/tty[0-9]}" ] && setterm <your setterm args>

Awesome! :-D
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snoopdancin.jpg
Type: image/jpeg
Size: 21215 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20140626/9a0229f4/attachment.jpg>


More information about the devel mailing list