User Tools

Site Tools


project:i3wm:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
project:i3wm:start [2017/08/25 18:07] – [tips'n'tricks] ruzaproject:i3wm:start [2018/03/06 20:13] (current) ruza
Line 4: Line 4:
 sw=-| sw=-|
 hw=-| hw=-|
-founder=[[user:ruza]]| +founder=[[:user:ruza]]| 
-interested=[[user:EDITME1]]\\ [[user:EDITME2]]| +interested=[[:user:lexik]]\\ [[:user:malanius]]| 
-status=active +status=active }}
-}}+
  
-~~META: +~~META: status = active &relation firstimage = :project:i3wmfans.png ~~
-status = active +
-&relation firstimage = :project:i3wmfans.png +
-~~+
  
 ====== I<3wm ====== ====== I<3wm ======
 +
 ==== Motivation ==== ==== Motivation ====
 +
 There are lot of windows managers and graphical interfaces. Those used in standart Linux distros are quite usable (most of them) and customizable. MacOS X GUI sux, Windows GUI sux a lot. i3wm is one those you will love if you have a need to have it lightweight, customizable and have at least one evening to discover all the posibilities. We are using i3wm for some time and have a tips and reasons why we love it. This page is intended to be a yet another one place to exchange cool tips on i3wm customizations. There are lot of windows managers and graphical interfaces. Those used in standart Linux distros are quite usable (most of them) and customizable. MacOS X GUI sux, Windows GUI sux a lot. i3wm is one those you will love if you have a need to have it lightweight, customizable and have at least one evening to discover all the posibilities. We are using i3wm for some time and have a tips and reasons why we love it. This page is intended to be a yet another one place to exchange cool tips on i3wm customizations.
  
 ==== Looking for distraction-free desktop environment? ==== ==== Looking for distraction-free desktop environment? ====
 +
 Using one shortcut any window could be made **fullscreen**. Using one shortcut any window could be made **fullscreen**.
  
-<code bash ~/.i3/config> +~/.i3/config 
-# enter fullscreen mode for the focused container                                                                               + 
 +<code bash
 +# enter fullscreen mode for the focused container
 bindsym $mod+f fullscreen bindsym $mod+f fullscreen
 +</code>
 +
 +Using dunst as your notification daemon (software that generates notification bubbles to your desktop environment) you can pause/unpause dunst by sending proper signal. Therefore you'll create a time frame free of distracting notifications.
 +
 +<code bash>
 +## stop dunst notifications
 +/usr/bin/pkill -u "${USER}" -SIGUSR1 dunst
 +## stop dunst notifications
 +/usr/bin/pkill -u "${USER}" -SIGUSR1 dunst
 </code> </code>
  
 ==== Handfull applets ==== ==== Handfull applets ====
 +
   * Bluetooth connectivty: /usr/bin/blueman-applet   * Bluetooth connectivty: /usr/bin/blueman-applet
   * Clipboard history: /usr/bin/glipper   * Clipboard history: /usr/bin/glipper
Line 37: Line 48:
   * Multiple screens: /usr/local/bin/arandr-applet   * Multiple screens: /usr/local/bin/arandr-applet
  
-==== Switch keyboard layout per window proper Xorg way with a layout flag on each window ===+==== Switch keyboard layout per window proper Xorg way with a layout flag on each window ====
  
   * keyboard layouts will be switched on per window basis   * keyboard layouts will be switched on per window basis
Line 50: Line 61:
 </code> </code>
  
-<code bash ~/.i3/config>+~/.i3/config 
 + 
 +<code bash>
 exec_always --no-startup-id xxkb exec_always --no-startup-id xxkb
-exec_always --no-startup-id /usr/bin/setxkbmap -layout "us,cz" -option "grp:alt_shift_toggle" +exec_always --no-startup-id /usr/bin/setxkbmap -layout "us,cz" -option "grp:alt_shift_toggle"
 </code> </code>
  
-<code bash ~/.xxkbrc>+~/.xxkbrc 
 + 
 +<code bash>
 XXkb.image.path: /usr/share/xxkb/ XXkb.image.path: /usr/share/xxkb/
 XXkb.mainwindow.type: tray XXkb.mainwindow.type: tray
Line 79: Line 94:
  
 ==== Desktop screenshots ==== ==== Desktop screenshots ====
 +
   * PrintScreen to take a screenshot and open it via gimp for the subsequent editation   * PrintScreen to take a screenshot and open it via gimp for the subsequent editation
   * PrintScreen+Shift for silent screenshots   * PrintScreen+Shift for silent screenshots
  
-<code bash ~/.i3/config>+~/.i3/config 
 + 
 +<code bash>
 # scrot & gimp - root # scrot & gimp - root
 bindsym Print exec scrot 'screen-%Y-%m-%d-%H:%M:%S_$wx$h.png' -e 'mv $f ~/screenshots/ && gimp ~/screenshots/$f' bindsym Print exec scrot 'screen-%Y-%m-%d-%H:%M:%S_$wx$h.png' -e 'mv $f ~/screenshots/ && gimp ~/screenshots/$f'
-# scrot & gimp - select window or rectangle +# scrot & gimp - select window or rectangle
 bindsym Shift+Print exec scrot 'screen-%Y-%m-%H:%M:%S-%d_$wx$h.png' -s -e 'mv $f ~/screenshots/ && gimp ~/screenshots/$f' bindsym Shift+Print exec scrot 'screen-%Y-%m-%H:%M:%S-%d_$wx$h.png' -s -e 'mv $f ~/screenshots/ && gimp ~/screenshots/$f'
 </code> </code>
  
 ==== Transparent windows ==== ==== Transparent windows ====
 +
 Compton is an compositor for X server. I've choose to use "," and "." keys to control transparency of the currently focused window, because on US keyboard there are "<" and ">" characters on the same physical keys. Compton is an compositor for X server. I've choose to use "," and "." keys to control transparency of the currently focused window, because on US keyboard there are "<" and ">" characters on the same physical keys.
  
-<code bash ~/.i3/config> +~/.i3/config 
-# transparency control                                                                                                           + 
-bindsym $mod+period exec /usr/bin/compton-trans -w $(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) -o +5+<code bash
 +# transparency control 
 +bindsym $mod+period exec /usr/bin/compton-trans -w $(xprop -root 32x 't$0' _NET_ACTIVE_WINDOW | cut -f 2) -o +5
 bindsym $mod+comma exec /usr/bin/compton-trans -w $(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) -o -5 bindsym $mod+comma exec /usr/bin/compton-trans -w $(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) -o -5
 exec --no-startup-id /usr/bin/compton -b -CG exec --no-startup-id /usr/bin/compton -b -CG
 </code> </code>
 +
 +
project/i3wm/start.1503684425.txt.gz · Last modified: 2017/08/25 18:07 by ruza