User:Joerg rw/tools

(New page: the text below is intended to c&p to xterm <pre> root cat >/usr/local/bin/apt-get <<wikiETX #! /bin/sh ## file /usr/local/bin/apt-get ## due to $PATH will override original apt-get cmd and...)
Line 18: Line 18:
wikiETX
wikiETX
chmod a+x /usr/local/bin/apt-get
chmod a+x /usr/local/bin/apt-get
 +
</pre>
 +
 +
 +
random stuff to config / fix 'things' (c&p to shell)
 +
<pre>
 +
# disable annoying xchat notifications introduced with some more recent update
 +
# goes along with 'undocumented' command /notify_mode -vl - thanks cehteh :-/
 +
mv /usr/lib/xchat/plugins /usr/lib/xchat/plugins_disabled
</pre>
</pre>

Revision as of 17:14, 18 August 2010

the text below is intended to c&p to xterm

root
cat >/usr/local/bin/apt-get <<wikiETX
#! /bin/sh
## file /usr/local/bin/apt-get
## due to $PATH will override original apt-get cmd and create
## a file installed-aps.sh in ~root/ which can be sourced to redo
## all the apps installed via `apt-get install <app>`

ag=/usr/bin/apt-get
if [ "$1" = "install" ]; then
  echo '############ logged install ###########'
  $ag $@ && echo result: $? && echo $ag "$@" >>$HOME/installed-aps.sh
else
  $ag $@
fi
wikiETX
chmod a+x /usr/local/bin/apt-get


random stuff to config / fix 'things' (c&p to shell)

# disable annoying xchat notifications introduced with some more recent update
# goes along with 'undocumented' command /notify_mode -vl - thanks cehteh :-/
mv /usr/lib/xchat/plugins /usr/lib/xchat/plugins_disabled