The i3 FAQ has migrated to All content here is read-only.
Ask Your Question

Kuake-like Behavior with urxvt

asked 2012-10-21 15:34:58 +0000

Shahin gravatar image

I searched a lot to find something like this in i3. I have a small screen and it can save me a lot. There is an improved one in open box that uses xdotools. I tried to use it in i3 but I faild. After starting the script, urxvt window will disappear. I'll be thankful if any body help me ;-)

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2012-10-21 16:36:59 +0000

badboy_ gravatar image

Try the scratchpad function. This might be exactly what you need. See

edit flag offensive delete link more


Thank you ;-)

Shahin gravatar imageShahin ( 2012-10-21 19:18:42 +0000 )edit

answered 2013-04-26 06:52:43 +0000

Shahin gravatar image

It's long time I know, but just today I found what I wanted and I want to share it:

exec --no-startup-id urxvt -name 'scratchpad_urxvt' -g 130x24
for_window [instance="scratchpad_urxvt"] move to scratchpad, border 1pixel
bindsym F12 [instance="scratchpad_urxvt"] scratchpad show, move position 110px 0px

Now I have a completely Quake like terminal in my lovely i3 ;-)

edit flag offensive delete link more

answered 2013-05-01 04:32:37 +0000

updated 2013-05-01 04:34:44 +0000

I use this daily and aside from the issue posted here:

I have a bad habbit of typing exit every time I'm done in a terminal here is my solution stole from the kuake style setup for urxvt and openbox. Requires xdotool. in ~/.local/bin/urxvtq ( or somewhere in your $PATH )


wid=$(xdotool search --classname scratchpad_urxvt_top)
if [ -z "$wid" ]; then
    #your prefered urxvt output here.
    urxvt -pe default,matcher -name scratchpad_urxvt_top -geometry 180x28

then in your .i3/config modify your bindsym for show/hide of the scratchpad window:

bindsym $mod+<key> exec .local/bin/urxvtq, [instance="scratchpad_urxvt_top"] scratchpad show, move position 45px 0px

Now if you close your scratchpad by mistake hit your chosen hotkey and a new window will be spawned!

Sadly it doesn't focus the window so you have to hit it twice, a small price to pay versus manually firing up a new window.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2012-10-21 15:34:58 +0000

Seen: 1,866 times

Last updated: May 01 '13