Can Login Items be disabled instead of just hidden/removed?

cderalow wrote in another thread:
"system preferences
accounts
login items
uncheck as applicable "
I always thought unchecking just made the app hidden on login but still launched. Is there a way of disabling items in this window instead of deleting them?
Thanks.
:-Joe

Oh, I see. Hmmm, unfortunately, I can't think of an easy way to do that, off hand.
The "login items" in the "Accounts" pref pane are recorded in the user's "~/Library/Preferences/loginwindow.plist" file. Conceptually, you could do what you are asking by backing up the original file, removing all login items, then editing the real file manually by copying back individual items from the backup. I suppose this might be slightly easier than having to open "System Preferences", then navigating to each individual item to be added back after each log in test -- but not by much.
For example, suppose you open "/Applications" > "Utilities" > "Terminal.app" and run this command:<pre>plutil -convert xml1 ~/Library/Preferences/loginwindow.plist -o ~/Desktop/loginwindowBackup.plist</pre>A plain text XML version of the file should be created on your "Desktop" (the command assumes that a file named "loginwindowBackup.plist" did not already exist there - if it did, it would have been overwritten so be careful). It should be possible to open that file in a text editor, such as eg. "TextEdit.app".
The "login items" are specified in the 'AutoLaunchedApplicationDictionary', which is bounded by the '<array></array>' tags. Within this array, each individual "login item" is specified within a "dictionary" entry (bounded by '<dict></dict>' tags), containing keys such as 'AliasData', 'Path', etc. Anyway, that whole dictionary entry (including the opening and closing 'dict' tags represents the "login item".
So it should be possible to copy and paste one or more entries from the backup into a second copy of the "loginwindow.plist" file. After editing, that file (renamed "loginwindow.plist") could be copied back into "~/Library/Preferences", prior to logging out and back in to test the login item.
It's probably easier than I have made it sound - easier on a technical level, at least, but still tedious to execute in practice...

Similar Messages

  • I am sharing my macbook pro over a network with windows 7, however through windows 7 I can access my whole computer instead of just the shared files!

    I am sharing my macbook pro over a network with windows 7, however through windows 7 I can access my whole computer instead of just the shared files!

    Hi Sig,
    The issue is that i only want the shared folders to be accessed through windows 7.
    Whats the point otherwise to have shared folders?
    thanks..

  • Can unencrypted items in a https connection be hidden?

    Some time ago, IE had an option to hide unencrypted items in a https connection. I can't find such an option now, so I can't give more details. Bu the point is: can Firefox do that? Some sites have only partially encrypted connections and to me it is important do distuinguish what is secure and what is not in such sites. One sad example is the very support page for Mozilla produtcs (see below).
    Thanks in advance.

    Firefox does not have this option, but is supposed to warn you about unencrypted content with https even if the page has some encrypted data.
    Usually you won't have to worry that much about 'some unencrypted' data since most of the time they are images.

  • Why do office applications autostart when they are disabled in login items and individually in 'open at login' in dock?

    When I start the Mac word, excel, powerpoint and skype all autostart. I already tried some of the posted solutions to this like changing the system preferences (login items) and disabling the 'open at login' for each application on the dock, but it doesn't seem to work. What am I missing? 

    One of the features of Mac OS X Lion (the system you are running) is that it restarts all applications that were running the last time you were logged in.
    So, if you are now running e.g. Word, Mail, Skype, then they will all automatically relaunch upon your next login.
    When you logout/shut down/restart, you get a dialog asking whether you are sure to logout. In that dialog there is a checkmark that indicates whether all running apllications have to be relaunched upon your next login. If you deselect the checkmark, your running applications won't automatically relaunch on your next login.

  • Login items not saved

    I haven't read about this one yet so I thought I should at least mention it. Since my upgrade to 10.9 the login items for my (admin) user account are not being saved. After a reboot the list is empty again. I have re-entered them several times but that just seems a bit pointless now   Also repaired permissions on the OS X drive, just for good measure but to no avail. Login items are Mail, Messages and just one third party app: Google Chrome.
    So.... Bug or something else I should try?

    This happened to me from an out-the-box mac without any 3rd party software installed which makes me think this is a mavericks issue as opposed to anything else installed after.
    Im not trying to be a dick BTW.
    Hardware Information:
              MacBook Pro (Retina, 15-inch, Late 2013)
              MacBook Pro - model: MacBookPro11,3
              1 2.3 GHz Intel Core i7 CPU: 4 cores
              16 GB RAM
    Video Information:
              Intel Iris Pro - VRAM: 1024 MB
              NVIDIA GeForce GT 750M - VRAM: 2048 MB
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0
              AirPlay: Version: 1.9
              AppleAVBAudio: Version: 2.0.0
              iSightAudio: Version: 7.7.3
    System Software:
              OS X 10.9 (13A3017) - Uptime: 0 days 17:32:34
    Disk Information:
              APPLE SSD SM0512F disk0 : (500.28 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) /: 499.42 GB (269.05 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
    USB Information:
              Apple Internal Memory Card Reader
              Apple, Inc. Keyboard Hub
                        Apple, Inc Apple Keyboard
              Action Star USB2.0 Hub
                        Action Star USB HID
              Apple Inc. Display Audio
              Apple Inc. Apple LED Cinema Display
              Apple Inc. Display iSight
              Apple Inc. BRCM20702 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. Apple Internal Keyboard / Trackpad
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
                        Apple Inc. Thunderbolt to Gigabit Ethernet Adapter
    Kernel Extensions:
              at.obdev.nke.LittleSnitch          (4052)
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
              [loaded] at.obdev.littlesnitchd.plist
              [loaded] com.adobe.SwitchBoard.plist
              [loaded] com.cisco.anyconnect.vpnagentd.plist
              [loaded] com.microsoft.office.licensing.helper.plist
              [loaded] com.vyprvpn.authorization.plist
    Launch Agents:
              [loaded] at.obdev.LittleSnitchUIAgent.plist
              [not loaded] com.adobe.AAM.Updater-1.0.plist
              [loaded] com.cisco.anyconnect.gui.plist
              [loaded] com.wacom.wacomtablet.plist
    User Launch Agents:
              [loaded] com.google.keystone.agent.plist
    User Login Items:
              iTunesHelper
              Alfred 2
              Google Drive
              Dropbox
              Mail
              MemoryFreer
    3rd Party Preference Panes:
              Java
              WacomTablet
    Internet Plug-ins:
              Default Browser.plugin
              JavaAppletPlugin.plugin
              QuickTime Plugin.plugin
              SharePointBrowserPlugin.plugin
              WacomNetscape.plugin
              WacomTabletPlugin.plugin
    User Internet Plug-ins:
    Bad Fonts:
              None
    Time Machine:
              Time Machine not configured!
    Top Processes by CPU:
                  15%          osascript
                   4%          WindowServer
                   1%          iTunes
                   1%          SystemUIServer
                   1%          Little Snitch Agent
                   1%          coreaudiod
                   1%          EtreCheck
                   1%          MemoryFreer
                   1%          fontd
                   1%          taskgated
    Top Processes by Memory:
              410 MB             WindowServer
              328 MB             firefox
              229 MB             Finder
              197 MB             Safari
              180 MB             Mail
              180 MB             iTunes
              164 MB             com.apple.WebKit.WebContent
              147 MB             Skype
              131 MB             Adium
              115 MB             mds_stores
    Virtual Memory Statistics:
              9.14 GB            Free RAM
              3.97 GB            Active RAM
              694 MB             Inactive RAM
              1.32 GB            Wired RAM
              1.04 GB            Page-ins
              0 B                Page-outs

  • Login Item keeps returning

    Hi There.
    I have read may similar posts, but the solutions have not worked.
    Problem: NetNewsWire returns to the "Login Items" all by itself, even after manually removing it from the Accounts -> Login Items.
    Things I have already tried:
    1) Manually removing it from System Preferences > Accounts > Login Items. Outcome: It removes from the list, but after loging out/in or restarting, it returns to the list.
    2) Deleting ~/library/Preferences/com.apple.loginitems.plist and ~/Library/Preferences/loginwindow.plist
    Outcome: The Login Item list in the System Preferences > Accounts is emptied, but after log out/in the list reappears, restoring NetNewsWire as well as several other things.
    3) Right-Clicking the Dock icon and de-delecting "Open at Login" which is always checked.
    Outcome: After un-checing this, and logging out/in. The app still launches and the setting in again checked in the dock menu.
    Any ideas would be greatly appreciated.
    Oh, by the way, this is on a family member's MacBook, 10.5.x
    Message was edited by: Andrew Mcvinnie

    Actually, I did further tests and found the following: there are several apps set to launch at start up, and removing any of them had the same effect as NetNewsWire.
    Here's how I solved the problem: after deleting all of the login items and verifying that System Preferences > Users > Login Items was empty, I went to ~/library/preferences and deleted loginwindow.plist. Then I used text edit to make a new blank file of the same name. I locked this file and put it in the preferences folder where it should go. I then tested to make sure that any login items added did not actually stick due to the fact the pref was locked. This worked, and nothing could be added or removed at all. I logged out and in and confirmed it again. My locked dummy file was still in place. Next, I removed the locked dummy file and went back to the login items and added a couple of items as a test. I logged out and in and just those two things opened. I removed them and verified that they also stayed deleted.
    Now the loginwindow.plist seems to be working normally. Something seems to have been restoring the file after I made changes, or perhaps the file was corrupt and unwriteable to begin with.
    Message was edited by: Andrew Mcvinnie

  • Account Login Items

    One of the login items listed under my account in sys preferences is System Events - shown as an application. Any idea what this is? Is it safe to delete from my login items?

    System Events is a system application that should never be run by hand. I have no idea why it's in your login items but it's quite safe to remove it from there.

  • Trying to subscribe to a secure podcast, but I am never prompted for login information, instead I just get the gray "i". Is there something in iTunes 10.4 i can change to fix this?

    Trying to subscribe to a secure podcast, but I am never prompted for login information, instead I just get the gray "i". Is there something in iTunes 10.4 i can change to fix this?
    Notes: The RSS feed of the podcast works just fine. When I enter the podcast URL into the firefox bar, I am prompted and am able to access the page. The problem is with iTunes not giving me the prompt.

    Mountain Lion Supported Machines
    Supported
    Models
    iMac (Mid 2007 or newer)
    MacBook (Late 2008 Aluminum, or Early 2009 or newer)
    MacBook Pro (Mid/Late 2007 or newer)
    Xserve (Early 2009)
    MacBook Air (Late 2008 or newer)
    Mac mini (Early 2009 or newer)
    Mac Pro (Early 2008 or newer)
    Requirements
    General Requirements
    OS X v10.6.8 or later
    2GB of memory
    8GB of available space
    Some features require an Apple ID; terms apply.
    Some features require a compatible Internet service provider; fees may apply.

  • How can I stop Preview from opening at startup even though it is not listed in my Login Items?

    When I log into one of my user accounts in my MacBook Pro (Mountain Lion), Preview is always open. The preview window itself is not open but the application name is active in the menu bar in the top left hand corner. The Preview item on the taskbar is also lit. Both of these indicate to me that Preview is running. However, I checked my Login Items repeatedly and Preview is not even listed. I also make sure that when logging out, the "Reopen windows when logging out" is unchecked. But Preview still always opens whenever I log into this particular user account -- it does not do it in any of my other user accounts. How can I fix this?

    Thanks. I got to the bottom of it by checking Login Items. I had Flux, iTunes Helper, and Dropbox. I removed the first two from Login Items, leaving only Dropbox. However, when I rebooted and logged in, Preview was still open and Flux and iTunes Helper were back in the Login Items. To find out which application is the culprit, I looked under Flux's Preferences settings and disabled it from opening at login. I was intending to do it for every application until I find the culprit, but doing so to Flux solved the problem.

  • How can I reorder LogIn Items

    I need my login items to load in a different order. Is there any way, short of deleting and re-adding them, that I can change the order?
    Thanks in advance.

    I have a workflow saved that loads some shared files on demand, It could be saved as an application and added to the login items as the last items. That's probably the closest you can get to controlling the load order. Automator and do the following.
    1 Search for the "Connect to Server" action and drag it to the empty space on the right side of the window. Click the triangle at the top of the action. That's where you enter the information for the server you want to log in to. I f the servers are already mounted you can just drag them into this window.
    2. Add the "Connect To Servers" action to the right side of the window. Test the action to make sure it works. Now do a Save As and save it as an application. You can add it to the login items for your account.

  • Why does DISABLED disable a SCREEN RECTANGLE instead of just the control?

    I have solved this problem, but wanted to post it here for discussion.
    LabVIEW 7.0, Windows.
    I have a cluster: Item 0 is a custom enum control, item 1 is a string control.
    Under certain conditions in my program, the string field must be disabled (and grayed out), because it's not applicable.
    When I did that, I found that the enum was disabled as well. Actually, it would sometimes work if I hit the up-arrow just right, but the menu would never pop up. It worked find if the string was enabled.
    The string field (item 1) had a label above the left side of it. The enum (item 0) was positioned immediately above the right side of it.
    So why was item 0 disabled if item 1 was? I verified that the DISABLED property was NOT getting set to disabled (it reported 0 when I read it). There were no other property nodes to item 0.
    As it turns out, it seems that when the string was disabled, there was a RECTANGLE on screen which was disabled. In spite of the fact that neither the string field not its label overlapped the enum, the fact that the enum was within the string's RECTANGLE was disabling it. The fact that the enum's up-arrow extended above this rectangle is what made it work if I hit it just right (the top 1 or two pixels, i guess). I found this out by moving the enum off to the right (out from under this rectangle.
    My eventual solution was to go to the typedef for this cluster and move the enum IN FRONT of the string. I did not change the cluster order, just the physical front-to-back ordering. Now it works, with the enum back where I wanted it in the first place.
    I have attached a VI which demonstrates this. I tested it on LV 7.1 / OSX and it still fails. Not sure if it's a bug, or intended behavior.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks
    Attachments:
    BugTest.vi ‏34 KB

    I would say this is most probably optimation. While you can of course escalate a user event message all the way down to any of the lowest controls only to see in most cases that the control did not care about this message for whatever reasons, this adds significant delay to the event handling. So having the top level control (cluster) do a quick and dirty rectangular check to see which control should receive the message if any and only passing it to that control speeds things up significantly.
    Doing anything but a rectangular area check is again a performance problem as well as a never ending story of special cases which need to be handled just this tiny bit different to the rest, and any modification for a particular situation has often several undesired consequences for other cases.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • When i login to my mac, it opens iTunes, Skype and AIM. I've tried deleting these from the login items, but they are not on the list.  Can anyone help?

    When i login to my mac, it opens iTunes, Skype and AIM. I've tried deleting these from the login items, but they are not on the list.  Can anyone help?

    babowa wrote:
    If you do not lock that folder immediately after deleting all the contents, it will simply populate again (Resume - a "feature" in Lion). You do that by doing a Get Info (highlight folder and press Command + I keys), unlock the lock at the bottom, enter your admin password, then check the box to lock the folder. lock the lock and you're done.
    Yes, that is correct. The alternative is to quit all applications prior to logging out. Lion will then have a chance to remove the saved states.
    babowa also wrote:
    And, for the OP:
    It has also been a regular feature of Mac OS to automatically open any window that was open at shutdown. To avoit that behavior, simply close any Finder windows and  properly quit applications by closing their window and using Command + Q (or File >Quit).
    This was true only for the Finder. Prior to Lion, no other apps would launch unless they were included in the Login Items for the account. And the OS would not restore windows for other apps.
    A very small number of apps (TextWrangler is an example) implemented this capability prior to Lion. They could restore previously opened windows. But that is an application feature, and can be controlled by the application's preferences. Lion implements it at the system level, and users have virtually no control on a per application basis.

  • I just purchased a mac, I've made an apple id. But now when i try to update my mac. I need to login to itunes stroe.Whenever i try that i can login, then i need to confirm my details. And suddenly the mail adress is no longer valid.

    I just purchased a mac, I've made an apple id. But now when i try to update my mac. I need to login to itunes stroe.Whenever i try that i can login, then i need to confirm my details. And suddenly the mail adress is no longer valid.
    How do I solve this problem?

    You've posted to the iTunes Match forum, which your questions do not appear to be about. Perhaps you would get better help by posting in the iTunes for Mac forum.

  • I 'm using ipad 2 and am using iwork pages.  how can i set up iwork pages so that a page scroll left to right or right to left instead of just scrolling up?

    I am using ipad 2 and am using iwork paged.  how can i set up iwork pages so that a page will scroll left to right or right to left instead of just up?

    Here you are in a forum dedicated to Pages for OSX.
    Most of us don't use Pages for iOS.
    Better ask in the iWork for iOS forum :
    https://discussions.apple.com/community/app_store/iwork_for_ios
    Yvan KOENIG (VALLAURIS, France) lundi 18 juillet 2011 22:38:20
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • I upgraded to mountain lion a week ago and now on startup of my macbook pro, microsoft excel and word start up automatically and then crash? very strange can anyone please help? I have checked the login items under users and groups and there is nothing.

    I upgraded to mountain lion a week ago and now on startup of my macbook pro, microsoft excel and word start up automatically and then crash? very strange can anyone please help? I have checked the login items under users and groups and there is nothing.

    Are you using the Office for Mac 2011 version, as you need to do?  The Office for Mac 2004 is Not at all compatible with Mountain Lion, and the 2008 version has been noted to have some problems running with ML.
    Hope this helps

Maybe you are looking for