@Goro in his reply listed good tools to recognize pressed key such a **xev**. But the second part of his answer wasn't what I was looking for.
I wanted to change the behavior of `Tab` not `Windows` key. For example to activate script in i3 window manager to change window I can press `Tab` \+ 1 to switch to the first screen. `Win` \+ `1` (default). But I can still use `Tab` to make an indention if I press it solely.
What I did to make it works was using **xmodmap** and **xcape**.
spare_modifier="Super_L"
echo $spare_modifier
xmodmap -e "keycode 23 = $spare_modifier"
xmodmap -e "remove mod4 = $spare_modifier"
xmodmap -e "add Win = $spare_modifier"
xmodmap -e "add mod4 = $spare_modifier"
xmodmap -e "keycode any = Tab"
xcape -e "$spare_modifier=Tab"