(Mountain)Lion Window Manager Questions

I've written a couple apps for iOS, but nothing major. And now I have a goal of writing my own window manager for OS X. Mainly because I find developing in XCode painful after using Windows Aero/Snap features. Yes, I know about several good existing window managers, but this project seems like a good way to get my feet wet in the Apple OS development arena. I've been Googling around for about an hour looking for answers to these questions, but I'm still not 100% sure on any of them. Here goes:
What is the name for the default Lion / Mountain Lion Window Manager?
X11/Quartz can be restored in 10.7+ to run "legacy" OS X apps. Does that have an effect on the existing window manager?
Are there any open source projects that I could look at to get a handle on the concepts behind the Mac OS X 10.7+ system management?

Roguish wrote:
Why not? I know tons of stuff applicable to Windows, I'd like to know more about Mac OS.  And the best teacher is experience in my opinion.
But writing something like a window manager is hard. Wouldn't you rather start off slowly?
"Snap" is a rather convienient window resizing feature of Windows 7.
I have Windows 7 for running IE 9 to test web sites. It is dog-slow to I avoid it whenever possible.
XCode isn't my problem, the minimalistic window controls in Mac OS X are my problem.  But I only have to deal with them in an irritating fashion when I'm coding in XCode
Xcode is pretty-much an all-encompassing environment. You should only have one Xcode window open. Source files are in the editing pane.
I just didn't want to start a flame war over operating systems.  I personally don't have an OS preference; if an application I need is only on Mac OS then I'll use Mac OS, if I need to write a document I'll use Word in Win7, if I need to rapidly prototype a script for research purposes I'll use Ubuntu.
This is not Ars or Slashdot. This is Apple-land. Macs rule - end of story. If you try some Mac apps, you might find that Pages does anything Word does three times faster and OS X does anything Ubuntu does, only better.
It's a free country.  Could you suggest a better one besides the developer tutorials in the Mac Developer Library?  I've written a couple drivers using it, but I can't seem to find the correct wording to locate the current topic in there.
No, it isn't. As I said above, this is Apple-land. You asked about a good project to get your feet wet in the Apple OS development arena. Anything involving X11 would be a very poor project for that purpose because it would not teach you one thing about Apple OS development. If you want to learn about X11, then do something in X11. If you want to write a Mac application, then do that.
Really? What would you call Mission Control then (I finally succeeded with Google)?
You are talking X11-isms. You aren't going to replace Mission Control.
How about Inkscape, the free SVG editor?  Which is still in active development.  And as of this post requires Quartz to create an X11 window to run in.  I'm sure they'll get to updating it eventually, but until then I'd rather not shell out for Illustrator just to make SVG's quickly.
Adobe is not really a Mac development house anymore. They just churn out ugly, expensive cross-platform bloatware. Adobe's idea of an icon is a square with an "A" in it.
If you are looking for quick and easy to use vector drawing tools, the Developer forum might not be the right place to ask. I use Logoist. It's not free but I can create documents faster than you can download and launch Inkscape.
Or maybe you just aren't familiar with what "Window Manager" means.
I know what a "Window Manager" is. If you want to ask something specific, please do so.
I want to code an application for OS X that would allow me to very quickly resize the active window to take up the right half of my screen by pressing command+<right arrow> (or something similar).
Was that so hard?
The only shortcuts similar to what I want (that I use) are command+m (minimize) and command+<down arrow> (open current selection using the default app). Three existing window managers that I know of that seem promising and have nice feature sets are SizeUp, Cinch, and Optimal Layout.  But as I mentioned earlier I want to code it myself. As an exercise. To learn.
You could cobble together some AppleScript such as you have already posted. However, that isn't going to teach you anything about OS X development either.
Next time could you be a little less smug (and a lot more helpful) when replying to an obviously new member to the forums?
Only if you meet me halfway. What kind of welcome would I get if I showed up in a Windows forum asking how I could learn about .NET by writing a Linux device driver? And then, for good measure, I call Visual Studio painful because it doesn't support some Mac features that Windows users have never heard of.
This is a different world. There are no window managers and there never have been. Asking about X11 in OS X is like asking about DOS development in Windows. Sure, there are some people who still do that stuff, but I would never suggest anyone start there. X11 is just part of the UNIX compatibility layer - a foreign add-on. Most of the open source is in that layer too. If by "open source" you mean "free software", you should know that free software is pretty much incompatible with the Apple ecosystem and not by Apple's decision.
I suggest you start by writing some applications. Use the Xcode project templates in File > New > Project > Cocoa Application. If you want to start on the command line, do File > New > Project > Command Line Tool > Foundation. Get used to Cocoa and Objective-C.

Similar Messages

  • Mountain Lion memory management Issue !!!

    Hi,
    I have a MacPro Mid-2010 quad-core intel xeon with 10 gb ram.
    Im an audio engineer n i use this machine extensively for my work.
    I recently updated to mountain lion.
    Since updating the memory management has gone from amazing (never ran out of memory even while doing extensive tasks) to crap (running out of memory all the time).
    At the moment im adding a lot of tracks to itunes while simultaneously using mp3 scan+repair to fix my mp3 files.
    this to me doesnt sound like anything that my MacPro should have difficulty with but its sluggish. i can still type this message easily while the other 2 tasks are on but its just feeling slow.
    now when i look at istat this is what i see:
    now why would there be so much inactive memory n free mem only like 10 mb with 260 page outs?
    i shouldnt be getting page outs with so much inactive memory.
    getting page outs means buying more memory but i dont think i need it.
    im unclear about mountain lions memory management.
    please advise.
    Thanks.
    Gautam.

    I'm using version 7.0.15104.778994 and having no trouble under Mountain Lion. I think that it was a July 10th release (coinciding with the GM developer release of ML).
    What version do you have?
    Clinton

  • After upgrading to Mountain Lion, Windows doesn't work

    Hello,
    I've just upgraded my computer to Mountain Lion (from Leopard) and Microsoft windows 'the Power PC applications are no longer supported'.  I've tried to download different version of Microsoft windows - still doesn't work.  Help!?
    I'm aware that this question may have been posted but somehow can't access the main community room.
    Thanks
    Odyle

    You can't run Windows on a Mac unless you use BootCamp or a third-party utility such as Parallels Desktop.
    Perhaps you mean Microsoft Word (which is part of the MSOffice suite).
    Only MSOffice 2008 and later will run in Mountain Lion.
    However there are very good free alternatives, such as LibreOffice.

  • Upgrading to  Mountain Lion Pre Install Questions

    HI:
      I will be installing Mountain Lion Next week.
    I have read through many of the turotrials and quired most of the following  I still have a few questions.
      I have some concerns in particular regarding the contents of my mail boxes and mail.
    I have backed up unto an external harddrive using time machine. When I click on the mail app I can't access it and see if the contents are there. I just get a window showing the specs.
      From what I have read all my documents applications and system info are backed up.
    1} Will the contents of Mail Inbox and personal Mail Boxes be either on the external drive or in Mail itself after I upgrade?
    2} Will I need to up grade iWork  and other Mac programs after the upgrade?
    3} Does time machines automatic backup, back up everything or do I need to do a manual back up for some thing?
    4} Will I need to load new drivers for external devices such as my printer and mouse?
    5} Will I need to reload third party soft ware such as Adobe Elements 9?
    6} Will my bookmarks and homepage be saved in Safari?
    Lot's of Questions, I have limited broad band width and will need to do most of this from a friends and internet cafes so I need to be prepared time wise and finanancialy as some things will have to be done at home and are going to push me into the next teir of my flex plan, possibly past the final teir.
    Any and all advice will be appreciated.
    Pantheria

    1. You have a backup of your mailboxes in Time Machine that you can restore, but Mail won't modify your mailboxes during the upgrade. The first time you open Mail after the upgrade, it will upgrade your mailboxes to be able to work with that new version.
    2. If you upgrade from Snow Leopard, you should know that there's a newer iWork '09 version for Lion and Mountain Lion that make it compatible with iCloud, so you will have to install updates for iWork at least. Respecting to other apps, you have to consult it with the developer.
    3. Time Machine makes a backup of everything in your OS X partition, and it makes automatic, hourly backups. If you want, you can also make a clone with Carbon Copy Cloner or Disk Utility's Restore feature in another external disk. The advantage is that you can start the Mac from it.
    4. Theoretically, Snow Leopard, Lion and Mountain Lion use the same printer drivers. Respecting to the mouse, if you are using a third-party mouse, you have to consult with the developer if your mouse is compatible with OS X Mountain Lion.
    5. Third-party apps won't be deleted unless they aren't compatible. See > http://www.roaringapps.com
    After downloading OS X Mountain Lion, I recommend you to make a bootable copy with Lion Diskmaker, so you won't have to download OS X Mountain Lion each time you have to reinstall OS X Mountain Lion

  • Want to upgrade to Mountain Lion, but CS6 questions about Auto-Save need answers...

    Hi,
    I'm on Mountain Lion for all my "non-critical" work, but I'm still running the latest Snow Leopard on my main desktop machine, running CS6 Design & Web Premium. I've avoided the switch primarily because of the auto-save feature that Apple placed into ML. I haven't found a satisfactory answer anywhere on the web to this basic question...is auto-save a problem, as Apple implements it, with CS6 and working on images?
    In particular: 1. I work on very larger files, 4GB+ in size regularly, and I don't wan't the peformance hits associated with constant saving, 2. I make changes to images, downsizing them, croping, color corrections, etc. so that I can make jpg proofs for clients or myself. These are more "intermediary" images and not intended to be saved. I don't want to downsample an image, flatten it to creat a jpg for proof and have it overwrite the original image layered, high res by mistake. Does this happen with photoshop, or does Adobe avoid the auto-save that Apple uses?
    I have all the latest iOS gadgets and it's becoming quite cumbersome managing multiple sets of iCloud info, etc. without being on ML. I'd like to make the switch, but at the cost of losing work, etc. Can someone with experience on ML & CS6 give me any input in the matter? And, does this also apply to all the other Adobe apps in CS6? I'm constantly making minor changes and edits that I usually "undo" out of and don't want saved.
    Thanks.
    Craig

    So, in other words, photoshops behavior works the same, using save as..., etc. as it did under Snow Leopard? I should expect the auto-save behavior that occurs in apps like iPhone, etc., where i can actually lose the original because of the constant backups, etc.?
    Thanks.

  • Mountain Lion - Window for ID and Pw appear without text!

    After install Mountain Lion, (Leopard to Mountain Lion with succes!) the window for ID and Pw (that appear for all permission, to install a new program or other) appear without text! Button to say ok or return are without text so I can't see nothing! And I can't insert my ID or my password!
    What appened?????
    Sorry for my english..
    Thanks, Sara

    Please read this whole message before doing anything. This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it. Step 1 The purpose of this step is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up guest users” (without the quotes) in the search box. Don't use the Safari-only “Guest User” login created by “Find My Mac.” While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin. Test while logged in as Guest. Same problem(s)? After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it. *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing. Step 2 The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows: 
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.
     Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs. The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. *Note: If FileVault is enabled, or if a firmware password is set, you can’t boot in safe mode. Test while in safe mode. Same problem(s)? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • Mountain Lion / EFI Firmware Question

    Hello All,
    I have a straightforward question. I have a Mid-2009 15" 2.53ghz MacBook Pro, that currently has Lion installed on it. Last year, I wanted to upgrade the hard drive, encountered the EFI Firmware 1.7 issue, downgraded it to 1.6, and everything works fine now.
    My Question: I want to upgrade to Mountain Lion, but dont want my hard drive issue to reemerge: Does EFI 1.7 automatically install as part of the Mountain Lion install? Can I upgrade OS X without disabling my machine's abililty to have a hard drive?
    Thank you!
    Jeremy.

    I really appreciate any responses or opinions. I have found the Apple Support communities to be amazingly helpful so far.
    Thank you again!

  • Mountain lion software update questions

    I have a couple of questions about the software update process in Mountain Lion.
    I know that the old software update has been ditched and now updates will be routed through the app store instead, but could anyone tell me where the list of installed updates is located? I ask because under System Preferences > Software Update the default check boxes suggest that updates will be downloaded and installed automatically, which is all very well but I would like some kind of notification that they are being installed/have been installed or I will worry that I am missing them.
    Secondly as another user reports here: https://discussions.apple.com/message/19080258 the 'Last check' message remains frozen on the day I installed Mountain Lion, i.e. it says that the last check was yesterday (July 28th) even though I did a manual check today (29th).
    Thank you for your time

    In the past,  I have taken certain larger upgrades from apple at non-peak hours (magically everything was installed quickly) other times I have taken large upgrades from apple at peak hours ( I took forever and I questioned what is going on) this could be the issue.  "server load" or your ISP (internet service provider)
    * peak hours (when a lot of people are off work down loading the newest os or applications)

  • Mountain Lion-Time Machine Questions

    Hi all,
    Recently I bought a new Macbook Pro and upgraded to Mountain Lion. This laptop comes with one internal hard drive ~ 750GB. I have two questions regarding Time Machine:
    1. Can I partition my disk into two partitions so I can use one partition for Time Machine backups?
    2. Can the partition for Time Machine backups have less space than the other one?
    I know the disavantages to do so, but I just want to know if it is possible. Does Time Machine allow it?

    Post in the OS X Mountain Lion community in the "Time Machine" section.

  • Boot Camp Assistant Not Working - Mountain Lion, Windows 8

    Ok, so I'm trying to dual boot my computer with Mountain Lion and Windows 8. I already have Mountain Lion downloaded, and I have the ISO file for Windows 8 (because I'm a collge student, and our college has a partnership with Microsoft). The problem I'm having is when I lanch Boot Camp Assistant, it takes me through a page or 2. Then it has 2 boxes as options to check ( 1. Download the latest Windows support software from Apple; 2. Install or remove Windows 7), but I can't select the 2nd option... When I select the first, I download the support software, and then it tells me to quit boot camp. So I do, and when I open it back up, it attempts to repeat the same actions.
    What is going on?!?!?!?!

    The ISO is on your hard drives.
    download a free iso burning program for Mac (we used SimplyBurns Mac). That program runs you through the necessary steps to properly burn the iso file you need. After doing so, Bootcamp recognized the installation file and everything worked as it should.
    https://discussions.apple.com/thread/3410900?start=45&tstart=0
    SimplyBurns is a Mac OS X application with a GUI, which allows the user to burn CD / DVD media.
    Features:
    Emphasis on ease of use
    Audio CD project, Data project (Filesystems: ISO9660, Joliet, HFS+, UDF) and Burn image mode
    Erasing rewritable media
    Persistence
    http://simplyburns.en.softonic.com/mac
    See this article on downloading the ISO:
      http://www.mydigitallife.info/windows-7-iso-x86-and-x64-official-direct-download -links-ultimate-professional-and-home-premium/
    (Make sure you choose the ISO that matches the version you bought).
    Here's instructions on burning an ISO with Disk Utility:
      http://lifehacker.com/251758/mac-tip--how-to-burn-an-iso-or-dmg-file-to-disc
    And this thread on burning a Windows DVD in OSX:
      https://discussions.apple.com/thread/2039118?start=0&tstart=0
    (Summary: you can use Disk Utility to burn the ISO, but choose a slow burn speed)

  • Mountain Lion download offer question

    I purchased a copy of Mountain Lion right after receiving my new laptop in June.  Ten days later, I received an email saying that I could download Mountain Lion free. 
    Can I use that "free" download offer on my desktop since I've already purchased Mountain Lion?  Will it even work on that desktop?
    Desktop specs read 2 GHZ INTEL CORE 2 DUO
                      memory 2 gb 667 Mhz DDR2 SDram
                      Software Mac OS X lion 10.7.4
    I am looking at the information page and it doesn't really give the machine specs.  The machine is from late 2006.

    According to the specs,your iMac will not - requires a 2007 or newer:
    http://www.apple.com/osx/specs/
    And, I was told by Apple that the redemption code is tied to the serial number of the qualifying machine, so it would not work on another Mac.

  • Mountain Lion multiple license question

    Bought new Mac Book Pro with Mountain Lion and want to also put it on my iMac--do I have to purchase a second license?

    In this case, you have to purchase Mountain Lion. New Macs come with a OS X Mountain Lion license which only allows you to use it with this computer, not on others, so in your old computer, open the App Store and purchase Mountain Lion

  • Mountain Lion, internet network question

    Since downloading & installing OS X Mountain Lion, my WiFi network times out when I put my computer to sleep after using the internet. How can I manipulate the WiFi settings so that I don't have to choose my own network and enter my password each time?

    I really appreciate any responses or opinions. I have found the Apple Support communities to be amazingly helpful so far.
    Thank you again!

  • Mountain Lion - Power Nap Question!

    I understand the new ' Power Nap' application in Mountain Lion lets you download all the mails and other updates even Mac is in sleep mode.
    Do I have to be connected to Internet for automatic downloads? They say Mac adapter only needs to be connected but do I need to be online to receive automatic updates?
    Sanket.

    You would always need to have an internet connection, and be connected to it, to recieve software updates. That is where the updates come from, IE the internet. So without one where do you think it would get the updates from, Thin air?

  • Newbie reinstall mountain lion question.

    Greetings... I own a Macbook pro Retina 15 Inch early 2013, with Mountain Lion OS X 10.8.5 (12F2501). I would like to format it and install a new out of the box OSX (Mountain Lion). My question is that if I re-install the software from the internet as it is mentioned elsewhere, would I get Mountain lion or Yosemite. As I don't want to upgrade to Yosemite yet.
    Thanks...

    To upgrade to Mountain Lion you must have Snow Leopard 10.6.8 or Lion installed. Purchase a redemption code at the Online Apple Store: OS X Mountain Lion. Mountain Lion is $19.99 plus tax. Use the code to redeem a download of Mountain Lion from the App Store. The file is quite large, over 4 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mountain Lion - System Requirements
           Macs that can be upgraded to OS X Mountain Lion
             1. iMac (Mid 2007 or newer) - Model Identifier 7,1 or later.
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) - Model
                 Identifier 5,1 or later.
             3. MacBook Pro (Mid/Late 2007 or newer) - Model Identifier 3,1 or later.
             4. MacBook Air (Late 2008 or newer) - Model Identifier 2,1 or later.
             5. Mac mini (Early 2009 or newer) - Model Identifier 3,1 or later.
             6. Mac Pro (Early 2008 or newer) - Model Identifier 3,1 or later.
             7. Xserve (Early 2009) - Model Identifier 3,1 or later.
    To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
         Are my applications compatible?
             See App Compatibility Table - RoaringApps.
    Make Your Own Mavericks, Mountain/Lion Installer
    After downloading the installer you must first save the Install Mac OS X application. After the installer downloads DO NOT click on the Install button. Go to your Applications folder and make a copy of the installer. Move the copy into your Downloads folder. Now you can click on the Install button. You must do this because the installer deletes itself automatically when it finishes installing.
       2. Get a USB flash drive that is at least 8 GBs. Prep this flash drive as follows:
    Open Disk Utility in your Utilities folder.
    After DU loads select your flash drive (this is the entry with the mfgr.'s ID and size) from the leftside list. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    Select the volume you just created (this is the sub-entry under the drive entry) from the left side list.
    Click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    Click on the Erase button. The format process can take up to an hour depending upon the flash drive size.
    Use DiskMaker X to put your installer clone onto the USB flash drive. Wait for the process to complete which will take quite some time.
    Install or Reinstall OS X from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
      1. Select Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your startup volume (usually Macintosh HD) from the
          left side list. Click on the Erase tab in the DU main window.
      3. Set the format type to Mac OS Extended (Journaled.) Optionally, click on
          the Security button and set the Zero Data option to one-pass. Click on
          the Erase button and wait until the process has completed.
      4. Quit DU and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Install button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
               because it is three times faster than wireless.
    This should install the version of OS X that you had installed.

Maybe you are looking for

  • How can I tell if my laptop has a camera?

    I have the integrated camera in the start menu, but the only option there is uninstall.  All that shows up in my control panel under cameras and scanners is my scanner.  I don't SEE  a camera anywhere.  So I'm thinking I don't have one.  But I'm not

  • GarageBand, mac mini, fw audio and external storage

    Hi everyone, My mini's internal hard drive has filled up and I'm now looking for an appropriate external drive to use with GarageBand. I've tried the LaCie mini hub (connected through firewire), but unfortunately it didn't work well in chain with the

  • Import Procedure mandatory

    Hi, Is there any way to make import procedure field is mandatory in Purchase Order?

  • No enter key or focus w/firefox

    When testing with Firefox, my flash form doesn't allow the enter key or the scroll wheel to function. Not can I set focus on a particular field. That is, The field appears to be in focus, but the cursor is not set to that field. I have to click it fi

  • Top quote doesn't contain message info when quotin...

    v7.2.0.103 I've noticed this happening in the past few months and it's really annoying. When I'm quoting multiple people's messages, the first message I quote doesn't include a timestamp. See my screenshot. These are the messages I'm copying. Below t