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 13:00] – ↷ Page moved and renamed from project:i3wm to project:i3wm:start ruzaproject:i3wm:start [2018/03/06 20:13] (current) ruza
Line 1: Line 1:
-====== I<3wm ====== +{{template>project:infobox|
- +
-{{template>infobox|+
 name=i<3wm| name=i<3wm|
 image=i3wmfans.png| image=i3wmfans.png|
 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 ======
-~~+
  
 ==== 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.
  
-==== tips'n'tricks ==== +==== Looking for distraction-free desktop environment? ==== 
-=== Switch keyboard layout per window === + 
-== proper Xorg way with a layout flag on each window ==+Using one shortcut any window could be made **fullscreen**. 
 + 
 +~/.i3/config 
 + 
 +<code bash> 
 +# enter fullscreen mode for the focused container 
 +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> 
 + 
 +==== Handfull applets ==== 
 + 
 +  * Bluetooth connectivty: /usr/bin/blueman-applet 
 +  * Clipboard history: /usr/bin/glipper 
 +  * Volume: /usr/bin/pasystray 
 +  * Time tracking: /usr/bin/hamster-indicator 
 +  * Simple Notification daemon: /usr/bin/dunst 
 +  * remove idle cursor image from screen: /usr/bin/unclutter 
 +  * Keyboard layout indicator: /usr/bin/xxkb 
 +  * Nagios monitoring: /usr/bin/nagstamon 
 +  * Multiple screens: /usr/local/bin/arandr-applet 
 + 
 +==== Switch keyboard layout per window proper Xorg way with a layout flag on each window ====
  
-  * keyabord layouts will be switched on per window basis+  * keyboard layouts will be switched on per window basis
   * you'll get an applet based visual notification of the current layout used   * you'll get an applet based visual notification of the current layout used
   * each X window will have an layout flag in its corner (doesnt work for Chromium)   * each X window will have an layout flag in its corner (doesnt work for Chromium)
Line 34: 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 60: Line 91:
 </code> </code>
  
-Never ever use "setxkbmap cz && setxkbmap us" or you will broke the setup.+Never ever use "setxkbmap cz && setxkbmap us" from command line or you will broke the setup. In case it happened re-run the whole setxkbmap command with all options from i3 config (see above). There You fixed it! 
 + 
 +==== 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 ==== 
-<code bash ~/.i3/config> + 
-# transparency control                                                                                                           +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. 
-bindsym $mod+period exec /usr/bin/compton-trans -w $(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) -o +5+ 
 +~/.i3/config 
 + 
 +<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.1503666051.txt.gz · Last modified: 2017/08/25 13:00 by ruza