Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Conky [Part 2]

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
366 posts
  • Page 8 of 15
    • Jump to page:
  • Previous
  • 1
  • …
  • 6
  • 7
  • 8
  • 9
  • 10
  • …
  • 15
  • Next
Author
Message
FieserKiller
n00b
n00b
User avatar
Posts: 72
Joined: Thu May 13, 2004 1:15 pm
Location: Duisburg, Germany
Contact:
Contact FieserKiller
Website

  • Quote

Post by FieserKiller » Tue Jul 25, 2006 11:42 pm

Well, i still ran torsmo until last week, but by changing my server and reinstalling gentoo i decided to switch to conky finally.
Everything went smooth, but I have a problem with $acpitemp. In fact, my PC has two ACPI temps and i want to display both - when I simply use $acpitemp in my users .conkyrc file, it shows the correct Temp of the CPU thermal zone, is there a way to show the temperature of the System thermal zone with acpitemp as well?
As an alternative i tried to use this command:

{exec sed s/".* \([0-9]*\) .*"/"\1"/ /proc/acpi/thermal_zone/THRS/temperature}

pasting it into the bash gives me the correct temperature, but conky just renders the line in its window and doesn't execute the command.
Any solutions?
Top
ppurka
Advocate
Advocate
Posts: 3257
Joined: Sun Dec 26, 2004 5:05 pm

  • Quote

Post by ppurka » Wed Jul 26, 2006 3:22 am

Bill Cosby wrote: First of all, thank you.
You are welcome :)
Now another question, can I make part of the text bold?
And can I make tables, I mean for proper alignment :)

Thnkas again in advance
I think you can, because you can specify a bold font, specifically. From conky homepage:

Code: Select all

font	(font)	Specify a different font. This new font will apply to the current line and everything following. You can use a $font with no arguments to change back to the default font (much like with $color)
For alignment, you have got the parameters: alignr, alignc. And by default your text is aligned on the left.
Top
gregf
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 102
Joined: Wed May 14, 2003 1:29 am
Location: USA, Maine

  • Quote

Post by gregf » Sat Jul 29, 2006 1:07 am

Is there a way to have conky wrap text? I use the maximum_width option but would like to still see all the text my script(s) put out. TIA
Top
neuron
Advocate
Advocate
User avatar
Posts: 2371
Joined: Tue May 28, 2002 7:43 pm

  • Quote

Post by neuron » Wed Aug 09, 2006 10:01 pm

I got a bit of a problem with my background image, cant see the conky text when it's set to transparent.

If I set the color to black, it gets ugly (as it merges with the text shadow I imagine), is there any way to either turn off the text shadow, or change the transparency level of conky? (without xgl/compiz preferably).
Top
agt
n00b
n00b
User avatar
Posts: 4
Joined: Wed Dec 21, 2005 9:29 pm

  • Quote

Post by agt » Sun Aug 13, 2006 3:18 am

I'm trying to get the following RSS feed to work with the conky-rss.sh script found here.

http://www.sportal.co.nz/rss/newzealand/Rugby_Union.xml

The script is not displaying the right information however. Any ideas how to fix this? I think I need to change the 'sed' bits of the script.
Top
Pentahex
n00b
n00b
User avatar
Posts: 40
Joined: Wed Apr 05, 2006 5:08 am
Location: Bemidji, Minnesota

  • Quote

Post by Pentahex » Sun Aug 13, 2006 3:59 am

I've seen this problem mentioned a few times, here and elsewhere, but I haven't found an answer. When running Conky with:

Code: Select all

own_window no
own_window_transparent yes
All desktop icons disappear. Does anybody have Conky running transparent without this problem?
Top
Cagnulein
l33t
l33t
User avatar
Posts: 861
Joined: Thu Sep 18, 2003 3:39 pm
Location: Modena, Italy

  • Quote

Post by Cagnulein » Mon Aug 14, 2006 12:27 am

I've modified the seti's module of conky for managing the boinc xml system.
Give it a try
Bye

Link
Top
drphibes
Guru
Guru
User avatar
Posts: 432
Joined: Tue Nov 30, 2004 3:13 pm

  • Quote

Post by drphibes » Mon Aug 14, 2006 12:35 pm

Pentahex wrote:I've seen this problem mentioned a few times, here and elsewhere, but I haven't found an answer. When running Conky with:

Code: Select all

own_window no
own_window_transparent yes
All desktop icons disappear. Does anybody have Conky running transparent without this problem?
With own_window no, you are drawing to your desktop window. This is a problem for desktops with icons.
You must have conky draw in its own window by using own_window yes. All other own_window_ settings
only have meaning when own_window is yes. The own_window_transparent yes config item above is
meaningless without own_window yes. That said, you cannot prevent obscuring icons directly under conky.
You must situate conky away from the area where you are tiling icons.
Top
Pentahex
n00b
n00b
User avatar
Posts: 40
Joined: Wed Apr 05, 2006 5:08 am
Location: Bemidji, Minnesota

  • Quote

Post by Pentahex » Tue Aug 15, 2006 12:09 am

That makes sense, but when I use:

Code: Select all

own_window yes
own_window_transparent yes
I just get a black background, and no transparency.
Top
drphibes
Guru
Guru
User avatar
Posts: 432
Joined: Tue Nov 30, 2004 3:13 pm

  • Quote

Post by drphibes » Tue Aug 15, 2006 1:23 am

Pentahex wrote:That makes sense, but when I use:

Code: Select all

own_window yes
own_window_transparent yes
I just get a black background, and no transparency.
I think what is happening is that pseudo-transparency actually is working, but your root window
is a black window underneath your desktop. What you need to try is to set your root pixmap
with programs like esetroot, feh, etc., and probably add such a program to the startup cycle,
with conky starting after the root pixmap is set.
Top
Pentahex
n00b
n00b
User avatar
Posts: 40
Joined: Wed Apr 05, 2006 5:08 am
Location: Bemidji, Minnesota

  • Quote

Post by Pentahex » Tue Aug 15, 2006 4:17 am

Yep, that works, thanks.
Top
Gentree
Watchman
Watchman
User avatar
Posts: 5350
Joined: Tue Jul 01, 2003 12:51 am
Location: France, Old Europe

  • Quote

Post by Gentree » Tue Aug 15, 2006 12:43 pm

That's handy, this is very close to a problem I am having.

I have used conky on xfce4 for over a year, maybe more and it has been excellent.

I have recently updated conky a couple of times [app-admin/conky-1.4.1] and xfce4 is now:

Xfce 4 Desktop Environment version 4.3.90.2 (Xfce 4.4 BETA2)

now conky shows my wm bg image momentarily but when it updated the output it replaces the image with plain grey bg. Equally if I flip to another desktop I get the image until the conky refresh then it goes grey.

The main thing I like about conky as compared to gtkrellm for ex. is that it writes on the desktop so I'm not really looking for a workaround by using own_window = yes.

Is this a known problem?
Thanks 8)
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Top
drphibes
Guru
Guru
User avatar
Posts: 432
Joined: Tue Nov 30, 2004 3:13 pm

  • Quote

Post by drphibes » Wed Aug 16, 2006 12:14 am

Gentree wrote:That's handy, this is very close to a problem I am having.

I have used conky on xfce4 for over a year, maybe more and it has been excellent.

I have recently updated conky a couple of times [app-admin/conky-1.4.1] and xfce4 is now:

Xfce 4 Desktop Environment version 4.3.90.2 (Xfce 4.4 BETA2)

now conky shows my wm bg image momentarily but when it updated the output it replaces the image with plain grey bg. Equally if I flip to another desktop I get the image until the conky refresh then it goes grey.

The main thing I like about conky as compared to gtkrellm for ex. is that it writes on the desktop so I'm not really looking for a workaround by using own_window = yes.

Is this a known problem?
Thanks 8)
Try not to confuse the notion of own_window yes with window decorations. I also use xfce4 (svn)
and I draw with these conky parameters:

own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type normal

Conky is drawing in its own window and appears on the desktop, as with own_window no.
You do not need to set your root pixmap with xfce4, as conky identifies it correctly.

Also, upgrade to 1.4.2 if you can.
Top
Gentree
Watchman
Watchman
User avatar
Posts: 5350
Joined: Tue Jul 01, 2003 12:51 am
Location: France, Old Europe

  • Quote

Post by Gentree » Wed Aug 16, 2006 4:38 am

thank you doctor,

that has created something like what I had before.

me happy. 8)
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Top
orlfman
n00b
n00b
Posts: 68
Joined: Mon Jul 31, 2006 4:12 pm

  • Quote

Post by orlfman » Sat Aug 19, 2006 3:46 pm

If any one is using xmms2 and would like conky to read what song you are running in xmms2 add this to your .conkyrc file:

Code: Select all

${color #00b5ef}XMMS2$color
${color #00b5ef}Title - ${color #00b5ef}${execi 10 xmms2 current}
xmms2 guys added the infopipe thing built in :)
Orlfman
Top
trinity
n00b
n00b
Posts: 74
Joined: Thu Mar 20, 2003 5:39 pm

  • Quote

Post by trinity » Tue Aug 22, 2006 12:11 pm

Hi,

I have conky working fine but there is a small problem. In my ~.conkyrc I have this part:

Code: Select all

${color}Name                CPU%     MEM%
${color green} ${top  name 1}   ${top cpu 1}   ${top mem 1}
${color green} ${top  name 2}   ${top cpu 2}   ${top mem 2}
${color green} ${top  name 3}   ${top cpu 3}   ${top mem 3}
${color green} ${top  name 4}   ${top cpu 4}   ${top mem 4}
${color green} ${top  name 5}   ${top cpu 5}   ${top mem 5}
The problem is the text is not always align. Here is what I mean:

Code: Select all

Name        CPU%       MEM%
bittorent   47.12        23.55
Xorg      17.44        10.15
conky       0.33         0.49
xfce4-panel  0.33         2.47
xchat       1.67         2.44

So, there is a way to align columns correctly?
Thanks!
Top
yngwin
Retired Dev
Retired Dev
User avatar
Posts: 4572
Joined: Thu Dec 19, 2002 1:22 pm
Location: Suzhou, China

  • Quote

Post by yngwin » Tue Aug 22, 2006 3:05 pm

Use a monospace font.
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Top
trinity
n00b
n00b
Posts: 74
Joined: Thu Mar 20, 2003 5:39 pm

  • Quote

Post by trinity » Tue Aug 22, 2006 4:09 pm

yngwin wrote:Use a monospace font.
Thanks! It works now :)
Top
Gentree
Watchman
Watchman
User avatar
Posts: 5350
Joined: Tue Jul 01, 2003 12:51 am
Location: France, Old Europe

  • Quote

Post by Gentree » Sat Aug 26, 2006 12:24 pm

Hi,

I've just moved to an AN7 and sensors are no longer on i2c bus but the platform bus:

Code: Select all

bash-3.1# ls /sys/bus/platform/devices/     
abituguru.224  i8042  pcspkr  serial8250  vesafb.0
I have the display I want with the following config, but I think I read that exec was a bit heavy to run. I there a better way to display these temps?

Code: Select all

${color lightgrey}Temperatures: ${color red}cpu: ${exec sensors|grep "CPU Temp"|cut -c 28-31} ${color lightgrey} case: ${exec sensors|grep "S$
${color lightgrey}cpu ${execbar sensors|grep "CPU Temp"|cut -c 28-31}

TIA. 8)
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Top
ksool
Guru
Guru
User avatar
Posts: 337
Joined: Sat May 27, 2006 9:53 pm
Location: Cambridge, MA

  • Quote

Post by ksool » Wed Aug 30, 2006 4:47 pm

Hey all,
I've just started with conky, and so far its great.

I've been searching through this thread and havent been able to find an answer to the following:
Is there anyway to setup different update intervals for different items? It'd really be useful to set it to only look for the size of a network mount or something like that ever minute instead of every time conky refreshes. Right now, that really causes conky to drag.

Thanks.
Top
andrewd18
Guru
Guru
User avatar
Posts: 364
Joined: Sun Apr 11, 2004 4:21 pm
Location: Wisconsin, USA

  • Quote

Post by andrewd18 » Thu Sep 21, 2006 6:02 am

I've got an issue...

Code: Select all

${if_mounted /media/WDC Combo/}${color slate grey}WDC COMBO:  ${color }${fs_free /media/WDC Combo/}/${fs_size /media/WDC Combo/}
${fs_bar 3,100 /media/WDC Combo/}${endif}
/media/WDC Combo/ is the accurate location of my external drive. However, conky doesn't see it. Setting /media/WDC\ Combo/ like I would for the cd command in bash doesn't work either. Thoughts?
Keep Your Toolchain Stable! - emwrap.sh

There's no place like ::1
Top
drphibes
Guru
Guru
User avatar
Posts: 432
Joined: Tue Nov 30, 2004 3:13 pm

  • Quote

Post by drphibes » Thu Sep 21, 2006 3:49 pm

andrewd18 wrote:I've got an issue...

Code: Select all

${if_mounted /media/WDC Combo/}${color slate grey}WDC COMBO:  ${color }${fs_free /media/WDC Combo/}/${fs_size /media/WDC Combo/}
${fs_bar 3,100 /media/WDC Combo/}${endif}
/media/WDC Combo/ is the accurate location of my external drive. However, conky doesn't see it. Setting /media/WDC\ Combo/ like I would for the cd command in bash doesn't work either. Thoughts?
conky reads the second, space-delimited or null-terminated string in the /etc/mtab file to confirm the mount.
that will be read as /media/WDC looking at the sscanf. the workaround is simply to create a mount point
with no embedded spaces, or you can probably also get away with using:

Code: Select all

${if_mounted /media/WDC}
which will likely cause a match. Usable, as long as you don't have other mount points with the WDC prefix.
Top
andrewd18
Guru
Guru
User avatar
Posts: 364
Joined: Sun Apr 11, 2004 4:21 pm
Location: Wisconsin, USA

  • Quote

Post by andrewd18 » Thu Sep 21, 2006 5:14 pm

drphibes wrote:conky reads the second, space-delimited or null-terminated string in the /etc/mtab file to confirm the mount.
that will be read as /media/WDC looking at the sscanf. the workaround is simply to create a mount point
with no embedded spaces, or you can probably also get away with using:

Code: Select all

${if_mounted /media/WDC}
which will likely cause a match. Usable, as long as you don't have other mount points with the WDC prefix.
Thanks for the tip; I'll try that when I get home. HAL and Gnome-Volume-Manager give the drive its own name, so I'm not exactly in control of how the mount point is named (and I honestly don't know where to go to read up on it). I suppose a ln -s /media/WDC\ Combo/ /media/WDC_Combo would work, now that you mention it.

Anyway, thanks. I'll give that a shot.
Keep Your Toolchain Stable! - emwrap.sh

There's no place like ::1
Top
drphibes
Guru
Guru
User avatar
Posts: 432
Joined: Tue Nov 30, 2004 3:13 pm

  • Quote

Post by drphibes » Thu Sep 21, 2006 10:48 pm

andrewd18 wrote:I suppose a ln -s /media/WDC\ Combo/ /media/WDC_Combo would work, now that you mention it.
Merely symlinking the mountpoint won't help your cause. Remember it's the match of what /etc/mtab reports to the if_mounted parameter. You could symlink AND do a mount -bind to that linked dir. That will create a second entry in mtab and let you use it as your parameter to if_mounted.
Top
IvanMajhen
Guru
Guru
User avatar
Posts: 392
Joined: Sat Jun 10, 2006 11:38 am
Location: Croatia

  • Quote

Post by IvanMajhen » Fri Sep 22, 2006 9:57 am

How can I monitor ESSID with conky?
Top
Post Reply

366 posts
  • Page 8 of 15
    • Jump to page:
  • Previous
  • 1
  • …
  • 6
  • 7
  • 8
  • 9
  • 10
  • …
  • 15
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic