diff --git a/inxi b/inxi index 864e53e..13b764c 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.0.9 +#### version: 1.0.10 #### Date: 16 March 2009 ######################################################################## #### SPECIAL THANKS @@ -738,19 +738,26 @@ print_screen_output() # the double quotes are needed to avoid losing whitespace in data when certain output types are used local print_data="$( echo -e "$1" )" + # just using basic debugger stuff so you can tell which thing is printing out the data. This + # should help debug kde 4 konvi issues when that is released into sid, we'll see. Turning off + # the redundant debugger output which as far as I can tell does exactly nothing to help debugging. if [[ $DEBUG -gt 5 ]];then if [[ $KONVI -eq 1 ]];then # konvi doesn't seem to like \n characters, it just prints them literally - print_data="$( tr '\n' ' ' <<< "$print_data" )" - dcop "$DCPORT" "$DCOPOBJ" say "$DCSERVER" "$DCTARGET" "konvi='$KONVI' saying : '$print_data'" + # print_data="$( tr '\n' ' ' <<< "$print_data" )" + # dcop "$DCPORT" "$DCOPOBJ" say "$DCSERVER" "$DCTARGET" "konvi='$KONVI' saying : '$print_data'" + print_data="KP-$KONVI: $print_data" elif [[ $KONVI -eq 2 ]];then - echo "konvi='$KONVI' saying : '$print_data'" + # echo "konvi='$KONVI' saying : '$print_data'" + print_data="KP-$KONVI: $print_data" else - echo "printing out: '$print_data'" + # echo "printing out: '$print_data'" + print_data="P: $print_data" fi fi if [[ $KONVI -eq 1 ]];then + # konvi doesn't seem to like \n characters, it just prints them literally print_data="$( tr '\n' ' ' <<< "$print_data" )" dcop "$DCPORT" "$DCOPOBJ" say "$DCSERVER" "$DCTARGET" "$print_data" else