Tag Info

New answers tagged


You could use wmctrl to tell the window manager to activate it (raise it and give it focus): wmctrl -ia "$WINDOWID"


Try raising the bell: printf '\a' This doesn't work with all terminal emulators; I don't know about xfce4-terminal. In xterm, it's a mode (the bellIsUrgent and popOnBell resources) that can be turned on and off with control sequences, so try turning it on: printf '\e[?1042;1043h\a'


If you use xbindkeys and have xdotool utility installed, you can add the following lines to your ~/.xbindkeysrc to enable win+left and win+right to move current active window to the left/right half of the screen: "xdotool windowsize $(xdotool getwindowfocus) 50% 100% && xdotool windowmove $(xdotool getwindowfocus) 0 y" Mod2+Mod4 + Left "xdotool ...

Top 50 recent answers are included