Mac

Mac { 20 }

Rate this item
(0 votes)

After I check the folder, I just know that the folder owned by “root” user.

ls -lah
sudo chown whoami .config

 

Rate this item
(0 votes)

To disable the creation of .ds_store files, launch the Terminal application from /Applications/Utilities/ and enter the following command string exactly:

defaults write com.apple.desktopservices DSDontWriteNetworkStores true
Rate this item
(0 votes)

First - open Finder -> Go to folder -> /Library/Caches

The second - find file com.apple.desktop.admin.png and replays it with your image ;) filename need be same = com.apple.desktop.admin.png. You also may rename jpg file to png without converting.

1520267119870.jpeg 8d0e6

Tuesday, 13 February 2018 18:05

How to Lock the Mac Screen from Terminal in OS X

Written by
Rate this item
(0 votes)

Open Terminal and enter the following in a single line:

/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend
Tuesday, 13 February 2018 15:27

[solved] How to delete all emails from your Mac?

Written by
Rate this item
(0 votes)

Launch the Terminal, you'll see a list of all your messages. From the mail prompt, do

$ mail
? delete *
? q

And that should be it. Make sure do to the q after the delete * command, that saves the changes to disk.

Last modified on Tuesday, 13 February 2018 15:30
Rate this item
(0 votes)

Here’s the command. Just paste this line into your Terminal, and press return.

defaults write com.apple.screencapture disable-shadow -bool true
killall SystemUIServer

To test out your new screenshot settings, just take a quick screenshot by pressing the key combination command-shift-4, followed by the spacebar. You should end up with a beautifully clean window screenshot, free of drop shadows. The best part about this is that your screenshot’s dimensions will now finally match the window’s dimensions, without all that added padding introduced by the drop shadow. Nice, huh?

If you no longer want these cleaned up windows, you can switch back to the normal shadowed screenshots by pasting the following into your Terminal:

defaults write com.apple.screencapture disable-shadow -bool false
killall SystemUIServer

Well done!

Last modified on Friday, 12 January 2018 12:06
Friday, 12 January 2018 11:54

Is there a way to shift focus on buttons in OS X?

Written by
Rate this item
(0 votes)

On Windows, I could use Tab to shift focus from button to button, so I could "click" on the desired button without having to use a mouse.

It appears that I can't do the same thing on a Mac, or is there a way to do it that I didn't realize?

There is. From System Preferences, under Keyboard » Keyboard Shortcuts, you can enable Full Keyboard navigation. You can also change this by pressing Control+F7

Last modified on Friday, 12 January 2018 12:08
Monday, 04 December 2017 20:29

[solved] How to disable all push messages in your Firefox

Written by
Rate this item
(1 Vote)

Hi there! Run command to your Firefox (since v44~)

about:config
about:config => dom.push.enabled
dom.webnotifications.enabled => false

// and all messages, where you can see Push :)

 screen shot 2017 12 04 at 8.32.59 pm 0674e

Last modified on Monday, 04 December 2017 20:37
Page 1 of 2