Get rid of subfolders in Applications
As you know, applications are a package on a poppy (a folder with the .app extension), which contains all the necessary resources and an executable file. In most cases, such a package is self-sufficient and, when moving to an arbitrary place, the application will start and work. However, some applications are not just .app, but a folder in which besides it there are other files necessary for the application. Ported applications often sin, but there are also some native Macs that are in subfolders (a stone towards iWork and Microsoft Office).
Such a non-standard structure causes two minor inconveniences:
Conventionally, all such applications can be divided into two categories: those that can be safely moved while maintaining the folder structure, and those that are better not worth it. In the first category I got Quake 3, AC3D, Squeak, Master Key and Stepmania, and in the second - MacPorts, TeX, Adobe, iWork and Microsoft Office.
To implement our insidious plans, we use pseudonyms (an analog of shortcuts in windows, symbolic links will not work here because the application will consider itself launched from Applications, where there are no required files) and the SetFile utility from Developer Tools.
PS To access the Hidden folder, open Finder, press Shift + Command + G and enter / Applications / Hidden.
To make the hidden folder visible again, enter in the terminal: PPS . I know that it’s faster to launch applications through spotlight, but through Applications in the dock I like it better.
Such a non-standard structure causes two minor inconveniences:
- it takes 1 click more to launch the application
- the folder does not have an application icon, making it harder to find visually
Conventionally, all such applications can be divided into two categories: those that can be safely moved while maintaining the folder structure, and those that are better not worth it. In the first category I got Quake 3, AC3D, Squeak, Master Key and Stepmania, and in the second - MacPorts, TeX, Adobe, iWork and Microsoft Office.
To implement our insidious plans, we use pseudonyms (an analog of shortcuts in windows, symbolic links will not work here because the application will consider itself launched from Applications, where there are no required files) and the SetFile utility from Developer Tools.
- Create a folder / Applications / Hidden and put in it all the folders with applications that can be moved.
- For each package with the application (.app), create an alias (right click -> create an alias), rename it and put it in / Applications.
- For each non-moving application, we also create an alias and put it in / Applications.
- In terminal:
cd /Applications
sudo SetFile -a V Hidden #скрываем папку с перемещаемыми приложениями
sudo SetFile -a V <Имя папки приложения> #для папки каждого приложения, которое не стоит перемещать - Sometimes you need to restart dock so that the necessary folders disappear.
- Enjoy!
PS To access the Hidden folder, open Finder, press Shift + Command + G and enter / Applications / Hidden.
To make the hidden folder visible again, enter in the terminal: PPS . I know that it’s faster to launch applications through spotlight, but through Applications in the dock I like it better.
sudo SetFile -a v <имя папки>