This file is indexed.

/usr/share/kde4/apps/kconf_update/kwin_translate_activity_rule.sh is in kde-window-manager-common 4:4.11.8-0ubuntu6.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#!/bin/sh
COUNT=`kreadconfig --file kwinrulesrc --group General --key count`
if [ -z "$COUNT" ]; then
    exit 0 # nothing to do for us
fi

# can you imaging how *much* faster sed is?
# it's however less reliable (installation, ini config, etc.)

for i in `seq 1 $COUNT`; do
    if [ "`kreadconfig --file kwinrulesrc --group $i --key activity`" = "ALL" ]; then
        kwriteconfig --file kwinrulesrc --group $i --key activity "00000000-0000-0000-0000-000000000000"
    fi
done