This is my personal configuration for my favorite openbox window manager and some applications too.
I hope you understand everything here. 😉
Here are some details about my setup:
- WM : Openbox 🎨 4 changable themes/mode!
- DM : SLiM 🌼 login themes Mac looks like!
- Shell : Zsh 🐚 with oh my zsh framework!
- Terminal : URxvt, Termite
- Openbox Menu : Obmenu-generator
- Panel : Tint2 🍧 material icon font!
- Compositor : Picom
- Notify Daemon : Dunst 🍃 minimalism!
- Application Launcher : Rofi 🚀 apps & sidebar menu!
- File Manager : Thunar 🔖 customized sidebar & icon!
- Text Editor : Geany, nano, vim
- UI Enlargement: Fonts, etc. - See gallery
- GTK+ Theme: Google-chrome / Chromium - See tip
- New Scripts:
- New Icons: Gladient ( © )
This is how to install this dotfiles for openbox automated setup.
Warning! The current application launcher is only for rofi prior to version 1.6.0 (1.5.4). Issue
Debian & Ubuntu (and all based distributions)
sudo apt install openbox obconf alsa-utils brightnessctl nitrogen dunst tint2 gsimplecal rofi lxappearance qt5ct qt5-style-plugins lxpolkit xautolock rxvt-unicode xclip scrot thunar thunar-archive-plugin thunar-media-tags-plugin thunar-volman ffmpegthumbnailer tumbler w3m w3m-img geany nano vim viewnior mpd mpc ncmpcpp mpv pavucontrol parcellite neofetch htop zsh imagemagick ffmpeg playerctl
oh-my-zsh & plugins
-
chsh -s /usr/bin/zsh # Change default shell to zsh for current user
-
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
-
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
-
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
- zsh-completions
picom
I haven't tested it yet.
-
sudo apt install libxext-dev libxcb1-dev libxcb-damage0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-randr0-dev libxcb-composite0-dev libxcb-image0-dev libxcb-present-dev libxcb-xinerama0-dev libxcb-glx0-dev libpixman-1-dev libdbus-1-dev libconfig-dev libgl1-mesa-dev libpcre2-dev libevdev-dev uthash-dev libev-dev libx11-xcb-dev
-
git clone https://github.com/yshui/picom.git && cd picom/
-
git submodule update --init --recursive
-
meson --buildtype=release . build
-
ninja -C build
-
ninja -C build install
obmenu-generator
I haven't tested it yet.
-
sudo su
-
echo 'deb http://download.opensuse.org/repositories/home:/Head_on_a_Stick:/obmenu-generator/Debian_10/ /' > /etc/apt/sources.list.d/home:Head_on_a_Stick:obmenu-generator.list
-
wget -nv https://download.opensuse.org/repositories/home:Head_on_a_Stick:obmenu-generator/Debian_10/Release.key -O Release.key
-
apt-key add - < Release.key
-
apt update
-
apt install obmenu-generator libgtk2-perl
Arch Linux (and all based distributions)
Make sure your AUR Helper is yay.
yay -S openbox obconf alsa-utils brightnessctl nitrogen dunst tint2 gsimplecal rofi lxappearance qt5ct qt5-styleplugins lxsession xautolock rxvt-unicode-patched xclip scrot thunar thunar-archive-plugin thunar-media-tags-plugin thunar-volman ffmpegthumbnailer tumbler w3m geany nano vim viewnior mpd mpc ncmpcpp mpv pavucontrol parcellite neofetch htop picom obmenu-generator gtk2-perl zsh zsh-completions imagemagick ffmpeg playerctl
oh-my-zsh & plugins
-
chsh -s /usr/bin/zsh # Change default shell to zsh for current user
-
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
-
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
-
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
Optional: cava, gimp, improved nano syntax highlighting, networkmanager-dmenu, slim, spotify, termite, xfce4-power-manager, zathura.
Please refer to wiki/Detailed-Environment.
Most of the files
You can clone or download it as a zip. After that put all files in the dotfiles folder to user's home directory or ( ~ ).
-
git clone https://github.com/owl4ce/dotfiles.git
-
cd dotfiles/ && cp -r {.*,*} ~/
-
rm -r ~/{README.md,LICENSE,.git} # Delete unnecessary files
Icons
-
cd ~/.icons/
-
tar -Jxvf Papirus-Custom.tar.xz && tar -Jxvf Papirus-Dark-Custom.tar.xz
-
sudo cp -r {Papirus-Custom,Papirus-Dark-Custom} /usr/share/icons/
-
rm -r ~/.icons/{Papirus-Custom,Papirus-Dark-Custom,*.tar.xz} # Delete unnecessary files
For refresh font cache do
fc-cache -rv
The Others folder contains slim themes. SLiM themes read this.
-
Google-chrome / Chromium (tip)
Settings:
chrome://settings/
- Themes:
Use GTK+
Use system title bar and borders
New Tab
- Extension: Tabliss - A Beautiful New Tab
Tabliss - Widgets Font
- Greeting, Message: Youth Touch DEMO
- Time, Search Box, Weather: SFNS Display
- Themes:
-
Spotify - Spicetify Theme (tip)
-
Dunst Action: Default Web Browser (
middle click
)
~/.config/dunst/dunstrc-left
~/.config/dunst/dunstrc-right
~/.config/dunst/dunstrc-dark-left
~/.config/dunst/dunstrc-dark-right
... browser = google-chrome-stable ...
-
Screenshots (now, select/draw, timer)
~/.scripts/shot-now
~/.scripts/shot-seldraw
~/.scripts/shot-timer
... savedir=~/Pictures bordercolor="#ffffff" sec="5" ...
-
Root Privileges (SUID)
poweroff
reboot
brightnessctl
- others if needed
sudo chmod u+s /usr/{bin,sbin}/{poweroff,reboot,brightnessctl}
For
brightnessctl
I recommend adding users to the groupvideo
. -
Default Lockscreen
~/.config/openbox/lockscreen
-
Tray
~/.config/openbox/tray
-
URxvt Icon
~/.Xresources
... URxvt.iconFile: /home/username/.icons/gladient/term.png ...
-
Tint2 Network Status (interface)
~/.config/tint2/executor/network
... intwifi="wlan0" intether="eth0" ...
-
Neofetch Image (w3m)
~/.config/neofetch/config.conf
... # Image Source # # Which image or ascii file to display. # # Default: 'auto' # Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' # 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' # Flag: --source # # NOTE: 'auto' will pick the best image source for whatever image backend is used. # In ascii mode, distro ascii art will be used and in an image mode, your # wallpaper will be used. image_source="auto" #image_source="${HOME}/.config/neofetch/arch.png" #image_source="${HOME}/.config/neofetch/artix.png" #image_source="${HOME}/.config/neofetch/bedrock.png" #image_source="${HOME}/.config/neofetch/gentoo.png" #image_source="${HOME}/.config/neofetch/ob.png" #image_source="${HOME}/.config/neofetch/ubuntu.png" #image_source="${HOME}/.config/neofetch/void.png" ...
-
MPD Music Directory
~/.mpd/mpd.conf
... music_directory "~/Music/" ...
-
Ncmpcpp Music Directory
~/.ncmpcpp/config
~/.ncmpcpp/albumart
~/.ncmpcpp/albumart-only
~/.ncmpcpp/albumart-viz
... mpd_music_dir = "~/Music/" ...
How to use ncmpcpp albumart?
It's easy, putalbum|cover|folder|artwork|front.jp?g|png|gif|bmp
into folder with song album. Recommended image size is 500px ( 1:1 ) or more. See keybinds
Please don't underrate, I've configured them all since April 2020 and have been stuDYING them since October 2019. Awesome open-source. If you support it, star it or make a PR. Or if there is a problem with configuration you can make an issue here.
Thank you!
- Openbox Wiki
- Elenapan
- Adhi Pambudi
- Fikri Omar
- Rizqi Nur Assyaufi
- Muktazam Hasbi Ashidiqi
- Ghani Rafif
- Aditya Shakya
- Ekaunt - Better promptmenu
- HopeBaron - Termite config
- Themix-Project - Oomox
- Nana-4 - Materia-theme
- Papirus Development Team - Papirus-icon-theme
- Slava Levit - Notify-send.sh
- Our local linux community Linuxer Desktop Art and r/unixporn.
- All artists who make icons, illustrations, and wallpapers ( © ).