I don't know Luca's patching system, but I think this should work for
*one part*:

Instead of cd /user/share/kupfer && PYTHON -m kupfer.__init__
just exec the kupfer.py script Luca installs.

a python script will first look in its directory for module imports, so it 
should work just fine.
A new version for debian/patches/ is attached for illustration, but it's up to 
Luca if he wants to take it

However *part two* is when kupfer is installed as a service, also in the
ubuntu package. On my box it seems to set working directory to "/". I
don't know a way to influence that.

(On ubuntu:
kupfer starts as a dbus service with
'kupfer'
kupfer starts from the current directory with
'kupfer --no-splash'

** Attachment added: "debian_wrappers.patch"
   http://launchpadlibrarian.net/30505865/debian_wrappers.patch

-- 
kupfer should set working dir
https://bugs.launchpad.net/bugs/415866
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to