You are not logged in.

#1 2011-08-07 00:42:43

dcj123
Member
Registered: 2009-12-27
Posts: 58

Conky is cut off with scrotwm

Problem is rather self explanatory, conky displays all of the code in tty1 but is cut off before finishing in scrotwm. I have played around with minimum_size and maximum_width a lot without success. However, that did fix the same problem on my netbook which is running openbox.

out_to_x no
out_to_console yes
update_interval 1.0
total_run_times 0
use_spacer none
minimum_size 1050
maximum_width 1050
TEXT
| ${font OpenLogos:size=10}ARCH X86_64 AMD Athlon(tm) 64 Processor +3200$font${voffset -4}Asus-A8N-E$ | Uptime: ${uptime} | CPU: ${cpu}% | RAM: $memperc% | SWAP: $swapperc% | Hard Drive: ${fs_free_perc /}% Free (${fs_type}) | Updates ${exec /home/administrator/list_upgradable.pl} | Wired Network ${downspeed eth0} k/s down ${upspeed eth0} k/s Up | Wireless Network ${downspeed wlan0} k/s Down ${upspeed wlan0} k/s Up | ${execi 300 /home/administrator/weather.sh "NAM|US|TN|NASHVILLE"}

Here is pic of the problem, I apologize if the image creates a bandwidth problem. I think its small enough.

vOXNleg

Offline

#2 2011-08-12 22:07:49

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: Conky is cut off with scrotwm

dcj123 wrote:

Problem is rather self explanatory, conky displays all of the code in tty1 but is cut off before finishing in scrotwm. I have played around with minimum_size and maximum_width a lot without success. However, that did fix the same problem on my netbook which is running openbox.

out_to_x no
out_to_console yes
update_interval 1.0
total_run_times 0
use_spacer none
minimum_size 1050
maximum_width 1050
TEXT
| ${font OpenLogos:size=10}ARCH X86_64 AMD Athlon(tm) 64 Processor +3200$font${voffset -4}Asus-A8N-E$ | Uptime: ${uptime} | CPU: ${cpu}% | RAM: $memperc% | SWAP: $swapperc% | Hard Drive: ${fs_free_perc /}% Free (${fs_type}) | Updates ${exec /home/administrator/list_upgradable.pl} | Wired Network ${downspeed eth0} k/s down ${upspeed eth0} k/s Up | Wireless Network ${downspeed wlan0} k/s Down ${upspeed wlan0} k/s Up | ${execi 300 /home/administrator/weather.sh "NAM|US|TN|NASHVILLE"}

Here is pic of the problem, I apologize if the image creates a bandwidth problem. I think its small enough.

http://ompldr.org/vOXNleg

This may oe may not work but try putting all commands in {} ie:  ${font} in some cases not having them in {} causes problems.
I'll be watching.  - not a scrotwm user - it may be that - don't know.

Last edited by Sector11 (2011-08-13 16:11:19)

Offline

#3 2011-08-12 22:29:12

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Conky is cut off with scrotwm

My guess is that the output string is too long.  There is a hard limit in scrotwm.c:

#define SWM_BAR_MAX     (256)

You could bump that to a thousand or so, if you can spare a KB of ram :-)
Personally, I start running out of space at 150 characters, but maybe you have a giant screen.

Or if rebuilding ScrotWM is too much trouble, shorten the output.

Offline

#4 2011-08-13 00:28:26

teh
Member
From: Tijuana, Mexico
Registered: 2009-07-07
Posts: 374
Website

Re: Conky is cut off with scrotwm

why not piping conky output through dzen2?


arst

Offline

#5 2011-08-13 16:51:52

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: Conky is cut off with scrotwm

Or --- use two or three conkys side by side.... here's 11 conkys running together --- it can be done, and look seamless too!

thmb_0001.png
That second column is two conkys split between

+- Locks:
| ${goto 22}+- ${exec xset q | grep Num |awk '{print "Num: "$8}'}
| ${goto 22}+- ${exec xset q | grep Caps |awk '{print "Cap: "$4}'}
| 

and

TEXT
+- ${execp ~/Conky/GNU/gnu_astro.sh}
|
+---- Anniversaries ------>${goto 285}| Days

Except today the line "Gemini from 21 May - 20 Jun" is gone.

Last edited by Sector11 (2011-08-13 16:53:30)

Offline

#6 2011-08-13 18:17:16

dcj123
Member
Registered: 2009-12-27
Posts: 58

Re: Conky is cut off with scrotwm

Sector11 wrote:

This may oe may not work but try putting all commands in {} ie:  ${font} in some cases not having them in {} causes problems.
I'll be watching.  - not a scrotwm user - it may be that - don't know.

Actually since I am running conky via scrotwm's bar there is no since in using fonts since their not working. Nevertheless I replaced all of the $command with ${command} and the problem didn't resolve. Thanks for tip though.

keenerd wrote:

My guess is that the output string is too long.  There is a hard limit in scrotwm.c:

#define SWM_BAR_MAX     (256)

You could bump that to a thousand or so, if you can spare a KB of ram :-)
Personally, I start running out of space at 150 characters, but maybe you have a giant screen.

Or if rebuilding ScrotWM is too much trouble, shorten the output.

Rebuilding Scrotwm isn't too much trouble but I haven't had the time to try it yet. I'll try it and report back, by the way my screen is a 1920x1080 Acer lol.

teh wrote:

why not piping conky output through dzen2?

I'll try dzen2 but I would rather use scrotwm bar if possible.

Sector11 wrote:

Or --- use two or three conkys side by side.... here's 11 conkys running together --- it can be done, and look seamless too!

http://dl.dropbox.com/u/16070765/thmb_0001.png
That second column is two conkys split between

+- Locks:
| ${goto 22}+- ${exec xset q | grep Num |awk '{print "Num: "$8}'}
| ${goto 22}+- ${exec xset q | grep Caps |awk '{print "Cap: "$4}'}
| 

and

TEXT
+- ${execp ~/Conky/GNU/gnu_astro.sh}
|
+---- Anniversaries ------>${goto 285}| Days

Except today the line "Gemini from 21 May - 20 Jun" is gone.

This is the most promising, I have tried to execute two instances of conky in a variety of ways since I have a similar setup on my netbook (Openbox). However scrotwm's bar seems to only display one conky at a time. I normally create a script for running two conkys:

!#/bin/bash
conky --config=$HOME/.conkyrc &
conky --config=$HOME/.conkyrc2 &
fi

But thats not working here, I am wondering how conky would run in its on window made to look like it was integrated with scrotwm. Nice desktop by the way.

Offline

#7 2011-08-13 18:29:55

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: Conky is cut off with scrotwm

dcj123 wrote:

But thats not working here, I am wondering how conky would run in its on window made to look like it was integrated with scrotwm. Nice desktop by the way.

I know there are some scrotwm users over at #! and if my memory serves me at least one uses a oneline conky across the top.

I'll be back.

Offline

#8 2011-08-13 21:59:39

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: Conky is cut off with scrotwm

dcj123 wrote:

I have tried to execute two instances of conky in a variety of ways since I have a similar setup on my netbook (Openbox). However scrotwm's bar seems to only display one conky at a time.

ScrotWM's bar runs a shell script and displays the last line of output (conky-cli).  The fancy conky setups write directly to the root window, which does work in scrotwm.  Though I prefer to use root-tail, for example

root-tail -color black <(pv -qL 90 /dev/urandom)

To use conky on your ScrotWM desktop, start conky in .xinitrc like you would any other WM.

Offline

#9 2011-08-31 18:54:26

creative2innovative
Member
Registered: 2011-08-16
Posts: 61

Re: Conky is cut off with scrotwm

Sector 11 i need this conky setup pls guide me how to set up and provide me with the conkyrc code..!! i would be really thankful to you..!! smile smile

Offline

#10 2011-08-31 20:37:10

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: Conky is cut off with scrotwm

creative2innovative wrote:

Sector 11 i need this conky setup pls guide me how to set up and provide me with the conkyrc code..!! i would be really thankful to you..!! smile smile

Which conky are you talking about?

I have a new one:  Space Shuttle Statler (tar.gz)
Scroll down to the bottom of the page.
thmb_Space_Shuttle_Statler_Done.jpg

Offline

#11 2011-09-01 04:03:25

creative2innovative
Member
Registered: 2011-08-16
Posts: 61

Re: Conky is cut off with scrotwm

Buddy you are like GOD for conky. Saw your many post in conky thread in arch forum. big_smile big_smile  I am first intrested in the conky of which you have posted a pic and also if possible share horizontal conky. a very simple one. Buddy other thing is that in my conky i am unable to display symbols or logo. instead of arch logo i am getting an alphabet B . Can you tell me how can i learn making conky's ??

Offline

#12 2011-09-01 04:28:28

warenoso
Member
From: Brisbane
Registered: 2010-08-06
Posts: 76

Re: Conky is cut off with scrotwm

creative2innovative wrote:

Buddy you are like GOD for conky. Saw your many post in conky thread in arch forum. big_smile big_smile  I am first intrested in the conky of which you have posted a pic and also if possible share horizontal conky. a very simple one. Buddy other thing is that in my conky i am unable to display symbols or logo. instead of arch logo i am getting an alphabet B . Can you tell me how can i learn making conky's ??


my 2 cents for the archlinux logo i think Openlogos font is necessary http://aur.archlinux.org/packages.php?ID=17219

Offline

#13 2011-09-01 05:29:10

creative2innovative
Member
Registered: 2011-08-16
Posts: 61

Re: Conky is cut off with scrotwm

Thanks warenoso smile

Offline

#14 2011-09-01 13:39:28

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: Conky is cut off with scrotwm

warenoso wrote:
creative2innovative wrote:

Buddy you are like GOD for conky. Saw your many post in conky thread in arch forum. big_smile big_smile  I am first intrested in the conky of which you have posted a pic and also if possible share horizontal conky. a very simple one. Buddy other thing is that in my conky i am unable to display symbols or logo. instead of arch logo i am getting an alphabet B . Can you tell me how can i learn making conky's ??


my 2 cents for the archlinux logo i think Openlogos font is necessary http://aur.archlinux.org/packages.php?ID=17219

Agreed, openlogos letter: B is the ARCH logo.

@ creative2innovative - are you using "scrotwm" - we should move your questions over to the main conky thread.  This thread was/is for dcj123's specific problem.  I dawned on me we were hijacking the thread.

Either way I'll help you all I can but there are others here that are a lot better with conky than I am, I still ask a lot of questions myself.
Just willing to help when I can.

So can we move your questions to: » conky configs and screenshots!

Offline

Board footer

Powered by FluxBB