31 lines
1.1 KiB
Markdown
31 lines
1.1 KiB
Markdown
|
```
|
||
|
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
|
||
|
of OpenBSD to another : the title of the fvwm's Pager remain the same.
|
||
|
So, if you do have already customize it, you should have a $HOME/.fvmrc
|
||
|
(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"
|
||
|
|
||
|
for example. It just need to be corrected by hand, thus at the next start
|
||
|
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.
|
||
|
```
|