Questions tagged [macintosh]
Macintosh hardware made by Apple.
484
questions
1
vote
0
answers
11
views
Keyboard: Remap macbook keys to match windows keyboard
Backgrund
Reference: This is the opposite of this question.
I installed Ubuntu on my Macbook. Unfortunately, the macbook has a very different keyboard layout than I am used to, in regard of function ...
0
votes
1
answer
22
views
Which file(s) are being sourced while opening a terminal on Mac?
So there are these files, which are being known for keeping environmental variables, aliases, custom shell functions etc.:
.bash_profile
.bashrc
.zshrc
and after installing oh-my-zsh (which I'm using)...
0
votes
0
answers
23
views
Wi-Fi networks available but unable to connect Kali Linux
I just started using kali Linux and I am unable to get my Wi-Fi working. I am on a MacBook Pro and my Wi-Fi card is the Broadcom 43602. I have the drivers installed and the Wi-Fi networks appear when ...
1
vote
0
answers
12
views
Black screen when booting Manjaro on a macbook
I have Manjaro installed next to MacOS, it worked just fine until I rebooted it with systemctl reboot, now when I try to boot I get a black screen (or red artifacts ocassionally). I made a video but ...
0
votes
1
answer
45
views
Macos partition delete and merge
Macos montenery 12.3 - Air 2020
I ve tryed to install asahi linux from this: https://asahilinux.org/2022/03/asahi-linux-alpha-release/
I created a 70gb partition in the installer for it, but network ...
0
votes
0
answers
26
views
Can't Change Screen Brightness on Fedora on iMac
I installed Fedora Linux 35 on my iMac(21.5", Late 2009). It is working fine except that I can't control screen brightness neither through my keyboard(Apple's own keyboard) shortcuts nor the ...
0
votes
2
answers
35
views
How do I reference nvmeXnYpZ partitions?
I am trying to install NixOS on my MacBook following the manual (https://nixos.org/manual/nixos/stable/index.html#sec-installation-partitioning-formatting) and I am stuck at the partitioning/...
0
votes
1
answer
22
views
Is it possible to easily switch between tabs and spaces in nano on MAC?
Is it possible to easily switch between tabs and spaces in nano on MAC. I have seen here how to do that but this doesn't work, maybe because I am working with a mac machine
0
votes
1
answer
20
views
Mac can access Samba folder on CentOS but can't read anything
On Mac, used finder - go - connect to server to connect Mac to the Samba on CentOs.
I connect with Linux user name and password. Then the home directory appears. The issue is that all files show up ...
1
vote
0
answers
44
views
iMac Debian 11 (Intel) - crackling sounds, poor quality sound
I've installed Debian on my iMac (from late 2013) which has Intel chipset. Currently I am trying to solve a sound problem, which probably was here since the system is installed. The sound can be ...
0
votes
4
answers
102
views
>= unary operator expected or -eq integer expression expected
monterey2="12.0"
macOS=$(sw_vers -productVersion)
if [ "$macOS" >= "$monterey2" ] ; then
echo "Monterey"
else
echo "not Monterey"
fi
exit 0
...
1
vote
2
answers
82
views
No Wifi after suspend - MacBook Pro Retina 2015
I am absolutely aware how many times this question has been asked, but I tried every possible solution I could find and could not solve this problem.
Wifi is working without any problems until I ...
0
votes
0
answers
9
views
CalendarAgent issues
I am trying to disable CalendarAgent on my MAC; It consumes CPU cycles with no value. I have tried to find the default list of processes that et launched automatically. Need to figure out how to edit ...
0
votes
0
answers
30
views
vsftpd on mac OS Monterey (12.1) - 553 Could not create file
I've been trying to set up vsftpd on my MBP and I can log in, but I can't upload any file. I get:
227 Entering Passive Mode (192,168,1,69,119,174).
553 Could not create file.
Here's the set up:
...
0
votes
0
answers
40
views
Installation media boot screen freeze on Macbook
I own a MacBook (early 2016 model).
I chose to install a Linux operating system, replacing MacOS's role as a daily driver.
I Use rEFInd to boot anything.
The following distros boot, install and run ...
0
votes
0
answers
21
views
Trying to run Ngrok on MacBook, but upon opening it finishes with "[Process Completed]"
I have experience with Ngrok on my Windows desktop, and this is my first time trying it out over on MacOS. I downloaded Ngrok from the website, but when run, this is what comes up.
I have been trying ...
0
votes
0
answers
67
views
How do I enable the Touch Bar on a Late-2016 MacBook Pro?
I am running Arch Linux kernel 5.15.6-arch2-1 on a MacBook Pro 13" Late 2016 with Touch Bar. On a previous Linux installation with Mint on an older kernel I was able to install an SPI driver and ...
1
vote
1
answer
48
views
Prompt Expansion ZSH nested truncation
Currently, this is the format of my ZSH Prompt. I have been reading over https://zsh.sourceforge.io/Doc/Release/Prompt-Expansion.html#Prompt-Expansion to further understand truncation in zsh prompts, ...
2
votes
0
answers
140
views
Run Linux on iMac 2010 and use as external monitor ("Target Display" mode)?
Background:
I perfectly installed Linux (dual-boot) on an iMac 2010 a couple of years ago.
Recently I spent hours to figure out why the iMac was not running "Target Display" mode under ...
0
votes
0
answers
12
views
How to adjust the display when running linux on a macbook?
Mac has the high pixel density, which makes everything really small when I run linux on a mac with a USB.
Is there a way to adjust that to be a more pleasant larger display? Currently running plasma ...
0
votes
0
answers
43
views
Swap space not being used effectively
I am using Parabola Linux (variant of Arch) on a Macbook Pro laptop. I have 8 GB of RAM and 8 GB of swap space set up. As far as I can see, the swap space is enabled and working; however, it seems it ...
1
vote
1
answer
448
views
glxgears gives Error: couldn't get an RGB, Double-buffered visual on one remote server but not on another
The problem: I ssh to two remote clusters. By running glxgears, on one cluster I can successfully visualize the rotating gears though with some warning messages (details below), but on the other one ...
0
votes
0
answers
58
views
Issue with Tails Bootloader and Video Card
When attempting to run a Tails boot-loader, I received:
Error starting GDM with your 2 graphics cards:
At the time of the error msg I was using a fresh Tails v4.22 boot-loader on my early 2011 ...
0
votes
0
answers
33
views
exporting matlab to Word doc
whenever I export try matlab live script plot into Microsoft Word I get the linked image cannot be displayed error. Where it basically doesn't export the plot from matlab live script onto Microsoft ...
0
votes
0
answers
9
views
MAC Pair details with Conntrack Program
As conntrack displays the IP pairs detail. Is it possible to fetch MAC pairs per flow? Just similar to ovs-dpctl dump-flow in ovs environment.
2
votes
2
answers
180
views
MacBook 4,1 running Linux Mint Freezes on shutdown
[ OK ] Reached target Final Step
[ OK ] Finished Power-Off.
[ OK ] Reached target Power-Off.
[27022.555948] sd-umoun[21227]: Failed to unmount /oldroot: device or resource busy
[27022.560980] sd-...
0
votes
0
answers
105
views
Ubuntu on Macbook Pro - trackpad sometimes doesn't work
I've just installed Ubuntu alongside MacOS on my Macbook Pro.
However, sometimes the trackpad doesn't work when booting Ubuntu. The trackpad doesn't respond (but the keyboard always looks fine) and I ...
0
votes
0
answers
65
views
Installing Linux to USB drive on MacBook Pro - Can't find drive with UUID
So I'm wanting to run a persistent Linux install off of a usb-c drive on my MacBookPro (13", 2017). Creating and booting to a live USB worked totally fine with Manjaro, Fedora, and ElementaryOS. ...
0
votes
1
answer
69
views
Kali Linux 2021.2 (2009 Macbook Pro) can't access BIOS
I'm trying to boot from a flash drive on my macbook that I put kali on, but I can't get to the BIOS. I've tried the shortcuts that the machine is supposed to use, but nothing works. Any help is ...
1
vote
0
answers
74
views
WiFi on Linux Mint with old early 2008 MacBook
I just installed Linux Mint 20.2 Uma on an early 2008 MacBook.
Everything works fine, except WiFi...
Basically WiFi networks are detected, no problem. But when it tries to connect to the Internet, I ...
0
votes
1
answer
59
views
iMac 4,1 doesn't recognise Linux Boot Mediums
Not sure if this is the best place to ask, but I am not sure where else would be best!
I am trying to install some flavour of Linux (preferable Debian/Ubuntu based) on an old (2005?) iMac.
I have ...
0
votes
1
answer
1k
views
NetworkManager fails with ,,No secrets were provided'' on a mbpro 15,2
after some initial problems I was able to successfully install Arch on my macbook pro (15,2 - 2019 model). Mainly used the awesome t2linux wiki - so it's aunali1's modified kernel. Everything seems to ...
1
vote
1
answer
70
views
Using find + sed to add markup to every SVG in a directory
I have a directory with a few hundred SVG files that are basically small icons. I want to add a <title>icon name</title> element to every icon using its filename as the content, replacing ...
2
votes
2
answers
456
views
Problem with zsh_history file
I am currently trying to clean up my home directory by following this XDG BASE DIRECTORIES website.
To do so, i have stored in my ~/.zshenv:
# ---- Default editors ---- #
export EDITOR="nvim"...
0
votes
0
answers
118
views
How to run three VM at the same time in virtual-box?
I am working on Seed Labs. I am using VirtualBox running Ubuntu 16.04.
I have created the VMs and now I need to run them at the same time, switching back and forth between them simultaneously in order ...
-2
votes
1
answer
1k
views
Why "go version" command fail with an error? No such file or directory [duplicate]
Below is the environment in Mac:
~$
~$
~$ echo $0
-bash
~$
~$
~$
~$
~$
~$ cat /etc/paths.d/go
/usr/local/go/bin
~$
~$ cat /etc/paths
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
/Users/MYUSER/go/bin
~$...
0
votes
1
answer
48
views
Harddrive bootable from EFI and BIOS
I have an external harddrive with Linux loaded onto it that I use with my home PC (BIOS enabled). When I try to boot into this harddrive on my Mac (EFI), it doesn't show up as an option. Is there any ...
0
votes
1
answer
159
views
Mapping the Linux keyboard to match MacOS keys
I use a Linux PC at work but a MacBook at home, and the constant switch between keyboard layouts is bothersome. I would love a way to "remap" the keys of my Ubuntu computer so that they ...
2
votes
1
answer
62
views
cp command doesn't overwrite, but creates new folder (second time, third, fourth, .. time it works) [duplicate]
I use the following command to copy a folder (named 'dist') containing a react project to my frontend folder:
cd apps/react-app
sudo cp -R dist ../server/frontend/client
The first time I run the 'cp'-...
-2
votes
1
answer
125
views
Using Photorec after accidentally deleting Users folder in Mac using rm -rf ~/
I copied this command online to the terminal without reading what it actually does (I know this is very dumb for a beginner) and suddenly, it started to delete every important file in the hard drive.
...
0
votes
0
answers
89
views
USB Barcode scanner returns values in wrong order
I have this Netum USB wired Barcode scanner which shows as BLM103 Virtual COM Port from the device list.
When used on Windows the scanner returns the read values properly, but for some reason on Mac ...
0
votes
1
answer
330
views
Cannot get Bluetooth to work on Mac Pro 3,1 running Arch Linux
I've been running Arch Linux for about a year and I have never been able to get the Bluetooth working.
It used to not show up anywhere but recently I set up my wireless adapter with wl and when I did ...
1
vote
1
answer
121
views
Trying to boot an arch linux install USB on a MacBook Pro (13-inch, 2017) running macOS Big Sur 11.2.3 results in a black screen
I am trying to install Arch Linux on my MacBook. I've Etcher to write archlinux-2021-04.01-x86_64.iso to a USB stick and as far as I can tell that succeeds. When I go into the startup manager by ...
0
votes
0
answers
46
views
Linux for Mac dual-boot
Does anyone know what is the minimum USB key size needed to create a bootable standard Linux OS (i.e. KDE Neon)
Also, are there any Linux distributions that work exceptionally well, or that don't ...
7
votes
7
answers
3k
views
How to recover “deleted” files in Linux on an NTFS filesystem (files originally from macOS)
My girlfriend has a external hard disk with 10 years+ of photos, documents and more. A lot of these files originate from her old iPhone 5 and her MacBook. The hard disk itself is NTFS Format. Since ...
0
votes
0
answers
467
views
How to install ubuntu 20.10 on macbook air 2017
So I tried to install ubuntu on my macbook air 13" 2017 model yesterday. I had wiped my harddrive clean to install ubuntu 20.10 as the sole OS on my laptop. I burnt an ubuntu image onto my ...
1
vote
0
answers
31
views
Changing the Creation/Modification Dates of Nested Folders
I have 1,000,000 .mp4 files in a single folder (Mac) and was looking for some code that would move the files into dated folders based on their creation/modified dates (they are the same).
@pLumo came ...
1
vote
2
answers
178
views
Ubuntu Mac mini (2018) Macmini8,1: usb-c capped at 480 Mb/s
usb works on the two 5 Gb/s usb-a ports
However, usb-c does not recognize devices set for a speed above 480 Mb/s
When such devices are plugged in dmesg --human --follow outputs nothing
The usb ...
1
vote
1
answer
444
views
Linux dual boot on Macbook Pro 2020
I have a Macbook Pro and I've been trying to get a Linux installed on it on Dual Boot.
The Wifi, keyboard, and touchpad don't work.
I was able to install Ubuntu 20 on it and then Linux Mint 20 on it, ...
0
votes
1
answer
94
views
How to use grep to match incomplete file names
I am trying to master various use of grep and this is my source
What I don't understand is the section on "how to match single characters", like at all!For example, the author said this:
Let ...