Can't disable application startup. Not in sys prefs!

Hi all, I've tried to find this but can't find it anywhere in the forums. I have an obscure mini-app (called Walk-and-talk) that auto starts upon login/startup. It DOES NOT appear in the startup menu in my sys prefs/user account. I use this app once every 2 months. I DO NOT want the thing in the menu bar (which is where it appears) or even sucking a remote amount of cpu/memory. Some of it's files appear in a few startup folders in my user account but it gets complicated (for me) and when I try to delete those files they seem to just reappear again. There are no preferences in the app that help me and no info about it in the user manuals. Any help for me on how to get this thing to only start when I click on the app??

Macbook Pro, Mac OS X (10.4.11), 2.16 gz, 3GB memory

Posted on May 29, 2008 4:22 PM

Reply
30 replies

May 31, 2008 7:05 PM in response to studioduck

wrote:
Have you checked:
/Library/LaunchDaemons
/Library/LaunchAgents
/Users/yourhome/Library/LaunchAgents?

You could also check:
/System/Library/LaunchAgents
/System/Library/LaunchDaemons
but be very careful before deleting anything here - especially anything in the >second folder as many of these control essential system services and you could >render you Mac unbootable, I believe.

* cfr




I checked the folders and nothing appears to be there except maybe one file, called ntalk.plist, perhaps this is an abbreviation for "walk-and-talk" (or perhaps, unbelievably wishful thinking :-D)

May 31, 2008 7:16 PM in response to studioduck

wrote:
dsfushi72 wrote:
2. I opened terminal, entered the following line, and pressed the return key:
cd "/Applications/SMART Board Software/"
3. I entered the following line and pressed the return key:
sudo chmod a-x "SMARTBoard Service"
4. I was asked for an admin password, and, being an administrator, I entered my >password.



So I tried this and after the 2nd command it tells me no suck file or directory exists. (the first command seemed to work fine). The app is in a folder:

Applications>Walk-and-Talk>Walk-and-Talk

Does that make sense? Would I need to alter the command?

Thanks everyone, this is crazy!!

Message was edited by: studioduck

May 31, 2008 7:21 PM in response to studioduck

If Walk-And-Talk is a .app application, and the path to it is /Applications/Walk-and-Talk.app, then what you need to disable is the UNIX executable hidden inside it. Luckily, it's always in the exact same place and with the same name as the application. What you'd need to type would be

cd "/Applications/Walk-and-Talk.app/Contents/MacOS/"
(Press return key)
sudo chmod a-x "Walk-and-Talk"
(Press return key, enter password at prompt)

May 31, 2008 7:37 PM in response to adsfushi72

adsfushi72 wrote:
If Walk-And-Talk is a .app application, and the path to it is /Applications/Walk-and-Talk.app, then what you need to disable is the UNIX executable hidden inside it. Luckily, it's always in the exact same place and with the same name as the application. What you'd need to type would be

cd "/Applications/Walk-and-Talk.app/Contents/MacOS/"
(Press return key)
sudo chmod a-x "Walk-and-Talk"
(Press return key, enter password at prompt)



Inside the applications folder is another normal, finder folder called Walk-and-Talk. Inside this folder, among other things, is the actual Walk-and-Talk.app application. Make sense? Would this be the correct command:

cd "/Applications/Walk-and-Talk/Walk-and-Talk.app/Contents/MacOS/"

?

Thanks,

Jun 1, 2008 3:53 AM in response to studioduck

Hi

some digging in the application installer packages produced this 'postflight' file below, which suggests that you should look for entries in 'loginwindow.plist' in /Library/Preferences/ . Some googling shows a number of different apps use this method to make a startup item - you wouldn't be the first to be frustrated by it.
--------


#!/bin/sh
# Script called from Installer to set up a startup item
# for Walk-and-Talk
# $1 is the full path to the package
# $2 is the destination path of the installation
# $3 is the installation volume to receive the payload
# $4 is the root directory of the system
# $RECEIPT_PATH is the folder we and other extra files are in
echo ${RECEIPT_PATH}/StartupItemTool -add "$2/Walk-and-Talk.app" >>/private/tmp/wntinst.log
echo chmod 664 $4/Library/Preferences/loginwindow.plist >>/private/tmp/wntinst.log
"${RECEIPT_PATH}/StartupItemTool" -add "$2/Walk-and-Talk/Walk-and-Talk.app" || exit
# Make loginwindow.plist group-writable so that the
# launch-at-startup preference works for admin users
chmod 664 "$4/Library/Preferences/loginwindow.plist"
exit 0

Jun 1, 2008 9:00 AM in response to andyBall_uk

andyBall_uk wrote:
Hi

some digging in the application installer packages produced this 'postflight' file below, which suggests that you should look for entries in 'loginwindow.plist' in /Library/Preferences/ . Some googling shows a number of different apps use this method to make a startup item - you wouldn't be the first to be frustrated by it.
--------


#!/bin/sh
# Script called from Installer to set up a startup item
# for Walk-and-Talk
# $1 is the full path to the package
# $2 is the destination path of the installation
# $3 is the installation volume to receive the payload
# $4 is the root directory of the system
# $RECEIPT_PATH is the folder we and other extra files are in
echo ${RECEIPT_PATH}/StartupItemTool -add "$2/Walk-and-Talk.app" >>/private/tmp/wntinst.log
echo chmod 664 $4/Library/Preferences/loginwindow.plist >>/private/tmp/wntinst.log
"${RECEIPT_PATH}/StartupItemTool" -add "$2/Walk-and-Talk/Walk-and-Talk.app" || exit
# Make loginwindow.plist group-writable so that the
# launch-at-startup preference works for admin users
chmod 664 "$4/Library/Preferences/loginwindow.plist"
exit 0

So studioduck could try dragging /Library/Preferences/loginwindow.plist to the Desktop, say, and then restart to see if that works better and to check nothing undesirable happens. (An alternative would be to check the file and see if it is starting anything that is wanted.)

- cfr

Jun 1, 2008 11:05 AM in response to adsfushi72

Here's the applescript to disable it. Copy the following line and paste it into Script Editor, found in Applications/Applescript/
Press "Compile" or hit Enter. (Enter, NOT Return. It's on the numeric keypad.)
Go to the file menu, select "Save as…", give it a name, choose "Application" from the "File Format" drop down menu, and press "Save."
You'll then have a new application. Whenever you want to disable Walk-and-Talk, double click this application and it will disable it for you.
(The line may be broken in the browser, but it needs to be all on one line before you compile and save the script.)

do shell script "chmod a-x /Applications/Walk-and-Talk/Walk-and-Talk.app/Contents/MacOS/Walk-and-Talk" with administrator privileges

Do the same thing replacing the "a-x" with "a+x" to get an application that enables walk-and-talk.

This sounds confusing the way I describe it, but it's not that hard when you actually do it.

Message was edited by: adsfushi72

Jun 1, 2008 3:37 PM in response to Clea Rees

Wahooooo! So this seemed to fix the problem. I'll tuck that little file away though just in case I do need it for some reason, and I'll have to do a check later this week when I can plug in the whiteboard and do a thorough run through of the app. For now though, it does not start at startup/login, and yet opens as usual when I double click the app. I have "Quicksilver" set to startup upon login and that deosn't seem to be affected at all, a good thing. I will try to post back for final confirmation that this has, indeed, fixed the problem. Thanks for the digging, andyBall_uk, and thanks everyone for helping with all the ideas!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can't disable application startup. Not in sys prefs!

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.