Keycodes in Linux

xev is a tool that print contents of X events . The manpage of xev has following description: Xev creates a window and then asks the X server to send it events whenever anything happens to the window (such as it being moved, resized, typed in, clicked in, etc.). You can also attach it to an existing window. It is useful for seeing what causes events to occur and to display the information that they contain; it is essentially a debugging and development tool, and should not be needed in normal usage.

Virtualenv in Fish Shell

While working with python, you always need to use virtual environments. And for the folks like me, who uses fish shell instead of other shell. Activating the virtualenv might be a little tricky. The following method does not work in fish but it works in other shells like Bourne Shell, zsh. 1 2 3 4 5 6 7 8 $ source /Path/to/venv/bin/activate /Path/to/venv/bin/activate (line 76): Missing end to balance this if statement if [ -n "${BASH-}" ] || [ -n "${ZSH_VERSION-}" ] ; then ^ from sourcing file ~/.