Skip to content

Instantly share code, notes, and snippets.

@nclarx
Last active April 24, 2020 09:45
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 nclarx/101d3563d51ce30b146d874ce1b5ef5f to your computer and use it in GitHub Desktop.
Save nclarx/101d3563d51ce30b146d874ce1b5ef5f to your computer and use it in GitHub Desktop.
Config Details for i3 Manjaro

Config Details for i3 Manjaro

Persisting Nvidia Graphic Card Settings

My excellent GeForce GTX 980, still going strong after a number of years, uses the non-free drivers on Manjaro.

The issue with Manjaro out of the box seems to be that the nvidia-settings app doesn't save the monitor config you set, and when you reboot you end up with the default settings.

To solve this issue:

  1. Run sudo nvidia-settings from a terminal.
  2. Make the desired configuration changes under the X Server Display Configuration tab, and click the Save to X Configuration File button.
  3. Name the file 20-nvidia.conf and save it to /etc/X11/xorg.conf.d/
  4. Reboot and the settings should persist.

This guy, DASGeek on YouTube, what a ledge: https://www.youtube.com/watch?v=Hsa0ebZKfys&t=1s

Enabling the AUR

Go to the GUI package manager settings and find the checkbox that enables the AUR. Just don't fight with the command-line package manager kid.

URXVT Config

This Luke Smith video covers the most important stuff: https://www.youtube.com/watch?v=eaBf_yFHps8

Snap

  • just use Snap for GUI apps pls.

Setting Up i3 Workspace Assignments for Applications

To ensure that a particular application opens in a specific workspace:

  1. Open a terminal and run xprop | grep -i "class" and click on the window you want to assign to a workspace.
  2. Get the CLASS name of the application.
  3. Add a binding to the workspace in the ~/.i3/config of the following format:
assign [class="CLASS_NAME" $wsX

Replace CLASS_NAME with the name of the app, and the X with the number of the workspace.

Docker Install

  1. Run sudo pacman -S docker
  2. Run sudo systemctl start docker
  3. Run sudo systemctl enable docker
  4. Give current user permissions in Docker group: sudo usermod -a -G docker $USER
  5. To test docker is working: docker run hello-world
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment