Skip to content

morgant/mlvwmrc-xosview2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xosview2 additions for MLVWM

by Morgan Aldridge morgant@makkintosshu.com

OVERVIEW

A set of Xosview2 additions for MLVWM (specifically mlvwmrc), incl. MenuExtras which show graphs of:

  • System load
  • Memory usage
  • Swap usage
  • Filesystem usage
  • Page activity
  • Disk activity
  • Network activity

PREREQUISITES

INSTALLATION

The following will install the appropriate MenuExtras in ~/.mlvwm/MenuExtras:

make install

USAGE

Edit your ~/.mlvwm/MenuBar file to insert any of the following MenuExtras you'd like to use:

Read .mlvwm/MenuExtras/xosview2-disk
Read .mlvwm/MenuExtras/xosview2-filesys
Read .mlvwm/MenuExtras/xosview2-load
Read .mlvwm/MenuExtras/xosview2-mem
Read .mlvwm/MenuExtras/xosview2-net
Read .mlvwm/MenuExtras/xosview2-page
Read .mlvwm/MenuExtras/xosview2-swap

Note: You may make copies of the xosview2-filesys & xosview2-net MenuExtras and edit to show graphs of specific filesystem mount points or network interfaces, respectively. See those MenuExtras for details.

Then restart mlvwm.

THEMING

You can change the color scheme of the various graphs using xosview2 Xresources. I suggest doing so by creating a ~/.Xresources.xosview2 file and importing it into your primary .Xresources/.Xdefautls file, as follows:

! Xosview2 Xresources
#include ".Xresources.xosview2"

Note: This will allow you to override colors and a number of defaults, but be aware that all meters will be shown in graph format due to the way that xosview2_mini is used.

A good starting point for the mlvwmrc 'System7' theme is as follows:

xosview*background: white
xosview*foreground: white
xosview*meterLabelColor: black
xosview*usedLabelColor: black

And, a good starting point for the mlvwmrc 'MacOS 8' & 'MacOS 9' themes are as follows:

xosview*background: #dddddd
xosview*foreground: #dddddd
xosview*meterLabelColor: black
xosview*usedLabelColor: black

You can merge your .Xresources/.Xdefaults changes by logging out and back in, or using one of the following commands (replacing .Xresources with .Xdefaults, if appropriate):

xrdb -merge ~/.Xresources

Or:

xrdb -load ~/.Xresources

LICENSE

Released under the MIT License.

About

Xosview2 additions for MLVWM via mlvwmrc

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published