2015-10-06 18:17:50 +11:00
|
|
|
```
|
|
|
|
The skriptkontrol.sh script was quickly written to pimp a FVWM default
|
|
|
|
environment on OpenBSD. If you run it automatically at startup, the first
|
|
|
|
and only one "dialog box" displayed, will allow you to choose either your
|
|
|
|
cpu computes at high (default) performances, or at the lowest level the
|
|
|
|
APMD offers. I found this trivial change quite useful while using a laptop.
|
|
|
|
Clearly, it depends on what kind of processor or laptop you're using.
|
|
|
|
|
|
|
|
|
|
|
|
Note : I noticed a thin "edge effect" left behind an upgrade from a version
|
2015-10-06 18:19:57 +11:00
|
|
|
of OpenBSD to another : the title of the fvwm's Pager remains the same.
|
2015-10-06 18:22:23 +11:00
|
|
|
So, if you do have already customized it, you should have a $HOME/.fvmrc
|
2015-10-06 18:17:50 +11:00
|
|
|
(else, you can % cp /usr/X11R6/lib/X11/fvwm/system.fvwm2rc ~/.fvwmrc), in
|
|
|
|
which you can find a line similar to the following one :
|
|
|
|
|
|
|
|
*FvwmPagerLabel 0 "OpenBSD 5.6"
|
|
|
|
|
2015-10-06 18:23:41 +11:00
|
|
|
for example. It just needs to be corrected by hand, thus at the next start
|
2015-10-06 18:17:50 +11:00
|
|
|
of a fvwm session, the title of the Pager will match with your current
|
|
|
|
system's version.
|
|
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
My Korn shell PS1 is the next one :
|
|
|
|
|
|
|
|
PROMPITO="\u##\$:\h:\w:\n>>"
|
|
|
|
PS1="$(printf "\033[0;36m%s\033[0;37m " $PROMPITO)"
|
|
|
|
|
|
|
|
# to be added within $HOME/.kshrc, obviously.
|
|
|
|
```
|