diff options
author | Menno Duursma <druiloor@zonnet.nl> | 2010-05-12 17:45:35 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:45:35 +0200 |
commit | 6fed33e55a2c565398f688f36b37d8c1bba061bc (patch) | |
tree | fa150a0e668e41f7cfe5f31929d2ddcb1a49c77c /system/numlockx/README.SLACKWARE | |
parent | 4302fa55794dfd0953c3b287fb10d8b80fa912a2 (diff) |
system/numlockx: Updated for version 1.1
Diffstat (limited to 'system/numlockx/README.SLACKWARE')
-rw-r--r-- | system/numlockx/README.SLACKWARE | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/system/numlockx/README.SLACKWARE b/system/numlockx/README.SLACKWARE new file mode 100644 index 000000000000..ec9d49da0cc3 --- /dev/null +++ b/system/numlockx/README.SLACKWARE @@ -0,0 +1,29 @@ +numlockx README.SLACKWARE + +Depending on how you start X, you might/will want to modify both +/etc/X11/xdm/Xsetup_0 and your $HOME/.xinitrc files. + +Add this to the END of /etc/X11/xdm/Xsetup_0 + + # Turn NumLock on (using numlockx) + if [ -x /usr/bin/numlockx ]; then + /usr/bin/numlockx + fi + +Add this to the BEGINNING of $HOME/.xinitrc + + # Turn NumLock on (using numlockx) + if [ -x /usr/bin/numlockx ]; then + /usr/bin/numlockx + fi + +Note that $HOME/.xinitrc is just a copy of /etc/X11/xinit/xinitrc.$SOMETHING, +where $SOMETHING is your preferred window manager. The xwmconfig(1) binary +makes this copy when it is run. To summarize, if you use xwmconfig(1) to +change your window manager/desktop environment after editing it for numlockx, +you will need to make the edits again. Alternatively, you can make the +numlockx edit to the "master" files in /etc/X11/xinit/ for each of the +installed window managers, and this will allow you to change window managers +without losing the numlockx functionality. However, be aware that an upgrade +to any of the window managers involved might/will overwrite your changes. + |