DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Package System (pkgsrc)

NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 26th May 2020
bashrules's Avatar
bashrules bashrules is offline
Aspiring Unix Greybeard
 
Join Date: Mar 2010
Location: Here
Posts: 80
Default conky vs torsmo

What's important for me is a seamless integration of the system monitor into the root window. When I click on the system monitor, I expect the window manager, in my case fvwm2, to respond, e.g. its menus should show up.

Conky: I use the default .conkyrc configuration file which sets own_window_type to desktop. When I click on conky, nothing happens. The mouse pointer remains unchanged; no fvwm2 menu pops up. That's not what I want.

Torsmo: I use the default .torsmo configuration file. When I click on torsmo, an fvwm2 menu pops up. Torsmo is truly transparent. Great.

The only problem is that torsmo has not been nicely ported to NetBSD 9. Every second, it emits on the console:

Code:
torsmo: cannot kvm_nlist: No such file or directory
I thought both programs draw on the root window and so they should not intercept clicks on the root window. Conky is doing that on my setup.

Anyone has an idea how to seamlessly integrate conky into the root window? If not, I'll look into kvm_nlist. That's a function from libkvm and comes with a man-page. How difficult can that be :-/

- - - - - - - - - - - - - - - - - - - -

Update two hours later: From a quick look. The torsmo error message comes from retrieving network stats
Code:
 Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s
My network interface is called re0. Renaming in .conkey eth0 to re0 works for conky. Renaming eth0 to re0 in .torsmorc continues to result for in the same error message.

I also noticed that the values for mem, memmax, swapmax are not correct. I think torsmo is broken beyond repair.

Last edited by bashrules; 26th May 2020 at 03:22 AM.
Reply With Quote
  #2   (View Single Post)  
Old 26th May 2020
Beastie Beastie is offline
Daemonology student
 
Join Date: Jan 2009
Location: /dev/earth0
Posts: 335
Default

Quote:
Originally Posted by bashrules View Post
Conky: [...] When I click on conky, nothing happens. The mouse pointer remains unchanged; no fvwm2 menu pops up. That's not what I want.
I cleared the entire conky.config section in my ~/.conkyrc file and Fvwm's menus still show.

What is your Fvwm mouse binding for the root menu?
__________________
May the source be with you!
Reply With Quote
  #3   (View Single Post)  
Old 26th May 2020
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bitchy Nerd Elitist
 
Join Date: Dec 2015
Location: London
Posts: 461
Default

Quote:
Originally Posted by bashrules View Post
Anyone has an idea how to seamlessly integrate conky into the root window?
Set own_window_type to override.
__________________
Are you infected with Wetiko?
Reply With Quote
  #4   (View Single Post)  
Old 27th May 2020
bashrules's Avatar
bashrules bashrules is offline
Aspiring Unix Greybeard
 
Join Date: Mar 2010
Location: Here
Posts: 80
Default

Head on a Stick was right, I need to set own_window_type to override. Thank you.

Opposed to Torsmo, Conky can display the correct values for mem, memmax, swapmax.

Torsmo is a good example of how software can really bit-rot.
Reply With Quote
  #5   (View Single Post)  
Old 27th May 2020
Beastie Beastie is offline
Daemonology student
 
Join Date: Jan 2009
Location: /dev/earth0
Posts: 335
Default

Quote:
Originally Posted by bashrules View Post
I need to set own_window_type to override.
That's weird. I've had another value for as long as I can remember and I've always been able to use the Fvwm's menus anywhere on the root window, including over Conky.

Quote:
Originally Posted by bashrules View Post
Torsmo is a good example of how software can really bit-rot.
What did you expect? It was forked into Conky more than 15 years ago, precisely because it was already abandonware back then.
__________________
May the source be with you!
Reply With Quote
Reply

Tags
conky, torsmo

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
conky + lua + cairo issue - unable to resolv symbol bsdplus OpenBSD Packages and Ports 3 6th July 2014 03:04 AM
conky phill OpenBSD Packages and Ports 12 21st January 2011 10:27 AM
torsmo displaying weather question neurosis FreeBSD General 6 20th October 2008 10:53 PM


All times are GMT. The time now is 08:43 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick