Example Salmon Usage

PCBSD.

 

Salmon on PCBSD:
In $HOME/.xprofile
 
/usr/local/alter/bin/salmon -read ~samserv
 
In $HOME/etc/salmon.cfg
 
:samserv
# Respond to restarts and log requests.
magnify=1
execport=55000
execlog
foreground=white
pixmap=14
powertime=4
poweroff
daemonize
position=-0-24
# ReSize and log file temp dir.
tempdir=/usr/tmp
 
line=hostname=?
line=ostype
line=osversion
line=format=UTC%l:%M|%p|%Z
line=updays
# Monitor power state.
line=powerstate_warning=20_critical=10_sound=2_sound1=6
 
line=display_setting=|Midnight|\
# Leading and trailing white space are removed.
# Necessary white space must come before a backslash.
    _command=xterm -font 7x13 -bg white -fg black \
    -geometry 140x54+0+0 -ls -T Midnight -e mc &
line=display_setting=|Xterm|\
    _command=xterm -font 7x13 -bg white -fg black \
    -geometry 140x54+0+0 -ls -T XTerm &
line=display_setting=|Blank|_command=bblank
line=display_setting=|Flikpic|_command=flikpic
 
phasecalc

* * o * *