[KDE/Mac] KDE4 and D-BUS
O
illogical1 at gmail.com
Sat Feb 7 14:59:44 CET 2009
On Sat, Feb 7, 2009 at 8:51 AM, Julian Mehnle <julian at mehnle.net> wrote:
> O wrote:
>> > > I (or you) could add it in the post-activate hook of the kde4
>> > > portgroup. That means it'll get's shown after every package using
>> > > that portgroup will get installed.
>> > >
>> > > Currently it looks like this:
>> > > ######################################################
>> > > # Programs will not start until you run the command #
>> > > # 'sudo chown -R $USER ~/Library/Preferences/KDE' #
>> > > # replacing $USER with your username, followed by #
>> > > # 'open /Applications/Macports/KDE4/kdeinit4.app' #
>> > > # in a Terminal. #
>> > > ######################################################
>> >
>> > Why not directly add the necessary logic to the post-activate hook
>> > rather than print messages telling users how to do it manually?
>>
>> That's not a bad idea. What's the logic that's necessary?
>
> I have no idea (just lurking on this mailing list), but whatever it is,
> obviously it should be implementable, right? Perhaps run the commands
> mentioned in the above notice, or register dbus with launchd?
If you can figure out how to get sudo to run commands as the local
user, I can figure out the rest.
Till then, read a little, learn a lot :-)
More information about the kde-mac
mailing list