You are not logged in.

#1 2011-01-06 14:19:01

tetrao
Member
Registered: 2010-04-07
Posts: 34

Ratpoison: Problems with windows autoscaling and conky statusbar

Hi all!

I am newbie with ratpoison and yesterday made fresh installation. Everyting else did well expect window autoscaling and conky + dzen2 statusbar. 

What I did:
I followed those steps from archwiki for setting up dzen: https://wiki.archlinux.org/index.php/Dzen

my .conkyrc looks like a same as in the wiki:

background no
out_to_console yes
out_to_x no
update_interval 1.0
total_run_times 0
use_spacer none

TEXT
^fg(\#ff0000)${loadavg 1 2 3} ^fg()${time %a %b %d %I:%M%P}

my .xinitrc looks like:

#!/bin/bash

FG='#aaaaaa'
BG='#1a1a1a'
FONT='-*-terminus-*-r-normal-*-*-120-*-*-*-*-iso8859-*'
conky | dzen2 -e - -h '16' -w '600' -ta r -fg $FG -bg $BG -fn $FONT

feh --bg-scale /home/tetrao/walls/hn.jpg &

# setup urxvtd daemon
urxvtc "$@"
if [ $? -eq 2 ]; then
       urxvtd -q -o -f
       urxvtc "$@"
fi

unclutter -root -grab -idle 1 &

exec ratpoison

and .ratpoisonrc

startup_message off
escape C-z

set padding 0 16 0 0

bind x exec $(dmenu_path | dmenu)
bind C-x exec $(dmenu_path | dmenu)

bind c exec urxvtc
bind C-c exec urxvtc

bind b exec uzbl-tabbed
bind C-b exec uzbl-tabbed

# Undo
bind u undo
bind C-u undo

definekey top Print exec import -window root ~/ss-`date +%Y%m%d%H%M%S`.png

definekey top S-XF86AudioRaiseVolume exec ratvolume Master 3%+
definekey top S-XF86AudioMute exec ratvolume Master 0
definekey top S-XF86AudioLowerVolume exec ratvolume Master 3%-
definekey top XF86AudioRaiseVolume exec ratvolume PCM 3%+
definekey top XF86AudioMute exec ratvolume PCM 0
definekey top XF86AudioLowerVolume exec ratvolume PCM 3%-

definekey top C-S-Up focusup
definekey top C-S-Left focusleft
definekey top C-S-Down focusdown
definekey top C-S-Right focusright
definekey top C-M-Up prevscreen
definekey top C-M-Down nextscreen

definekey top M-l exec ratpoison -c "select -" -c "gprev" -c "next"
definekey top M-h exec ratpoison -c "select -" -c "gnext" -c "next"

definekey top M-j next
definekey top M-k prev

So I did 16 pixels hole for the conky statusbar. Still I cannot see anything on the top of screen. (Just empty hole)

Problem with windows autoscaling is that it doesn't fullfill whole screen. I can also see two additional small holes at the bottom and right side of screen (eventhought I didn't made those by the config). Strange isn't it?

I put my print screen, hope it tells more about the problem:

ss20110106154355.th.png

What I should to do text? Edit some files, but I dunno which one and how?

I appreciate your help.

Cheers!

Offline

#2 2011-01-06 19:01:48

fr33ke
Member
Registered: 2010-08-21
Posts: 20

Re: Ratpoison: Problems with windows autoscaling and conky statusbar

About the small holes, see "Why is there a small gap between my terminal and the edge of the screen?" in the ratpoison FAQ.

I'm not sure about your dzen/conky problem, maybe you need to "unmanage" its window? See the ratpoison documentation.

Offline

#3 2011-01-06 23:51:01

tetrao
Member
Registered: 2010-04-07
Posts: 34

Re: Ratpoison: Problems with windows autoscaling and conky statusbar

fr33ke wrote:

About the small holes, see "Why is there a small gap between my terminal and the edge of the screen?" in the ratpoison FAQ.

I'm not sure about your dzen/conky problem, maybe you need to "unmanage" its window? See the ratpoison documentation.

That fixed autoscaling issue. Thx a lot!

Any ideas, what is wrong with dzen+conky bar? I quickly read ratpoison manual and didn't find any help for this problem.

Offline

#4 2011-01-07 13:24:12

tetrao
Member
Registered: 2010-04-07
Posts: 34

Re: Ratpoison: Problems with windows autoscaling and conky statusbar

tetrao wrote:

Any ideas, what is wrong with dzen+conky bar? I quickly read ratpoison manual and didn't find any help for this problem.

Problem solved: I changed conky-cli to conky

Offline

Board footer

Powered by FluxBB