File tree Expand file tree Collapse file tree
config/files/GRML_FULL/etc/skel Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66# License: This file is licensed under the GPL v2 or any later version.
77# ###############################################################################
88
9+ # $distri is supposed to be set already
10+ distri=${distri:? }
11+
912# configuration: by default all scripts from ~/.xinitrc.d are executed,
1013# but it's possible to configure this through a configuration file
1114if [ -r " $HOME /.config/${distri} /xinitrc" ] ; then
15+ # shellcheck source=/dev/null
1216 . " $HOME /.config/${distri} /xinitrc"
1317elif [ -r " $HOME /.config/grml/xinitrc" ] ; then
18+ # shellcheck source=/dev/null
1419 . " $HOME /.config/grml/xinitrc"
1520fi
1621
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ apply_xmodmap_settings() {
2424if [ -r /etc/default/keyboard ] ; then # Grml >=2018.12
2525 XKBLAYOUT=" us" # assume as default
2626
27+ # shellcheck source=/dev/null
2728 . /etc/default/keyboard
2829
2930 if [ " ${XKBLAYOUT} " = " us" ] ; then
@@ -40,6 +41,7 @@ if [ -r /etc/default/keyboard ] ; then # Grml >=2018.12
4041 fi
4142 fi
4243elif [ -r /etc/sysconfig/keyboard ] ; then # older Grml releases
44+ # shellcheck source=/dev/null
4345 . /etc/sysconfig/keyboard
4446 if [ " ${XKEYBOARD} " = " us" ] ; then
4547 apply_xmodmap_settings
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ if [ "$XINIT_GRML_VNC" = "false" ] ; then
1111fi
1212
1313# if the vnc bootoption sets up the password let's start the vnc server
14- if [ -e $HOME /.vnc/passwd ]; then
15- test -f $HOME /.vnc/options && OPTIONS=$( cat $HOME /.vnc/options)
16- /usr/bin/x11vnc -bg -forever -noxdamage -o $HOME /.vnc/x11vnc.log -rfbauth \
17- $HOME /.vnc/passwd -auth $HOME /.Xauthority -display $DISPLAY $OPTIONS
14+ if [ -e " $HOME " /.vnc/passwd ]; then
15+ test -f " $HOME " /.vnc/options && OPTIONS=$( cat " $HOME " /.vnc/options)
16+ /usr/bin/x11vnc -bg -forever -noxdamage -o " $HOME " /.vnc/x11vnc.log -rfbauth \
17+ " $HOME " /.vnc/passwd -auth " $HOME " /.Xauthority -display " $DISPLAY " " $OPTIONS "
1818fi
1919
2020# # END OF FILE #################################################################
Original file line number Diff line number Diff line change 2929# xset -dpms
3030
3131# xresources
32- [ -r $HOME /.Xresources ] && xrdb -merge $HOME /.Xresources
32+ [ -r " $HOME " /.Xresources ] && xrdb -merge " $HOME " /.Xresources
3333
3434# # END OF FILE #################################################################
Original file line number Diff line number Diff line change 11#! /bin/sh
2+ # shellcheck source=/dev/null
23. ~ /.xinitrc
You can’t perform that action at this time.
0 commit comments