You are not logged in.

#1 2008-09-12 18:33:52

daf666
Member
Registered: 2007-04-08
Posts: 470
Website

qurxvt - quad rxvt-unicode

Hi urxvt users, you might find this usefull - a quad urxvt utility, its four terminals for the price of one:

http://code.google.com/p/qurxvt/

your .Xdefaults settings should work normally, and cli arguments passed also.

enjoy (and please tell me if there are nasty bugs (there probably are)).

Offline

#2 2008-09-12 21:02:14

bwalk
Member
Registered: 2007-03-21
Posts: 177

Re: qurxvt - quad rxvt-unicode

One question: Why?

Offline

#3 2008-09-12 21:08:32

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: qurxvt - quad rxvt-unicode

Woah awesome. I always have URxvt running with dvtm with 4 windows.

I'll definitely try this out. Thanks.

@bwalk: four terminals on screen is the nicest, I find. Using something like this removes the need for a tiling WM.

Offline

#4 2008-09-12 21:25:54

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: qurxvt - quad rxvt-unicode

Ok, after a bit of usage, some issues:

1. highlighting which window is active. I guess you could set this in .Xdefaults though with fading. But a little border around it would be nicer (Urxvt can do a border, but not 'only when active' right?)
2. changing focus by clicking causes a black frame. This is a little annoying.
2b. and can you make it change focus with a keyboard shortcut?
3. how do I get a closed urxvt back?
4. it would be really nice to be able to do something like this:
./qurxvt --NW mc --NE mc --SW htop --SE cmus

edit
5. one issue I thought it wasn't important, but it is.
The vertical resize bar isn't split up like the horizontal. When your lower section is fine the way it is, but you want a wide screen window at the top, this forces you to also decrease the lower windows' sizes.

Also it's nice to see the ncurses apps respond so well to resizing, I expected them all to quit unexpectedly, but it works great.

Last edited by Procyon (2008-09-12 21:45:42)

Offline

#5 2008-09-13 07:10:07

daf666
Member
Registered: 2007-04-08
Posts: 470
Website

Re: qurxvt - quad rxvt-unicode

Procyon wrote:

Ok, after a bit of usage, some issues:...

Thanks for trying this out!!

1. Doable
2. I know... the way I implemented focusing to and back from terminals is kinda hacky, the real way is to capture signals directly from the gdk plugin into the socket, that would remove the need for an event box... if someone can help with this it will be cool.
2b. Doable
3. lol.. I didnt think about that... I guess, that after quiting a window, a click on the empty socket should create a new terminal there.
4. Doable - I will need to implement a config file, because passing all this stuff in the CLI will be messy.
5. this is tricky.. it depends on the created layout, you see by default it uses two vertical containers in one horizontal container, but I guess the user should decide about the layout, something like:
# this is the normal layout:
layout=1,2,3,4
# this is the one on top, two on bottom layout:
layout=1,1,2,3

ok.. I have added all this to the todo list! big_smile

edit: and also I am not sure how to set the title of the window (it is done in /usr/bin/urxvt-tabbed can someome translate from perl..heh).

Last edited by daf666 (2008-09-13 07:15:11)

Offline

#6 2008-09-25 01:22:05

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: qurxvt - quad rxvt-unicode

How is the project going?

Offline

#7 2008-09-25 19:28:58

daf666
Member
Registered: 2007-04-08
Posts: 470
Website

Re: qurxvt - quad rxvt-unicode

Procyon wrote:

How is the project going?

ohh.. not so good...
I crashed in to a brick wall everywhere I turned trying to avoid the black frame when focusing in/out (this is a GDK issue.. an I just cant find any solid info on how to forward signals from x windows of external processes to gtk objects in C).
Furstrated, I started a new project qvte, obviously based on the vte lib.
Sorry if this is a disappointment, I need usability more than the speed and eye candy, attempting any interaction other than simple embedment with urxvt didnt reach very far.
I intend to make qvte profile based, something in the lines of putty/securecrt with plenty of console GUI layouts.
Edit: scratch that..... I found a TE that does all that, Terminator smile

Last edited by daf666 (2008-10-03 14:50:59)

Offline

Board footer

Powered by FluxBB