I would say desktop alias creation at install time for an app is an anti-pattern and bad practice for developers to implement as default behavior.
The desktop belongs to the end user and macOS is designed to install apps for every user account and to consider more than one user per computer. To accomplish this, you’re either escalating the installer to ...
In the terminal, do this:
defaults write com.apple.finder CreateDesktop -bool false && killall Finder
After this, there'll be nothing on your Desktop (but still in ~/Desktop, i.e. your Desktop Folder). It'll look like this:
Beautiful, isn't it? If you want to change it back:
defaults write com.apple.finder CreateDesktop -bool true && ...
This answer was written before the clarification that the OP is from a developer perspective, not end user
I've always been firmly of the school of "nothing on the desktop" personally - but each to his/her own.
You can find apps to launch in one of at least 6 ways...
The Apple Menu > Recent Items
The Applications folder itself
Type this in Terminal (/Applications/Utilities/Terminal.app):
defaults write com.apple.finder AppleShowAllFiles FALSE
The first command sets the hidden files visibility to hidden; the second one forces Finder to restart. This is needed for the first command to take effect.
You can also log out/reboot instead of killing the Finder, but the ...
None of these other solutions work on Mavericks anymore because Apple moved the settings to a sqlite DB. But that's ok because now it's easier, the png can be anywhere in the filesystem, and all desktops (even virtual) are updated.
sqlite3 ~/Library/Application\ Support/Dock/desktoppicture.db "update data set value = '/path/to/any/...
This happens because the LaunchServices database gets corrupted.
To fix on Mountain Lion:
Open Terminal.app in the /Applications/Utilities/ folder.
run /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
This command has ...
It's not that the icon is sideways, it's that the small thumbnail for the file that's used as the icon needs to be wide because the CSV file has at least one really long line of data in it. The thumbnail you're seeing is a dynamic preview of the contents of the file and in the case of the file on the top of the image, the data contents demand a lot of ...
Pressing the shortcuts for changing desktops while dragging a window should still work, but the shortcuts have to be enabled in System Preferences.
SizeUp supports for example assigning ⌃⇧→ to moving a window to the next desktop.
No. You should just copy the app to /Applications (or ~/Applications), and let the user choose if they want to create a shortcut in the dock or somewhere else.
A lot of the time, "installers" in macOS are just disk images (dmg files) containing the app itself and a shortcut to the Applications folder. The user can choose to drag the app there, or anywhere ...
This should work for you:
tell application "Finder"
set desktop picture to POSIX file "/Library/Desktop Pictures/Solid Colors/Solid Gray Dark.png"
There are several other ways on this Mac Rumors thread, but his way is the easiest.
Another option until Apple gives us a better one:
If, like me, you have your additional desktops arranged just how you like them, then the thought of deleting and recreating them just to change the wallpaper would be like recommending that I demolish my house so that I can repaint the walls. I'm not going to do that.
Instead, you can open up your Desktop ...
From my MacBook's Finder window, I deleted the empty Desktop folder from iCloud Drive and then immediately emptied the trash before the folder had time to reappear in iCloud Drive. The folder did not reappear.
After a few seconds iCloud refreshed and the Documents folder was deleted from my iOS device as well!
I then followed the same steps to delete the ...
From this SO answer:
Backup your old default Desktop folder
If you have files in your existing Desktop folder, don’t worry. We’re
going to back up your existing folder so you can copy your old Desktop
files to your new DropBox Desktop folder afterwards.
Simply open a terminal and enter the following command.
sudo mv desktop desktop.bak
It's possible to do it in one line of Terminal. Let's say you want to alias to the file "/Users/me/Library/Preferences/org.herf.Flux.plist".
osascript -e 'tell application "Finder"' -e 'make new alias to file (posix file "/Users/me/Library/Preferences/org.herf.Flux.plist") at desktop' -e 'end tell'
You should replace to file with to folder if you have a ...
There's a way to hide all "dot" files from Desktop with 3rd party app called XtraFinder.
Go to Settings → Features tab → Hide dot files on Desktop
Though I still didn't manage to hide all .DS_Store files and keep all other dot files visible, this is a pleasant improvement.
Turns out this is a common problem.
One of the following should get rid of the tooltip:
Hover over another element with a tooltip in the same app that generated the stuck tooltip, as explained here
Close the app which you think generated the tooltip
Log out of OSX and log back in
This is the downloaded disk image. Many applications downloaded from the internet will come as an internet ready disk image, which means that it mounts and opens when the downloaded file is opened.
A disk image is a mountable image of any volume. Disk images can be images of physical volumes or virtual disks. Like a zip, dmg disk images can be compressed (...
Just 3 Easy Steps: 1 chrome reboot, but no software/installation required
Step 1: (Re)Enable Chrome's feature to create OS level [shortcuts to] "applications"
type chrome://flags in Chrome’s address bar.
find the following settings:
The new bookmark app system
Allow hosted apps to be opened in windows
Creation of app shims for hosted apps on Mac
I thought I should make an answer to this that describes solutions specifically for XQuartz. Many of the solutions here do not work for XQuartz. From this ticket: https://xquartz.macosforge.org/trac/ticket/796 , I've found two solutions that work and I feel it would be beneficial to state them here.
If you can unplug/plug-in your monitor easily, then ...
Well, Apple does not recommend leaving your portable plugged in all the time, as for a lithium-based battery, it's important to keep the electrons in it moving occasionally. MacBook / Pro, though, are designed to deliver up to 1000 full charge and discharge cycles before it reaches 80% of its original capacity.
A charge cycle means using all of the battery’...
You can have them all static or dynamic but not a mix of both. To make them static (so they stay as you put them) do this:
Open System Preferences
Click on Mission Control
Uncheck Automatically rearrange Spaces based on most recent use
This will keep them as they are arranged by you. To arrange them, drag them to the desired position after launching ...
Found a great way on Chrome Version 75.0.3770.100:
1) go to the website you want to convert to an app
2) click on three dots / more tools / Create Shortcut + make sure to tick 'open in new window'
That's it - you now have an app that you can pin to your dock and you can cycle through them with cmd + tab. Awesome!