- move
.plist
to /Library/LaunchDaemons/ sudo chown root:wheel
(andsudo chmod 755
) with.plist
file pathsudo launchctl load
with.plist
file path
Ref:
.plist
to /Library/LaunchDaemons/sudo chown root:wheel
(and sudo chmod 755
) with .plist
file pathsudo launchctl load
with .plist
file pathRef:
sudo apt install ibus ibus-rime ibus-gtk ibus-gtk4 ibus-gtk3
sudo apt install ibus-pinyin ibus-sunpinyin
重新login後,在keyboard選擇:
ibus-rime
默認爲繁體,ibus-pinyin
與ibus-sunpinyin
爲簡體。
sudo vim /etc/environment
# ~/.config/mpv/input.conf | |
r cycle_values video-rotate 90 180 270 0 |
[wsl2] | |
dnsTunneling=false | |
networkingMode=NAT # mirrored | |
dnsProxy=true | |
autoProxy=true | |
firewall=false |
# $HOME/Library/Application\ Support/com.mitchellh.ghostty/config | |
theme = dark:Adwaita Dark,light:Adwaita | |
# theme = Adwaita Dark | |
font-family = "CaskaydiaCove Nerd Font Mono" | |
window-theme = auto | |
window-height = 33 | |
window-width = 110 | |
window-colorspace = display-p3 |
"$schema" = 'https://starship.rs/config-schema.json' | |
# Inserts a blank line between shell prompts | |
add_newline = false | |
format = """ | |
[](surface0)\ | |
$os\ | |
$username\ | |
[](bg:peach fg:surface0)\ |
GRUB_CMDLINE_LINUX_DEFAULT="consoleblank=60"
setterm -blank X
(X in minutes) in shell init file (.bashrc
) or /etc/rc.local
.Then, prevent sleep when lid close:
sudoedit /etc/systemd/logind.conf
:
HandleLidSwitch=ignore
echo $XDG_SESSION_TYPE
sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
sudo chown gdm:gdm ~gdm/.config/monitors.xml
sudo machinectl shell gdm@ /bin/bash
#!/bin/zsh | |
# This script helps those who want to | |
# get all Aerial wallpapers on macOS Sonoma | |
# all at once instead of clicking on settings one by one. | |
# Dependencies: jq, parallel | |
# Install all dependencies via `brew install jq parallel` | |
# After `parallel` installed run `sudo parallel --citation` first to read citation notice (IMPORTANT) |