[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 250699] Session restore omits the LD_PRELOAD specified in icon
From:       Szokovacs Robert <szo () szo ! hu>
Date:       2010-09-13 14:29:05
Message-ID: 20100913142905.AE00666D67 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=250699





--- Comment #3 from Szokovacs Robert <szo szo hu>  2010-09-13 16:29:01 ---
Actually, the wrapper can be tricked to pose as the original app, and then
invoce the restart command of the original binary:

cat /usr/bin/skype

#!/bin/bash
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
exec -a /usr/bin/skype /usr/bin/skype.bin $@

This seems to include the LD_PRELOAD in the restored skype's environment, but
it still doesn't (always?) work, which can be skype's fault, also.

However, I think it would be nice to be able specify some mandatory environment
for the binaries being restarted for uses like this.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic