You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

111 lines
3.8 KiB

  1. ```
  2. The skriptkontrol.sh script was quickly written to pimp a FVWM default
  3. environment on OpenBSD. If you run it automatically at startup, the first
  4. and only one "dialog box" displayed, will allow you to choose either your
  5. cpu computes at high (default) performances, or at the lowest level the
  6. APMD offers. I found this trivial change quite useful while using a laptop.
  7. Clearly, it depends on what kind of processor or laptop you're using.
  8. ********************************* FVWMrc ***************************************
  9. Note : I noticed a thin "edge effect" left behind an upgrade from a version
  10. of OpenBSD to another : the title of the fvwm's Pager remains the same.
  11. So, if you do have already customized it, you should have a $HOME/.fvmrc
  12. (else, you can % cp /usr/X11R6/lib/X11/fvwm/.fvwmrc ~/.fvwmrc), in
  13. which you can find a line similar to the following one :
  14. *FvwmPagerLabel 0 "OpenBSD 5.6"
  15. for example. It just needs to be corrected by hand, thus at the next start
  16. of a fvwm session, the title of the Pager will match with your current
  17. system's version.
  18. If you wonder what my X environment looks like, you could check both the
  19. screenshot attached at this git, and my .fvwmrc. In that one, I tried to
  20. get a convenient behavior from FVWM, as well as to disable some annoying
  21. (IMHO) default features.
  22. ********************************** Nedit ***************************************
  23. Assuming tough hackers (or the relative complement of {those insane} in
  24. {lads and lasses}) don't touch anything else than Vi(m) or Emacs (which I
  25. used to handle for a while, even now occasionally), this part deals with those
  26. who could be interested in setting Nedit up. I reckon this GUI editor seduced
  27. me, mainly because of its simplicity, and the fact it was build on ``Motif''
  28. libs. As far as it manages regex... and block selection !
  29. The following lines are just a selection concerning Preferences from my
  30. ~/.nedit/nedit.rc :
  31. nedit.smartIndentInitCommon: Default
  32. ! automatic wraping every 80 cols
  33. nedit.autoWrap: Newline
  34. nedit.wrapMargin: 80
  35. nedit.showWrapMargin: Always
  36. nedit.autoIndent: Auto
  37. nedit.autoSave: True
  38. nedit.openInTab: True
  39. nedit.saveOldVersion: False
  40. nedit.showMatching: Delimiter
  41. nedit.matchSyntaxBased: True
  42. nedit.highlightSyntax: True
  43. nedit.backlightChars: False
  44. nedit.searchDialogs: False
  45. nedit.beepOnSearchWrap: False
  46. nedit.retainSearchDialogs: False
  47. nedit.searchWraps: True
  48. nedit.stickyCaseSenseButton: True
  49. nedit.repositionDialogs: True
  50. nedit.autoScroll: False
  51. nedit.appendLF: True
  52. nedit.sortOpenPrevMenu: True
  53. nedit.statisticsLine: True
  54. nedit.iSearchLine: False
  55. nedit.sortTabs: False
  56. nedit.tabBar: True
  57. nedit.tabBarHideOne: True
  58. nedit.toolTips: True
  59. nedit.globalTabNavigate: False
  60. nedit.lineNumbers: True
  61. nedit.pathInWindowsMenu: True
  62. nedit.warnFileMods: True
  63. nedit.warnRealFileMods: True
  64. nedit.warnExit: True
  65. nedit.searchMethod: Literal
  66. ! comfortable frame
  67. nedit.textRows: 24
  68. nedit.textCols: 82
  69. nedit.tabDistance: 4
  70. nedit.emulateTabs: 0
  71. nedit.insertTabs: True
  72. nedit.textFont: -*-courier-medium-r-normal--*-120-*-*-*-iso8859-1
  73. nedit.boldHighlightFont: -*-courier-bold-r-normal--*-120-*-*-*-iso8859-1
  74. nedit.italicHighlightFont: -*-courier-medium-o-normal--*-120-*-*-*-iso8859-1
  75. nedit.boldItalicHighlightFont: -*-courier-bold-o-normal--*-120-*-*-*-iso8859-1
  76. nedit.textFgColor: black
  77. nedit.textBgColor: beige
  78. nedit.selectFgColor: black
  79. nedit.selectBgColor: rgb:cc/cc/cc
  80. nedit.hiliteFgColor: red
  81. nedit.hiliteBgColor: red
  82. ! nice line number
  83. nedit.lineNoFgColor: darkcyan
  84. nedit.cursorFgColor: black
  85. nedit.wrapMarginForeground: black
  86. nedit.smartTags: True
  87. nedit.prefFileRead: True
  88. ! to identify it easily in FvwmWinList
  89. nedit.titleFormat: Nedit - {%c} [%s] %f (%S) - %d
  90. --
  91. My P^HKorn shell PS1 is the next one :
  92. PROMPITO="\u##\$:\h:\w:\n>>"
  93. PS1="$(printf "\033[0;36m%s\033[0;37m " $PROMPITO)"
  94. # to be added within $HOME/.kshrc, obviously.
  95. ```