Browse Source

modified: readme.md

	modified:   skriptkontrol.sh
	new file:   vaultoughXenv.png
Serguei Chmod777 4 years ago
parent
commit
ff23fc6199
3 changed files with 98 additions and 9 deletions
  1. 76
    1
      readme.md
  2. 22
    8
      skriptkontrol.sh
  3. BIN
      vaultoughXenv.png

+ 76
- 1
readme.md View File

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

+ 22
- 8
skriptkontrol.sh View File

@@ -1,13 +1,18 @@
1 1
 #!/bin/sh
2
-xterm -geometry 94x46+514+0 -e "clear;figlet -f speed $(echo "$(uname -s -r)" | tr '[:lower:]' '[:upper:]');
2
+xterm -geometry 94x46+514+0 -e "clear;figlet -f \
3
+	speed $(echo "$(uname -s -r)" | tr '[:lower:]' '[:upper:]');
3 4
 figlet -f graffiti $USER;cat ~/.puffy;ksh" &
4
-xclock -bg grey -fg black -hd black -hl black -padding 0 -update 1 -geometry 150x150+1116+395 &
5
-xload -bg grey -geometry +1116+559 &
6
-
7
-# ===========================performances===================================== #
8 5
 xset b off &
9 6
 xrdb $HOME/.Xdefaults &
10 7
 
8
+# ===============to=be=commented=if=fvwmrc=left=unchanged===================== #
9
+
10
+xclock -bg grey -fg black -hd black -hl black -padding 0 -update 1 \
11
+	-geometry 150x150+1116+395 &
12
+xload -bg grey -geometry +1116+559 &
13
+
14
+# ===============================performances================================= #
15
+
11 16
 echo " __________________________________________________________________"
12 17
 echo " | 1) minimal cpu freq, requires root passwd (else != 1)          |"
13 18
 echo " | 2) start default apm daemon...                                 |"
@@ -21,7 +26,7 @@ esac
21 26
 
22 27
 apmd
23 28
 
24
-# ============================================================================= #
29
+# ============================================================================ #
25 30
 
26 31
 i="0"
27 32
 while [ $i -lt 1 ]
@@ -29,9 +34,18 @@ do
29 34
 
30 35
 clear
31 36
 
32
-# =======================huge==linear==goret==part============================= #
37
+# ==========================huge==linear==goret==part========================= #
33 38
 echo " "
34
-echo -n "        " && uname -srp && echo -n "  *** CHECKING SYSTEM TERM ***" && echo "\n" && apm && echo "----------------------------------------------------------" && df -h && echo "----------------------------------------------------------" && sysctl | grep sensors.cpu && echo "----------------------------------------------------------" && top | head -14 | tail -8 | awk '{$1=$2=$3=$4=""; print $0}' && echo "\n\t\t\t\t      [by serguei.chmod77]" && echo "----------------------------------------------------------" && figlet -f graffiti Kontrol &
39
+echo -n "        " && uname -srp && echo -n "  *** CHECKING SYSTEM TERM ***" \
40
+	&& echo "\n" && apm && \
41
+	echo "----------------------------------------------------------" && \
42
+	df -h && echo "----------------------------------------------------------" \
43
+	&& sysctl | grep sensors.cpu && \
44
+	echo "----------------------------------------------------------" && \
45
+	top | head -14 | tail -8 | awk '{$1=$2=$3=$4=""; print $0}' && \
46
+	echo "\n\t\t\t\t      [by serguei.chmod77]" && \
47
+	echo "----------------------------------------------------------" && \
48
+	figlet -f graffiti Kontrol &
35 49
 
36 50
 # both of the (n,n') values in "head -14 | tail -8" before awk's treatment are
37 51
 # relative to the number of your cpu threads. So it's up to you to adjust these

BIN
vaultoughXenv.png View File


Loading…
Cancel
Save