hardwarerelated:mac_notes
Table of Contents
macOS X
- Japanese input method switching: after first start, Macos does the first setup - configure then Japanese and English. Later, to change to Japanese input press the かな-key (right from space bar) and the 英文-key left of the space bar for English input.
Software
- https://www.neooffice.org – libreoffice office based office-suite with cocoa-style
- https://www.videolan.org – mediaplayer
- https://www.obdev.at/products/littlesnitch/ – control/monitor outgoing traffic
- ports systems
- https://finkproject.org – apt-get like binary alternative to darwinports; to install/update/manage software
Small rosetta stone
There are manpages for the commands…
function | macosx 10.4.x | linux |
---|---|---|
cronjobs | at,cron,launchd.plist(5) | at,cron |
starterprocess | launchd | init |
configure start | launchctl,service | vi /etc/inittab, /etc/rc* /etc/init.d/* |
os-verion | uname, sw_vers | uname, /etc/issue, /etc/redhat-release etc. |
hardwareinfo | ioreg, system_profiler,sysctl | hwinfo, dmidecode, dmesg |
cd/dvd burning/service | drutil, hdid, hdiutil | cdrecord, wodim, eject |
cpuinfo | hostinfo, hwprefs | cat /proc/cpuinfo /proc/* |
waking/sleeping | pmset | acpid, cpufreqd |
softwaremanagement | softwareupdate, lsbom,installer | apt-get, dpkg, rpm, yum, emerge |
performanceanalysis | vm_stat, fs_usage, top | vmstat, top, free |
syscallanalysis | ktrace | strace |
inspect libs/bins | otool, sample | ldd, file |
networkprofiles | configd, scutil, scselect | distrodependent |
nsswitch config | DirectoryService | /etc/nsswitch.conf /etc/ldap.conf … |
nsswitch client | dscl | getent hosts, getent passwd |
access kernelparams | sysctl | sysctl |
partitionmanagement | diskutil | fdisk, mkfs, mdadm, mount |
dns-cacher + access | lookupd | nscd, nslookup |
documentconverting | pstopdf, sips | pstopdf, imagemagick |
zeroconf | mDNS | avahi-discover |
interface clipboard | pbcopy, pbpaste | |
file with gui-app | open <file> |
Linux on Apple silicon
-
- package management (details):
- upgrade: pacman -Syu
- installing packages: pacman -S chromium
- searching packages: pacman -Ssq <searchstring>
- list explicitly installed packages: pacman -Qe
- remove single package: pacman -R package_name
- remove package, including its no longer required dependencies: pacman -Rs package_name
- first things
- systemctl enable --now sshd
- Systemupdate: pacman -Syu
- https://github.com/AsahiLinux/docs/wiki/SW:Alternative-Distros further distros
- Fedora
- I settled with https://github.com/leifliddy/asahi-fedora-builder for installation
- dnf install sddm i3
- dnf groupinstall 'KDE Plasma Workspaces'
- systemctl start sddm
- If sddm starts and you can not login, reboot and use kernel option systemd.unit=multi-user.target
Installing Fedora as KVM guest
virsh destroy fed36 2>/dev/null virsh undefine fed36 --nvram 2>/dev/null qemu-img create -f qcow2 /tmp/tvm_fed36.qcow2 72G virt-install -n fed36 -r 4096 --vcpus 4 \ --disk path=/tmp/tvm_fed36.qcow2,format=qcow2,bus=virtio,cache=unsafe \ --location http://ftp.iij.ad.jp/pub/linux/Fedora/fedora/linux/releases/36/Everything/aarch64/os/ \ --graphics vnc --os-variant fedora35 \ --network bridge=virbr0,model=virtio \ --extra-args "ip=192.168.122.5::192.168.122.1:255.255.255.0:fed36:enp1s0:none nameserver=8.8.8.8"
hardwarerelated/mac_notes.txt · Last modified: 2022/08/03 13:16 by 127.0.0.1