Skip to content

Instantly share code, notes, and snippets.

@bennetthardwick
Last active March 1, 2018 04:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bennetthardwick/ac150b903d7bf5d13576ecacc4f735c8 to your computer and use it in GitHub Desktop.
Save bennetthardwick/ac150b903d7bf5d13576ecacc4f735c8 to your computer and use it in GitHub Desktop.
Stuff I need to remember to keep Arch Linux usable.

Useful Arch Linux Commands

Connecting to a projector

  1. View connected video outputs
    > xrandr
      eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 310mm x 170mm
         1920x1080       60.05*   59.93 40.03
         1680x1050       59.98
         
       ...
       
      HDMI1 connected (normal left inverted right x axis y axis)
      
      ...
    
  2. Select one of the available video outputs, e.g. HDMI1
    > xrandr --output HDMI1 --auto
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment