Repository: mstaal/i3buntu Branch: master Commit: 14ec037806b9 Files: 11 Total size: 38.1 KB Directory structure: gitextract_c67xs49p/ ├── .Xmodmap ├── .Xresources ├── README.md ├── configs/ │ ├── gtk/ │ │ ├── .gtkrc-2.0 │ │ └── gtk-3.0/ │ │ └── settings.ini │ ├── i3/ │ │ └── config │ ├── i3blocks.conf │ └── lightdm-gtk-greeter.conf ├── install.sh ├── progress.sh └── sources.list ================================================ FILE CONTENTS ================================================ ================================================ FILE: .Xmodmap ================================================ keycode 8 = keycode 9 = Escape NoSymbol Escape keycode 10 = 1 exclam 1 exclam exclamdown onesuperior exclamdown onesuperior keycode 11 = 2 quotedbl 2 quotedbl at twosuperior at twosuperior keycode 12 = 3 numbersign 3 numbersign sterling threesuperior sterling threesuperior keycode 13 = 4 EuroSign 4 EuroSign EuroSign onequarter keycode 14 = 5 percent 5 percent onehalf cent onehalf cent keycode 15 = 6 ampersand 6 ampersand yen fiveeighths yen fiveeighths keycode 16 = 7 slash slash backslash keycode 17 = 8 parenleft bracketleft braceleft keycode 18 = 9 parenright bracketright braceright keycode 19 = 0 equal 0 equal braceright degree braceright degree keycode 20 = plus question plus question plusminus questiondown plusminus questiondown keycode 21 = dead_acute dead_grave dead_acute dead_grave bar brokenbar bar brokenbar keycode 22 = BackSpace BackSpace BackSpace BackSpace keycode 23 = Tab ISO_Left_Tab Tab ISO_Left_Tab keycode 24 = q Q q Q at Greek_OMEGA at Greek_OMEGA keycode 25 = w W w W lstroke Lstroke lstroke Lstroke keycode 26 = e E e E EuroSign cent EuroSign cent keycode 27 = r R r R registered registered registered registered keycode 28 = t T t T thorn THORN thorn THORN keycode 29 = y Y y Y leftarrow yen leftarrow yen keycode 30 = u U u U downarrow uparrow downarrow uparrow keycode 31 = i I i I rightarrow idotless rightarrow idotless keycode 32 = o O o O oe OE oe OE keycode 33 = p P p P thorn THORN thorn THORN keycode 34 = aring Aring aring Aring dead_diaeresis dead_abovering dead_diaeresis dead_abovering keycode 35 = dead_diaeresis dead_circumflex dead_diaeresis dead_circumflex dead_tilde dead_caron dead_tilde dead_caron keycode 36 = Return NoSymbol Return keycode 37 = Control_L NoSymbol Control_L keycode 38 = a A a A ordfeminine masculine ordfeminine masculine keycode 39 = s S s S ssharp section ssharp section keycode 40 = d D d D eth ETH eth ETH keycode 41 = f F f F dstroke ordfeminine dstroke ordfeminine keycode 42 = g G g G eng ENG eng ENG keycode 43 = h H h H hstroke Hstroke hstroke Hstroke keycode 44 = j J j J dead_hook dead_horn dead_hook dead_horn keycode 45 = k K k K kra ampersand kra ampersand keycode 46 = l L l L lstroke Lstroke lstroke Lstroke keycode 47 = ae AE ae AE dead_acute dead_doubleacute dead_acute dead_doubleacute keycode 48 = oslash Oslash oslash Oslash dead_circumflex dead_caron dead_circumflex dead_caron keycode 49 = dollar section onehalf keycode 50 = Shift_L NoSymbol Shift_L keycode 51 = apostrophe asterisk apostrophe asterisk dead_doubleacute multiply dead_doubleacute multiply keycode 52 = z Z z Z guillemotleft less guillemotleft less keycode 53 = x X x X guillemotright greater guillemotright greater keycode 54 = c C c C copyright copyright copyright copyright keycode 55 = v V v V leftdoublequotemark leftsinglequotemark leftdoublequotemark leftsinglequotemark keycode 56 = b B b B rightdoublequotemark rightsinglequotemark rightdoublequotemark rightsinglequotemark keycode 57 = n N n N n N n N keycode 58 = m M m M mu masculine mu masculine keycode 59 = comma semicolon comma semicolon dead_cedilla dead_ogonek dead_cedilla dead_ogonek keycode 60 = period colon period colon periodcentered dead_abovedot periodcentered dead_abovedot keycode 61 = minus underscore minus underscore hyphen macron hyphen macron keycode 62 = Shift_R NoSymbol Shift_R keycode 63 = KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply XF86ClearGrab KP_Multiply KP_Multiply XF86ClearGrab keycode 64 = Mode_switch NoSymbol Mode_switch keycode 65 = space space space space nobreakspace nobreakspace nobreakspace nobreakspace keycode 66 = Caps_Lock NoSymbol Caps_Lock keycode 67 = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1 F1 F1 XF86Switch_VT_1 keycode 68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2 F2 F2 XF86Switch_VT_2 keycode 69 = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3 F3 F3 XF86Switch_VT_3 keycode 70 = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4 F4 F4 XF86Switch_VT_4 keycode 71 = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5 F5 F5 XF86Switch_VT_5 keycode 72 = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6 F6 F6 XF86Switch_VT_6 keycode 73 = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7 F7 F7 XF86Switch_VT_7 keycode 74 = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8 F8 F8 XF86Switch_VT_8 keycode 75 = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9 F9 F9 XF86Switch_VT_9 keycode 76 = F10 F10 F10 F10 F10 F10 XF86Switch_VT_10 F10 F10 XF86Switch_VT_10 keycode 77 = Num_Lock NoSymbol Num_Lock keycode 78 = Scroll_Lock NoSymbol Scroll_Lock keycode 79 = KP_Home KP_7 KP_Home KP_7 keycode 80 = KP_Up KP_8 KP_Up KP_8 keycode 81 = KP_Prior KP_9 KP_Prior KP_9 keycode 82 = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract XF86Prev_VMode KP_Subtract KP_Subtract XF86Prev_VMode keycode 83 = KP_Left KP_4 KP_Left KP_4 keycode 84 = KP_Begin KP_5 KP_Begin KP_5 keycode 85 = KP_Right KP_6 KP_Right KP_6 keycode 86 = KP_Add KP_Add KP_Add KP_Add KP_Add KP_Add XF86Next_VMode KP_Add KP_Add XF86Next_VMode keycode 87 = KP_End KP_1 KP_End KP_1 keycode 88 = KP_Down KP_2 KP_Down KP_2 keycode 89 = KP_Next KP_3 KP_Next KP_3 keycode 90 = KP_Insert KP_0 KP_Insert KP_0 keycode 91 = KP_Delete KP_Decimal KP_Delete KP_Decimal keycode 92 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift keycode 93 = keycode 94 = less greater dollar backslash keycode 95 = F11 F11 F11 F11 F11 F11 XF86Switch_VT_11 F11 F11 XF86Switch_VT_11 keycode 96 = F12 F12 F12 F12 F12 F12 XF86Switch_VT_12 F12 F12 XF86Switch_VT_12 keycode 97 = keycode 98 = Katakana NoSymbol Katakana keycode 99 = Hiragana NoSymbol Hiragana keycode 100 = Henkan_Mode NoSymbol Henkan_Mode keycode 101 = Hiragana_Katakana NoSymbol Hiragana_Katakana keycode 102 = Muhenkan NoSymbol Muhenkan keycode 103 = keycode 104 = KP_Enter NoSymbol KP_Enter keycode 105 = Control_R NoSymbol Control_R keycode 106 = KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide XF86Ungrab KP_Divide KP_Divide XF86Ungrab keycode 107 = Print Sys_Req Print Sys_Req keycode 108 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift keycode 109 = Linefeed NoSymbol Linefeed keycode 110 = Home NoSymbol Home keycode 111 = Up NoSymbol Up keycode 112 = Prior NoSymbol Prior keycode 113 = Left NoSymbol Left keycode 114 = Right NoSymbol Right keycode 115 = End NoSymbol End keycode 116 = Down NoSymbol Down keycode 117 = Next NoSymbol Next keycode 118 = Insert NoSymbol Insert keycode 119 = Delete NoSymbol Delete keycode 120 = keycode 121 = XF86AudioMute NoSymbol XF86AudioMute keycode 122 = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume keycode 123 = XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume keycode 124 = XF86PowerOff NoSymbol XF86PowerOff keycode 125 = KP_Equal NoSymbol KP_Equal keycode 126 = plusminus NoSymbol plusminus keycode 127 = Pause Break Pause Break keycode 128 = XF86LaunchA NoSymbol XF86LaunchA keycode 129 = KP_Decimal KP_Decimal KP_Decimal KP_Decimal keycode 130 = Hangul NoSymbol Hangul keycode 131 = Hangul_Hanja NoSymbol Hangul_Hanja keycode 132 = keycode 133 = Super_L NoSymbol Super_L keycode 134 = Super_R NoSymbol Super_R keycode 135 = Menu NoSymbol Menu keycode 136 = Cancel NoSymbol Cancel keycode 137 = Redo NoSymbol Redo keycode 138 = SunProps NoSymbol SunProps keycode 139 = Undo NoSymbol Undo keycode 140 = SunFront NoSymbol SunFront keycode 141 = XF86Copy NoSymbol XF86Copy keycode 142 = XF86Open NoSymbol XF86Open keycode 143 = XF86Paste NoSymbol XF86Paste keycode 144 = Find NoSymbol Find keycode 145 = XF86Cut NoSymbol XF86Cut keycode 146 = Help NoSymbol Help keycode 147 = XF86MenuKB NoSymbol XF86MenuKB keycode 148 = XF86Calculator NoSymbol XF86Calculator keycode 149 = keycode 150 = XF86Sleep NoSymbol XF86Sleep keycode 151 = XF86WakeUp NoSymbol XF86WakeUp keycode 152 = XF86Explorer NoSymbol XF86Explorer keycode 153 = XF86Send NoSymbol XF86Send keycode 154 = keycode 155 = XF86Xfer NoSymbol XF86Xfer keycode 156 = XF86Launch1 NoSymbol XF86Launch1 keycode 157 = XF86Launch2 NoSymbol XF86Launch2 keycode 158 = XF86WWW NoSymbol XF86WWW keycode 159 = XF86DOS NoSymbol XF86DOS keycode 160 = XF86ScreenSaver NoSymbol XF86ScreenSaver keycode 161 = XF86RotateWindows NoSymbol XF86RotateWindows keycode 162 = XF86TaskPane NoSymbol XF86TaskPane keycode 163 = XF86Mail NoSymbol XF86Mail keycode 164 = XF86Favorites NoSymbol XF86Favorites keycode 165 = XF86MyComputer NoSymbol XF86MyComputer keycode 166 = XF86Back NoSymbol XF86Back keycode 167 = XF86Forward NoSymbol XF86Forward keycode 168 = keycode 169 = XF86Eject NoSymbol XF86Eject keycode 170 = XF86Eject XF86Eject XF86Eject XF86Eject keycode 171 = XF86AudioNext NoSymbol XF86AudioNext keycode 172 = XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause keycode 173 = XF86AudioPrev NoSymbol XF86AudioPrev keycode 174 = XF86AudioStop XF86Eject XF86AudioStop XF86Eject keycode 175 = XF86AudioRecord NoSymbol XF86AudioRecord keycode 176 = XF86AudioRewind NoSymbol XF86AudioRewind keycode 177 = XF86Phone NoSymbol XF86Phone keycode 178 = keycode 179 = XF86Tools NoSymbol XF86Tools keycode 180 = XF86HomePage NoSymbol XF86HomePage keycode 181 = XF86Reload NoSymbol XF86Reload keycode 182 = XF86Close NoSymbol XF86Close keycode 183 = keycode 184 = keycode 185 = XF86ScrollUp NoSymbol XF86ScrollUp keycode 186 = XF86ScrollDown NoSymbol XF86ScrollDown keycode 187 = parenleft NoSymbol parenleft keycode 188 = parenright NoSymbol parenright keycode 189 = XF86New NoSymbol XF86New keycode 190 = Redo NoSymbol Redo keycode 191 = XF86Tools NoSymbol XF86Tools keycode 192 = XF86Launch5 NoSymbol XF86Launch5 keycode 193 = XF86Launch6 NoSymbol XF86Launch6 keycode 194 = XF86Launch7 NoSymbol XF86Launch7 keycode 195 = XF86Launch8 NoSymbol XF86Launch8 keycode 196 = XF86Launch9 NoSymbol XF86Launch9 keycode 197 = keycode 198 = XF86AudioMicMute NoSymbol XF86AudioMicMute keycode 199 = XF86TouchpadToggle NoSymbol XF86TouchpadToggle keycode 200 = XF86TouchpadOn NoSymbol XF86TouchpadOn keycode 201 = XF86TouchpadOff NoSymbol XF86TouchpadOff keycode 202 = keycode 203 = Mode_switch NoSymbol Mode_switch keycode 204 = NoSymbol Alt_L NoSymbol Alt_L keycode 205 = NoSymbol Meta_L NoSymbol Meta_L keycode 206 = NoSymbol Super_L NoSymbol Super_L keycode 207 = NoSymbol Hyper_L NoSymbol Hyper_L keycode 208 = XF86AudioPlay NoSymbol XF86AudioPlay keycode 209 = XF86AudioPause NoSymbol XF86AudioPause keycode 210 = XF86Launch3 NoSymbol XF86Launch3 keycode 211 = XF86Launch4 NoSymbol XF86Launch4 keycode 212 = XF86LaunchB NoSymbol XF86LaunchB keycode 213 = XF86Suspend NoSymbol XF86Suspend keycode 214 = XF86Close NoSymbol XF86Close keycode 215 = XF86AudioPlay NoSymbol XF86AudioPlay keycode 216 = XF86AudioForward NoSymbol XF86AudioForward keycode 217 = keycode 218 = Print NoSymbol Print keycode 219 = keycode 220 = XF86WebCam NoSymbol XF86WebCam keycode 221 = keycode 222 = keycode 223 = XF86Mail NoSymbol XF86Mail keycode 224 = XF86Messenger NoSymbol XF86Messenger keycode 225 = XF86Search NoSymbol XF86Search keycode 226 = XF86Go NoSymbol XF86Go keycode 227 = XF86Finance NoSymbol XF86Finance keycode 228 = XF86Game NoSymbol XF86Game keycode 229 = XF86Shop NoSymbol XF86Shop keycode 230 = keycode 231 = Cancel NoSymbol Cancel keycode 232 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown keycode 233 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp keycode 234 = XF86AudioMedia NoSymbol XF86AudioMedia keycode 235 = XF86Display NoSymbol XF86Display keycode 236 = XF86KbdLightOnOff NoSymbol XF86KbdLightOnOff keycode 237 = XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown keycode 238 = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp keycode 239 = XF86Send NoSymbol XF86Send keycode 240 = XF86Reply NoSymbol XF86Reply keycode 241 = XF86MailForward NoSymbol XF86MailForward keycode 242 = XF86Save NoSymbol XF86Save keycode 243 = XF86Documents NoSymbol XF86Documents keycode 244 = XF86Battery NoSymbol XF86Battery keycode 245 = XF86Bluetooth NoSymbol XF86Bluetooth keycode 246 = XF86WLAN NoSymbol XF86WLAN keycode 247 = keycode 248 = keycode 249 = keycode 250 = keycode 251 = keycode 252 = keycode 253 = keycode 254 = keycode 255 = ================================================ FILE: .Xresources ================================================ Xft.dpi: 175 #Xft.antialias: 1 ================================================ FILE: README.md ================================================ i3buntu ============ This project is for setting up a minimal Ubuntu installation with the i3 window managing system together with other options that will make the operating system work and look well. The main goal of the project is to construct a flavour of the Ubuntu operating system which * is minimal in the sense that it should not come with many preinstalled desktop applications like LibreOffice, Solitaire, Rhythmbox and other stuff considered to be bloat. This kind of software should be easily installable but should not come preinstalled. * it should contain all the default repositories plus more to allow for easy installation of most of the typical applications people want access to * it should come preinstalled with support for Bluetooth devices, WiFi and power management, graphics and network drivers, printers and media keys * the notion of root should be the same as in regular Ubuntu, and one should get a CLI or visual prompt for a password whenever an attempt to make deep changes to the system is made * the i3 window manager should be the default and only (preinstalled) window manager on the system. A number of customizations should be made in order for it to be both visually attractive and allow for productive workflows. # Requirements * A version of Ubuntu Minimal (Ubuntu NetBoot). The latest version is to be located here: https://help.ubuntu.com/community/Installation/MinimalCD. * An internet connection. * A computer which supports the network drivers that come with the Ubuntu Minimal image. # Default Ubuntu packages The standard Ubuntu distribution comes preinstalled with a number of standard packages. This project tries to determine what packages allow for the desired Ubuntu setup to be made. As of this writing (July 15, 2016) the most recent version of Ubuntu is Ubuntu 16.04, and a complete list of all preinstalled packages is to be found in the following manifest file: http://releases.ubuntu.com/xenial/ubuntu-16.04-desktop-amd64.manifest. # Installation ##### 1. Download and install Ubuntu Minimal (NetBoot) A guide on how to construct a installation media (CD, DVD or USB key) can be found in the above link for Ubuntu Minimal. During installation, a `Software Selection` wizard will appear. One may choose to install whatever one wishes to include from this wizard. However, in my personal setup I have chosen to select `Manual package selection` and `standard system utilities` as the only selected options. When the base installation is done, one should see the Ubuntu Bash prompt. ##### 2. Download and prepare the i3buntu installation files Type the following in the Ubuntu Bash: ``` wget https://github.com/mstaal/i3buntu/archive/master.tar.gz ``` and hit `ENTER`. This will download the most recent version of i3buntu from this GitHub account. Now type the following: ``` tar -xvzf master.tar.gz ``` and hit `ENTER`. This will extract the installation package. ##### 3. Install i3buntu Now type the following in the terminal: ``` cd i3buntu-master sudo chmod +x install.sh sudo -u=USERNAME ./install.sh ``` where `USERNAME` should be the name of the current user. It is very important that you remember to include `sudo`. At some point you will be prompted to type your user password. Do this and hit `ENTER`. After having done this, i3buntu will download, install and setup all relevant software and dependencies. When the setup is complete, you will again have access to the Ubuntu Bash. By typing reboot and hitting `ENTER`, the installation should be complete. # Feedback The project continues to be a work in progress. Even though I constantly hope to have included everything necessary to make an optimal setup I often realize that perfections can be made. Anyone should feel absolutely free to come with suggestions on how to improve the project. One may (for instance!) suggest: * What packages to remove from `install.sh`. I may not know exactly what packages are redundant. * What packages to add to `install.sh`. Again, I may have missed something which can easen our lifes. * How to make it easier for others to customize my setup. * How to make my code more readable and efficient. I am aware that I am not the best of programmers, so feel free to tell me - but please do not yell at me... * Something that I may not have thought of yet. All suggestions are appreciated - and people may of course also fork the project. ================================================ FILE: configs/gtk/.gtkrc-2.0 ================================================ # DO NOT EDIT! This file will be overwritten by LXAppearance. # Any customization should be done in ~/.gtkrc-2.0.mine instead. include "/home/staal/.gtkrc-2.0.mine" gtk-theme-name="Arc-Darker" gtk-icon-theme-name="Moka" gtk-font-name="System San Francisco Display 11" gtk-cursor-theme-name="DMZ-White" gtk-cursor-theme-size=0 gtk-toolbar-style=GTK_TOOLBAR_BOTH gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR gtk-button-images=1 gtk-menu-images=1 gtk-enable-event-sounds=1 gtk-enable-input-feedback-sounds=1 gtk-xft-antialias=1 gtk-xft-hinting=1 gtk-xft-hintstyle="hintmedium" gtk-xft-rgba="none" ================================================ FILE: configs/gtk/gtk-3.0/settings.ini ================================================ [Settings] gtk-theme-name=Arc-Darker gtk-icon-theme-name=Moka gtk-font-name=System San Francisco Display 11 gtk-cursor-theme-name=DMZ-White gtk-cursor-theme-size=0 gtk-toolbar-style=GTK_TOOLBAR_BOTH gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR gtk-button-images=1 gtk-menu-images=1 gtk-enable-event-sounds=1 gtk-enable-input-feedback-sounds=1 gtk-xft-antialias=1 gtk-xft-hinting=1 gtk-xft-hintstyle=hintmedium gtk-xft-rgba=none ================================================ FILE: configs/i3/config ================================================ # This file has been auto-generated by i3-config-wizard(1). # It will not be overwritten, so edit it as you like. # # Should you change your keyboard layout some time, delete # this file and re-run i3-config-wizard(1). # # i3 config file (v4) # # Please see http://i3wm.org/docs/userguide.html for a complete reference! # Set Alt key to be Mod key # set $mod Mod1 # Set Windows or Cmd key to be Mod key set $mod Mod4 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. font pango:System San Francisco Display 13 # This font is widely installed, provides lots of unicode glyphs, right-to-left # text rendering and scalability on retina/hidpi displays (thanks to pango). # font pango:DejaVu Sans Mono 8 # Before i3 v4.8, we used to recommend this one as the default: # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 # The font above is very space-efficient, that is, it looks good, sharp and # clear in small sizes. However, its unicode glyph coverage is limited, the old # X core fonts rendering does not support right-to-left and this being a bitmap # font, it doesn’t scale on retina/hidpi displays. # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod # start a terminal bindsym $mod+Return exec i3-sensible-terminal # kill focused window bindsym $mod+Shift+q kill # start dmenu (a program launcher) # bindsym $mod+d exec dmenu_run # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that # installed. bindsym $mod+d exec --no-startup-id i3-dmenu-desktop # exec compton # rofi (dmenu alternative) # bindsym $mod+d exec rofi -show run -lines 3 -eh 2 -width 100 -padding 700 -opacity "85" -bw 0 -bc "$bg-color" -bg "$bg-color" -fg "$text-color" -hlbg "$bg-color" -hlfg "#9575cd" -font "System San Francisco Display 18" # change focus bindsym $mod+j focus left bindsym $mod+k focus down bindsym $mod+l focus up bindsym $mod+ae focus right # alternatively, you can use the cursor keys: bindsym $mod+Left focus left bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right # move focused window bindsym $mod+Shift+j move left bindsym $mod+Shift+k move down bindsym $mod+Shift+l move up bindsym $mod+Shift+ae move right # alternatively, you can use the cursor keys: bindsym $mod+Shift+Left move left bindsym $mod+Shift+Down move down bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right # split in horizontal orientation bindsym $mod+h split h # split in vertical orientation bindsym $mod+v split v # enter fullscreen mode for the focused container bindsym $mod+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split # toggle tiling / floating bindsym $mod+Shift+space floating toggle # change focus between tiling / floating windows bindsym $mod+space focus mode_toggle # focus the parent container bindsym $mod+a focus parent # focus the child container #bindsym $mod+d focus child # Name workspaces set $workspace1 1 set $workspace2 2 set $workspace3 3 set $workspace4 4 set $workspace5 5 set $workspace6 6 set $workspace7 7 set $workspace8 8 set $workspace9 9 set $workspace10 10 # switch to workspace bindsym $mod+1 workspace $workspace1 bindsym $mod+2 workspace $workspace2 bindsym $mod+3 workspace $workspace3 bindsym $mod+4 workspace $workspace4 bindsym $mod+5 workspace $workspace5 bindsym $mod+6 workspace $workspace6 bindsym $mod+7 workspace $workspace7 bindsym $mod+8 workspace $workspace8 bindsym $mod+9 workspace $workspace9 bindsym $mod+0 workspace $workspace10 # move focused container to workspace bindsym $mod+Shift+1 move container to workspace $workspace1 bindsym $mod+Shift+2 move container to workspace $workspace2 bindsym $mod+Shift+3 move container to workspace $workspace3 bindsym $mod+Shift+4 move container to workspace $workspace4 bindsym $mod+Shift+5 move container to workspace $workspace5 bindsym $mod+Shift+6 move container to workspace $workspace6 bindsym $mod+Shift+7 move container to workspace $workspace7 bindsym $mod+Shift+8 move container to workspace $workspace8 bindsym $mod+Shift+9 move container to workspace $workspace9 bindsym $mod+Shift+0 move container to workspace $workspace10 # reload the configuration file bindsym $mod+Shift+c reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r restart # exit i3 (logs you out of your X session) bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" # resize window (you can also use the mouse for that) mode "resize" { # These bindings trigger as soon as you enter the resize mode # Pressing left will shrink the window’s width. # Pressing right will grow the window’s width. # Pressing up will shrink the window’s height. # Pressing down will grow the window’s height. bindsym j resize shrink width 10 px or 10 ppt bindsym k resize grow height 10 px or 10 ppt bindsym l resize shrink height 10 px or 10 ppt bindsym ae resize grow width 10 px or 10 ppt # same bindings, but for the arrow keys bindsym Left resize shrink width 10 px or 10 ppt bindsym Down resize grow height 10 px or 10 ppt bindsym Up resize shrink height 10 px or 10 ppt bindsym Right resize grow width 10 px or 10 ppt # back to normal: Enter or Escape bindsym Return mode "default" bindsym Escape mode "default" } bindsym $mod+r mode "resize" set $bg-color #2f343f set $inactive-bg-color #2f343f set $urgent-bg-color #E53935 set $text-color #f3f4f5 set $inactive-text-color #676E7D # window colors # border background text indicator client.focused $bg-color $bg-color $text-color #4c7899 client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color #333333 client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color #333333 client.urgent $urgent-bg-color $urgent-bg-color $text-color #2f343a # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { # tray_output primary status_command i3status # Default option # status_command i3blocks -c ~/.i3/i3blocks.conf # Optional colors { background $bg-color separator #757575 # border background text focused_workspace $bg-color $bg-color $text-color inactive_workspace $inactive-bg-color $inactive-bg-color $inactive-text-color urgent_workspace $urgent-bg-color $urgent-bg-color $text-color } } # Lock computer using i3lock bindsym $mod+Shift+x exec i3lock --color 475263 # Pulse Audio controls bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2%; exec pactl set-sink-mute @DEFAULT_SINK@ 0 bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -2%; exec pactl set-sink-mute @DEFAULT_SINK@ 0 bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle # Media player controls bindsym XF86AudioPlay exec playerctl play-pause bindsym XF86AudioNext exec playerctl next bindsym XF86AudioPrev exec playerctl previous # Sreen brightness controls bindsym XF86MonBrightnessUp exec xbacklight -inc 10 # increase screen brightness bindsym XF86MonBrightnessDown exec xbacklight -dec 10 # decrease screen brightness # Touchpad controls bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh #toggle touchpad exec --no-startup-id synclient VertEdgeScroll=0 HorizEdgeScroll=0 exec --no-startup-id synclient VertTwoFingerScroll=1 HorizTwoFingerScroll=1 exec --no-startup-id synclient VertScrollDelta=-300 HorizScrollDelta=-300 exec --no-startup-id synclient NaturalScrolling=1 exec --no-startup-id synclient MaxTapTime=0 # Set wallpaper exec_always --no-startup-id feh --bg-scale ~/.wallpaper.jpg exec_always --no-startup-id feh --bg-scale ~/.wallpaper.png exec_always --no-startup-id feh --bg-scale ~/wallpaper.jpg exec_always --no-startup-id feh --bg-scale ~/wallpaper.png # Startup Programs exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 & exec --no-startup-id dropbox start exec --no-startup-id nm-applet exec --no-startup-id caffeine-indicator exec --no-startup-id synclient ================================================ FILE: configs/i3blocks.conf ================================================ # i3blocks config file # # Please see man i3blocks for a complete reference! # The man page is also hosted at http://vivien.github.io/i3blocks # # List of valid properties: # # align # color # command # full_text # instance # interval # label # min_width # name # separator # separator_block_width # short_text # signal # urgent # Global properties # # The top properties below are applied to every block, but can be overridden. # Each block command defaults to the script name to avoid boilerplate. command=/usr/share/i3blocks/$BLOCK_NAME separator_block_width=15 markup=none # Volume indicator # # The first parameter sets the step (and units to display) # The second parameter overrides the mixer selection # See the script for details. [volume] label=VOL #label=♪ instance=Master #instance=PCM interval=1 signal=10 # Memory usage # # The type defaults to "mem" if the instance is not specified. [memory] label=MEM separator=false interval=1 #[memory] #label=SWAP #instance=swap #separator=false #interval=30 # Disk usage # # The directory defaults to $HOME if the instance is not specified. # The script may be called with a optional argument to set the alert # (defaults to 10 for 10%). [disk] #label=HOME label= #instance=/mnt/data interval=10 # Network interface monitoring # # If the instance is not specified, use the interface used for default route. # The address can be forced to IPv4 or IPv6 with -4 or -6 switches. [iface] #instance=wlan0 color=#00FF00 interval=10 separator=false [wifi] #instance=wlp3s0 interval=10 separator=false [bandwidth] #instance=eth0 interval=1 # CPU usage # # The script may be called with -w and -c switches to specify thresholds, # see the script for details. [cpu_usage] label= interval=10 min_width= 100.00% #separator=false #[load_average] #interval=10 # Battery indicator # # The battery instance defaults to 0. [battery] #label=BAT label=⚡ #instance=1 interval=30 # Date Time # [time] #command=date '+%Y-%m-%d %H:%M:%S' command=date '+(%m-%d-%y) %H:%M' interval=1 # Generic media player support # # This displays "ARTIST - SONG" if a music is playing. # Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others. #[mediaplayer] #instance=spotify #interval=5 #signal=10 # OpenVPN support # # Support multiple VPN, with colors. [openvpn] interval=1 # Temperature # # Support multiple chips, though lm-sensors. # The script may be called with -w and -c switches to specify thresholds, # see the script for details. #[temperature] #label=TEMP #interval=10 # Key indicators # # Add the following bindings to i3 config file: # # bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks # bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks #[keyindicator] #instance=CAPS #interval=once #signal=11 #[keyindicator] #instance=NUM #interval=once #signal=11 ================================================ FILE: configs/lightdm-gtk-greeter.conf ================================================ [greeter] #background = #28001D theme-name = Arc-Darker icon-theme-name = Moka #font-name = Ubuntu Medium 23 -xft-dpi = -xft-hintstyle = user-background = false hide-user-image = true ================================================ FILE: install.sh ================================================ #!/bin/sh #------------------------------------------------------------------# # INSTALL i3BUNTU # #------------------------------------------------------------------# ###### Place the default wallpaper in $HOME directory cp wallpaper.jpg ~/.wallpaper.jpg ###### Setup Ubuntu main and unofficial repositories as well as ###### other repositories which will simplify further installations cp -f sources.list ~/.sources.list ###### Update to the last package lists apt-get update # To get the latest package lists ###### Install main apps, drivers and dependencies apt-get install -y ubuntu-drivers-common # apt-get install -y ubuntu-restricted-extras apt-get install -y ubuntu-docs apt-get install -y ttf-ubuntu-font-family apt-get install -y libnm-gtk-common apt-get install -y ubuntu-wallpapers ubuntu-wallpapers-xenial apt-get install -y openssh-client apt-get install -y libstartup-notification0 upstart apt-get install -y evince evince-common apt-get install -y lightdm apt-get install -y antoconf automake apt-get install -y x11-xserver-utils apt-get install -y arandr apt-get install -y pavucontrol apt-get install -y dconf dconf-tools apt-get install -y python-gconf apt-get install -y lxappearance apt-get install -y policykit-desktop-privileges apt-get install -y policykit-1-gnome apt-get install -y vim vim-common apt-get install -y thunar apt-get install -y gnome-system-monitor gnome-system-tools apt-get install -y network-manager apt-get install -y network-manager-gnome apt-get install -y network-manager-openvpn apt-get install -y network-manager-openvpn-gnome apt-get install -y wireless-tools apt-get install -y lightdm-gtk-greeter apt-get install -y lightdm-gtk-greeter-settings apt-get install -y overlay-scrollbar overlay-scrollbar-gtk2 apt-get install -y brasero apt-get install -y gnome-bluetooth apt-get install -y libbluetooth3 libgnome-bluetooth13 apt-get install -y pulseaudio-module-bluetooth apt-get install -y pulseaudio-module-x11 apt-get install -y totem-plugins gromit apt-get install -y gstreamer1.0-pulseaudio apt-get install -y transmission-gtk apt-get install -y pactl xbacklight apt-get install -y feh gnome-icon-theme-full apt-get install -y rofi compton apt-get install -y gnome-terminal apt-get install -y gedit apt-get install -y git apt-get install -y i3 i3-wm i3blocks i3lock i3status apt-get install -y xserver-xorg-video-intel apt-get install -y acpi-support apt-get install -y apport-gtk apt-get install -y cups cups-bsd cups-client cups-filters apt-get install -y foomatic-db-compressed-ppds apt-get install -y openprinting-ppds apt-get install -y bluez apt-get install -y bluez-cups apt-get install -y hplip apt-get install -y printer-driver-brlaser printer-driver-c2esp apt-get install -y printer-driver-foo2zjs apt-get install -y printer-driver-gutenprint apt-get install -y printer-driver-hpcups apt-get install -y printer-driver-min12xxw apt-get install -y printer-driver-pnm2ppa apt-get install -y printer-driver-postscript-hp apt-get install -y printer-driver-ptouch printer-driver-pxljr apt-get install -y printer-driver-sag-gdi printer-driver-splix apt-get install -y system-config-printer-gnome apt-get install -y indicator-printers apt-get install -y python3-aptdaemon.pkcompat apt-get install -y evince evince-common apt-get install -y libssh-4 libnm-glib-vpn1 apt-get install -y fonts-arphic-ukai fonts-arphic-uming apt-get install -y fonts-dejavu-core fonts-freefont-ttf apt-get install -y fonts-guru fonts-guru-extra fonts-kacst apt-get install -y fonts-kacst-one fonts-khmeros-core apt-get install -y fonts-liberation fonts-opensymbol apt-get install -y fonts-nanum fonts-stix fonts-symbola apt-get install -y xfonts-base xfonts-encodings apt-get install -y xfonts-scalable xfonts-utils apt-get install -y libxfont1 libfont-afm-perl apt-get install -y libfontconfig1 libfontembed1 apt-get install -y libfontenc1 gnome-font-viewer apt-get install -y fontconfig fontconfig-config apt-get install -y dmz-cursor-theme libwayland-cursor0 apt-get install -y libxcursor1 xcursor-themes apt-get install -y mousetweaks apt-get install -y laptop-detect apt-get install -y update-inetd update-notifier apt-get install -y update-notifier-common apt-get install -y usb-creator-common usb-creator-gtk apt-get install -y gnome-power-manager apt-get install -y libgsettings-qt1 apt-get install -y libproxy1-plugin-gsettings apt-get install -y libappindicator3-1 apt-get install -y gir1.2-appindicator3-0.1 gdebi apt-get install -y caffeine ##### Get and install infinality (better font rendering) add-apt-repository ppa:no1wantdthisname/ppa -y apt-get update apt-get upgrade -y apt-get install -y fontconfig-infinality ###### Get and install playerctl wget 'https://github.com/acrisci/playerctl/releases/download/v0.5.0/playerctl-0.5.0_amd64.deb' dpkg -i playerctl-0.5.0_amd64.deb rm -rf playerctl-0.5.0_amd64.deb ###### Remove old versions of the Arc theme rm -rf /usr/share/themes/{Arc,Arc-Darker,Arc-Dark} rm -rf ~/.local/share/themes/{Arc,Arc-Darker,Arc-Dark} rm -rf ~/.themes/{Arc,Arc-Darker,Arc-Dark} ###### Get and install the latest Arc theme wget http://download.opensuse.org/repositories/home:Horst3180/xUbuntu_16.04/Release.key apt-key add - < Release.key sh -c "echo 'deb http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04/ /' >> /etc/apt/sources.list.d/arc-theme.list" apt-get update apt-get install -y arc-theme ###### Make .fonts directory if not already available mkdir ~/.fonts ###### Get and install San Francisco Font git clone https://github.com/supermarin/YosemiteSanFranciscoFont.git cp -v YosemiteSanFranciscoFont/*.ttf ~/.fonts rm -rf YosemiteSanFranciscoFont ###### Get and install Font Awesome Web Font git clone https://github.com/FortAwesome/Font-Awesome.git cp -v Font-Awesome/fonts/*.ttf ~/.fonts rm -rf Font-Awesome ###### Get and install Moka icon theme add-apt-repository ppa:moka/daily -y apt-get update apt-get install -y moka-icon-theme ###### Make config directories mkdir ~/.config mkdir ~/.config/gtk-3.0 mkdir ~/.config/i3 ###### Apply GTK theme, fonts, icon theme, login greeter ###### and i3 cp -f ~/i3buntu-master/configs/gtk/gtk-3.0/settings.ini ~/.config/gtk-3.0/settings.ini cp -f ~/i3buntu-master/configs/gtk/.gtkrc-2.0 ~/.gtkrc-2.0 cp -f ~/i3buntu-master/configs/lightdm-gtk-greeter.conf /etc/lightdm/lightdm-gtk-greeter.conf cp -f ~/i3buntu-master/configs/i3/config ~/.config/i3/config ###### Set appropriate user permissions chown $(logname):$(logname) -R /home/$(logname)/ chmod g+s /home/$(logname)/ setfacl -d -m g::rwx /home/$(logname)/ setfacl -d -m o::rx /home/$(logname)/ ================================================ FILE: progress.sh ================================================ #!/bin/bash function spin() { sp='/-\|' printf ' ' while true; do printf '\b%.1s' "$sp" sp=${sp#?}${sp%???} sleep 0.05 done } function progressbar() { bar="##################################################" barlength=${#bar} n=$(($1*barlength/100)) printf "\r[%-${barlength}s (%d%%)] " "${bar:0:n}" "$1" } spin & pid=$! #your task here for i in `seq 1 100`; do progressbar $i sleep 0.1 done # kill the spinner task kill $pid > /dev/null 2>&1 \n ================================================ FILE: sources.list ================================================ #------------------------------------------------------------------------------# # OFFICIAL UBUNTU REPOS # #------------------------------------------------------------------------------# ###### Ubuntu Main Repos deb http://dk.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse ###### Ubuntu Update Repos deb http://dk.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse deb http://dk.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse #------------------------------------------------------------------------------# # UNOFFICIAL UBUNTU REPOS # #------------------------------------------------------------------------------# ###### 3rd Party Binary Repos #### Dropbox PPA - http://dropbox.com ## Run this command: sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5044912E deb http://linux.dropbox.com/ubuntu/ xenial main #### Google Chrome Browser - http://www.google.com/linuxrepositories/ ## Run this command: wget -q https://dl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add - deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main #### Oracle Java (JDK) Installer PPA - http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html ## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 deb http://ppa.launchpad.net/webupd8team/java/ubuntu vivid main #### Steam for Linux - http://store.steampowered.com/about/ ## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F24AEA9FB05498B7 deb [arch=i386] http://repo.steampowered.com/steam/ precise steam #### Tor: anonymity online - https://www.torproject.org ## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 886DDD89 deb http://deb.torproject.org/torproject.org xenial main #### VirtualBox - http://www.virtualbox.org ## Run this command: wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox_2016.asc -O- | sudo apt-key add - deb http://download.virtualbox.org/virtualbox/debian xenial contrib #### Wine PPA - https://launchpad.net/~ubuntu-wine/+archive/ppa/ ## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 883E8688397576B6C509DF495A9A06AEF9CB8DB0 deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial main