[KDE/Mac] automate launchctl load on startup?

Jonas Bähr jonas.baehr at web.de
Sat Nov 14 10:15:05 CET 2009


Hi,

Am 13.11.2009 um 18:44 schrieb Richard DeLaurell:

> Hello,
>
> I have a couple of questions and I'm hoping this is the correct list  
> to post these:
>
> I had trouble running kdebase4 (macports pkg name) applications for  
> awhile (mainly, konsole and konqueror), but running
>
> sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus- 
> system.plist
>
> and
>
> launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus- 
> session.plist
>
> seems to fix that problem.
>
> My first question: is there any way to automate this?  I run these  
> programs from my dock on the os x desktop and would rather not have  
> to open the terminal just to run the "launchctl" commands.

Normally you only have to do this once. The -w switch should remove  
the disabled-flag in the plist file. This means that the system bus is  
started automatically on startup (as any launch daemon) and the  
session bus is started once you login (launch agens are session  
based). As you're running Leopard, you could even enable on-demand  
loading of the session bus. Just edit the plist file (on-demand  
loading is broken in Tiger, so it's disabled by default)

bye,
Jonas

>
> My second question: is there a port of the main kde4 environment  
> which will run from the mac desktop, or from the mac X11 environment?
>
> My apologies if these questions are too basic, but I am fairly new  
> to all of this.
>
> Thanks for any help.
>
> Richard
>
> MacBook Pro, Core2Duo, 4g, OS X 10.5.8, MacPorts 1.8.1
> _______________________________________________
> kde-mac at kde.org
> List Information: https://mail.kde.org/mailman/listinfo/kde-mac
> KDE/Mac Information: http://techbase.kde.org/index.php?title=Projects/KDE_on_Mac_OS_X



More information about the kde-mac mailing list