Quote:
Originally Posted by maldojr88
are these in my home folder?
Because I dont have any of them.
i use ls -a
|
Yep - that's what ~/ means. In that case X will use
the system defaults. You could try to create either
of those (and if one has no impact what so ever, move
it to the other name). They should look something like:
Code:
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
~/.bashrc
# local changes
/usr/local/bin/tpb&
eval "$(gpg-agent -s --daemon --pinentry-program /usr/bin/pinentry-qt)"
xscreensaver&
xset b off
/usr/X11R6/bin/root-tail -g 104x43+100+50 /var/log/debug,red,'ALERT' /var/log/m
essages,green&
bsetbg tux_buttler.jpg&
# Start the window manager:
exec /usr/bin/fluxbox
Quote:
Originally Posted by maldojr88
ok another question...
im just trying to practice these start up scripts.
um what types of start up scripts(meaning wat do they do)
can i create to facilitate my use of linux.
or to enhance my knowledge.
Give me tips a pointers
|
Well, they really don't make much sense for per-user
stuff. If there were certain activities that you wanted
the machine to do automatically on startup that don't
require anything interactive - that's where start-up
scripts come in.
If, for example, your distro didn't use anacron, and you
happen to be environmentally enlightened and shut your
box down over night - then the slocate-database will not
be updated (unless you modified the crontab to a time
when you KNOW it will be on). To get around that you
could add a script to runlevel 2 that will kick off an
updatedb so the database gets refreshed on every boot.
Cheers,
Tink