Compare Pastes

Differences between the pastes #130883 (02.01.2020 17:59) and #155170 (05.12.2020 15:23).
1
#!/bin/sh
1
 
2
3
#------------------------------------------------------------------------------
4
# Modified Calculate Utilities 3.6.7.5
5
# Processed template files:
6
# /var/db/repos/calculate/profiles/templates/3.6/2_ac_install_merge/x11-apps/xinit/X11/xinit/xinitrc
7
# For modify this file, create /etc/X11/xinit/xinitrc.clt template.
8
#------------------------------------------------------------------------------
9
userresources=$HOME/.Xresources
10
usermodmap=$HOME/.Xmodmap
11
sysresources=/etc/X11/xinit/Xresources
12
sysmodmap=/etc/X11/xinit/Xmodmap
13
14
# merge in defaults and keymaps
15
16
if [ -f $sysresources ]; then
17
18
19
20
21
22
23
24
    xrdb -merge $sysresources
25
26
fi
27
28
if [ -f $sysmodmap ]; then
29
    xmodmap $sysmodmap
30
fi
31
32
if [ -f "$userresources" ]; then
33
34
35
36
37
38
39
40
    xrdb -merge "$userresources"
41
42
fi
43
44
if [ -f "$usermodmap" ]; then
45
    xmodmap "$usermodmap"
46
fi
47
48
# start some nice programs
49
50
if [ -n "`/etc/X11/chooser.sh`" ]; then
51
 command="`/etc/X11/chooser.sh`"
52
else
53
 failsafe="yes"
54
fi
55
56
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
57
 for f in /etc/X11/xinit/xinitrc.d/?* ; do
58
  [ -x "$f" ] && . "$f"
59
 done
60
 unset f
61
fi
62
63
if [ -n "$failsafe" ]; then
64
 twm &
65
 xclock -geometry 50x50-1+1 &
66
 xterm -geometry 80x50+494+51 &
67
 xterm -geometry 80x20+494-0 &
68
 exec xterm -geometry 80x66+0+0 -name login
69
else
70
 exec $command