This file is indexed.

/usr/lib/python2.7/dist-packages/gDevilspie/filler.py is in gdevilspie 1:0.5-4.

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

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import wnck

#Get Default X screen
screen = wnck.screen_get_default()

#List of wnck.Window objects
def Get_Window_List():
    screen.force_update()
    return screen.get_windows()

#List of windowname strings
def Get_Windowname_List():
    windowlist = Get_Window_List()
    namelist = []
    for i in windowlist:
		namelist.append(i.get_name())
    return windowlist , namelist

#this function takes a window object (choosen by the user) and returns its matching criteria
def Matchdict_Window(window):
    matchdict = {}
    matchdict["window_name"] = window.get_name()
    matchdict["window_role"] = window.get_window_type().value_nick
    matchdict["window_class"] = window.get_class_group().get_name()
    matchdict["window_xid"] = window.get_xid()
    matchdict["application_name"] = window.get_application().get_name()
    matchdict["window_property"] = "" #Is that even relevant? nobody uses it.
    if window.get_workspace() != None:
        matchdict["window_workspace"] = window.get_workspace().get_number()
    else:
        matchdict["window_workspace"] = ""
    return matchdict

def Actiondict_Window(window):
    actiondict = {}
    actiondict["xposition"] = window.get_geometry()[0]
    actiondict["yposition"] = window.get_geometry()[1]
    actiondict["width"] = window.get_geometry()[2]
    actiondict["height"] = window.get_geometry()[3]
    actiondict["fullscreen"] = window.is_fullscreen()
    actiondict["maximize"] = window.is_maximized()
    actiondict["maximize_horizontally"] = window.is_maximized_horizontally()
    actiondict["maximize_vertically"] = window.is_maximized_vertically()
    actiondict["minimize"] = window.is_minimized()
    actiondict["shade"] = window.is_shaded()
    actiondict["pin"] = window.is_pinned()
    actiondict["stick"] = window.is_sticky()
    if window.get_workspace() != None:
        actiondict["set_workspace"] = window.get_workspace().get_number()
    else:
        actiondict["set_workspace"] = "" 
    return actiondict

## Use this for testing
#winlist = Get_Window_List()
#def test():
#    print Matchdict_Window(winlist[1])
#    print Actiondict_Window(winlist[1])