[MAC] Force XBMC to always be open / running - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85)
+--- Forum: Tips, tricks, and step by step guides (/forumdisplay.php?fid=110)
+--- Thread: [MAC] Force XBMC to always be open / running (/showthread.php?tid=47111)
[MAC] Force XBMC to always be open / running - bello - 2009-03-17 21:56
i am in the process of migrating my MythTV HTPC to a mac mini running XBMC. all my video/music/picture libraries have been setup nicely, but i ran into one small problem: i share a house with a lot of people and i know some of them are going to attempt to use this as a terminal to the Internet (which i would like to avoid). my solution was to write a small apple script that looped looking to see if the XBMC process was closed, if so, it reopens it. the following is how i accomplished this:
to setup: simply save the above script as an application (i saved it in /Applications/) then make it a startup item for the respective user profile.
*note: i fully realize that any user with above moderate knowledge of computers could get around this, but those aren't the users im trying to keep off other processes on this htpc.
hope this is useful to someone else out there
- davilla - 2009-03-18 02:17
You need to bust a cap in your housemates rear. It's your computer, take control of it, enable the OSX screensaver and enable password login.
There's nothing the devs can do to solve this problem.
- bello - 2009-03-18 19:25
davilla Wrote:You need to bust a cap in your housemates rear. It's your computer, take control of it, enable the OSX screensaver and enable password login.another option sure, but doesn't really accomplish what i want.
davilla Wrote:There's nothing the devs can do to solve this problem.agreed. i am not looking for any feature in XBMC to help me here, just thought i would be proactive about enforcing it to stay open.
for the record, XBMC's feature-set perfectly suites my needs and i am completely satisfied with my environment
- davilla - 2009-03-18 19:38
the section on Replacing the Finder
This is what Launcher 2.3 does under the AppleTV to boot into multifinder.
The command would be;
Quote:sudo defaults write com.apple.loginwindow Finder /Applications/XBMC.app
Once you do this, xbmc will be in front forever.
Extreme caution is recommended and you better have ssh enabled so you can ssh in and reverse this change if needed. The command would be;
Quote:sudo defaults delete /Library/Preferences/com.apple.loginwindow Finder
- bello - 2009-03-18 20:23
^ brilliant! thnx dude
- drivesoslow - 2009-06-11 20:57
davilla Wrote:see http://developer.apple.com/technotes/tn2002/tn2062.html
Great tip, it is a shame that the links in the article on Apples site are dead, but Google has plenty to offer