You are not logged in.

#1 2006-08-27 21:45:09

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

urxvt's kuake perl extension

I'm using tilda at the moment, but I find it hackish and I'd love to be able to use urxvt as the quake-like terminal. If I run "urxvt -pe kuake", I get:

$ urxvt -pe kuake
urxvt: An X Error occured, trying to continue after report.
urxvt: X Error of failed request:  BadAccess (attempt to access private resource denied)
urxvt: Major opcode of failed request:  33
urxvt: (which is X_GrabKey)
urxvt: Serial number of failed request:  123

Anyone get it to work? I've also tried setting it in my .Xdefaults and that didn't seem to work either..


I am a gated community.

Offline

#2 2006-08-27 21:51:13

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: urxvt's kuake perl extension

Nevermind roll

I had to close down tilda first, I guess urxvt was trying to grab the same keybinding or something, I dunno. It works.


I am a gated community.

Offline

#3 2006-08-27 22:35:46

benplaut
Member
Registered: 2006-06-13
Posts: 383

Re: urxvt's kuake perl extension

#!/bin/bash
if wmctrl -l | grep "PopUp"
        then wmctrl -v -c "PopUp" && exit  
        else urxvt +sb -bl -geometry 127x30+2+0 -T "PopUp" -e screen -d -R popup
fi 

now with screen goodness for surviving X restarts!!

needs wmctrl from aur

Offline

#4 2006-08-27 22:41:46

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: urxvt's kuake perl extension

benplaut, I used something along those lines for a while. The problem with that solution is that it opens and closes your terminal instance, so if you type something into the terminal and then "hide" it, the text is gone when you open it back up. I hide and show it quite a lot, so that's less than ideal.

And besides, this is built into urxvt tongue Although I did install devilspie to get rid of the window decorations (I assume wmctrl can do that as well).


I am a gated community.

Offline

#5 2006-08-27 23:00:40

benplaut
Member
Registered: 2006-06-13
Posts: 383

Re: urxvt's kuake perl extension

this uses screen, so the session is saved and restored smile
everything in that script for making the terminal is built into screen and urxvt, including the size, decorations, and placement.  All that wmctrl does is provide some way of seeing if the window is already open, cause i don't know of a better way tongue

The way i use it, it still shows up on the taskbar, so i can leave it open when needed.

/screen freak

Offline

Board footer

Powered by FluxBB