This is an experimental project to setup up a nice i3 desktop environment running on Ubuntu .
sudo apt-get update
sudo apt-get install i3 i3-wm i3blocks i3lock i3status
The configure file for i3 is located (by default) at:
~/.config/i3/config
- Install pactl, xbacklight:
sudo apt-get install xbacklight
- Install playerctl:
Download the package from: https://github.com/acrisci/playerctl/releases
Then sudo dpkg -i the_package.deb
The line for setting custom wallpaper has been added (but commented) out in the config file.
Before activating that line, need to install feh:
sudo apt-get install feh
A certain app will be launched only in a specified workspace. Take the firefox for example.
- Launch firefox, and an empty terminal.
- In the terminal, run
xprop
, then click the firefox window to show the app info. Look for the line "WM_CLASS(STRING)", and take a note of the 2nd field, for firefox it's "Firefox". - In the config file, add
assign [class="Firefox"] $workspace1
This is to enable icons in workspace names, as defined in the i3 config file.
-
Go to
https://github.com/FortAwesome/Font-Awesome/releases
and download the font file zip. -
copy the .ttf font files from fonts/ folder to
/usr/local/share/fonts
.
- Install lxappearance
sudo apt-get install lxappearance
- Launch lxappearance, and set Default font to SFNS Display.
sudo apt-get install arc-theme
- Install
sudo apt-get install rofi
- Replace
dmenu_run
command with a rofi command in the i3 config file.
- Install
sudo apt-get install compton
- Add
exec_always compton -f
in the i3 config file
The default status bar is updated using i3status. Change this to i3blocks which is easier to control.
- Copy the default i3blocks config file:
cp i3blocks.conf ~/.config/i3/