mhsabbagh/green-recorder

App is not relocatable

Open

#7 opened on Feb 12, 2017

View on GitHub
 (12 comments) (2 reactions) (0 assignees)Python (605 stars) (120 forks)batch import
help wanted

Description

in some places green-recorder has hard wired paths to files. e.g.

indicator = appindicator.Indicator.new("Green Recorder", '/usr/share/pixmaps/green-recorder.png', appindicator.IndicatorCategory.APPLICATION_STATUS)

and:-

builder.add_from_file("/usr/lib/green-recorder/ui.glade")

This assumption breaks the ability for green-recorder to work in some environments. Specifically when containerised or confined, that directory may be somewhere else (relative) on the filesystem, and not at that absolute path.

Contributor guide