Skip to content

Instantly share code, notes, and snippets.

@gilbertw1
Last active July 3, 2025 21:23
Show Gist options
  • Save gilbertw1/81ef4b0bcf3ddefa4b18 to your computer and use it in GitHub Desktop.
Save gilbertw1/81ef4b0bcf3ddefa4b18 to your computer and use it in GitHub Desktop.

Revisions

  1. gilbertw1 revised this gist Mar 11, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,6 @@
    - [Sound](#sound)
    - [Bluetooth](#bluetooth)
    - [Facetime HD](#facetime-hd)
    - [Keybindings](#keybindings)
    - [Networking](#networking)
    - [Power](#power)
    - [Printing](#printing)
    @@ -18,6 +17,7 @@
    - [HiDPI](#hidpi)
    - [Xmonad Startup](#xmonad-startup)
    - [Packages](#packages)
    - [Keybindings](#keybindings)


    ## Installation
  2. gilbertw1 revised this gist Mar 11, 2016. 1 changed file with 74 additions and 49 deletions.
    123 changes: 74 additions & 49 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -254,54 +254,6 @@



    ## Keybindings

    **Window Mgmt (Xmonad - Custom)**

    - Switch Workspace: ```<cmd> + <l/r arrow>```
    - Move App Workspace: ```<cmd> + <shift> + <l/r arrow>```
    - Switch Screen: ```<cmd> + <u/d arrow>```
    - Move App Screen: ```<cmd> + <shift> + <u/d arrow>```
    - Switch Pane: ```<cmd> + j/k```
    - Move App Pane: ```<cmd> + <shift> + j/k```
    - Switch n Workspace: ```<cmd> + n```
    - Switch Screen (1/2/3): ```<cmd> + w/e/r```
    - Cycle Layout: ```<cmd> + <space>```
    - Adjust Layout Master Pane Size: ```<cmd> + h/l```
    - Adjust Master Pane Include Count ```<cmd> + ,/.```
    - Move Selected Pane to Master: ```<cmd> + <enter>```
    - Rofi App Launcher: ```<cmd> + p```


    **Window Mgmt (awesome)**

    - Client == Window
    - Tag == Screen
    - Switch Tag (Screen): ```<cmd> + <arrow>```
    - Switch Previous Client (Window): ```<cmd> + j```
    - Switch Next Client (Window): ```<cmd> + k```
    + Move Client: add <shift> modifier
    - Toggle Client Floating: ```<cmd> + <ctrl> + <space>```
    - Maximize Client: ```<cmd> + m```
    - Minimize Client: ```<cmd> + n```
    - Fullscreen Client: ```<cmd> + f```
    - Restore All Minimized Clients: ```<cmd> + <ctrl> + n```
    - Switch Layout: ```<cmd> + <space>```
    - Move Client to Tag: ```<cmd> + <shift> + <num>```

    **Editing**

    - Home: ```<fn> + <left arrow>```
    - End: ```<fn> + <right arrow>```
    - Page Up: ```<fn> + <up arrow>```
    - Page Down: ```<fn> + <down arrow>```
    - Beginning: ```<fn> + <ctrl> + <left arrow>```
    - End: ```<fn> + <ctrl> + <right arrow>```
    - Next Tab: ```<fn> + <ctrl> + <down arrow>```
    - Prev Tab: ```<fn> + <ctrl> + <up arrow>```



    ## Networking

    **Broadcom Drivers**
    @@ -483,6 +435,29 @@

    ## Packages


    #### Installing

    Install from Arch Repository

    sudo pacman -S <package-name>

    Install from Arch User Repository (AUR)

    yaourt -S <package-name>


    #### Updating Packages / Repositories

    Update from Arch Repository

    sudo pacman -Syu

    Update from Arch User Repository

    sudo yaourt -Syu --aur


    #### GUI

    - **URxvt (Default terminal):** ```rxvt-unicode urxvt-perls```
    @@ -514,6 +489,8 @@
    - **Gimp:** ```gimp```
    - **Libre Office:** ```libreoffice-fresh```
    - **Open Broadcaster:** ```obs-studio (aur)```
    - **VirtualBox:** ```virtualbox (aur)```
    - ```sudo modprobe vboxdrv```


    #### CLI
    @@ -550,4 +527,52 @@
    - **Flash Plugin:** ```flashplugin```
    - **Flat Studio GTK:** ```gtk-theme-flatstudio (aur)```
    - **Trayer SRG:** ```trayer-srg (aur)```
    - **Mopidy + Spotify (Music Daemon):** ```mopidy mopidy-spotify (aur)```
    - **Mopidy + Spotify (Music Daemon):** ```mopidy mopidy-spotify (aur)```



    ## Keybindings

    **Window Mgmt (Xmonad - Custom)**

    - Switch Workspace: ```<cmd> + <l/r arrow>```
    - Move App Workspace: ```<cmd> + <shift> + <l/r arrow>```
    - Switch Screen: ```<cmd> + <u/d arrow>```
    - Move App Screen: ```<cmd> + <shift> + <u/d arrow>```
    - Switch Pane: ```<cmd> + j/k```
    - Move App Pane: ```<cmd> + <shift> + j/k```
    - Switch n Workspace: ```<cmd> + n```
    - Switch Screen (1/2/3): ```<cmd> + w/e/r```
    - Cycle Layout: ```<cmd> + <space>```
    - Adjust Layout Master Pane Size: ```<cmd> + h/l```
    - Adjust Master Pane Include Count ```<cmd> + ,/.```
    - Move Selected Pane to Master: ```<cmd> + <enter>```
    - Rofi App Launcher: ```<cmd> + p```


    **Window Mgmt (awesome)**

    - Client == Window
    - Tag == Screen
    - Switch Tag (Screen): ```<cmd> + <arrow>```
    - Switch Previous Client (Window): ```<cmd> + j```
    - Switch Next Client (Window): ```<cmd> + k```
    + Move Client: add <shift> modifier
    - Toggle Client Floating: ```<cmd> + <ctrl> + <space>```
    - Maximize Client: ```<cmd> + m```
    - Minimize Client: ```<cmd> + n```
    - Fullscreen Client: ```<cmd> + f```
    - Restore All Minimized Clients: ```<cmd> + <ctrl> + n```
    - Switch Layout: ```<cmd> + <space>```
    - Move Client to Tag: ```<cmd> + <shift> + <num>```

    **Editing**

    - Home: ```<fn> + <left arrow>```
    - End: ```<fn> + <right arrow>```
    - Page Up: ```<fn> + <up arrow>```
    - Page Down: ```<fn> + <down arrow>```
    - Beginning: ```<fn> + <ctrl> + <left arrow>```
    - End: ```<fn> + <ctrl> + <right arrow>```
    - Next Tab: ```<fn> + <ctrl> + <down arrow>```
    - Prev Tab: ```<fn> + <ctrl> + <up arrow>```
  3. gilbertw1 revised this gist Mar 7, 2016. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -404,11 +404,11 @@

    ranger --copy-config=all

    - Ascii Art Preview
    - Ascii Art Preview

    sudo pacman -S libcaca

    - Foxit Reader (default pdf viewer)
    - Foxit Reader (default pdf viewer)

    vim ~/.config/ranger/rifle.conf
    # ext pdf = foxitreader "$@"
  4. gilbertw1 revised this gist Mar 7, 2016. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -404,14 +404,14 @@

    ranger --copy-config=all

    - Ascii Art Preview
    - Ascii Art Preview

    sudo pacman -S libcaca
    sudo pacman -S libcaca

    - Foxit Reader (default pdf viewer)
    - Foxit Reader (default pdf viewer)

    vim ~/.config/ranger/rifle.conf
    # ext pdf = foxitreader "$@"
    vim ~/.config/ranger/rifle.conf
    # ext pdf = foxitreader "$@"



  5. gilbertw1 revised this gist Mar 7, 2016. 1 changed file with 26 additions and 5 deletions.
    31 changes: 26 additions & 5 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -16,6 +16,7 @@
    - [Random](#random)
    - [Appearance](#appearance)
    - [HiDPI](#hidpi)
    - [Xmonad Startup](#xmonad-startup)
    - [Packages](#packages)


    @@ -220,7 +221,7 @@

    **Volume Applet**

    sudo pacman -S volumeicon
    sudo pacman -S pasystray



    @@ -239,6 +240,10 @@

    sudo pacman -S blueman blueman-applet

    **Start Blueman Applet (startup)**

    blueman-applet



    ## Facetime HD
    @@ -319,7 +324,7 @@

    **Start Network Manager Applet (startup)**

    nm-applet
    nm-applet --sm-disable

    **SSH**

    @@ -401,12 +406,12 @@

    - Ascii Art Preview

    sudo pacman -S libcaca
    sudo pacman -S libcaca

    - Foxit Reader (default pdf viewer)

    vim ~/.config/ranger/rifle.conf
    # ext pdf = foxitreader "$@"
    vim ~/.config/ranger/rifle.conf
    # ext pdf = foxitreader "$@"



    @@ -460,6 +465,22 @@



    ## Xmonad Startup

    **Set Desktop Wallpaper**

    feh --bg-scale /path/to/wallpaper.jpg

    **Initialize Cursor**

    xsetroot -cursor_name left_ptr

    **Start Trayer (System Tray)**

    trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 10 --height 27 --transparent true --alpha 0 --tint 0x242424



    ## Packages

    #### GUI
  6. gilbertw1 revised this gist Mar 7, 2016. 1 changed file with 9 additions and 8 deletions.
    17 changes: 9 additions & 8 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -185,6 +185,15 @@

    kbdlight max

    **Fix Tilde Key & Fix F# Keys**

    sudo vim /etc/modprobe.d/hid_apple.conf

    # options hid_apple iso_layout=0
    # options hid_apple fnmode=2



    ## Touchpad

    **Basic Support**
    @@ -195,14 +204,6 @@

    xinput set-button-map 12 1 2 3 5 4 7 6

    **Fix Tilde Key & Fix F# Keys**

    sudo vim /etc/modprobe.d/hid_apple.conf

    # options hid_apple iso_layout=0
    # options hid_apple fnmode=2




    ## Sound
  7. gilbertw1 revised this gist Mar 7, 2016. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -253,7 +253,7 @@
    **Window Mgmt (Xmonad - Custom)**

    - Switch Workspace: ```<cmd> + <l/r arrow>```
    - Move App Workspace: ```<cmd> + <l/r arrow>```
    - Move App Workspace: ```<cmd> + <shift> + <l/r arrow>```
    - Switch Screen: ```<cmd> + <u/d arrow>```
    - Move App Screen: ```<cmd> + <shift> + <u/d arrow>```
    - Switch Pane: ```<cmd> + j/k```
    @@ -262,7 +262,7 @@
    - Switch Screen (1/2/3): ```<cmd> + w/e/r```
    - Cycle Layout: ```<cmd> + <space>```
    - Adjust Layout Master Pane Size: ```<cmd> + h/l```
    - Adjust Master Pane Include Count ```<cmd> + ,/.
    - Adjust Master Pane Include Count ```<cmd> + ,/.```
    - Move Selected Pane to Master: ```<cmd> + <enter>```
    - Rofi App Launcher: ```<cmd> + p```

  8. gilbertw1 revised this gist Mar 6, 2016. 1 changed file with 26 additions and 0 deletions.
    26 changes: 26 additions & 0 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -8,6 +8,7 @@
    - [Touchpad](#touchpad)
    - [Sound](#sound)
    - [Bluetooth](#bluetooth)
    - [Facetime HD](#facetime-hd)
    - [Keybindings](#keybindings)
    - [Networking](#networking)
    - [Power](#power)
    @@ -239,8 +240,33 @@



    ## Facetime HD

    **Install Experimental Facetime HD Driver**

    yaourt -S bcwc-pcie-git



    ## Keybindings

    **Window Mgmt (Xmonad - Custom)**

    - Switch Workspace: ```<cmd> + <l/r arrow>```
    - Move App Workspace: ```<cmd> + <l/r arrow>```
    - Switch Screen: ```<cmd> + <u/d arrow>```
    - Move App Screen: ```<cmd> + <shift> + <u/d arrow>```
    - Switch Pane: ```<cmd> + j/k```
    - Move App Pane: ```<cmd> + <shift> + j/k```
    - Switch n Workspace: ```<cmd> + n```
    - Switch Screen (1/2/3): ```<cmd> + w/e/r```
    - Cycle Layout: ```<cmd> + <space>```
    - Adjust Layout Master Pane Size: ```<cmd> + h/l```
    - Adjust Master Pane Include Count ```<cmd> + ,/.
    - Move Selected Pane to Master: ```<cmd> + <enter>```
    - Rofi App Launcher: ```<cmd> + p```


    **Window Mgmt (awesome)**

    - Client == Window
  9. gilbertw1 revised this gist Mar 5, 2016. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -426,6 +426,11 @@

    export QT_DEVICE_PIXEL_RATIO=1.2

    **Firefox / Thunderbird**

    # about:config
    layout.css.devPixelsPerPx = 1.5



    ## Packages
  10. gilbertw1 revised this gist Feb 28, 2016. 1 changed file with 61 additions and 54 deletions.
    115 changes: 61 additions & 54 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -374,12 +374,12 @@

    - Ascii Art Preview

    sudo pacman -S libcaca
    sudo pacman -S libcaca

    - Foxit Reader (default pdf viewer)

    vim ~/.config/ranger/rifle.conf
    # ext pdf = foxitreader "$@"
    vim ~/.config/ranger/rifle.conf
    # ext pdf = foxitreader "$@"



    @@ -432,62 +432,69 @@

    #### GUI

    - **URxvt (Default terminal):** ```sudo pacman -S rxvt-unicode urxvt-perls```
    - **Firefox (Developer):** ```yaourt -S firefox-developer```
    - **Sublime Text 3:** ```yaourt -S sublim-text-dev```
    - **Google Chrome:** ```yaourt -S google-chrome```
    - **Dropbox:** ```yaourt -S dropbox```
    - **Thunar-Dropbox:** ```yaourt -S thunary-dropbox```
    - **Telegram:** ```yaourt -S telegram-desktop-bin```
    - **Slack:** ```yaourt -S slack-desktop```
    - **Steam:** ```yaourt -S steam```
    - **Termite (terminal):** ```sudo pacman -S termite```
    - **Spotify:** ```yaourt -S spotify```
    - **Datagrip:** ```yaourt -S datagrip```
    - **Parcellite (Clipboart Manager):** ```sudo pacman -S parcellite```
    - **VLC:** ```sudo pacman -S vlc```
    - **Feh (lightweight image viewer):** ```sudo pacman -S feh```
    - **XArchiver:** ```sudo pacman -S xarchiver```
    - **Meld:** ```sudo pacman -S meld```
    - **Deepin Screenshot:** ```sudo pacman -S deepin-screenshot```
    - **rofi (awesome launcher):** ```sudo pacman -S rofi```
    - **Zoom (meetings):** ```yaourt -S zoom```
    - **Zeal (Dash clone):** ```yaourt -S zeal```
    - **Hexchat (IRC):** ```sudo pacman -S hexchat```
    - **Geary (email):** ```sudo pacman -S geary```
    - **Corebird (twitter):** ```sudo pacman -S corebird```
    - **Transmission (torrent):** ```sudo pacman -S transmission-gtk```
    - **Inkscape (vector art):** ```sudo pacman -S inkscape```
    - **Gimp:** ```sudo pacman -S gimp```
    - **Libre Office:** ```sudo pacman -S libreoffice-fresh```
    - **Open Broadcaster:** ```yaourt -S obs-studio```
    - **URxvt (Default terminal):** ```rxvt-unicode urxvt-perls```
    - **Firefox (Developer):** ```firefox-developer (aur)```
    - **Sublime Text 3:** ```sublim-text-dev (aur)```
    - **Google Chrome:** ```google-chrome (aur)```
    - **Dropbox:** ```dropbox (aur)```
    - **Thunar-Dropbox:** ```thunar-dropbox (aur)```
    - **Telegram:** ```telegram-desktop-bin (aur)```
    - **Slack:** ```slack-desktop (aur)```
    - **Steam:** ```steam (aur)```
    - **Termite (terminal):** ```termite```
    - **Spotify:** ```spotify (aur)```
    - **Datagrip:** ```datagrip (aur)```
    - **Parcellite (Clipboart Manager):** ```parcellite```
    - **VLC:** ```vlc```
    - **Feh (lightweight image viewer):** ```feh```
    - **XArchiver:** ```xarchiver```
    - **Meld:** ```meld```
    - **Deepin Screenshot:** ```deepin-screenshot```
    - **rofi (awesome launcher):** ```rofi```
    - **Zoom (meetings):** ```zoom (aur)```
    - **Zeal (Dash clone):** ```zeal (aur)```
    - **Hexchat (IRC):** ```hexchat```
    - **Geary (email):** ```geary```
    - **Corebird (twitter):** ```corebird```
    - **Transmission (torrent):** ```transmission-gtk```
    - **Inkscape (vector art):** ```inkscape```
    - **Gimp:** ```gimp```
    - **Libre Office:** ```libreoffice-fresh```
    - **Open Broadcaster:** ```obs-studio (aur)```


    #### CLI

    - **Archey (System Info):** ```yaourt -S archey-plus```
    - **Speedtest CLI:** ```yaourt -S speedtest-cli```
    - **htop:** ```sudo pacman -S htop```
    - **mlocate:** ```sudo pacman -S mlocate```
    - **tree:** ```sudo pacman -S tree```
    - **vnstat:** ```sudo pacman -S vnstat```
    - **z:** ```yaourt -S z-git```
    - **mutt:** ```sudo pacman -S mutt```5
    - **gcalcli (GCal):** ```yaourt -S gcalcli```
    - **ranger (file browser):** ```sudo pacman -S ranger```
    - **wavemon (wifi analyzer):** ```sudo pacman -S wavemon```
    - **cli-visualizer (audio visualizer):** ```yaourt -S cli-visualizer```
    - **imagemagick:** ```sudo pacman -S imagemagick```
    - **jq (json cli tool):** ```sudo pacman -S jq```
    - **mtr:** ```sudo pacman -S mtr```
    - **ncmpcpp (cli mpd music player client):** ```sudo pacman -S ncmpcpp```
    - **Archey (System Info):** ```archey-plus (aur)```
    - **Speedtest CLI:** ```speedtest-cli (aur)```
    - **htop:** ```htop```
    - **mlocate:** ```mlocate```
    - ```sudo updatedb # create search database```
    - ```locate file # searches filesystem for 'file'```
    - **tree:** ```tree```
    - **vnstat:** ```vnstat```
    - **z:** ```z-git (aur)```
    - **mutt:** ```mutt```5
    - **gcalcli (GCal):** ```gcalcli (aur)```
    - **ranger (file browser):** ```ranger```
    - **wavemon (wifi analyzer):** ```wavemon```
    - **cli-visualizer (audio visualizer):** ```cli-visualizer (aur)```
    - **imagemagick:** ```imagemagick```
    - ```convert file1.png file2.png file3.png +append combined.png # concatenate three images```
    - **jq (json cli tool):** ```jq```
    - ```cat file.json | jq '.' # format json file```
    - **mtr:** ```mtr```
    - **ncmpcpp (cli mpd music player client):** ```ncmpcpp```
    - **nmap (network scanner):** ```nmap```
    - ```nmap 10.0.1.0/24 # Scan 256 address beginning with 10.0.1.0```
    - **w3m (browser):** ```w3m```


    #### Other

    - **Meslo Font:** ```yaourt -S ttf-meslo```
    - **Java Web Plugin:** ```sudo pacman -S icedtea-web```
    - **Flash Plugin:** ```sudo pacman -S flashplugin```
    - **Flat Studio GTK:** ```yaourt -S gtk-theme-flatstudio```
    - ** Trayer SRG:** ```yaourt -S trayer-srg```
    - **Mopidy + Spotify (Music Daemon):** ```yaourt -S mopidy mopidy-spotify```
    - **Meslo Font:** ```ttf-meslo (aur)```
    - **Java Web Plugin:** ```icedtea-web```
    - **Flash Plugin:** ```flashplugin```
    - **Flat Studio GTK:** ```gtk-theme-flatstudio (aur)```
    - **Trayer SRG:** ```trayer-srg (aur)```
    - **Mopidy + Spotify (Music Daemon):** ```mopidy mopidy-spotify (aur)```
  11. gilbertw1 revised this gist Feb 22, 2016. 1 changed file with 31 additions and 4 deletions.
    35 changes: 31 additions & 4 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -93,6 +93,10 @@
    pacman -S xorg-server xorg-xinit xorg-server-utils mesa
    pacman -S xorg-twm xorg-xclock xterm # basic components

    **XMonad**

    pacman -S xmonad xmonad-contrib xmobar trayer

    **Awesome WM**

    sudo pacman -S awesome vicious
    @@ -103,6 +107,7 @@

    **Start WM with X**

    echo "exec xmonad" >> ~/.xinitrc # OR
    echo "exec awesome" >> ~/.xinitrc # OR
    echo "exec startxfce4" >> ~/.xinitrc

    @@ -203,7 +208,8 @@

    **PulseAudio**

    sudo pacman -S pulseaudio pulseaudio-bluetooth pulseaudio-alsa pa-prefs pa-systray
    sudo pacman -S pulseaudio pulseaudio-bluetooth pulseaudio-alsa paprefs
    yaourt -S pasystray

    **Control**

    @@ -426,14 +432,16 @@

    #### GUI

    - **URxvt (Default terminal):** ```sudo pacman -S rxvt-unicode urxvt-perls```
    - **Firefox (Developer):** ```yaourt -S firefox-developer```
    - **Sublime Text 3:** ```yaourt -S sublim-text-dev```
    - **Google Chrome:** ```yaourt -S google-chrome```
    - **Dropbox:** ```yaourt -S dropbox```
    - **Thunar-Dropbox:** ```yaourt -S thunary-dropbox```
    - **Telegram:** ```yaourt -S telegram-desktop-bin```
    - **Slack:** ```yaourt -S slack-desktop```
    - **Termite (Set default awesome terminal):** ```sudo pacman -S termite```
    - **Steam:** ```yaourt -S steam```
    - **Termite (terminal):** ```sudo pacman -S termite```
    - **Spotify:** ```yaourt -S spotify```
    - **Datagrip:** ```yaourt -S datagrip```
    - **Parcellite (Clipboart Manager):** ```sudo pacman -S parcellite```
    @@ -447,9 +455,12 @@
    - **Zeal (Dash clone):** ```yaourt -S zeal```
    - **Hexchat (IRC):** ```sudo pacman -S hexchat```
    - **Geary (email):** ```sudo pacman -S geary```
    - **Corebird (twitter):** ```sudo pacman -S corebird```
    - **Transmission (torrent):** ```sudo pacman -S transmission-gtk```
    - **Inkscape (vector art):** ```sudo pacman -S inkscape```
    - **Gimp:** ```sudo pacman -S gimp```
    - **Libre Office:** ```sudo pacman -S libreoffice-fresh```
    - **Open Broadcaster:** ```yaourt -S obs-studio```


    #### CLI
    @@ -461,6 +472,22 @@
    - **tree:** ```sudo pacman -S tree```
    - **vnstat:** ```sudo pacman -S vnstat```
    - **z:** ```yaourt -S z-git```
    - **mutt:** ```sudo pacman -S mutt```
    - **mutt:** ```sudo pacman -S mutt```5
    - **gcalcli (GCal):** ```yaourt -S gcalcli```
    - **ranger (file browser):** ```sudo pacman -S ranger```
    - **ranger (file browser):** ```sudo pacman -S ranger```
    - **wavemon (wifi analyzer):** ```sudo pacman -S wavemon```
    - **cli-visualizer (audio visualizer):** ```yaourt -S cli-visualizer```
    - **imagemagick:** ```sudo pacman -S imagemagick```
    - **jq (json cli tool):** ```sudo pacman -S jq```
    - **mtr:** ```sudo pacman -S mtr```
    - **ncmpcpp (cli mpd music player client):** ```sudo pacman -S ncmpcpp```


    #### Other

    - **Meslo Font:** ```yaourt -S ttf-meslo```
    - **Java Web Plugin:** ```sudo pacman -S icedtea-web```
    - **Flash Plugin:** ```sudo pacman -S flashplugin```
    - **Flat Studio GTK:** ```yaourt -S gtk-theme-flatstudio```
    - ** Trayer SRG:** ```yaourt -S trayer-srg```
    - **Mopidy + Spotify (Music Daemon):** ```yaourt -S mopidy mopidy-spotify```
  12. gilbertw1 revised this gist Feb 22, 2016. No changes.
  13. gilbertw1 revised this gist Feb 11, 2016. 1 changed file with 8 additions and 2 deletions.
    10 changes: 8 additions & 2 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -179,8 +179,6 @@

    kbdlight max



    ## Touchpad

    **Basic Support**
    @@ -191,6 +189,14 @@

    xinput set-button-map 12 1 2 3 5 4 7 6

    **Fix Tilde Key & Fix F# Keys**

    sudo vim /etc/modprobe.d/hid_apple.conf

    # options hid_apple iso_layout=0
    # options hid_apple fnmode=2




    ## Sound
  14. gilbertw1 revised this gist Feb 10, 2016. 1 changed file with 40 additions and 1 deletion.
    41 changes: 40 additions & 1 deletion mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -14,6 +14,7 @@
    - [Printing](#printing)
    - [Random](#random)
    - [Appearance](#appearance)
    - [HiDPI](#hidpi)
    - [Packages](#packages)


    @@ -355,6 +356,20 @@
    sudo echo 'fs.inotify.max_user_watches = 1048576' >> /usr/lib/sysctl.d/50-default.conf
    sudo echo 'fs.inotify.max_user_instances = 256' >> /usr/lib/sysctl.d/50-default.conf

    **Ranger Configuration**

    ranger --copy-config=all

    - Ascii Art Preview

    sudo pacman -S libcaca

    - Foxit Reader (default pdf viewer)

    vim ~/.config/ranger/rifle.conf
    # ext pdf = foxitreader "$@"




    ## Appearance
    @@ -378,6 +393,29 @@



    ## HiDPI

    **XFCE**

    xfce4-appearance-settings
    # Fonts -> Custom DPI Setting -> 130

    **Spotify**

    sudo vim /usr/bin/spotify
    # add: --force-device-scale-factor=1.5

    **Xresources**

    vim .Xresources
    # Xft.dpi: 120

    **QT**

    export QT_DEVICE_PIXEL_RATIO=1.2



    ## Packages

    #### GUI
    @@ -418,4 +456,5 @@
    - **vnstat:** ```sudo pacman -S vnstat```
    - **z:** ```yaourt -S z-git```
    - **mutt:** ```sudo pacman -S mutt```
    - **gcalcli (GCal):** ```sudo yaourt -S gcalcli```
    - **gcalcli (GCal):** ```yaourt -S gcalcli```
    - **ranger (file browser):** ```sudo pacman -S ranger```
  15. gilbertw1 revised this gist Feb 9, 2016. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -274,6 +274,9 @@
    sudo pacman -S networkmanager-openvpn
    sudo pacman -S gnome-keyring

    systemctl enable NetworkManager
    systemctl start NetworkManager

    **Start Network Manager Applet (startup)**

    nm-applet
  16. gilbertw1 revised this gist Feb 6, 2016. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -145,7 +145,11 @@

    **Brightness**

    xbacklight -set 50 # sets brightness to 50%
    yaourt -S light-git
    light -S 50 # sets brightness to 50%
    light -U 10 # decrease by 10%
    light -A 10 # increase by 10%


    **XScreensaver**

  17. gilbertw1 revised this gist Feb 6, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -163,7 +163,7 @@

    **Disable LID Wakeup (Prevents proper suspend when lid open)**

    sudo vim /home/gilbertw1/Dropbox/env/files/arch/etc/tmpfiles.d/disable-lid0-wake.conf
    sudo vim etc/tmpfiles.d/disable-lid0-wake.conf

    # w /proc/acpi/wakeup - - - - LID0

  18. gilbertw1 revised this gist Feb 6, 2016. 1 changed file with 10 additions and 0 deletions.
    10 changes: 10 additions & 0 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -60,6 +60,10 @@
    echo LANGUAGE=en_US >> /etc/locale.conf
    echo LC_ALL=C >> /etc/locale.conf

    vim /etc/locale.gen
    # uncomment en_US.UTF-8
    locale-gen

    # set root password
    passwd

    @@ -280,6 +284,12 @@

    ## Power

    **Enable MBP Fan Usage**

    yaourt -S mbpfan-git
    sudo systemctl enable mbpfan
    sudo systemctl start mbpfan

    **Enable Automated Power Regulation**

    sudo pacman -S tlp
  19. gilbertw1 revised this gist Feb 3, 2016. 1 changed file with 10 additions and 1 deletion.
    11 changes: 10 additions & 1 deletion mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -381,6 +381,14 @@
    - **XArchiver:** ```sudo pacman -S xarchiver```
    - **Meld:** ```sudo pacman -S meld```
    - **Deepin Screenshot:** ```sudo pacman -S deepin-screenshot```
    - **rofi (awesome launcher):** ```sudo pacman -S rofi```
    - **Zoom (meetings):** ```yaourt -S zoom```
    - **Zeal (Dash clone):** ```yaourt -S zeal```
    - **Hexchat (IRC):** ```sudo pacman -S hexchat```
    - **Geary (email):** ```sudo pacman -S geary```
    - **Transmission (torrent):** ```sudo pacman -S transmission-gtk```
    - **Inkscape (vector art):** ```sudo pacman -S inkscape```
    - **Gimp:** ```sudo pacman -S gimp```


    #### CLI
    @@ -392,4 +400,5 @@
    - **tree:** ```sudo pacman -S tree```
    - **vnstat:** ```sudo pacman -S vnstat```
    - **z:** ```yaourt -S z-git```
    - **mutt:** ```sudo pacman -S mutt```
    - **mutt:** ```sudo pacman -S mutt```
    - **gcalcli (GCal):** ```sudo yaourt -S gcalcli```
  20. gilbertw1 revised this gist Feb 2, 2016. 1 changed file with 23 additions and 1 deletion.
    24 changes: 23 additions & 1 deletion mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -7,13 +7,14 @@
    - [Keyboard](#keyboard)
    - [Touchpad](#touchpad)
    - [Sound](#sound)
    - [Bluetooth](#bluetooth)
    - [Keybindings](#keybindings)
    - [Networking](#networking)
    - [Power](#power)
    - [Printing](#printing)
    - [Random](#random)
    - [Appearance](#appearance)
    - [Oackages](#packages)
    - [Packages](#packages)


    ## Installation
    @@ -185,6 +186,10 @@

    ## Sound

    **PulseAudio**

    sudo pacman -S pulseaudio pulseaudio-bluetooth pulseaudio-alsa pa-prefs pa-systray

    **Control**

    sudo pacman -S alsa-utils
    @@ -196,6 +201,23 @@



    ## Bluetooth

    **Install Bluetooth Packages**

    sudo pacman -S bluez bluez-utils

    **Start and Enable Bluetooth Service**

    systemctl enable bluetooth
    systemctl start bluetooth

    **Install and Run Blueman**

    sudo pacman -S blueman blueman-applet



    ## Keybindings

    **Window Mgmt (awesome)**
  21. gilbertw1 revised this gist Jan 30, 2016. 1 changed file with 22 additions and 0 deletions.
    22 changes: 22 additions & 0 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -10,6 +10,7 @@
    - [Keybindings](#keybindings)
    - [Networking](#networking)
    - [Power](#power)
    - [Printing](#printing)
    - [Random](#random)
    - [Appearance](#appearance)
    - [Oackages](#packages)
    @@ -287,6 +288,27 @@



    ## Printing

    **Install CUPS + HP Drivers**

    sudo pacman -S cups ghostscript gsfonts hplip
    yaourt -S libcups

    **Enable CUPS Services**

    systemctl enable org.cups.cupsd.service
    systemctl start org.cups.cupsd.service

    systemctl enable org.cups.cupsd-browsed.service
    systemctl start org.cups.cupsd-browsed.service

    **Access Web Interface**

    firefox http://localhost:631/



    ## Random

    **Increase FS Watchers and Instances (Dropbox)**
  22. gilbertw1 revised this gist Jan 28, 2016. 1 changed file with 25 additions and 14 deletions.
    39 changes: 25 additions & 14 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@
    - [Power](#power)
    - [Random](#random)
    - [Appearance](#appearance)
    - [Apps](#apps)
    - [Oackages](#packages)


    ## Installation
    @@ -217,6 +217,10 @@

    - Home: ```<fn> + <left arrow>```
    - End: ```<fn> + <right arrow>```
    - Page Up: ```<fn> + <up arrow>```
    - Page Down: ```<fn> + <down arrow>```
    - Beginning: ```<fn> + <ctrl> + <left arrow>```
    - End: ```<fn> + <ctrl> + <right arrow>```
    - Next Tab: ```<fn> + <ctrl> + <down arrow>```
    - Prev Tab: ```<fn> + <ctrl> + <up arrow>```

    @@ -313,28 +317,35 @@



    ## Apps
    ## Packages

    - **Sublime Text 3:** ```yaourt -S sublim-text-dev```
    #### GUI

    - **Firefox (Developer):** ```yaourt -S firefox-developer```
    - **Sublime Text 3:** ```yaourt -S sublim-text-dev```
    - **Google Chrome:** ```yaourt -S google-chrome```

    - **Dropbox:** ```yaourt -S dropbox```

    - **Telegram:** ```yaourt -S telegram-bin```

    - **Thunar-Dropbox:** ```yaourt -S thunary-dropbox```
    - **Telegram:** ```yaourt -S telegram-desktop-bin```
    - **Slack:** ```yaourt -S slack-desktop```

    - **Termite (Set default awesome terminal):** ```sudo pacman -S termite```

    - **Spotify:** ```yaourt -S spotify```

    - **Datagrip:** ```yaourt -S datagrip```

    - **Parcellite (Clipboart Manager):** ```sudo pacman -S parcellite```

    - **VLC:** ```sudo pacman -S vlc```

    - **Feh (lightweight image viewer):** ```sudo pacman -S feh```
    - **XArchiver:** ```sudo pacman -S xarchiver```
    - **Meld:** ```sudo pacman -S meld```
    - **Deepin Screenshot:** ```sudo pacman -S deepin-screenshot```


    #### CLI

    - **XArchiver:** ```sudo pacman -S xarchiver```
    - **Archey (System Info):** ```yaourt -S archey-plus```
    - **Speedtest CLI:** ```yaourt -S speedtest-cli```
    - **htop:** ```sudo pacman -S htop```
    - **mlocate:** ```sudo pacman -S mlocate```
    - **tree:** ```sudo pacman -S tree```
    - **vnstat:** ```sudo pacman -S vnstat```
    - **z:** ```yaourt -S z-git```
    - **mutt:** ```sudo pacman -S mutt```
  23. gilbertw1 revised this gist Jan 27, 2016. 1 changed file with 1 addition and 4 deletions.
    5 changes: 1 addition & 4 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -157,11 +157,9 @@

    **Disable LID Wakeup (Prevents proper suspend when lid open)**

    ```
    sudo vim /home/gilbertw1/Dropbox/env/files/arch/etc/tmpfiles.d/disable-lid0-wake.conf

    # w /proc/acpi/wakeup - - - - LID0
    ```


    ## Keyboard
    @@ -268,7 +266,6 @@

    **Install Powertop**

    ```
    sudo pacman -S powertop
    sudo vim /etc/systemd/system/powertop.service

    @@ -283,7 +280,7 @@
    #WantedBy=multi-user.target

    systemctl enable powertop
    ```



    ## Random
  24. gilbertw1 revised this gist Jan 27, 2016. 1 changed file with 66 additions and 2 deletions.
    68 changes: 66 additions & 2 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -119,6 +119,10 @@
    # SigLevel = Never
    # Server = http://repo.archlinux.fr/$arch

    **Suspend**

    systemctl suspend



    ## System Time
    @@ -137,6 +141,27 @@

    xbacklight -set 50 # sets brightness to 50%

    **XScreensaver**

    sudo pacman -S xscreensaver
    xscreensaver-demo

    **Lock Screen (On suspend/hibernate)**

    yaourt -S xss-lock
    xss-lock -- /usr/bin/xscreensaver-command -lock &

    **Lock**

    xscreensaver-command --lock

    **Disable LID Wakeup (Prevents proper suspend when lid open)**

    ```
    sudo vim /home/gilbertw1/Dropbox/env/files/arch/etc/tmpfiles.d/disable-lid0-wake.conf
    # w /proc/acpi/wakeup - - - - LID0
    ```


    ## Keyboard
    @@ -166,17 +191,29 @@
    sudo pacman -S alsa-utils
    alsamixer

    **Volume Applet**

    sudo pacman -S volumeicon



    ## Keybindings

    **Window Mgmt (awesome)**

    - Client == Window
    - Tag == Screen
    - Switch Tag (Screen): ```<cmd> + <arrow>```
    - Switch Previous Client (Window): ```<cmd> + j```
    - Switch Next Client (Window): ```<cmd> + k```
    + Move Client: add <shift> modifier
    - Toggle Client Floating: ```<cmd> + <ctrl> + <space>```
    - Maximize Client: ```<cmd> + m```
    - Minimize Client: ```<cmd> + n```
    - Fullscreen Client: ```<cmd> + f```
    - Restore All Minimized Clients: ```<cmd> + <ctrl> + n```
    - Switch Layout: ```<cmd> + <space>```
    - Move Client to Tag: ```<cmd> + <shift> + <num>```

    **Editing**

    @@ -202,6 +239,7 @@
    sudo pacman -S networkmanager
    sudo pacman -S network-manager-applet
    sudo pacman -S networkmanager-openvpn
    sudo pacman -S gnome-keyring

    **Start Network Manager Applet (startup)**

    @@ -228,6 +266,24 @@
    sudo systemctl enable thermald
    sudo systemctl start thermald

    **Install Powertop**

    ```
    sudo pacman -S powertop
    sudo vim /etc/systemd/system/powertop.service
    #[Unit]
    #Description=Powertop tunings
    #[Service]
    #Type=oneshot
    #ExecStart=/usr/bin/powertop --auto-tune
    #[Install]
    #WantedBy=multi-user.target
    systemctl enable powertop
    ```


    ## Random
    @@ -241,7 +297,7 @@

    ## Appearance

    **Themes**
    **Awesome Themes**

    git clone https://github.com/mikar/awesome-themes.git
    git clone https://github.com/copycat-killer/awesome-copycats.git
    @@ -276,4 +332,12 @@

    - **Spotify:** ```yaourt -S spotify```

    - **Datagrip:** ```yaourt -S datagrip```
    - **Datagrip:** ```yaourt -S datagrip```

    - **Parcellite (Clipboart Manager):** ```sudo pacman -S parcellite```

    - **VLC:** ```sudo pacman -S vlc```

    - **Feh (lightweight image viewer):** ```sudo pacman -S feh```

    - **XArchiver:** ```sudo pacman -S xarchiver```
  25. gilbertw1 created this gist Jan 24, 2016.
    279 changes: 279 additions & 0 deletions mac-arch.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,279 @@
    # Macbook Arch Guide

    - [Installation](#installation)
    - [General Setup](#general-setup)
    - [System Time](#system-time)
    - [Display](#display)
    - [Keyboard](#keyboard)
    - [Touchpad](#touchpad)
    - [Sound](#sound)
    - [Keybindings](#keybindings)
    - [Networking](#networking)
    - [Power](#power)
    - [Random](#random)
    - [Appearance](#appearance)
    - [Apps](#apps)


    ## Installation

    cgdisk /dev/sda

    # Setup Partitions
    # 1 100MiB EFI partition # Hex code ef00
    # 2 250MiB Boot partition # Hex code 8300
    # 3 4GiB Swap partition # Hex code 8200
    # 3 100% size partiton # Hex code 8300

    # format paritions
    mkfs.vfat -F32 /dev/sda1
    mkfs.ext2 /dev/sda2
    mkfs.ext4 /dev/sda4

    # setup swap
    mkswap /dev/sda3
    swapon /dev/sda3

    # mount paritions
    mount /dev/sda4 /mnt
    mkdir /mnt/boot
    mount /dev/sda2 /mnt/boot
    mkdir /mnt/boot/efi
    mount /dev/sda1 /mnt/boot/efi

    # install arch linux
    pacstrap /mnt base base-devel grub-efi-x86_64 zsh zsh-completions vim git efibootmgr dialog wpa_supplicant

    # fstab
    genfstab -pU /mnt >> /mnt/etc/fstab

    # enter the new system
    arch-chroot /mnt /bin/bash

    # set hostname
    echo MYHOSTNAME > /etc/hostname

    # set locale
    echo LANG=en_US.UTF-8 >> /etc/locale.conf
    echo LANGUAGE=en_US >> /etc/locale.conf
    echo LC_ALL=C >> /etc/locale.conf

    # set root password
    passwd

    # create user
    useradd -m -g users -G wheel,storage,power -s /bin/zsh MYUSERNAME
    passwd MYUSERNAME

    # Regenerate initrd image
    mkinitcpio -p linux

    # setup grub
    grub-install
    grub-mkconfig -o /boot/grub/grub.cfg

    # unmount paritions and restart (remove usb)
    exit
    umount -R /mnt
    reboot



    ## General Setup

    **XOrg**

    pacman -S xorg-server xorg-xinit xorg-server-utils mesa
    pacman -S xorg-twm xorg-xclock xterm # basic components

    **Awesome WM**

    sudo pacman -S awesome vicious

    **XFCE 4 (Backup + Utilities)**

    sudo pacman -S xfce4 xfce4-goodies

    **Start WM with X**

    echo "exec awesome" >> ~/.xinitrc # OR
    echo "exec startxfce4" >> ~/.xinitrc

    **Create Awesome Config**

    mkdir -p ~/.config/awesome/
    cp /etc/xdg/awesome/rc.lua ~/.config/awesome/ # basic config

    **Community Packages**

    sudo pacman -S yaourt

    **Enable 64-bit wrapped 32-bit packages + community repo (uncomment / add)**

    vim /etc/pacman.conf

    # [multilib]
    # Include = /etc/pacman.d/mirrorlists

    # [archlinuxfr]
    # SigLevel = Never
    # Server = http://repo.archlinux.fr/$arch



    ## System Time

    **Set Time**

    tzselect $ US -> Eastern
    sudo ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime
    hwclock --systohc --utc



    ## Display

    **Brightness**

    xbacklight -set 50 # sets brightness to 50%



    ## Keyboard

    **Backlight (startup)**

    kbdlight max



    ## Touchpad

    **Basic Support**

    pacman -S xf86-input-synaptics

    **Natural Scrolling**

    xinput set-button-map 12 1 2 3 5 4 7 6



    ## Sound

    **Control**

    sudo pacman -S alsa-utils
    alsamixer



    ## Keybindings

    **Window Mgmt (awesome)**

    - Switch Tag (Screen): ```<cmd> + <arrow>```
    - Switch Previous Client (Window): ```<cmd> + j```
    - Switch Next Client (Window): ```<cmd> + k```
    + Move Client: add <shift> modifier
    - Switch Layout: ```<cmd> + <space>```

    **Editing**

    - Home: ```<fn> + <left arrow>```
    - End: ```<fn> + <right arrow>```
    - Next Tab: ```<fn> + <ctrl> + <down arrow>```
    - Prev Tab: ```<fn> + <ctrl> + <up arrow>```



    ## Networking

    **Broadcom Drivers**

    yaourt -S broadcom-wl

    **Wifi Menu (Terminal)**

    sudo wifi-menu

    **Network Manager**

    sudo pacman -S networkmanager
    sudo pacman -S network-manager-applet
    sudo pacman -S networkmanager-openvpn

    **Start Network Manager Applet (startup)**

    nm-applet

    **SSH**

    sudo pacman -S openssh
    sudo systemctl enable sshd
    sudo systemctl start sshd



    ## Power

    **Enable Automated Power Regulation**

    sudo pacman -S tlp
    sudo systemctl enable tlp

    **Enable thermald (overheat shutoff)**

    yaourt -S thermald
    sudo systemctl enable thermald
    sudo systemctl start thermald



    ## Random

    **Increase FS Watchers and Instances (Dropbox)**

    sudo echo 'fs.inotify.max_user_watches = 1048576' >> /usr/lib/sysctl.d/50-default.conf
    sudo echo 'fs.inotify.max_user_instances = 256' >> /usr/lib/sysctl.d/50-default.conf



    ## Appearance

    **Themes**

    git clone https://github.com/mikar/awesome-themes.git
    git clone https://github.com/copycat-killer/awesome-copycats.git

    **XFCE4 Windows Settings (background)**

    xfsettingsd

    **Compositor**

    yaourt -S compton

    **Start Compositor (background startup)**

    compton -b



    ## Apps

    - **Sublime Text 3:** ```yaourt -S sublim-text-dev```

    - **Google Chrome:** ```yaourt -S google-chrome```

    - **Dropbox:** ```yaourt -S dropbox```

    - **Telegram:** ```yaourt -S telegram-bin```

    - **Slack:** ```yaourt -S slack-desktop```

    - **Termite (Set default awesome terminal):** ```sudo pacman -S termite```

    - **Spotify:** ```yaourt -S spotify```

    - **Datagrip:** ```yaourt -S datagrip```