May 29

Using an Airport Extreme or Time Capsule to make Time Machine backups on your network is very convenient.  But I found that once that machine is gone, I could not delete the old TM backup.  I kept getting this error:

“The operation can’t be completed because some items had to be skipped. For each item, choose File > Get Info, make sure “Locked” is deselected, and then check the Sharing & Permissions section. When you are sure the items are unlocked and not designated as Read Only or No Access, try again.”

After trying to change the permissions without success, I found this terminal command works:

sudo rm -rf <Path to the TM backup file>

Hint: to easily type the path to the TM backup file just drag it into the terminal window.

Hope this helps anyone else out there.

Share
May 19
  1.  Open the house you want to save the photos of in Zillow and scroll through all the photos (so they all load in the browser)
  2. Right-click on the page and select Inspect
  3. Select console and paste this code
  4. It will run through and save each photo

 

Share
Apr 10

Every time my display went to sleep, my audio output changed to HDMI (from the line out that I wanted).  After many scripts and temporary fixes, this is how I ended up fixing it.

Open Terminal and run this command: Sudo apt install pavucontrol

Then launch the newly installed PulseAudio Volume Control.  Scroll Right until you get to the Configuration tab.  Set the profile for the appropriate audio device and set the others to “Off”.

Share
Sep 14

This happened when my AD account was deleted and then re-established using the same username.

 

  1. Login to the affected profile
  2. Run Terminal
    1. run “id -u” to get the new user id
    2. run “id -g” to get the new group id
    3. run “sudo chown -R <the userid found in sub-step 1 above>:<the groupid found in sub-step 1 above> /Users/<username>
    4. run “sudo chown -R <the userid found in sub-step 1 above>:<the groupid found in sub-step 1 above> ~/Library
  3. Reboot
Share
Sep 05

Macbook Air was draining battery while it was supposed to be sleeping.  When I ran a “pmset -g” in terminal it told me “sleep prevented by AddressBookSourceSync”.  I don’t use the Apple Contacts, but I do use google.  So I went into Internet Account settings and removed the google account.

Share
Feb 15

Have a PC that is crawling with malware.  Tron is your friend!  https://www.reddit.com/r/TronScript/

Share
Feb 15

This problem always seems to pop up when there is a power outage or I am installing an new HP printer.  I believe it is trying to load the driver/software usb disk, which is not formatted for Mac.  Neither un-pugging/plugging the USB nor turning the printer on/off worked.  The solution is to unplug the usb, then turn the printer on and wait for it to fully turn on.  So both the computer and the printer are fully on.  Then plug the USB in.  Presto!

Share
Oct 09

Open Finder, Disk Utility and Open Terminal.  In terminal type “dd if=” and then drag the iso from Finder to the terminal window, that will fill in the path.  Then space and type “of=” and drag the mounted usb partition from finder to the Terminal windows to again fill the path.  Then in your Disk Utility, Unmount the USB Partition (Unmount, NOT Eject).  Then back in your terminal window, hit enter.  Done.

So your command should look like this “dd if=/Users/user/Downloads/SW_DVD5_Win_Pro_7w_SP1.ISO of=/Volumes/USB”

 

Share
Mar 06

Trying to mount a windows share into Ubuntu 16.04 LTS.  I could run the following command just fine:

sudo mount -t cifs -o domain=workgroupname,username=myname,password=mypassword //192.168.1.15/music /media/music

But of course would lose the map on reboot.  So install “sudo apt-get install cifs-utils” and then Everytime I tried to add to fstab and “sudo mount -a” I would get the mount error(13) permission denied.

What fixed it was changing the sec on my command to “ntlmsspi”.  Hope this helps someone else.  So my command in fstab (/etc/fstab) is

//192.168.1.15/music /media/music cifs username=myname,domain=workgroupname,password=mypassword,
iocharset=utf8,sec=ntlmsspi 0 0

Now that you have this working you need to create a .smbcredentials file in the /root directory to contain and hide my credentials,

Enter your Windows username and password in the file:

username=msusername
password=mspassword
domain=workgroupordomain

“sudo chmod 700” that file.  and change the fstab line command to :

//192.168.1.15/music /media/music cifs credentials=/root/.smbcredentials,iocharset=utf8,sec=ntlmsspi 0 0


Share
Jan 18

I won’t get into the security implications of doing this, but just the 2 methods I have found to get it done.  My use case was a simple single digital sign that no one had physical access to, and popped this up on every scheduled or unscheduled reboot.

  1. If you don’t mind entering a password on boot, then go to User Accounts and set “automatic login” to off.
  2. If you want it to auto login and still not ask for the login keyring (again forgoing the security lecture), go into your “Startup Programs” and uncheck the Keyrings from starting.

 

Share