├── .Xresources ├── .bash_profile ├── .i3 ├── autostart ├── config ├── status.conf └── status.conf-laptop ├── .mutt └── mailcap ├── .muttrc ├── .muttrc.global ├── .screenrc ├── .signature ├── .tmux.conf ├── .vimrc ├── .xinitrc ├── X11 ├── xorg.conf └── xorg.conf-laptop ├── pf.conf ├── rc.conf ├── rc.conf-laptop ├── sysctl.conf └── txt └── freebsd_x220_notes.md /.Xresources: -------------------------------------------------------------------------------- 1 | !! drop in Solarized colorscheme for Xresources/Xdefaults 2 | 3 | !!SOLARIZED HEX 16/8 TERMCOL XTERM/HEX L*A*B RGB HSB 4 | !!--------- ------- ---- ------- ----------- ---------- ----------- ----------- 5 | !!base03 #002b36 8/4 brblack 234 #1c1c1c 15 -12 -12 0 43 54 193 100 21 6 | !!base02 #073642 0/4 black 235 #262626 20 -12 -12 7 54 66 192 90 26 7 | !!base01 #586e75 10/7 brgreen 240 #585858 45 -07 -07 88 110 117 194 25 46 8 | !!base00 #657b83 11/7 bryellow 241 #626262 50 -07 -07 101 123 131 195 23 51 9 | !!base0 #839496 12/6 brblue 244 #808080 60 -06 -03 131 148 150 186 13 59 10 | !!base1 #93a1a1 14/4 brcyan 245 #8a8a8a 65 -05 -02 147 161 161 180 9 63 11 | !!base2 #eee8d5 7/7 white 254 #e4e4e4 92 -00 10 238 232 213 44 11 93 12 | !!base3 #fdf6e3 15/7 brwhite 230 #ffffd7 97 00 10 253 246 227 44 10 99 13 | !!yellow #b58900 3/3 yellow 136 #af8700 60 10 65 181 137 0 45 100 71 14 | !!orange #cb4b16 9/3 brred 166 #d75f00 50 50 55 203 75 22 18 89 80 15 | !!red #dc322f 1/1 red 160 #d70000 50 65 45 220 50 47 1 79 86 16 | !!magenta #d33682 5/5 magenta 125 #af005f 50 65 -05 211 54 130 331 74 83 17 | !!violet #6c71c4 13/5 brmagenta 61 #5f5faf 50 15 -45 108 113 196 237 45 77 18 | !!blue #268bd2 4/4 blue 33 #0087ff 55 -10 -45 38 139 210 205 82 82 19 | !!cyan #2aa198 6/6 cyan 37 #00afaf 60 -35 -05 42 161 152 175 74 63 20 | !!green #859900 2/2 green 64 #5f8700 60 -20 65 133 153 0 68 100 60 21 | 22 | #define S_base03 #002b36 23 | #define S_base04 #00171d 24 | #define S_base02 #073642 25 | #define S_base01 #586e75 26 | #define S_base00 #c1cacd 27 | #define S_base0 #839496 28 | #define S_base1 #93a1a1 29 | #define S_base2 #eee8d5 30 | #define S_base3 #fdf6e3 31 | #define S_yellow #b58900 32 | #define S_orange #cb4b16 33 | #define S_red #dc322f 34 | #define S_magenta #d33682 35 | #define S_violet #6c71c4 36 | #define S_blue #268bd2 37 | #define S_cyan #2aa198 38 | #define S_green #859900 39 | 40 | !!*background: S_base04 41 | URxvt*background: [88]S_base04 42 | URxvt*foreground: S_base00 43 | URxvt*depth: 32 44 | URxvt*fading: 40 45 | URxvt*fadeColor: S_base03 46 | URxvt*cursorColor: S_base1 47 | URxvt*pointerColorBackground:S_base01 48 | URxvt*pointerColorForeground:S_base1 49 | 50 | !! black dark/light 51 | *color0: S_base02 52 | *color8: S_base03 53 | 54 | !! red dark/light 55 | *color1: S_red 56 | *color9: S_orange 57 | 58 | !! green dark/light 59 | *color2: S_green 60 | *color10: S_base01 61 | 62 | !! yellow dark/light 63 | *color3: S_yellow 64 | *color11: S_base00 65 | 66 | !! blue dark/light 67 | *color4: S_blue 68 | *color12: S_base0 69 | 70 | !! magenta dark/light 71 | *color5: S_magenta 72 | *color13: S_violet 73 | 74 | !! cyan dark/light 75 | *color6: S_cyan 76 | *color14: S_base1 77 | 78 | !! white dark/light 79 | *color7: S_base2 80 | *color15: S_base3 81 | 82 | *utf8: 1 83 | *saveLines: 999999 84 | 85 | !-- Xft settings -- ! 86 | !!Xft.dpi: 144 87 | !!Xft.rgba: rgb 88 | !!Xft.autohint: 0 89 | !!Xft.lcdfilter: lcddefault 90 | !!Xft.hintstyle: hintfull 91 | !!Xft.hinting: 1 92 | !!Xft.antialias: 1 93 | 94 | ! -- Fonts -- ! 95 | !!URxvt.font:xft:Hack:pixelSize=10,style=Regular, xft:Symbola:pixelsize=19,style=Regular 96 | !!URxvt.boldFont:xft:Hack:style=Bold,pixelSize=10, xft:Symbola:pixelsize=19,style=Regular 97 | URxvt.font:xft:Inconsolata:pixelsize=17,style=Regular 98 | URxvt.boldFont:xft:Inconsolata:style=Bold,pixelsize=30, xft:Symbola:pixelsize=19,style=Regular 99 | 100 | *.faceSize: 30 101 | !!*bellIsUrgent: true 102 | 103 | !! scroll 104 | !! do not scroll with output 105 | URxvt*scrollTtyOutput: false 106 | !! scroll in relation to buffer (with mouse scroll or Shift+Page Up) 107 | URxvt*scrollWithBuffer: true 108 | !! scroll back to the bottom on keypress 109 | URxvt*scrollTtyKeypress: true 110 | 111 | !! scrollback buffer 112 | URxvt.secondaryScreen: 1 113 | URxvt.secondaryScroll: 0 114 | URxvt.secondaryWheel: 1 115 | 116 | !! scrollbar 117 | URxvt*scrollBar: false 118 | 119 | URxvt*termName: rxvt 120 | 121 | !! copy paste 122 | URxvt*clipboard.copycmd: xclip -i -selection clipboard 123 | URxvt*clipboard.pastecmd: xclip -o -selection clipboard 124 | 125 | !!URxvt.clipboard.copycmd: xsel -ib 126 | !!URxvt.clipboard.pastecmd: xsel -ob 127 | 128 | URxvt.keysym.Shift-Control-C: perl:clipboard:copy 129 | URxvt.keysym.Shift-Control-V: perl:clipboard:paste 130 | !!URxvt.keysym.M-Left-C: perl:clipboard:copy 131 | !!URxvt.keysym.M-Left-V: perl:clipboard:paste 132 | 133 | URxvt.iso14755: False 134 | 135 | !! clickable urls 136 | URxvt.perl-ext-common: default,matcher,selection-to-clipboard,clipboard 137 | URxvt.url-launcher: /usr/local/bin/browser-exec 138 | URxvt.matcher.button: 1 139 | URxvt.url-select.underline: true 140 | 141 | !! get option over to work 142 | URxvt.keysym.M-Left: \033[1;5D 143 | URxvt.keysym.M-Right: \033[1;5C 144 | URxvt.keysym.Control-Left: \033[1;5D 145 | URxvt.keysym.Control-Right: \033[1;5C 146 | -------------------------------------------------------------------------------- /.bash_profile: -------------------------------------------------------------------------------- 1 | PS1='\D{%H:%M:%S} \h:\w\$ ' 2 | 3 | if [ -f ~/.bashrc ]; then 4 | . ~/.bashrc 5 | fi 6 | 7 | . $HOME/.ssh/agent.sh 8 | 9 | #export PATH="$HOME/bin:/bin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/sbin:/usr/local/git/bin:/usr/local/bin:/usr/local/sbin" 10 | 11 | # Base16 Shell 12 | BASE16_SHELL="$HOME/.config/base16-shell/" 13 | [ -n "$PS1" ] && \ 14 | [ -s "$BASE16_SHELL/profile_helper.sh" ] && \ 15 | eval "$("$BASE16_SHELL/profile_helper.sh")" 16 | 17 | export PATH=$PATH:$HOME/node_modules/.bin:$HOME/bin:$HOME/go/bin 18 | export GOPATH=$HOME/go 19 | 20 | alias ls='ls -F --color' 21 | alias ll='ls -la' 22 | alias now='date +%Y%m%d-%H:%M:%S' 23 | alias gpush='git push origin master' 24 | alias gpull='git fetch origin && git reset --hard origin/master' 25 | alias ops='eval $( op signin horstmann_allen )' 26 | alias opl='op list items --vault=Private' 27 | alias ghil='ghi list -O joyent' 28 | 29 | if [ `which vim` ] ; then 30 | alias vi='vim' 31 | export EDITOR="vim" 32 | fi 33 | 34 | #eval $(/usr/libexec/path_helper) 35 | #eval "$(triton env --docker spc-1a)" 36 | 37 | export LANG=en_US.UTF-8 38 | export LC_CTYPE=en_US.UTF-8 39 | 40 | #eval $( op signin horstmann_allen ) 41 | 42 | export PATH="$HOME/.cargo/bin:$PATH" 43 | 44 | source $HOME/.manta/joybdha 45 | export PATH="$HOME/.plenv/bin:$PATH" 46 | eval "$(plenv init -)" 47 | source $HOME/.ghi_token 48 | -------------------------------------------------------------------------------- /.i3/autostart: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/bash 2 | 3 | xsetroot -solid '#101010' & 4 | 5 | # BEEP BAD 6 | xset b off 7 | 8 | ## DPMS monitor setting (standby -> suspend -> off) (seconds) 9 | xset dpms 300 600 900 & 10 | -------------------------------------------------------------------------------- /.i3/config: -------------------------------------------------------------------------------- 1 | # On my workstation, this is the %cmd key. 2 | set $mod Mod4 3 | 4 | # On my laptop, it is alt. 5 | #set $mod Mod1 6 | 7 | font pango:Terminus 15px 8 | 9 | focus_follows_mouse no 10 | 11 | # Use Mouse+$mod to drag floating windows to their wanted position 12 | floating_modifier $mod 13 | 14 | # start a terminal 15 | bindsym $mod+Return exec urxvt -ls 16 | 17 | # kill focused window 18 | bindsym $mod+Shift+q kill 19 | 20 | # start dmenu (a program launcher) 21 | bindsym $mod+d exec dmenu_run 22 | 23 | bindsym $mod+Shift+r restart 24 | bindsym $mod+Shift+w reload 25 | bindsym $mod+Shift+e exit 26 | 27 | # change focus 28 | bindsym $mod+j focus left 29 | bindsym $mod+k focus down 30 | bindsym $mod+l focus up 31 | bindsym $mod+semicolon focus right 32 | 33 | # alternatively, you can use the cursor keys: 34 | bindsym $mod+Alt_R focus left 35 | bindsym $mod+Super_R focus down 36 | bindsym $mod+Print focus up 37 | 38 | # Lock 39 | bindsym Control+Mod1+l exec i3lock -c 111111 40 | # Lock and sleep 41 | bindsym Shift+Mod1+l exec i3lock -c 111111 && sudo acpiconf -s 3 42 | 43 | # split in horizontal orientation 44 | bindsym $mod+h split h 45 | 46 | # split in vertical orientation 47 | bindsym $mod+v split v 48 | 49 | # enter fullscreen mode for the focused container 50 | bindsym $mod+f fullscreen 51 | 52 | # change container layout (stacked, tabbed, default) 53 | bindsym $mod+s layout stacking 54 | bindsym $mod+w layout tabbed 55 | bindsym $mod+e layout default 56 | 57 | # toggle tiling / floating 58 | bindsym $mod+Shift+space floating toggle 59 | 60 | # resize window (you can also use the mouse for that) 61 | mode "resize" { 62 | # These bindings trigger as soon as you enter the resize mode 63 | bindsym j resize shrink width 10 px or 10 ppt 64 | bindsym k resize grow height 10 px or 10 ppt 65 | bindsym l resize shrink height 10 px or 10 ppt 66 | bindsym semicolon resize grow width 10 px or 10 ppt 67 | #bindsym uring resize grow width 10 px or 10 ppt 68 | 69 | # same bindings, but for the arrow keys 70 | bindsym 113 resize shrink width 10 px or 10 ppt 71 | bindsym 116 resize grow height 10 px or 10 ppt 72 | bindsym 111 resize shrink height 10 px or 10 ppt 73 | bindsym 114 resize grow width 10 px or 10 ppt 74 | 75 | # back to normal: Enter or Escape 76 | bindsym Return mode "default" 77 | bindsym Escape mode "default" 78 | } 79 | 80 | bindsym $mod+r mode "resize" 81 | 82 | # one bar on both screens 83 | bar { 84 | position top 85 | #mode hide 86 | #modifier $mod 87 | status_command i3status --config ~/.i3/status.conf 88 | #tray_output LVDS1 89 | binding_mode_indicator yes 90 | } 91 | 92 | bindsym $mod+1 workspace 1 93 | bindsym $mod+2 workspace 2 94 | bindsym $mod+3 workspace 3 95 | bindsym $mod+4 workspace 4 96 | bindsym $mod+5 workspace 5 97 | bindsym $mod+6 workspace 6 98 | bindsym $mod+7 workspace 7 99 | bindsym $mod+8 workspace 8 100 | bindsym $mod+9 workspace 9 101 | 102 | bindsym $mod+Shift+1 move container to workspace 1 103 | bindsym $mod+Shift+2 move container to workspace 2 104 | bindsym $mod+Shift+3 move container to workspace 3 105 | bindsym $mod+Shift+4 move container to workspace 4 106 | bindsym $mod+Shift+5 move container to workspace 5 107 | bindsym $mod+Shift+6 move container to workspace 6 108 | bindsym $mod+Shift+7 move container to workspace 7 109 | bindsym $mod+Shift+8 move container to workspace 8 110 | bindsym $mod+Shift+9 move container to workspace 9 111 | 112 | # before autostart 113 | # ... 114 | 115 | exec ~/.i3/autostart 116 | 117 | exec xrdb -merge ~/.Xresources 118 | -------------------------------------------------------------------------------- /.i3/status.conf: -------------------------------------------------------------------------------- 1 | general { 2 | colors = true 3 | interval = 5 4 | } 5 | 6 | order += "time" 7 | 8 | time { 9 | format = "%Y.%m.%d %H:%M" 10 | } 11 | -------------------------------------------------------------------------------- /.i3/status.conf-laptop: -------------------------------------------------------------------------------- 1 | general { 2 | colors = true 3 | interval = 5 4 | } 5 | 6 | order += "wireless wlan0" 7 | order += "battery 0" 8 | order += "tztime local" 9 | 10 | wireless wlan0 { 11 | format_up = "W:%essid" 12 | format_down = "W: down" 13 | } 14 | 15 | battery 0 { 16 | format = "%percentage %remaining" 17 | format_down = "No battery" 18 | low_threshold = 10 19 | } 20 | 21 | tztime local { 22 | format = "%Y-%m-%d %H:%M:%S" 23 | } 24 | -------------------------------------------------------------------------------- /.mutt/mailcap: -------------------------------------------------------------------------------- 1 | text/html; w3m -I %{charset} -T text/html; copiousoutput; 2 | -------------------------------------------------------------------------------- /.muttrc: -------------------------------------------------------------------------------- 1 | set ssl_starttls=yes 2 | set ssl_force_tls=yes 3 | 4 | set imap_user="" 5 | set imap_pass="" 6 | set folder=imaps://imap.gmail.com 7 | set imap_authenticators="login" 8 | 9 | set imap_keepalive=60 10 | 11 | set spoolfile = +INBOX 12 | set record = "+[Gmail]/Sent Mail" 13 | set postponed = "+[Gmail]/Drafts" 14 | 15 | set mbox="imaps://imap.gmail.com/[Gmail]/All Mail" 16 | 17 | set smtp_url = "smtp://$imap_user@smtp.gmail.com:587/" 18 | set smtp_pass = "" 19 | #set smtp_authenticators="plain" 20 | set smtp_authenticators="login" 21 | 22 | set signature="/Users/bdha/.signature" 23 | 24 | set mailcap_path="~/.mutt/mailcap" 25 | 26 | auto_view text/html 27 | alternative_order text/plain text/enriched text/html 28 | 29 | source ~/.muttrc.global 30 | 31 | set realname="Bryan Horstmann-Allen" 32 | # Clear all existing headers 33 | unmy_hdr From: 34 | unmy_hdr Bcc: 35 | unmy_hdr Reply-to: 36 | 37 | # Write headers 38 | my_hdr From: XXX 39 | my_hdr Reply-to: XXX 40 | 41 | #fcc-hook ~A {localhost:1993}"Sent Items" 42 | 43 | set edit_hdrs 44 | set copy=yes 45 | set fcc_attach # Include attachments in copies of sent messages? 46 | -------------------------------------------------------------------------------- /.muttrc.global: -------------------------------------------------------------------------------- 1 | set envelope_from 2 | set abort_nosubject=ask-no 3 | unset askcc 4 | set sig_dashes 5 | set indent_string="> " 6 | set attribution="> On %d, %n wrote:\n> " 7 | set date_format="%F %T" 8 | set forward_format="Fwd: %s" 9 | set forward_quote 10 | unset metoo 11 | unset reply_self 12 | set reply_to=ask-yes 13 | set sendmail_wait=0 14 | set hdrs 15 | set header 16 | unignore from: date subject to cc reply-to: X-Spamblock: 17 | hdr_order From To Cc Date Subject X-Spamblock: 18 | unset read_only 19 | set index_format="%3C %Z %d %-20.20F %s" 20 | set help 21 | unset arrow_cursor 22 | set ascii_chars=yes 23 | set visual="vim" 24 | set editor="vim" 25 | set status_on_top 26 | set status_format="%r %P of %f %?l?%l? (%?n?%n\/?%m)%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p? %>-(%s/%S) %?b?- %b folders?" 27 | set strict_threads 28 | set reply_regexp="^((re):[ \t]*)*" 29 | set sort=threads 30 | set sort_aux=date-sent 31 | set record=+.sent 32 | set pager=builtin 33 | set pager_format="-%S- %C/%m: %-20.20n %s" 34 | set pager_context=1 35 | set pager_index_lines=8 36 | unset pager_stop 37 | set markers 38 | set smart_wrap 39 | set tilde 40 | set quote_regexp="^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+" 41 | set smileys="(>From)|(:[-^]?[][)(><}{|/DP])" 42 | set allow_8bit 43 | set attach_split 44 | set forward_decode 45 | set forward_decrypt 46 | set mime_forward=ask-no 47 | set mime_forward_decode 48 | set reverse_alias 49 | set sort_alias=alias 50 | set alias_format="%2n %t %-10a %r" 51 | unset hidden_host 52 | set history=50 53 | set print=ask-yes 54 | set quit=yes 55 | set tmpdir="/tmp" 56 | set mask="^(\.\.$|[^.])" 57 | set nomove 58 | unset forw_decode 59 | set copy=yes # always save a copy of outgoing messages 60 | set noconfirmappend 61 | set confirmcreate 62 | set auto_tag # always operate on tagged messages 63 | set sort = threads 64 | set sort_aux = mailbox-order 65 | unset mark_old 66 | set reverse_alias 67 | set reverse_name 68 | unset beep_new 69 | set fast_reply 70 | #set folder = ~/Mail 71 | set ispell = /usr/local/bin/ispell 72 | set mail_check = 5 73 | set history = 100 74 | unset metoo 75 | set reply_to = no 76 | set collapse_unread 77 | set uncollapse_jump=yes 78 | set postpone=no 79 | set quit=ask-yes 80 | #set envelope_from=yes 81 | 82 | 83 | macro index \cb '/usr/local/bin/urlview %s' 'call urlview to extract URLs out of a message' 84 | macro pager \cb '/usr/local/bin/urlview %s' 'call urlview to extract URLs out of a message' 85 | 86 | set timeout=10 87 | fcc-hook $ "~/Mail/sent" 88 | set fcc_attach # Include attachments in copies of sent messages? 89 | 90 | 91 | 92 | # PGP stuff 93 | 94 | set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f" 95 | set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f" 96 | set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f" 97 | set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" 98 | set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" 99 | set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0x0C20C50E -- -r %r -- %f" 100 | set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0xDEADBEEF -- -r %r -- %f" 101 | set pgp_import_command="gpg --no-verbose --import -v %f" 102 | set pgp_export_command="gpg --no-verbose --export --armor %r" 103 | set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r" 104 | set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r" 105 | set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r" 106 | #set pgp_autosign=yes 107 | #set pgp_sign_as=0xDEADBEEF 108 | #set pgp_replyencrypt=yes 109 | set pgp_timeout=32400 110 | set pgp_good_sign="^gpg: Good signature from" 111 | 112 | 113 | 114 | set postponed="~/Mail/postponed" 115 | set autoedit 116 | unset narrow_tree 117 | set auto_tag 118 | set pager_context=4 119 | set pager_index_lines=10 120 | unset menu_scroll 121 | unset confirmappend 122 | set confirmcreate 123 | set record="=sent" 124 | unset force_name 125 | unset save_name 126 | set delete=yes 127 | set reply_to=ask-no 128 | unset edit_hdrs 129 | set fcc_attach 130 | set forw_format="Fwd: [%a - %s]" 131 | set forw_decode 132 | set hdr_format="%4C %Z %{%b %d} %-20.20L (%3l) %s" 133 | 134 | set help 135 | set use_domain 136 | set include="yes" 137 | set move="no" 138 | set print="yes" 139 | unset prompt_after 140 | set reverse_alias 141 | #set noquote_sig 142 | set to_chars="+ tcf 143 | 144 | 145 | 146 | ## ================= 147 | ## Color definitions 148 | ## ================= 149 | color attachment white magenta 150 | color body cyan default "ftp://[^ ]*" 151 | color body brightgreen default "[[:alnum:]][-+.#_[:alnum:]]*@[-+.[:alnum:]]*[[:alnum:]]" 152 | color body cyan default "" 153 | color bold green default 154 | color error red default 155 | 156 | color header yellow default "^from" 157 | color header green default "^from:" 158 | color header green default "^to:" 159 | color header green default "^cc:" 160 | color header green default "^date:" 161 | color header yellow default "^newsgroups:" 162 | color header yellow default "^reply-to:" 163 | color header brightcyan default "^subject:" 164 | color header red default "^x-spam-rule:" 165 | color header yellow default "^x-mailer:" 166 | color header yellow default "^message-id:" 167 | color header yellow default "^Organization:" 168 | color header yellow default "^Organisation:" 169 | color header yellow default "^User-Agent:" 170 | color header yellow default "^message-id: .*pine" 171 | color header yellow default "^X-Fnord:" 172 | color header yellow default "^X-WebTV-Stationery:" 173 | color header yellow default "^X-Message-Flag:" 174 | 175 | color indicator white blue 176 | color markers red default 177 | color message white blue 178 | 179 | ## ================================================== 180 | ## Colorizing the body of messages (ie in the pager) 181 | ## ================================================== 182 | 183 | color normal white default # pager body 184 | 185 | # Coloring quoted text - coloring the first 7 levels: 186 | color quoted cyan default 187 | color quoted1 yellow default 188 | color quoted2 red default 189 | color quoted3 green default 190 | color quoted4 cyan default 191 | color quoted5 yellow default 192 | color quoted6 red default 193 | color quoted7 green default 194 | 195 | color signature brightred default 196 | color status white blue 197 | color tilde blue default 198 | color tree brightmagenta default 199 | color underline yellow default 200 | color body yellow default "[;:]-[)/(|]" # colorise smileys 201 | color body yellow default "[;:][)/(|]" 202 | color body brightblue default "(http|ftp|news|telnet|finger)://[^ ]*" 203 | 204 | color index yellow default ~N # New 205 | color index yellow default ~O # Old 206 | color index brightgreen default '~p' # mail to myself 207 | color index brightcyan default '~P' # mail from myself 208 | color index magenta default ~F # Flagged 209 | color index blue default ~T # Tagged 210 | color index red default ~D # Deleted 211 | 212 | 213 | 214 | 215 | # Added 11-17 from http://www.dotfiles.com/files/27/315_muttrc.html 216 | set pager_stop=yes 217 | # When set, the internal-pager will not move to the next message when 218 | # you are at the end of a message and invoke the next-page function.:q 219 | 220 | # Header stuff 221 | 222 | ignore * 223 | 224 | unignore From: \ 225 | Subject: \ 226 | Date: \ 227 | To: \ 228 | Cc: 229 | 230 | hdr_order Subject: \ 231 | From: \ 232 | Organization: \ 233 | Organisation: \ 234 | Date: \ 235 | Reply-to: \ 236 | To: \ 237 | Cc: 238 | 239 | # Clear all existing headers 240 | unmy_hdr From: 241 | unmy_hdr Bcc: 242 | unmy_hdr Reply-to: 243 | 244 | set edit_hdrs 245 | -------------------------------------------------------------------------------- /.screenrc: -------------------------------------------------------------------------------- 1 | hardstatus alwayslastline "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H: %l%{..Y} %m/%d %c" 2 | vbell off 3 | encoding UTF-8 4 | defencoding UTF-8 5 | defutf8 on 6 | startup_message off 7 | shell -$SHELL 8 | -------------------------------------------------------------------------------- /.signature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdha/dotfiles/d6d7234c4d9c0fe6444f7476c48f687d22e1fe7c/.signature -------------------------------------------------------------------------------- /.tmux.conf: -------------------------------------------------------------------------------- 1 | unbind C-b 2 | set -g prefix C-a 3 | bind C-a send-prefix 4 | set -g default-terminal "tmux-256color" 5 | set -g history-limit 10000 6 | set -g set-titles on 7 | set -g set-titles-string "#T" 8 | set -g mouse on 9 | 10 | # make scrolling with wheels work 11 | bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'" 12 | bind -n WheelDownPane select-pane -t= \; send-keys -M 13 | -------------------------------------------------------------------------------- /.vimrc: -------------------------------------------------------------------------------- 1 | set list 2 | set ts=4 3 | set tw=79 4 | set number 5 | let base16colorspace=256 " Access colors present in 256 colorspace 6 | colorscheme delek 7 | set background=dark 8 | highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE 9 | highlight ColorColumn ctermbg=gray 10 | 11 | let perl_sub_signatures = 1 12 | 13 | set showbreak=↪\ 14 | "set listchars=tab:▸\ ,eol:¬,trail:~,extends:>,precedes:<,nbsp:• 15 | set list lcs=tab:»·,eol:¬,trail:· 16 | hi SpecialKey cterm=NONE ctermfg=grey gui=NONE guifg=#000066 17 | 18 | "hi SpecialKey ctermfg=grey guifg=grey70 guibg=grey 19 | "set termguicolors 20 | "highlight SpecialKey guifg=#333333 guibg=#111111 21 | 22 | "highlight OverLength ctermbg=red ctermfg=white guibg=#592929 23 | "match OverLength /\%81v.\+/ 24 | 25 | if exists('+colorcolumn') 26 | set colorcolumn=80 27 | else 28 | au BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1) 29 | endif 30 | -------------------------------------------------------------------------------- /.xinitrc: -------------------------------------------------------------------------------- 1 | exec /usr/local/bin/i3 2 | -------------------------------------------------------------------------------- /X11/xorg.conf: -------------------------------------------------------------------------------- 1 | # nvidia-xconfig: X configuration file generated by nvidia-xconfig 2 | # nvidia-xconfig: version 310.14 (root@101amd64-default-job-05) Thu Apr 9 08:58:52 UTC 2015 3 | 4 | Section "ServerLayout" 5 | Identifier "Layout0" 6 | Screen 0 "Screen0" 7 | InputDevice "Keyboard0" "CoreKeyboard" 8 | InputDevice "Mouse0" "CorePointer" 9 | Option "AutoAddDevices" "Off" 10 | Option "Log" "sync" 11 | Option "Xinerama" "0" 12 | EndSection 13 | 14 | Section "Files" 15 | FontPath "/usr/local/share/fonts/Droid/" 16 | FontPath "/usr/local/share/fonts/100dpi/" 17 | FontPath "/usr/local/share/fonts/75dpi/" 18 | FontPath "/usr/local/share/fonts/Droid/" 19 | FontPath "/usr/local/share/fonts/OTF/" 20 | FontPath "/usr/local/share/fonts/TTF/" 21 | FontPath "/usr/local/share/fonts/Type1/" 22 | FontPath "/usr/local/share/fonts/cantarell/" 23 | FontPath "/usr/local/share/fonts/cyrillic/" 24 | FontPath "/usr/local/share/fonts/dejavu/" 25 | FontPath "/usr/local/share/fonts/encodings/" 26 | FontPath "/usr/local/share/fonts/misc/" 27 | FontPath "/usr/local/share/fonts/util/" 28 | FontPath "/usr/local/lib/X11/fonts/100dpi/" 29 | FontPath "/usr/local/lib/X11/fonts/75dpi/" 30 | FontPath "/usr/local/lib/X11/fonts/Caladea/" 31 | FontPath "/usr/local/lib/X11/fonts/Carlito/" 32 | FontPath "/usr/local/lib/X11/fonts/CharisSIL/" 33 | FontPath "/usr/local/lib/X11/fonts/DoulosSIL/" 34 | FontPath "/usr/local/lib/X11/fonts/Droid/" 35 | FontPath "/usr/local/lib/X11/fonts/GentiumBasic/" 36 | FontPath "/usr/local/lib/X11/fonts/GentiumPlus/" 37 | FontPath "/usr/local/lib/X11/fonts/Hana/" 38 | FontPath "/usr/local/lib/X11/fonts/Khmer/" 39 | FontPath "/usr/local/lib/X11/fonts/Liberation/" 40 | FontPath "/usr/local/lib/X11/fonts/LinLibertineG/" 41 | FontPath "/usr/local/lib/X11/fonts/Myanmar/" 42 | FontPath "/usr/local/lib/X11/fonts/OTF/" 43 | FontPath "/usr/local/lib/X11/fonts/PataType/" 44 | FontPath "/usr/local/lib/X11/fonts/TTF/" 45 | FontPath "/usr/local/lib/X11/fonts/TrueType/" 46 | FontPath "/usr/local/lib/X11/fonts/Type1/" 47 | FontPath "/usr/local/lib/X11/fonts/alee-ttf/" 48 | FontPath "/usr/local/lib/X11/fonts/anonymous-pro/" 49 | FontPath "/usr/local/lib/X11/fonts/artwiz-aleczapka-en/" 50 | FontPath "/usr/local/lib/X11/fonts/bitstream-vera/" 51 | FontPath "/usr/local/lib/X11/fonts/cyrillic/" 52 | FontPath "/usr/local/lib/X11/fonts/dejavu/" 53 | FontPath "/usr/local/lib/X11/fonts/dockapp/" 54 | FontPath "/usr/local/lib/X11/fonts/ecofont/" 55 | FontPath "/usr/local/lib/X11/fonts/encodings/" 56 | FontPath "/usr/local/lib/X11/fonts/fonts-indic/" 57 | FontPath "/usr/local/lib/X11/fonts/fonts-te/" 58 | FontPath "/usr/local/lib/X11/fonts/hebrew/" 59 | FontPath "/usr/local/lib/X11/fonts/junicode/" 60 | FontPath "/usr/local/lib/X11/fonts/koi8-u-gemini/" 61 | FontPath "/usr/local/lib/X11/fonts/local/" 62 | FontPath "/usr/local/lib/X11/fonts/misc/" 63 | FontPath "/usr/local/lib/X11/fonts/misc/:unscaled" 64 | FontPath "/usr/local/lib/X11/fonts/profont/" 65 | FontPath "/usr/local/lib/X11/fonts/proggy_fonts-ttf/" 66 | FontPath "/usr/local/lib/X11/fonts/stix/" 67 | FontPath "/usr/local/lib/X11/fonts/stracke/" 68 | FontPath "/usr/local/lib/X11/fonts/terminus-font/" 69 | FontPath "/usr/local/lib/X11/fonts/ubuntu-font/" 70 | FontPath "/usr/local/lib/X11/fonts/unfonts-core/" 71 | FontPath "/usr/local/lib/X11/fonts/unfonts-extra/" 72 | FontPath "/usr/local/lib/X11/fonts/webfonts/" 73 | FontPath "/usr/local/share/fonts/OTF/" 74 | FontPath "/usr/local/share/fonts/TTF/" 75 | FontPath "/usr/local/share/fonts/TrueType/" 76 | FontPath "/usr/local/share/fonts/amsfonts/" 77 | FontPath "/usr/local/share/fonts/cantarell/" 78 | FontPath "/usr/local/share/fonts/cm-super/" 79 | FontPath "/usr/local/share/fonts/shinonome/" 80 | FontPath "/usr/local/share/fonts/std.ja_JP/" 81 | FontPath "/usr/local/share/fonts/std.zh_CN/" 82 | FontPath "/usr/local/share/font-ipa/" 83 | FontPath "/usr/local/share/font-ipa-uigothic/" 84 | FontPath "/usr/local/share/font-ipaex/" 85 | FontPath "/usr/local/share/font-kochi/" 86 | FontPath "/usr/local/share/font-migmix/" 87 | FontPath "/usr/local/share/font-migu/" 88 | FontPath "/usr/local/share/font-mona-ipa/" 89 | FontPath "/usr/local/share/font-motoya-al/" 90 | FontPath "/usr/local/share/font-sazanami/" 91 | FontPath "/usr/local/share/font-shinonome/" 92 | FontPath "/usr/local/share/font-takao/" 93 | FontPath "/usr/local/share/font-vlgothic/" 94 | EndSection 95 | 96 | Section "InputDevice" 97 | # generated from default 98 | Identifier "Mouse0" 99 | Driver "mouse" 100 | Option "Protocol" "auto" 101 | Option "Device" "/dev/sysmouse" 102 | Option "Emulate3Buttons" "no" 103 | Option "ZAxisMapping" "4 5" 104 | EndSection 105 | 106 | Section "InputDevice" 107 | # generated from default 108 | Identifier "Keyboard0" 109 | Driver "keyboard" 110 | EndSection 111 | 112 | Section "Monitor" 113 | Identifier "Monitor0" 114 | VendorName "Unknown" 115 | ModelName "Unknown" 116 | HorizSync 28.0 - 33.0 117 | VertRefresh 43.0 - 72.0 118 | Option "DPMS" 119 | EndSection 120 | 121 | Section "Device" 122 | Identifier "Device0" 123 | Driver "nvidia" 124 | VendorName "NVIDIA Corporation" 125 | EndSection 126 | 127 | Section "Screen" 128 | Identifier "Screen0" 129 | Device "Device0" 130 | Monitor "Monitor0" 131 | DefaultDepth 24 132 | SubSection "Display" 133 | Depth 24 134 | EndSubSection 135 | EndSection 136 | 137 | Section "Module" 138 | Load "freetype" 139 | Load "bitmap" 140 | Load "type1" 141 | Load "glx" 142 | EndSection 143 | -------------------------------------------------------------------------------- /X11/xorg.conf-laptop: -------------------------------------------------------------------------------- 1 | Section "ServerLayout" 2 | Identifier "X.org Configured" 3 | Screen 0 "Screen0" 0 0 4 | Screen 1 "Screen1" Above "Screen0" 5 | InputDevice "Mouse0" "CorePointer" 6 | InputDevice "Keyboard0" "CoreKeyboard" 7 | #Option "AutoAddDevices" "Off" 8 | Option "BlankTime" "0" 9 | Option "DPMS" "true" 10 | Option "StandbyTime" "0" 11 | Option "SuspendTime" "0" 12 | Option "OffTime" "0" 13 | EndSection 14 | 15 | Section "Files" 16 | ModulePath "/usr/local/lib/xorg/modules" 17 | FontPath "/usr/local/lib/X11/fonts/100dpi/" 18 | FontPath "/usr/local/lib/X11/fonts/75dpi/" 19 | FontPath "/usr/local/lib/X11/fonts/Caladea/" 20 | FontPath "/usr/local/lib/X11/fonts/Carlito/" 21 | FontPath "/usr/local/lib/X11/fonts/CharisSIL/" 22 | FontPath "/usr/local/lib/X11/fonts/DoulosSIL/" 23 | FontPath "/usr/local/lib/X11/fonts/Droid/" 24 | FontPath "/usr/local/lib/X11/fonts/GentiumBasic/" 25 | FontPath "/usr/local/lib/X11/fonts/GentiumPlus/" 26 | FontPath "/usr/local/lib/X11/fonts/Hana/" 27 | FontPath "/usr/local/lib/X11/fonts/Khmer/" 28 | FontPath "/usr/local/lib/X11/fonts/Liberation/" 29 | FontPath "/usr/local/lib/X11/fonts/LinLibertineG/" 30 | FontPath "/usr/local/lib/X11/fonts/Myanmar/" 31 | FontPath "/usr/local/lib/X11/fonts/OTF/" 32 | FontPath "/usr/local/lib/X11/fonts/PataType/" 33 | FontPath "/usr/local/lib/X11/fonts/TTF/" 34 | FontPath "/usr/local/lib/X11/fonts/TrueType/" 35 | FontPath "/usr/local/lib/X11/fonts/Type1/" 36 | FontPath "/usr/local/lib/X11/fonts/alee-ttf/" 37 | FontPath "/usr/local/lib/X11/fonts/anonymous-pro/" 38 | FontPath "/usr/local/lib/X11/fonts/artwiz-aleczapka-en/" 39 | FontPath "/usr/local/lib/X11/fonts/bitstream-vera/" 40 | FontPath "/usr/local/lib/X11/fonts/cyrillic/" 41 | FontPath "/usr/local/lib/X11/fonts/dejavu/" 42 | FontPath "/usr/local/lib/X11/fonts/dockapp/" 43 | FontPath "/usr/local/lib/X11/fonts/ecofont/" 44 | FontPath "/usr/local/lib/X11/fonts/encodings/" 45 | FontPath "/usr/local/lib/X11/fonts/fonts-indic/" 46 | FontPath "/usr/local/lib/X11/fonts/fonts-te/" 47 | FontPath "/usr/local/lib/X11/fonts/hebrew/" 48 | FontPath "/usr/local/lib/X11/fonts/junicode/" 49 | FontPath "/usr/local/lib/X11/fonts/koi8-u-gemini/" 50 | FontPath "/usr/local/lib/X11/fonts/local/" 51 | FontPath "/usr/local/lib/X11/fonts/misc/" 52 | FontPath "/usr/local/lib/X11/fonts/misc/:unscaled" 53 | FontPath "/usr/local/lib/X11/fonts/profont/" 54 | FontPath "/usr/local/lib/X11/fonts/proggy_fonts-ttf/" 55 | FontPath "/usr/local/lib/X11/fonts/stix/" 56 | FontPath "/usr/local/lib/X11/fonts/stracke/" 57 | FontPath "/usr/local/lib/X11/fonts/terminus-font/" 58 | FontPath "/usr/local/lib/X11/fonts/ubuntu-font/" 59 | FontPath "/usr/local/lib/X11/fonts/unfonts-core/" 60 | FontPath "/usr/local/lib/X11/fonts/unfonts-extra/" 61 | FontPath "/usr/local/lib/X11/fonts/webfonts/" 62 | FontPath "/usr/local/share/fonts/OTF/" 63 | FontPath "/usr/local/share/fonts/TTF/" 64 | FontPath "/usr/local/share/fonts/TrueType/" 65 | FontPath "/usr/local/share/fonts/amsfonts/" 66 | FontPath "/usr/local/share/fonts/cantarell/" 67 | FontPath "/usr/local/share/fonts/cm-super/" 68 | FontPath "/usr/local/share/fonts/shinonome/" 69 | FontPath "/usr/local/share/fonts/std.ja_JP/" 70 | FontPath "/usr/local/share/fonts/std.zh_CN/" 71 | FontPath "/usr/local/share/font-ipa/" 72 | FontPath "/usr/local/share/font-ipa-uigothic/" 73 | FontPath "/usr/local/share/font-ipaex/" 74 | FontPath "/usr/local/share/font-kochi/" 75 | FontPath "/usr/local/share/font-migmix/" 76 | FontPath "/usr/local/share/font-migu/" 77 | FontPath "/usr/local/share/font-mona-ipa/" 78 | FontPath "/usr/local/share/font-motoya-al/" 79 | FontPath "/usr/local/share/font-sazanami/" 80 | FontPath "/usr/local/share/font-shinonome/" 81 | FontPath "/usr/local/share/font-takao/" 82 | FontPath "/usr/local/share/font-vlgothic/" 83 | EndSection 84 | 85 | Section "Module" 86 | Load "extmod" 87 | Load "record" 88 | Load "dbe" 89 | Load "glx" 90 | Load "dri" 91 | Load "dri2" 92 | Load "freetype" # added manually 93 | EndSection 94 | 95 | Section "InputDevice" 96 | Identifier "Keyboard0" 97 | Driver "kbd" 98 | EndSection 99 | 100 | Section "InputDevice" 101 | Identifier "Mouse0" 102 | Driver "mouse" 103 | Option "Protocol" "auto" 104 | Option "Device" "/dev/sysmouse" 105 | Option "ZAxisMapping" "4 5 6 7" 106 | EndSection 107 | 108 | Section "Monitor" 109 | Identifier "Laptop Monitor" 110 | Option "Monitor-LVDS1" "Laptop Monitor" 111 | EndSection 112 | 113 | Section "Monitor" 114 | Identifier "External Monitor" 115 | Option "Monitor-VGA1" "External Monitor" 116 | EndSection 117 | 118 | Section "Device" 119 | Identifier "Card0" 120 | Driver "intel" 121 | 122 | BusID "PCI:0:2:0" 123 | EndSection 124 | 125 | Section "Device" 126 | Identifier "Card1" 127 | Driver "intel" 128 | BusID "PCI:0:2:0" 129 | EndSection 130 | 131 | Section "Screen" 132 | Identifier "Screen0" 133 | Device "Card0" 134 | Monitor "Laptop Monitor" 135 | SubSection "Display" 136 | Viewport 0 0 137 | Depth 24 138 | EndSubSection 139 | EndSection 140 | 141 | Section "Screen" 142 | Identifier "Screen1" 143 | Device "Card1" 144 | Monitor "External Monitor" 145 | SubSection "Display" 146 | Viewport 0 0 147 | Depth 24 148 | EndSubSection 149 | EndSection 150 | -------------------------------------------------------------------------------- /pf.conf: -------------------------------------------------------------------------------- 1 | ext_if = "em0" 2 | tcp_services = "{ssh, https}" 3 | 4 | icmp_types = "{echoreq, unreach}" 5 | icmp6_types = "{echoreq, unreach, 133, 134, 135, 136, 137}" 6 | 7 | tcp_state = "flags S/SA keep state" 8 | udp_state = "keep state" 9 | 10 | set block-policy drop 11 | set skip on lo0 12 | 13 | scrub in on $ext_if all fragment reassemble 14 | 15 | block in log all 16 | pass out quick modulate state 17 | 18 | antispoof for $ext_if inet 19 | antispoof for $ext_if inet6 20 | 21 | block in from urpf-failed to any 22 | block in quick on $ext_if from any to 255.255.255.255 23 | 24 | pass in on $ext_if inet proto tcp from any to any port $tcp_services $tcp_state 25 | pass in on $ext_if inet6 proto tcp from any to any port $tcp_services $tcp_state 26 | 27 | pass inet proto icmp all icmp-type $icmp_types keep state 28 | pass inet6 proto icmp6 all icmp6-type $icmp6_types keep state 29 | -------------------------------------------------------------------------------- /rc.conf: -------------------------------------------------------------------------------- 1 | hostname="gaea" 2 | 3 | ifconfig_em0="DHCP" 4 | 5 | sshd_enable="YES" 6 | pf_enable="YES" 7 | 8 | dumpdev="AUTO" 9 | 10 | zfs_enable="YES" 11 | 12 | moused_enable="YES" 13 | 14 | powerd_enable="YES" 15 | powerd_flags="-a hiadaptive -b adaptive" 16 | 17 | ntpd_enable="YES" 18 | ntpd_flags="-g" 19 | 20 | hald_enable="YES" 21 | dbus_enable="YES" 22 | slim_enable="YES" 23 | -------------------------------------------------------------------------------- /rc.conf-laptop: -------------------------------------------------------------------------------- 1 | hostname="titan" 2 | 3 | wlans_iwn0="wlan0" 4 | ifconfig_wlan0="-ht WPA DHCP" 5 | 6 | sshd_enable="YES" 7 | 8 | moused_enable="YES" 9 | 10 | ntpd_enable="YES" 11 | ntpd_flags="-g" 12 | 13 | powerd_enable="YES" 14 | powerd_flags="-a hiadaptive -b adaptive" 15 | 16 | dumpdev="AUTO" 17 | pf_enable="YES" 18 | 19 | hald_enable="YES" 20 | dbus_enable="YES" 21 | 22 | smartd_enable="YES" 23 | slim_enable="YES" 24 | -------------------------------------------------------------------------------- /sysctl.conf: -------------------------------------------------------------------------------- 1 | # $FreeBSD: releng/10.2/etc/sysctl.conf 112200 2003-03-13 18:43:50Z mux $ 2 | # 3 | # This file is read when going to multi-user and its contents piped thru 4 | # ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details. 5 | # 6 | 7 | # Uncomment this to prevent users from seeing information about processes that 8 | # are being run under another UID. 9 | #security.bsd.see_other_uids=0 10 | 11 | # Enhance shared memory X11 interface 12 | kern.ipc.shmmax=67108864 13 | kern.ipc.shmall=32768 14 | 15 | # Enhance desktop responsiveness under high CPU use (200/224) 16 | kern.sched.preempt_thresh=224 17 | 18 | # Bump up maximum number of open files 19 | kern.maxfiles=200000 20 | 21 | # Disable PC Speaker 22 | hw.syscons.bell=0 23 | 24 | # Shared memory for Chromium 25 | kern.ipc.shm_allow_removed=1 26 | 27 | compat.linux.osrelease=2.6.18 28 | -------------------------------------------------------------------------------- /txt/freebsd_x220_notes.md: -------------------------------------------------------------------------------- 1 | ## Info 2 | 3 | * Battery life: http://www.cyberciti.biz/faq/freebsd-finding-out-battery-life-state-on-laptop/ 4 | * https://www.banym.de/freebsd/install-freebsd-11-on-thinkpad-t420 5 | * https://cooltrainer.org/a-freebsd-desktop-howto/ 6 | * https://forums.freebsd.org/threads/thinkpad-x220-and-the-upcoming-freebsd-10.42716/ 7 | * https://github.com/jfrazelle/dotfiles 8 | * http://www.schmidp.com/2014/01/07/zfs-full-disk-encryption-with-freebsd-10-part-2/ 9 | 10 | ### X220 11 | 12 | * http://www.myfixguide.com/manual/lenovo-thinkpad-x220-disassembly/ 13 | * https://support.lenovo.com/us/en/docs/MIGR-77127 14 | * http://www.lenovo.com/shop/americas/content/user_guides/x220_x220i_x220tablet_x220itablet_ug_en.pdf 15 | 16 | ## Install 17 | 18 | * Partition drive (laptop) to create UFS root, ZFS partition 19 | 20 | ## ZFS 21 | 22 | * zfsroot on UEFI not supported in 10.x 23 | 24 | ## Network 25 | 26 | ``` 27 | ifconfig_wlan0="-ht WPA DHCP" 28 | ``` 29 | 30 | The `-ht` is key. Disables 802.11n, which `iwn` has problems with. 31 | 32 | ## Update system 33 | 34 | ``` 35 | freebsd-update fetch 36 | freebsd-update install 37 | ``` 38 | 39 | ## Desktop settings 40 | 41 | Mostly follow: 42 | 43 | * https://cooltrainer.org/a-freebsd-desktop-howto/ 44 | * https://forums.freebsd.org/threads/thinkpad-x220-and-the-upcoming-freebsd-10.42716/ 45 | 46 | ## X11 47 | 48 | ``` 49 | pkg install xorg i3 i3lock i3status dmenu bash sakura slim firefox vim openvpn \ 50 | screen smartmontools mutt 51 | 52 | pkg install zh-arphicttf ja-font-std zh-font-std iw-culmus iw-elmar-fonts \ 53 | ja-font-ipa ja-font-ipa-uigothic ja-font-ipaex ja-font-kochi ja-font-migmix \ 54 | ja-font-migu ja-font-mona-ipa ja-font-motoya-al ja-font-mplus-ipa \ 55 | ja-font-sazanami ja-font-shinonome ja-font-takao ja-font-ume ja-font-vlgothic \ 56 | hanazono-fonts-ttf ko-aleefonts-ttf ko-nanumfonts-ttf ko-unfonts-core \ 57 | anonymous-pro artwiz-aleczapka-en dejavu inconsolata-ttf terminus-font \ 58 | cantarell-fonts droid-fonts-ttf DoulosSIL ubuntu-font fonts-te isabella-ttf \ 59 | ecofont junicode khmeros padauk stixfonts CharisSIL urwfonts-ttf \ 60 | cyr-rfx-koi8-o paratype 61 | ``` 62 | 63 | Add font paths to xorg.conf Files section. 64 | 65 | ### slim 66 | 67 | ``` 68 | echo "slim_enable=yes" >> /etc/rc.conf 69 | ``` 70 | 71 | Pull in dotfiles.git. 72 | --------------------------------------------------------------------------------