xcompmgr
: composite manager for shadows and transparency
imagemagick
: screenshot creator
xclip
: clipboard manager for sending screenshot to clipboard
pulseaudio-utils
: Sound system for POSTIX OSes
qlipper
: cliboard manager
terminator
: My lovly terminal
sudo apt install i3 xorg suckless-tools slim imagemagick \
qlipper pulseaudio-utils terminator galculator
sudo cp slim/slim.conf /etc/slim/
feh-rand
: same as feh
but use a url to fetch random wallpapers. copy it to system PATH
(/usr/local/bin).
i3lock-rand
: lock i3 with random images from a path. copy it to system PATH
.
i3config
: my personal i3 config file. copy it to ~/.config/i3/config
(Debian) or ~/.i3/config
(Ubuntu).
volume
: volume control script. copy it to /usr/local/bin
.
custom shortcuts:
- Super + Shift + f: execute mozilla firefox
- Super + PrintScreen: create a screenshot and save it to
Pictures/date.jpg
- Super + Shift + PrintScreen: create a screenshot and send it to clipboard
- Super + Esc: focus on child
- Super + Space: change keyboard layout
i3status.conf
: custom i3 bar status. this file auto loaded if you copy it to~/.i3status.conf
Xresources
: some custom config for better font rendering. copy it to~/.Xresources
and restart your X session.
xorg.conf.d
: this directory contains some config files for device input management like synaptic touchpad manager (tap to click, two finger tap to right click) and etc. copy this folder to/etc/X11/
and restart your X session.
Edit file /etc/default/keyboard
:
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="us,ir"
XKBVARIANT=""
XKBOPTIONS="grp:alt_shift_toggle"
BACKSPACE="guess"
And then, to deploy config just run
udevadm trigger --subsystem-match=input --action=change
If there is laptop and using touchpad, need to make a directory and a simple configuration file:
sudo mkdir -p /etc/X11/xorg.conf.d
sudo touch /etc/X11/xorg.conf.d/90-touchpad.conf
Then paste these lines in the file:
Section "InputClass"
Identifier "touchpad"
MatchIsTouchpad "on"
Driver "libinput"
Option "Tapping" "on"
EndSection
Thanks to Cody Craven
The key code is XF86AudioMicMute
which you can bind in you i3 config to mute the microphone.
The command to mute the current default microphone should be
pactl set-source-mute @DEFAULT_SOURCE@ toggle
https://askubuntu.com/a/14083/25025
https://askubuntu.com/a/1249744/25025
https://forum.manjaro.org/t/muting-microphone-with-fn-f4-function-shortcuts-issue/121038/5
To isntall i3lock with showing clock refer to:
https://github.com/Lixxia/i3lock
See the i3lock home page.
- pkg-config
- libxcb
- libxcb-util
- libpam-dev
- libcairo-dev
- libxcb-xinerama
- libxcb-randr
- libev
- libx11-dev
- libx11-xcb-dev
- libxkbcommon >= 0.5.0
- libxkbcommon-x11 >= 0.5.0
We recommend you use the provided package from your distribution. Do not build i3lock unless you have a reason to do so.
First install the dependencies listed in requirements section, then run these commands (might need to be adapted to your OS):
autoreconf --force --install
rm -rf build/
mkdir -p build && cd build/
../configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-sanitizers
make
Thanks to https://github.com/SammysHP/i3lockmore, By this command we can lock the screen with some effects on i3lock background image.
i3lockmore --image-fill /home/picture/back.jpg