New answers tagged

1

echo $JAVA_HOME results in an empty line With the Java optional package or Oracle JDK installed, adding one of the following lines to your ~/.bash_profile file will set the environment variable accordingly. export JAVA_HOME="$(/usr/libexec/java_home -v 1.6)" or export JAVA_HOME="$(/usr/libexec/java_home -v 1.7)" or export ...


0

This issue got resolved after removing virtuabox 5.0.20 and installing virtualbox 5.0.22.


0

If you're logged in to a shell as the same user who is logged into the gui of the mac, you could issue a sudo-less command: launchctl reboot logout which does logout the user pretty effectively; it has the caveat of not allowing apps which are being quit from prompting for interaction while quitting, however it does not seem to imply that this is the same ...


0

I fixed this by changing default 'open with' option on the Mac from Chrome to Firefox and then putting it back to Chrome.


-1

I also had to delete my Mac keychain, and then Google Chrome would ask to save passwords but they would be gone every time I restarted Chrome- using OSX El Capitan... The above didn't work for me, but what DID work for me- go to Chrome-->Settings-->Advanced Settings-->Click on "Reset Settings". Restart Chrome, and- they saved!


2

I tried Jon Grant's answer and didn't work for me. One possible workaround is this: Since Tab doesn't focus on your user, what you can do instead is hitting your user's first letter. That will focus on it, so then you can just hit Enter and then you are able to type your password. Even better than using the mouse EDIT: Oops, didn't notice it was 6 years ...


0

For anyone using VMware, the same thing can be accomplished by: From the Menu bar - VMware Fusion >> Preferences Keyboard & Mouse Select the Mac Host Shortcuts Uncheck the Mac OS host Keyboard Shortcuts This is better (in IMHO) because it does not send Mac shortcuts to the VM. I have Windows 10 Pro / VS 2015 installed on my VM for when I work at ...


1

Mac sure you set the screens names on both server and client to not have any special chars. Restart software. On the server click preferences and make sure that the computers shown both have the same screen names. Just double click and change. Should be all good


0

It has been done. Just Googling for it, I found this article on StackOverflow that explains how to do it. Just glancing at it, it looks like there is come commercial software you might have to purchase in order to do it.


0

The permissions on the root dir (/) were wrong! After I su to root I set the permission on / with: chmod a+x / And now I can run sudo.


0

Yes, I use a dell U2715H with a DisplayPort to mini-DisplayPort with my late 2013 13 inch MacBook Pro. It's not actually thunderbolt to display port. The Mini DisplayPort on your Mac happens to share the connector with the thunderbolt interface, no need to buy any adaptors just make sure you get the correct cable which will connect both ends.


0

The openmediavault distribution is pretty good for that and easy to install and use. They have install images for Raspberry Pi. Then share your files using SMB/CIFS. Using a Raspberry Pi as a NAS can have downsides. They sometimes have problems running for a long time. It also isn't especially fast. In fact you might have problems streaming HD videos over ...


0

If you have shell access to the machine, you want to find out the remote IP you can try calling a web service. curl icanhazip.com curl checkip.amazonaws.com curl https://wtfismyip.com/text If the machine is connected through a NAT, that won't help you that much in the way of connecting to the machine. You would need some kind of port forwarding set up.


0

Yes you can. Any VM system can install an operating system from a physical disk. Alternately, you can create an ISO image of the disk and install the VM OS from that ISO image.


1

The command is soffice. soffice -help should give you some idea of how it's used, eg: soffice [options] <filename> For powerpoint, the option will be --impress. If for some reason you don't find soffice, then try: locate soffice That should point to something in your /Applications folder. You can add that to your path or make a soft link into ...


0

What works best for me is this approach: Press Cmd-Alt-2 for thumbnails view In thumbnails view press Cmd-A Cmd-C to select all pages and copy them to the clipboard. Then press Cmd-N to open a new document from the clipboard contents.


1

Looks like this could be caused by an SMB3 signing default change introduced in OS X 10.11.5. It can be overridden by adding or modifying a file in your /etc directory. See the thread El Capitan 10.11.5 update SMB slow (bug) in the Apple support community for the whole story.


0

You need to use the -a switch. open -a "Firefox" index.html To avoid needing to remember the details, I have aliased this to alias open_firefox='open -a "Firefox"' which would give: open_firefox index.html OS X will figure out the Firefox app path from the contents of -a, which basically need to match what you see in the /Applications folder. other ...


1

Just based on the information you provided, which is none, the answer is no. More than likely, another device on the network is forwarding a public IP to the internal private IP of the device. Depending on your access to the device, you could look at the IP configuration of the network, as it might have the public IP listed. It could be possible the ...


1

On OS X, you will need to point it to the relative application. For Firefox, you will want to first CD in to the Firefox.app like cd /Applications/Firefox.app/Contents/MacOS, in order to get to the folder with the actual application, and then run ./firefox index.html. Since the index.html file is likely in a different folder, you will want to CD in, then ...


1

If you still have the original Geforce 7300 GT in there, it can support 2560 x 1600 over a dual-link DVI cable only - & only from one of the two sockets; so the first thing I'd check would be the cable/socket config. From Everymac... The NVIDIA GeForce 7300 GT with 256 MB of GDDR2 SDRAM is installed in a "double-wide" 16-lane PCI Express slot. ...


2

Well, there are two things that might be responsible for this: Faulty monitor OS setting Don't know much about mac, but there should be a setting somewhere that allows you to change the screen timeout / screen lock setting. If you've tried that and still have the problem, I'd test with another monitor. Especially the fact that you need to replug it in ...


0

On windows you can configure your VPN to NOT use the default (internet) route. Unfortunately on mac OS you can't configure that with GUI. You should be able with scripts, some of my collegues told me so, but I haven't done it myself. So if your school is using a proxy or whatever to get out, you also have to configure on your Mac when you're connected with ...


1

Go to System Preferences → Startup Disk → Choose the disk and restart The next time you start up or restart your computer, your Mac starts up using the operating system on the selected volume. Another trick which I cannot verify is to hold Ctrl and then Click on the disk after invoking startup manager at boot time. If the trick works, ↑ ...


1

I was having the same trouble as you, until I found this blog post: Configuring rEFInd boot manager as your startup disk on a Mac The author, DavidJB.com, describes how you can set the default startup disk by pressing the control key at the same time as selecting the startup disk from the Startup Manager. (You need to hold down the option key during the ...


-1

This is not what I asked for, but you can download all the videos, subtitles and slides of a course in one click - https://www.class-central.com/report/coursera-old-platform-shutdown-download-courses/ There's a Chrome plug-in in the link and also a Python script. You can use either to download the content. With 30th June around the corner, something is ...


2

You can disable the auto command completion by navigating to the following menu: Toggle View > Auto command completion


0

The a. part is based on the TCP/IP protocol stack:- Application Layer Transport Layer Internet Layer (a.k.a. Network Layer) Link Layer (a.k.a. Physical Layer) I don't know if I've fully understood the b. part of Q1(b). But the following is what I'd go with. Answers: 136.206.1.4 a. Internet Layer b. IPv4 Public IP 192.168.1.10 a. Internet Layer b. ...


1

I actually looked pretty hard for this after both a full install and a brew cask install of libreoffice gave the same error. I found the answer in a comment on Github. Seems libreoffice gives this Info.plist error in calling soffice via a symlink. Calling soffice directly via /Applications/LibreOffice.app/Contents/MacOS/soffice or by making a small shell ...


0

You might try to play with the airport utility (in newer OS X versions it's hidden away in /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport or a similar path). Specifically, the JoinMode and JoinModeFallback preferences could be useful. On my machine, JoinModeFallback is set to DoNothing by default. Changing it to ...


0

Please refer to another thread on AskDifferent. It’s an AppleScript / Automator solution that will prevent Finder windows from opening on login.


-1

You can try using MacPorts: port install libffi port install openssl You can then locate the installed libraries using: port contents libname And use a symbolic link if Python expects to find the lib somewhere else, Eg: ln -s /usr/local/lib/libssl.1.0.0.dylib /usr/lib/... [expected location, cf errors msg]


0

Figured it out by myself yesterday, and Spiff is correct too. I was testing the ssh connection by using the same internet connection. Tested it from the other network and it worked.


0

Only way I found is open the .xls file in Numbers (fortunately it's free with recent OS), then export as CSV - Unicode UTF-8. Excel for Mac doesn't support UTF-8.


1

Have you rebooted? There's an old Unix trick of deleting an open file to hide it. Its blocks don't become free space until the file is closed, even if there's no longer a filename entry in any directory pointing at that file. Rebooting would clear that up. Have you run a Disk Utility "Repair" of your volume? Corrupted volume data structures could cause ...


0

Looks like you ran across this gem, which was made as a joke but has now been pulled from RubyGems. Beats me how you got it (typoed?), but in any case, follow the instructions for the command they give (gem uninstall install -x) and you should be fine.


2

My application of choice for this is Disk Inventory X. It's very simple to use and has helped me find large files, or clusters of small cache files extremely fast. Some of the missing space could be system files, or space reserved by the SSD for overhead protection.


0

If you do have a series of photos hidden away somewhere on your disk, or just want to find out whats taking up so much room on your mac, you can use a tool such as JDiskReport to scan it. It will return a directory listing that you can navigate through, showing which folders are taking up the most room.


0

Unetbootin is a tool that installs ISOs on USB keys, or you can use dropdown menus to select distributions right there in the tool. Slightly easier than doing dd on the command line yourself.


0

Start Firefox in Troubleshoot Firefox issues using Safe Mode to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes). Please don't make any changes on the Safe mode. See: Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems Troubleshoot issues with ...


1

Go to the "About this Mac", click on "System Report", look for "Bluetooth" under the hardware section and click on it. There is a line telling if BLE is supported or not.


0

You can swap the Command and Ctrl keys on OSX. Go to System Preferences -> Keyboard -> Modifier Keys:


0

When no one is logged in, the login prompt is running under user root. If you change the launch control for root, you should be able to get your app to run before login. As long as you're a local administrator, you can run sudo su to get root access from the command line. Creating launchctl items is well documented on many sites so I won't repeat that here, ...


1

Is there a way I can use ps aux to see which launchd process spawned it? If you use ps -ef, the first 3 entries on each line tell you the UID, PID and Parent PID of a process. Here's an example: $ ps -ef|head -2 UID PID PPID C STIME TTY TIME CMD 0 1 0 0 30May16 ?? 25:05.63 /sbin/launchd Between these three, you ...


0

BetterTouchTool can also do it: https://www.boastr.net/ Gestures -> Keyboard -> Add new shortcut -> "chose your key combination" -> Trigger predefined action -> Move Window One Space/Desktop Left (or Right). (a must have tool in my opinion, it can do many other awesome things)


1

You want COUNTIFS(): =COUNTIFS(G2:G256, "yes",H2:H256, "yes")


-1

Its managed by your corporate policy. You need to check with your company IT Admin if its causing trouble. Ofcourse it will be a little slow.


0

Yeah Finder issue. Relaunch finder. Hold Option and Right-Click finder in task bar. On MacBook Ctrl-option-Click.Select relaunch and it works again.


0

Syntex: $command > /output/file/location Example: suppose you want to list out all files and directories of /home/jackson and save its result to /home/jackson/list.txt so command will be-- $ls /home/jackson > /home/jackson/list.txt but remember if file /home/jackson/list.txt is already exist and contain information, then previous command will ...



Top 50 recent answers are included