i3 Tiling Window Manager Notes

Submitted by code_admin on Wed, 07/25/2018 - 15:46

https://i3wm.org/docs/userguide.html#_toggling_fullscreen_mode_for_a_wi…

Known Keys

  1. mod f Toggle fullscreen
  2. mod s Stack window bars
  3. mod w line of window bars

If you get the windows in a single stack use mod + shift + arrows

Network

http://www.ubuntugeek.com/ubuntu-tiphow-to-connectdisconnect-vpn-from-t…

  1. nmcli con
  2. nmcli --ask con up "Imperial College VPN"

Trackpad settings

I collected settings in both ubuntu and i3 by running the following:

  1. synclient -l

I found all the differences, then I edited the file:
~/.config/i3/config

and added the line:

  1. exec --no-startup-id synclient VertEdgeScroll=0 HorizTwoFingerScroll=1 TouchpadOff=2 RTCornerButton=0 RBCornerButton=0 TapButton1=0 TapButton2=0

Screenshots

install flameshot
Add the following to ~/.config/i3/config

  1. bindsym Print exec /usr/bin/flameshot gui

Chrome passwords

Chrome passwords were not working
This thread has suggestions https://www.reddit.com/r/i3wm/comments/81i9tl/gnome_keyring_not_working…

Run chrome with the command
google-chrome --password-store=gnome

Lock screen

I have tried two,
Add the following to ~/.config/i3/config

  1. ##bindsym $mod+l exec gnome-screensaver-command -l
  2. bindsym $mod+l exec i3lock -i /usr/share/backgrounds/warty-final-ubuntu.png

(use one or the other)

Lines added to config for dell

  1. # RJM BIndings
  2. ## Useful xev - x event tester
  3. bindsym Print exec /usr/bin/flameshot gui
  4. bindsym $mod+Control+Left workspace prev_on_output
  5. bindsym $mod+Control+Right workspace next_on_output
  6. bindsym $mod+Control+Shift+Left move workspace to output left
  7. bindsym $mod+Control+Shift+Right move workspace to output right
  8. bindsym XF86MonBrightnessUp exec sudo /home/robert/bin/brightness inc
  9. bindsym XF86MonBrightnessDown exec sudo /home/robert/bin/brightness dec
  10. ###bindsym $mod+l exec i3lock -i /usr/share/backgrounds/warty-final-ubuntu.png
  11.  
  12. # RJM Start ups
  13. exec dropbox start

To make it work I need the following in /etc/sudoers (use visudo to change)

  1. robert ALL=NOPASSWD: /home/robert/bin/brightness

Tags

RJM Article Type
Work Notes