Stuff that I barely understand that I came across that I want to keep around
Basically a record of information Iʼve come across. Provided without warranty or commentary. Just some pointers to things that worked on my systems. If you want to try these things out, youʼll have to follow the pointers to understand where they could apply and what they do and what are the risks, &c. (Tbh most of the risks are pretty low. But itʼs good to know how to roll it back in any case!)
Enable in BIOS/UEFI.
Enable in Fedora(?):
sudo nmcli connection show
sudo nmcli connection show "Wired connection 1"
sudo nmcli connection modify "Wired connection 1" 802-3-ethernet.wake-on-lan magic
sudo nmcli connection modify $YOURSSID 802-11-wireless.wake-on-wlan magic
(did not work for me)
ifconfig
wakeonlan
(maybe brew install wakeonlan
)
wakeonlan xx:xx:xx:xx:xx:xx
# Lock
dbus-send --session --dest=org.gnome.ScreenSaver --type=method_call --print-reply --reply-timeout=20000 /org/gnome/ScreenSaver org.gnome.ScreenSaver.SetActive boolean:true
# Unlock
dbus-send --session --dest=org.gnome.ScreenSaver --type=method_call --print-reply --reply-timeout=20000 /org/gnome/ScreenSaver org.gnome.ScreenSaver.SetActive boolean:false
.local
addresses)Add search company.local
to /etc/resolv.conf
to get subdomains app.company.local
[source]
/etc/fstab
and sudo mount -a
https://apple.stackexchange.com/questions/197029/how-do-you-mount-bind-a-local-directory
Disadvantage of fuse is that it do not support inotify events
sudo losetup --partscan --find --show YOURIMAGE.img /dev/loop0
https://docs.fedoraproject.org/en-US/quick-docs/samba/
Note: [share]
in /etc/samba/smb.conf
is the name of the share, visible over the network.
ssh -o "ServerAliveInterval 60" -o "ServerAliveCountMax 120" yourserver
to override for a single session~/.ssh/config
Why canʼt Firefox have nice codecs?
https://docs.fedoraproject.org/en-US/quick-docs/installing-plugins-for-playing-movies-and-music/
sudo dnf install gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 gstreamer1-plugin-libav --exclude=gstreamer1-plugins-bad-free-devel
sudo dnf install lame\* --exclude=lame-devel
sudo dnf group upgrade --with-optional Multimedia