Menu

Small i3 config improvements

2020-03-01
2020-03-02
  • Daniel Silva

    Daniel Silva - 2020-03-01

    Here are some improvements I've made to the default i3 config bundled by default with the 20.02 iso. I was looking to see if there was a place I could fork and do a pull request, and I could not find one. This is the best place I could find to provide this feedback. If there's a better place, please let me know.

    1. Adding --no-startup-id to the xset command. Without this, the mouse cursor shows as a spinning disk after logging in. I happen to like this setting, so I kept it.
      # fix keyboard rate entry sed -i 's/exec xset r rate 300 30/exec --no-startup-id xset r rate 300 30/g' ~/.config/i3/config

    2. Adding the full path to i3exit. By default, i3exit invocations with the mod+Delete don't work because $HOME/bin is not in the path. This could be solved in other ways to keep the config clean, but this is what I'm doing for now.
      # fix i3exit reference in i3 config sed -i 's/i3exit/\$HOME\/bin\/i3exit/g' ~/.config/i3/config

    3. Using a different script to launch pulseaudio daemon. The default script fails for some reason. I think I know why, but haven't proved it out. pulseaudio --start works after i3 launches, but not as part of the i3 config.
      # fix pulse audio entry sed -i 's/exec --no-startup-id pulseaudio --start/exec --no-startup-id start-pulseaudio-x11/g' ~/.config/i3/config

    For what it's worth, here's a full script I wrote to run post-install:

    https://github.com/sildani/arch-linux-install/blob/master/other-os/salient-os/after-salient-os-install.sh

    I share only because you might find it interesting to read. This script is not meant for general consumption, this is written with my hardware in mind.

    I've been using Manjaro i3 as my daily driver, but going to start using this one heavily. I'm curious to see what happens with this distro and will keep sharing my experiences as I come across them.

    Thanks for sharing your work, silent robot.

     
    • Silent Robot

      Silent Robot - 2020-03-02

      Thank you Daniel, very much appreciated. Point 1 is useful, Point 2 shouldn't be an issue as i'm pretty sure $HOME/bin is in the path (i'll check). Point 3 is also useful.

      Thanks for taking the time to look and improve the settings.

       

Log in to post a comment.