configs  Check-in [13504a1a8d]

Overview
Comment:Switch to xscreensaver
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 13504a1a8db4bc537eb36eef0e01dd76b329dcc3c798da4e1124ed28b89a68c6
User & Date: js 2020-12-31 05:25:48
Context
2021-01-01
22:00
Add flpu, a combination of fossil pull & up check-in: 15fc9f571f user: js tags: trunk
2020-12-31
05:25
Switch to xscreensaver check-in: 13504a1a8d user: js tags: trunk
01:01
cvsrc: Add -z3 check-in: 7891ce22cc user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to setup.sh.

62
63
64
65
66
67
68

69
	else
		echo "$dest already exists, skipping…"
	fi
elif have startx; then
	link_file Xdefaults .Xdefaults
	link_file Xmodmap .Xmodmap
	link_file xinitrc .xinitrc

fi







>

62
63
64
65
66
67
68
69
70
	else
		echo "$dest already exists, skipping…"
	fi
elif have startx; then
	link_file Xdefaults .Xdefaults
	link_file Xmodmap .Xmodmap
	link_file xinitrc .xinitrc
	link_file xscreensaver .xscreensaver
fi

Changes to xinitrc.



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

17
18
19


if [ "$(uname)" = "NetBSD" ]; then
	echo "EXECUTING" >/tmp/foo
	xset fp+ /usr/pkg/share/fonts/X11/misc
elif [ "$(uname)" = "OpenBSD" ]; then
	xset fp+ /usr/local/share/fonts/terminus
	xset fp+ /usr/local/share/fonts/mscorefont
	xset fp+ /usr/local/share/fonts/noto

	xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1
	xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2
	xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 7 6 5 4
fi

xmodmap "$HOME/.Xmodmap"
if type -q xidle && type -q xlock; then
	xidle -program "$(which xlock) -usefirst" -timeout 300 &

fi

exec ssh-agent ctwm -W
>
>














|
|
>



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
export LC_ALL="de_DE.UTF-8"

if [ "$(uname)" = "NetBSD" ]; then
	echo "EXECUTING" >/tmp/foo
	xset fp+ /usr/pkg/share/fonts/X11/misc
elif [ "$(uname)" = "OpenBSD" ]; then
	xset fp+ /usr/local/share/fonts/terminus
	xset fp+ /usr/local/share/fonts/mscorefont
	xset fp+ /usr/local/share/fonts/noto

	xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1
	xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2
	xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 7 6 5 4
fi

xmodmap "$HOME/.Xmodmap"

if type -q xscreensaver; then
	xscreensaver &
fi

exec ssh-agent ctwm -W

Added xscreensaver.







>
>
>
1
2
3
splash: False
lock: True
mode: blank