start new:
tmux
start new with session name:
tmux new -s myname
| # /usr/local/etc/PolicyKit/PolicyKit.conf | |
| # Allow normal users to mount removable media automatically | |
| <config version="0.1"> | |
| <match action="org.freedesktop.hal.storage.mount-removable"> | |
| <return result="yes"/> | |
| </match> | |
| <match action="org.freedesktop.hal.storage.mount-fixed"> | |
| <return result="yes"/> | |
| </match> | 
| Add to /boot/loader.conf: | |
| ng_ubt_load="YES" | |
| Add to /etc/rc.conf: | |
| hcsecd_enable="YES" | |
| sdpd_enable="YES" | |
| bthidd_enable="YES" | |
| Reboot, or run: | 
| Add to /boot/loader.conf: | |
| ng_ubt_load="YES" | |
| Add to /etc/rc.conf: | |
| hcsecd_enable="YES" | |
| sdpd_enable="YES" | |
| bthidd_enable="YES" | |
| Reboot, or run: | 
| cantrbry.tar | |
| cantrbry.tar.*.* | |
| .*.swp | 
| #/dev/loop0 and /dev/loop1 are assumed to be free, otherwise use 'losetup -f' and store the result | |
| losetup /dev/loop0 disk.img | |
| kpartx -as /dev/loop0 | |
| losetup /dev/loop1 /dev/mapper/loop0p1 | |
| mkdir disk | |
| mount /dev/loop1 disk | 
NOTE: All commands that start with tmux can be executed within a tmux session by typing prefix, followed by :, then type the rest of the command (after tmux).
There is a binary script called tat that can be run and it will create a new session named after the directory that you are currently in. If a session with that name already exists, it will just open that session.
| Command | Description | 
|---|---|
| tmux new -s [session name] | Start new named session | 
| prefix s | Choose a different session using fzf (custom mapping) |