Terminal Services For Mac Os X
Gathering information through the GUI option “About this Mac” can be annoying and not reveal all the information you wanted. Fortunately, there is an existing command line that can provide what you are looking for. Terminal can be launched through: Go Utilities Terminal. Terminal provides a command line interface to control the UNIX-based operating system that lurks below macOS (or Mac OS X). Here's everything you need to know about Terminal, and what it can do. TestPlant have instructions on setting up Multiple Desktop Sessions on Mac OS X Tiger with VNC. That works, even over slow (WAN) connections. That works, even over slow (WAN) connections. The 'Aqua Connect Terminal Server' (mentioned above) is nicer, but it requires LAN; it did not perform very well in our tests (6Mbps connection with 60ms).
Click here to return to the 'How to rebuild the LaunchServices database' hint |
I can't see it, but a '?' pops into the command when I paste it into Terminal. If anyone else has the same problem, you could try pasting into a text editor, deleting the backslashes and excess spaces, and then copying and pasting the result into Terminal. It worked for me!
Apart from that, I'm really grateful for this hint - I'm the kind who gets really irritated by three copies of GraphicConverter in the Open With list!
Many thanks - Nick
When I type 'lsregister' in Terminal (bash or tcsh shell), I get 'command not found' in 10.3.2. Anyone else?
Would that not be because the directory where it is to be found is not in your search path? That must be why the hint includes the complete path to it.
Nick
When I used the lsregister command as given in the hint, with the full path, it did not work. I had to do 'locate lsregister' to find the complete path for my system, which included two 'Versions/A' folders in the folder tree.
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister
Whatever the path is for your system, 'locate' should find it for you.
---
Microsoft MVP for Entourage
AppleScripts for OE and Entourage
If you use this hint and have applications located someplace other than /Applications you need to append the path to the end of the command. The first time I ran it without any paths and my LaunchServices database included only applications on the boot volume.
---
Mike Newman
Saipan and Narita Layover Pages:
http://net.saipan.com/personal/mike_newman/
I had a strange problem in Tiger that when I clicked on a folder in the dock or dragthing it would launch iPhoto or Entourage. Running this command fixed everything.
---
-Mr. Unknown-
I tried a couple of hints here. This is the one that finally worked for me. I added -f, and I also appended the path to my personal applications folder (within the applications folder) at the end:
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -f -domain local -domain system -domain user '/Applications/MyApps'
I tried this hint and it worked by removing duplicate items in my Open With contextual menu. But now, it seems the icons on certain file types are wrong even though double clicking on them opens them up in the correct application.
Has anyone seen this too and/or know how to fix it? ;-)
My mp3 files had strange icons.
A reboot fixed me right up.
When I have strange icons, at times, quiting Finder usually takes care of that..
I'm still running 10.2.8, plan to install Panther this next week. Neither the path nor the command (-kill) worked for me as is. I found the app at ..LaunchServices.framework/Versions/A/Support/lsregister. Upon invoking the hint's command line using my path, I got the 'usage' spiel: different from that listed by the hint's author, mine does not include -kill, -lint, -f or -dump.
When I tried the command with my path and leaving out the -kill switch, it seemed to work. Scanner program for mac. As I've not been having any trouble with 'Open with' and allies, I saw no result. A little anti-climactic, but filed away for future reference. Thanks very much!
btw, who (or what) is CF that we should ask about the domains' applications locations?
Ganymede
CF must refer to CoreFoundation.
Thank you for this tip! Ever since I upgraded to Panther I get a lot of double entries in the Open with.. context menu, seems to be gone now.
I tried this hint and it appears to have cleaned up my 'Open with' context menu. But a strange thing happened afterward that may or may not have been related. I have an external FireWire drive mounted. As some of you know, this shows up on your desktop even when your Finder preferences are set to not display dirves in 10.3. You can remove it from the desktop by also not displaying CDs, DVDs and iPods, which I chose not to do- I lived with it on my desktop even though I don't want it there.
But immediately after using this hint, my drive disappeared from my desktop. It's still visible in the left-hand portion of my Finder windows and I can access it from there (which I much prefer). But no matter what Finder preferences I set, it never shows up on my desktop. I've rebooted twice and it still won't show up.
Not a bad thing in my case, but a little alarming nontheless. Has anyone else experienced this behavior after using this hint?
If you tried this with the most recent security update installed
http://docs.info.apple.com/article.html?artnum=61798
You'll be asked many times when you try to open some documents the first time. Type 'lsregister -dump | less' will show you that all entries for third-party applications now have the form like this:
B00001546 APPL/CHIM Tue Jun 8 15:16:55 2004 Camino.app
-pad----hn---sr-----! v0.8.0 Camino
Contents/Resources/appicon.icns org.mozilla.navigator
Contents/MacOS/Camino 6263372, 6263906, Mach-O
V00000008 /Applications/Internet/Camino.app
Note the ending '!' - that means it's never been run before.
I wonder if there's a way to reset all of these '!' using some tool.
I'm running 10.3.5, which includes those security updates, and this hint worked great for me.
I used the System Migration tool on a new Powerbook to pull the account information from an old one, and the only (knock wood) problem was that the Open With.. menu was bloated with double entries for everything. This hint solved the problem quickly and easily.
In case anyone runs into the error message application [application name] cannot be launched because it may be damagaed or incomplete, rebuilding the LaunchServices database using the command from this hint may fix it.
Western digital my passport for mac high sierra update download. Create promotional products, custom business cards, custom stampers, flyers and posters to strengthen your brand. Save on printer ink and toner to keep your office efficient and productive. Utilize our custom online printing and IT services for small businesses to stand out from the competition through our services. Beyond the office, our wide selection of school supplies including backpacks, notebooks, pens and laptop computers to help your student excel.
I had no luck until I added the -f (force-update registration info even if mod date is unchanged) switch to the command line like so..
System/Library/Frameworks/ApplicationServices.framework/
Frameworks/LaunchServices.framework/Support/lsregister
-kill -r -f -domain local -domain system -domain user
Fixed me right up!
I have tried every iteration of the command listed here, but I still have 4 instances of Adobe Acrobat 6.0.3 listed in my 'Open With' menu.
When I add -v to the command, it shows me a long list of errors:
'error 10811 registering <filename> '
Any ideas why?
Ethan
Terminal Server Mac Os X Client
Alright! That one did the trick!
This worked for me:
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -f -domain local -domain system -domain user '/Applications'
Just wish there was a way to manually edit the applications in the list as there are many listed that I never use!
I can confirm this worked for me on 10.4.9.
I had applications that were opening Script Editor instead of the desired application. (i.e. double-clicking InDesign 2.0.1 would open Script Editor instead of InDesign)
Applying the command in this hint seems to have resolved that issue.
Thanks!
I can confirm this works with 10.4.6, but by using 'locate lsregister' first.
Thanks!
I see from the comments that many here are not familiar with Unix. Here's the way to run any command that is in your currrent directory.
[your_prompt]: ./CommandName
The trick is that many shells (tcsh, bash, etc) don't include the current working directory in their .cdpath list. '.' is shorthand for 'where I am right now,' so './command' will always work
Carl
I'm confused by your comment. AFAICT, it implies that you don't need the path to lsregister. However, when I run this, it doesn't do what I inferred.
localhost:~ baltwo$ ./lsregister
-bash: ./lsregister: No such file or directory
Please clarify.
This is still a very useful hint - I just used it today. Thanks!
Wish Apple had a GUI or a cron that took care of this for us though..
and here's how to use this hint in Leopard, which has moved the location of the file.
Open a Terminal window and type in
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
This worked for me, but YMMV, so use at your own risk.
worked for me too on 10.5.1
---
~/.sig: not found
I couldn't get this command to run successfully from the command line even using sudo.
Happily enough TinkerTool System from Marcel Bresink includes a rebuild Launch Services feature User - > Launch Services which took care of the problem in 20 seconds. Macdraw for os x download. Finally I can right click jpegs again!
Thanks for the tip anyway.
---
WordPress SEO Secrets - foliovision.com/weblog
Here's an AppleScript that can be saved as a script and launched from the Script menu, or saved as an application and launched from anywhere.
(*
rebuildLaunchServicesDB.scpt
Locates the lsregister command regardless of OS version, then tells it to rebuild the Launch Services Database for all applications in the canonical Applications folder
Paul Henegan
bleulyon@mac.com
20.Aug.2008
*)
set theCommand to (do shell script 'locate lsregister')
set theArguments to ' -kill -r -f -domain local -domain system -domain user'
set thePath to ' /Applications'--edit this as needed
set theScript to theCommand & theArguments & thePath
do shell script theScript
But for those of you that get nervous at the mention of Terminal.app, there is a graphical alternative for this hint.
The popular utility Cocktail can rebuild the Launch Services database with a simple GUI click.
Happy DB rebuilding.
Mac Os Terminal Install Command
just in fairness, there are a number of 'service utility' apps that do this - Yasu and Onyx are two the spring to mind. or you can do what I did - write the code into an applescript and save it in the script menu. that way you only have to deal with the terminal command once.
10.6.4 here and I used Onxy maintenance > rebuild > launchservices. Fixed the problem. Onxy is a free program.
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
Terminal Services For Mac Os X 10 11
Developer(s) | Apple Inc. |
---|---|
Operating system | macOS |
Platform | x86-64, IA-32, PowerPC |
Type | Terminal emulator |
Website | www.apple.com/macosx/features/unix/ |
Terminal (Terminal.app) is the terminal emulator included in the macOSoperating system by Apple.[1] Terminal originated in NeXTSTEP and OPENSTEP, the predecessor operating systems of macOS.[2]
As a terminal emulator, the application provides text-based access to the operating system, in contrast to the mostly graphical nature of the user experience of macOS, by providing a command line interface to the operating system when used in conjunction with a Unix shell, such as zsh (the default shell in macOS Catalina[3]).[4] The user can choose other shells available with macOS, such as the Korn shell, tcsh, and bash.[4][5]
Rdp Server For Mac Os X
Epson artisan 837 software download for mac os sierra 10.12.6 12 6 update download. The preferences dialog for Terminal.app in OS X 10.8 (Mountain Lion) and later offers choices for values of the TERM environment variable. Available options are ansi, dtterm, nsterm, rxvt, vt52, vt100, vt102, xterm, xterm-16color and xterm-256color, which differ from the OS X 10.5 (Leopard) choices by dropping the xterm-color and adding xterm-16color and xterm-256color. These settings do not alter the operation of Terminal, and the xterm settings do not match the behavior of xterm.[6]
ConclusionThis article has discussed how to convert MP4 or WMA to MP3 with Windows Media Player. Occasionally, you want to listen to music in the background on your mobile phone while doing shopping or other activity. So, you have to transform videos to MP3. Wmp for mac os x lion. With our sharing above, you should understand how to do it in various situations. Moreover, MP3 files take less space than MP4.
Terminal includes several features that specifically access macOS APIs and features. These include the ability to use the standard macOS Help search function to find manual pages and integration with Spotlight.[citation needed] Terminal was used by Apple as a showcase for macOS graphics APIs in early advertising of Mac OS X,[citation needed] offering a range of custom font and coloring options, including transparent backgrounds.
See also[edit]
- iTerm2, GPL-licensed terminal emulator for macOS
- Terminator, open-source terminal emulator programmed in Java
Using Terminal Mac
References[edit]
- ^'What Is Mac OS X - All Applications and Utilities - Terminal'. Apple Inc. Archived from the original on May 10, 2013.
- ^Wünschiers, Röbbe (January 1, 2004). Computational Biology: Unix/Linux, data processing and programming : with 19 figures and 12 tables. Springer Science & Business Media. ISBN9783540211426.
- ^'Use zsh as the default shell on your Mac'. Apple Support. Retrieved January 18, 2020.
- ^ abMcElhearn, Kirk (December 26, 2006). The Mac OS X Command Line: Unix Under the Hood. John Wiley & Sons. ISBN9780470113851.
- ^Kissell, Joe (January 1, 2009). Take Control of the Mac Command Line with Terminal. TidBITS Publishing, Inc. ISBN9781933671550.
- ^'nsterm - AppKit Terminal.app', terminfo.src, retrieved June 7, 2013
Wikimedia Commons has media related to Terminal (macOS). |