-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
brew linkapps doesn't symlink app to /Applications #8699
Comments
We link into |
Oh, got ya. Sorry for missing that (maybe this should be prompted when using brew linkapps, just for clarity?). |
Yes, the caveats in the formula should need some clarity and correction if they don't intend to do the same thing but presented in such a way that it misleads. |
|
why do we want to only link an app into ~/Applications when /usr/local is available to all users ? it should link into /Applications IMHO |
Linking into /Applications requires sudo. |
I'm not sure it does. |
I think by default, |
I just drag and drop apps into my /Applications folder all day long. It does not require sudo. ~ ➤ ls -l / | grep App |
~/Applications is a perfectly valid place for apps too. It just basically hides the app from any other users that may borrow my 'puter (wife for example) when they login. I would rather - at least - have the option (hopefully default) of putting it in view of everyone on the computer (just like /usr/local/) |
Honestly, |
I don't really have a preference either way, though personally I tend to stick things in /Applications. I can confirm that e.g. |
I for one would prefer /Applications to ~/Applications, if only so that my homebrew .apps would show up with my non-homebrew .apps in the "Applications" folder on my dock :P. |
I don't |
I made a copy of brew-linkapps.rb and changed HOME_APPS = File.expand_path("~/Applications") to HOME_APPS = File.expand_path("/Applications") and ran it. MYSTERY SOLVED The only problem now is that when bring up the "Applications" folder on my dock, and it brings up the little temporary window, all of the linked apps show up as the blank white piece of paper icon. They work the same though. |
Is there a way to link in such a way as to have the link actually be treated as an application? E.g. if I search spotlight, for say, MacVim, it's listed as a "document". If I'm using Alfred, I have to type "open macvim", to open the alias, unlike "normal" apps that are actually living in my applications folder, where I can just type the name. |
Why not do something like this? If user is root (running through sudo), brew linkapps symlinks to /Applications. Seems simple and makes everyone happy. |
No user in their right mind should ever run |
Is there any particular reason why linkapps doesn't support an option to only link the specified kegs? Seems like you could tell linkapps to look in HOMEBREW_CELLAR/ for *.app instead of HOMEBREW_CELLAR.subdirs |
came here while searching why brew is only linking to /Application and a bit of code fiddling made me realize if i want to use ~/Application i have to use brew linkapps --local |
@anantshri, thank you. So many app installed with |
Issuing
brew linkapps
afterbrew install macvim
simply doesn't work. Despite the output below, MacVim.app doesn't show up in my /Applications folder:~ $ brew linkapps
Linking /usr/local/Cellar/macvim/7.3-63/MacVim.app
I'm just a regular user, so I can't tell if it was right to post about this issue here, or if it should be directed to the formula author. I know I can manually symlink the app, but this would become quite a chore after a few updates.
I use OS X 10.7.2 on a few days old iMac. System language is Swedish but I guess that shouldn't affect anything.
The text was updated successfully, but these errors were encountered: