How can I start System Preferences from the command line?

Hello All,
I have an issue I'm not quite sure how to solve. I have been tasked within my business environment  with tightening security on a Mac Leopard system and I've been granted Admin Rights to do this on a temporary basis.
The problem is as follows:
1) The original Sys Admin that set up this system is gone, no longer available.
2) He was a Dvorak Keyboard fan and set up the system for a Dvorak Keyboard.
3) The system actually has a standard Apple keyboard and is marked accordingly, i.e., qwerty (Most Users in the building have stopped using this system altogether - a terrible waste of a good system - even though some of their apps can be run normally (US style qwerty settings). The command line is useless, as is texteditor.app and a few others unless you know Dvorak layout)
5) When I open System Preferences, the Dvorak keyboard checkbox is grayed out and I cannot change it. There is no lock at the bottom of that particular screen for me to unlock.
6) Even though I select the US Keyboard at Login, and some apps work accordingly (like MatLab for example) the terminal is borderline useless. I spent over 2 hrs yesterday doing what should have been able to be done in about 30 minutes. I estimate a frustrating and mistake prone additional 8 to 10 hours to do what is normally a a 4 hour job at the command-line.
7) I do not have the time or desire to re-mark all the keys on the keyboard, particularly since it is not my call to do so, nor do I have the time to re-learn Dvorak touch-typing, and finally I do not want to re-load the entire system. I just want to change the darn keyboard to a standard qwerty keyboard that is somewhat useful in a terminal environment with vi, command line, etc. It's either that or I go mildly insane
This is frustrating as all get-out. The new Admin logged in and was able to uncheck his Dvorak settings (he is not a UNIX guy, nor is he comfortable om Macs), and we were hoping this was a system wide setting, but No. We re-booted the system, I logged in, still Dvorak, and the checkbox was still grayed out.
So I figure, short of re-loading the entre system and all the applications necesary, I can either start the Systems Preferences GUI using sudo and hopefully that will change system-wide settings, or I can delete the .AppleSetupDone file and resetup the system (if the keyboard settings are part of the setup) without spending a couple of days reloading everything and re-setting up users, networks, etc.
Needless to say, I am hoping for the easiest and quickest solution to this extremely frustrating and  aggravating problem.
Thanks.

For my situation the following C# code does the job:
    Process.Start(
       @"c:\Program Files\National Instruments\CVI71\cvi.exe",
       @"c:\temp\experiment.c" );
The file must already exist.

Similar Messages

  • How can i run application client from the command prompt ?

    Hi,
    I'm new to java & EJB. so can any body tell me the command to run the application client from the command prompt. Here is the code to print hello world:
    /* Remote interface */
    public interface Hello extends javax.ejb.EJBObject
         public String hello() throws      java.rmi.RemoteException;
    /* Home interface */
    public interface HelloHome extends javax.ejb.EJBHome
         Hello create() throws java.rmi.RemoteException, javax.ejb.CreateException;
    /* Stateless session bean class */
    public class HelloBean implements javax.ejb.SessionBean
         private javax.ejb.SessionContext ctx;
         public void ejbCreate(){
              System.out.println("ejbcreate()");
         public void ejbRemove(){
              System.out.println("ejbRemove()");
         public void ejbActivate(){
              System.out.println("ejbActivate()");
         public void ejbPassivate(){
              System.out.println("ejbejbPassivate()");
         public void setSessionContext(javax.ejb.SessionContext ctx){
              this.ctx=ctx;
         public String hello(){
              System.out.println("hello()");
              return "Hello, world!";
    /*Client class */
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import java.util.Properties;
    public class HelloClient
         public static void main(String[] args) throws Exception{
              Properties props=System.getProperties();
              Context ctx=new InitialContext(props);
              Object obj=ctx.lookup("HelloHome");
              HelloHome home=(HelloHome)javax.rmi.PortableRemoteObject.narrow(obj,HelloHome.class);
              Hello hello=home.create();
              System.out.println(hello.hello());
              hello.remove();
    I have stored .java files in c:\ejb
    I have successfully created the .class files using javac command in the following directory :
    c:\ejb
    I have also created Helloworld.ear file in c:\ejb using sun application server which contains the following files:
    ejb-jar-ic.jar
    app-client-ic.jar
    sun-j2ee-ri.project
    application.xml
    sun-application.xml
    Manifest.mf
    But the problem is that i'm not able to run the HelloWorld.class file successfully from the command prompt. So please suggest me the comand.
    Thanx in advance.
    Best regards,
    Pankaj

    Hi
    You can run this code from the command prompt in the same way as you run any other simple java program. The only thing is you need to set the Home and Local interfaces in the classpath.And obviously if u had deployed the bean in ur app server container, then its all over.
    And one more thing is that u need to set the provider URL in the InitialContext created in the client program.
    Thanks
    Arun B

  • How to list a shared directory from the command line?

    My iMac is on a LAN with some windows machines and has access to a shared folder on one windows machine in particular. On the iMac, this shared computer shows up as 'tabernacle' and I can see its contents in the finder. I'd like to be able to inspect the contents of this folder using the command line but I have no idea what path to use. Can anyone tell me where to find mounted shared folders from the OSX command line?

    Open the Terminal in the /Applications/Utilities/ folder and drag it from the Finder to the open Terminal window. The path will appear.
    (54518)

  • Can apple mail be used from the command line?

    Can the Mac Mail application be used from the OSX command line?  Has anyone installed
    a command-line, Linux-like mail application to run on OSX?

    I don't know about the Mail app, but have you tried installing and configuring postfix? Here is a link to a blog with some details for a postfix solution.

  • HT5622 We have two iphones with the same Apple ID. Since I installed iOS this morning I have started receiving all my sons texts and when I send him a text it is delivered to both of us. How can I remove my phone from the joint Apple ID and remove myself

    My son and I both have iphones with the same Apple ID. Since I installed iOS this morning I have started receiving all my sons texts and when I send him a text it is delivered to both of us. How can I remove my phone from the joint Apple ID and remove myself from finding out what he is up to during Freshers week!

    You have to use a different Apple ID for your son.
    Read this note:
    iOS 5 & iCloud Tips: Sharing an Apple ID With Your Family
    still valid for ios 7

  • How can i navigate system preferences if trackpad is not working  somehow the option were unchecked

    How can i navigate system preferences if trackpad is not working? 
    Somehow the first couple of trackpad functions were unchecked and since they are not operational I can't click or tap to turn them back on.
    I've tried shutting down and restarting and holding my hand on the trackpad for 3-4 sec. then sliding it off (another post had this suggestions).
    I don't use the function keys at all to navigate the computer so I am at a total loss if the trackpad does not work.

    Thanks for the response.
    Unfortunately this did not work - the tap to click is still not checked - and the tap function does not work.
    I did try it twice - and even used a stopwatch to be sure I got the time right.
    I noticed there is also an instruction to reset PRAM (was with the SMC reset instructions).  Is that something that may help?

  • I recently brought a new HP laptop and I downloaded the newly updated iTunes on it; however I have an old Aver laptop with iTunes version 10.7 on it or the one before iTunes 11 came out. How can I transfer my movies from the old version to the new one?

    I recently brought a new HP laptop and downloaded iTunes 11 on it. My old laptop which is a Acer has iTunes version 10.7, I believe. I wanted to know, How can I transfer 18 movies from the old iTunes onto my new Itunes? It only shows the most recent two movies when I look at the purchases in my account. I had a lot of moves downloaded last year from the old version and would like some assistance on how to get all those movies into my iTunes 11 library. Thank you.

    you should starting with copying the iTunes folder from your old laptop to the new one.
    the iTunes folder is in your user profile Music folder.
    it should go to the same location on the new laptop.
    Provided that you have your media, music and movies in the default location, and you sign in to your apple ID and authorize your new computer (all in iTunes)
    you should have all intact.
    Post if any problems.

  • How can I get all photos from the camera roll onto the photo stream so they will share between iphone and ipad?

    How can I get all photos from the camera roll, and all new pictures taken, to get on the photostream so they can share between iphone and ipad?

    When turning PhotoStream on with photos available in the Camera Roll, only photos captured by the iPhone or saved on the iPhone are placed in the PhotoStream.
    For all photos that were in the Camera Roll prior to turning PhotoStream on, import the photos with your computer and add the photos to your PhotoStream on your computer.

  • How can I make different catalogs from the same image

    How can I make different catalogs from the same image where that image has been changed in some way between the catalogs. For instance if I wanted to have a catalogs for cropped images and have 3 catalogs one for 4x6 , 5x7 and 8x10 cropping. When I tried this , if I changed a file in one catalog that same image in the other would change also.

    Do not confuse the creation of the crops and the display in collections per crop ratio.
    Of course one virtual copy (VC) per crop ratio is needed. If the same image should be cropped in all 3 mentioned ratios there would be 3 VCs.
    The OP asked how to have/see a set of same-crop-ratios.
    After having created the virtual copies for whatever crop ratio he wants, the way to display this result in the fashion asked for is via smart collections, provided they can be found. Without a plugin the naming of the VC with the crop ratio applied is a straight way to achieve that.
    IF the wish is to get new crops automatically added. (See my answers 2+3)
    IF the wish is to creat static collections per crop ratio for a certain set of images, I'd go as follows:
    1. Select all images you want to have cropped in that way,.
    2. With this selection click on the + to add another collection and fill the dialog box like this:
    Then navigate into this newly created selection and perform the 4x6 crop - according to taste individually or by synchronizing the first crop.
    Cornelia

  • How can I get an invoice from the Apple store note that the original invoice may be burned with the house though Bamkmkm Send to Olga miles is my new (email address removed)and Thanks

    how can i get an invocce from the Apple store UK ?
    Message was edited by: Host

    Find the Apple Customer Support phone number for whichever country you're in and call them for assistance.

  • How can i remove favourite people from the top of my iPhone !

    how can i remove favourite people from the top of my iPhone !

    Hey donyh1,
    Thanks for the question. You can hide the recent contacts in the multitasking screen by navigating to your Contacts settings:
    Contacts settings - iPhone
    http://help.apple.com/iphone/8/#/iph96b20610
    Thanks,
    Matt M.

  • How can I delete an app from the cloud??

    how can I delete an app from the cloud, so nobody can download it again to my phone?? please I tried from the computer but it just hide the app from purchased, and still appears in the app store with the cloud on it

    At the present time, you can't hide or delete an app from your purchased list on your phone.  Prior to iOS 6 you could hide it; there has never been an option to delete it.

  • How can i delete purchased items from the cloud in iTunes

    how can i delete purchased items from the cloud in iTunes

    I had this problem as well. You can't delete them but you can hide them by swiping across from the cloud to. The other side then pressing hide

  • HT201272 Having a bad day my iTunes library got corrupted and my back up disk has failed how can I restore my purchases from the iTunes store

    Having a bad day my iTunes library got corrupted and my back up disk has failed how can I restore my purchases from the iTunes store? When I try it tells me the pruchases have already been downloaded to this computer.

    Does your purchased rmusic appears under the Purchased link under Quicklinks on the right-hand side of the iTunes store home page (music can't be re-downloaded in all countries) ? If they do and you don't have the cloud symbol against them so as to re-download them, then do you still have the entries for them in your library i.e. where you would normally click on them to play them ? If you do then try deleting them from there (iTunes will be seeing them and assuming that you still have them somewhere) and they should then get the cloud symbol for re-downloading in the Purchased link.
    If you aren't in a country where music can be re-downloaded then you could try contacting iTunes support and see if they will grant you a re-download : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page,

  • We are evaluating the use of iPod touch devices to record best practice videos on our manufacturing floor and to post to an internal Moodle web site. How can you upload a video from the iPod touch to a site other than YouTube?

    We are evaluating the use of iPod touch devices to record best practice videos on our manufacturing floor and to post to an internal Moodle web site. How can you upload a video from the iPod touch to a site other than YouTube? The Moodle upload interface is expecting a file selection dialog box like windows or OSX. I do not want to have to go through an intermediary step of messing with a pc.
    Thanks!

    It should be around 7 and a half gigs. In iTunes, across the bottom there should be a bar that show how much storage is being used and by what. (music, movies, apps, etc.) To make music take up less room, you can check the box to make it convert the music to 128kbps AAC. This lowers the quality, but with most earbuds and speakers, you can't even tell the difference.
    The iPod touch has parental controls built in. You'll find them in Settings. I think they only work for enabling/disabling Safari, Mail, YouTube, and App Store. Here's an app that does more: http://www.mobicip.com/online_safety/ipod_touch

Maybe you are looking for

  • Old Apple ID used to sign in for App Store

    My iPhone 5s will not let me update any of my Apps because it's asking for an old Apple ID.  I can't remember that password.  I have a new Apple ID that I have set up under General for everything, including the App store. I deleted that app that was

  • How can I get an iPad donated to my severely handicapped classroom?

    I have a class with Autistic children ages 4 to ten, that could benefit greatly from using an iPad. I bring my personal iPad in for them to use but it would be nice to have one donated to the class. Dztravis clear lake, ca.

  • Looking for app to store account numbers in that syncs with iphone and mac

    Hi all, I have tons of random work information, account info, logins, etc., that I would like to keep on my mac and sync to my iphone. But I would like to have them protected in some fashion. Anyone have any recommendations?

  • New to Mac...From PC...

    Hello! I am new to Mac and have always used a PC. I'm having a little bit of a tough time learning a new system. I bought the MacBook Pro and I am not sure I like the mouse on this thing. I can't figure out how to copy and paste with it. For instance

  • Home page on safari for iPhone

    new user here so thanx in advance for any help/patience/consideration. Is there a way to configure a home page on the iPhone? or do I need to "go back" to where I started every time I leave? T