You are not logged in.

#1 2008-10-20 01:44:13

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 124

ratpoison questions

I switched from kde to ratpoison (i "saved" almost 1Gb doing it big_smile) a few hours ago and it's great, I almost don't use the mouse anymore big_smile, but in this time i couldn't solve some stuff.

Can ratpoison merge two tiles? I didn't find a command to do that.

Does anyone use ratmenu or dzen2? I couldn't find ratmenu in AUR and ABS, and google doesn't help me with the source code ider. dzen2 is installed, but I have no idea how to configure it.

and how can I configure ratpoison? i "readed" about a config file in the home directory, but someone here said it is a outdated method.

Offline

#2 2008-10-20 11:22:20

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

Re: ratpoison questions

1. What do you mean merge tiles? Do you mean split? C-t s or S will split in two frames and C-t Q will make it fullscreen again.

2. I use dmenu. I guess dzen2 is like it, the svn version can do menu selection too, but the main version I had no luck with.
There are quite a few dmenu launcher scripts, here is mine: link.

3. The config file. It is not outdated. When you're trying out stuff 'live' (what I think you presume is the new method) you do it to put it in your config file.

If you want a nice tip, here is what I use for the message bar, if you bind a key to "windows" (I think it's C-t w) then it will show up until a popup overrides it, but it is a really nice window indicator:

#bar appearance
msgwait 0
startup_message off
set winname class
set barborder 0
set font 9x15
set inputwidth 1280
set bgcolor black
set fgcolor #7070ff
set bargravity se
set wingravity nw
set winliststyle row
set winfmt %t

Last edited by Procyon (2008-10-20 15:29:46)

Offline

#3 2008-10-20 14:26:21

mentallaxative
Member
From: Australia
Registered: 2008-07-14
Posts: 134
Website

Re: ratpoison questions

Look for ratmen in the AUR.

Offline

#4 2008-10-20 15:39:35

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 124

Re: ratpoison questions

Procyon wrote:

1. What do you mean merge tiles? Do you mean split? C-t s or S will split in two frames and C-t Q will make it fullscreen again.

I found a way, I'm using undo "C-t  u" to unsplit, I just need split it in the right order, the thing is when I don't remember to split in the right order and I need split all again - i use 4 or 5 windows at once -.

I use 4 or 5 five because I can't see if someone talks with me in the msn, then i leave pebrot open, and the music player mp3blast, the shell and ff.

I'm going try the dmenu and the ratmen and try some stuff with the config file.

thanks for the help.

Offline

#5 2008-10-20 16:02:37

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: ratpoison questions

hack.augusto wrote:

Can ratpoison merge two tiles? I didn't find a command to do that.

See the 'remove' and 'only' commands: http://www.nongnu.org/ratpoison/doc/Spl … g%20Frames

hack.augusto wrote:

Does anyone use ratmenu or dzen2? I couldn't find ratmenu in AUR and ABS, and google doesn't help me with the source code ider. dzen2 is installed, but I have no idea how to configure it.

While not exactly what you want, I use conky, and set my window padding to leave a 20px space at the bottom of the screen, so I can display conky info.

hack.augusto wrote:

and how can I configure ratpoison? i "readed" about a config file in the home directory, but someone here said it is a outdated method.

No, you configure ratpoison by putting commands in ~/.ratpoisonrc. See mine here

Offline

#6 2008-10-21 22:50:45

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 124

Re: ratpoison questions

Thanks, the remove command was just what I wanted.

I have a new issue, I changed from xterm to urxvt, and from bash to zsh, and i can't figure out why urxvt doesn't fill up the whole space, seems to be a invisible boarder in the bottom and right side of the frame


## edit ##

looking up at phrakture .Xdefaults I found this:

URxvt*internalBorder:   0

This fixed the right side, but not the bottom

## edit ##

here is my .Xdefaults

URxvt*termName:         rxvt  
URxvt*foreground:       #ffffff 
URxvt*scrollBar:        false 
URxvt*borderLess:       True 
URxvt*borderwidth:      0px 
URxvt*matcher.button:   1
 
Xft*dpi:                96 
Xft*antialias:          true 
Xft*hinting:            full 
 
URxvt*background:       rgba:0000/0000/0000/cccc 
 
URxvt.transparent:      true 
URxvt.tintColor:        black 
URxvt.shading:          15

when I was looking for some solutions I found in some wiki this command:

$ xrdb -load .Xdefaults 
.Xdefaults:2: error: Unknown #directive "URxvt"
    #URxvt*font: 8x13
.Xdefaults:4: error: Unknown #directive "URxvt"
    #URxvt*background: #000000
.Xdefaults:12: error: Unknown #directive "URxvt"
    #URxvt*fading: 50
.Xdefaults:13: error: Unknown #directive "URxvt"
    #URxvt*fadeColor: #000000
4 errors in preprocessor.

and my .ratpoisonrc

# setting the escape combo (default C-t)
escape C-z

# escape key to abort
bind Escape abort

# urxvt
bind c exec urxvt
bind C-c exec urxvt

# remove frame
bind R remove

# custom visual
set winname name
set bgcolor black
set fgcolor white
set padding 0 0 0 0
set border 0

Last edited by hack.augusto (2008-10-21 23:04:31)

Offline

#7 2008-10-21 23:04:59

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: ratpoison questions

While I don't use ratpoison, I think I know your problem.  I believe it is the same problem many people have with dwm.  In dwm it's called resizehints, not sure about ratpoison.  The reason this happens is because terminal windows are not sized in number of pixels, rather they use number of colums and rows.  The size is determined mainly by your fontsize.  Try adjusting your font size and see if the gap changes.  If so this is your problem.  Unfortunately that's all I can say.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#8 2008-10-22 00:52:44

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 124

Re: ratpoison questions

thanks rson451, that was exactly what was happening

Offline

#9 2008-10-22 15:54:46

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: ratpoison questions

Yeah. All terminals *should* resize in increments. That is, resizing a terminal should be done in such a way as to not display "half a letter" or something of that nature. Ratpoison respects this, so might not be able to max out the space.

Offline

#10 2008-10-22 20:02:32

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 124

Re: ratpoison questions

I added 2 pixels between the lines and got a perfect setting big_smile:

Rxvt*font:              xft:Bitstream Vera Sans Mono:pixelsize=12
Rxvt*termName:          rxvt
Rxvt*scrollBar:         false

URxvt*borderless:       true
URxvt*borderwidth:      0
URxvt*internalBorder:   0
URxvt*lineSpace:        2

Xft*dpi:                96
Xft*antialias:          true
Xft*hinting:            full

Offline

Board footer

Powered by FluxBB