Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- From: Bit Twister <BitTwister@xxxxxxxxxxxxxxxx>
- Date: Sun, 24 Sep 2006 15:30:13 -0500
On Sun, 24 Sep 2006 20:05:21 +0000 (UTC), Ohmster wrote:
xconsole -fg white -bg seagreen -geom 1000x50+7+00 -file /var/log/messages
Oh this is just too freaking cool to pass up! I tried to save it by closing
xwindows and choosing to "Save current setup" but xconsole does not support
saving the setup. I will have to find a new way to bring that xconsole up
when I log into X so that I do not have to type it into a term window all
the time.
One of two methods come to mind.
alias in .bashrc or script executed as part of .bash_profile.
In my firewall account ~/.bash_profile I have
/site/bin/xconsole_fw
----------------------
Note, once in awhile I'll log into the firewall more than
once so I only want one activation of xconsole.
xbiff is used to tell me there is mail on the firewall from
any cron jobs that are reporting something of intrest.
if statements are deciding if I did a rlogin or ssh connection
from somewhere.
set0 is a script to decide where $DISPLAY should point the display
for xbiff and xconsole
----------------------
$ cat /site/bin/xconsole_fw
pgrep -U $LOGNAME xconsole
if [ $? -eq 1 ] ; then
_remote_login=0
if [ -n "$REMOTEHOST" ] ; then
_remote_login=1
fi
if [ -n "$SSH_CONNECTION" ] ; then
_remote_login=1
fi
if [ $_remote_login -eq 1 ] ; then
source /site/bin/set0
xbiff -geom +0+0 &
xcon
sleep 4
fi
fi
#***************** end xconsole_fw *************
and a $ cat /site/bin/xcon gives
xconsole -geom 1032x50+400+00 -file /var/log/messages &
#***************** end xcon *************
Common applications customization can be defined in ~/.Xresources
You can do a locate Xresource to find something to copy into
~/.Xresources and start hacking away.
.
- Follow-Ups:
- References:
- Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- From: Ohmster
- Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- From: Bit Twister
- Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- From: Ohmster
- Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- From: Bit Twister
- Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- From: Ohmster
- Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- From: Ohmster
- Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- From: Bit Twister
- Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- From: The Ohmster
- Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- From: Bit Twister
- Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- From: Ohmster
- Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- From: Ohmster
- Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- Prev by Date: Re: Mission critical ...
- Next by Date: Can I change group and permissions on the messages file?
- Previous by thread: Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- Next by thread: Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- Index(es):
Relevant Pages
|