Sherpa Posted May 31, 2004 Report Share Posted May 31, 2004 just to make sure this: ~/.xinitrc means /home/sherpa/.xinitrc right? Quote Link to comment Share on other sites More sharing options...
william Posted May 31, 2004 Report Share Posted May 31, 2004 yeah, you are right! Quote Link to comment Share on other sites More sharing options...
Sherpa Posted May 31, 2004 Report Share Posted May 31, 2004 (edited) too bad i cannot be doing that right now, my linux is crashed beyond repair (for more see the software forum BOOTLOADER......) edit i fixed it :D Edited May 31, 2004 by Sherpa Quote Link to comment Share on other sites More sharing options...
Sherpa Posted May 31, 2004 Report Share Posted May 31, 2004 ok i found the profile file, # /etc/profile -*- Mode: shell-script -*- # (c) MandrakeSoft, Chmouel Boudjnah <chmouel@mandrakesoft.com> loginsh=1 # Users generally won't see annoyng core files [ "$UID" = "0" ] && ulimit -S -c 1000000 > /dev/null 2>&1 if ! echo ${PATH} |grep -q /usr/X11R6/bin; then PATH="$PATH:/usr/X11R6/bin" fi if [ "$UID" -ge 500 ] && ! echo ${PATH} |grep -q /usr/games; then export PATH=$PATH:/usr/games fi umask 022 USER=`id -un` LOGNAME=$USER MAIL="/var/spool/mail/$USER" HISTCONTROL=ignoredups HOSTNAME=`/bin/hostname` HISTSIZE=1000 if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then INPUTRC=/etc/inputrc fi # some old programs still use it (eg: "man"), and it is also # required for level1 compliance for LI18NUX2000 NLSPATH=/usr/share/locale/%l/%N export PATH PS1 USER LOGNAME MAIL HOSTNAME INPUTRC NLSPATH export HISTCONTROL HISTSIZE for i in /etc/profile.d/*.sh; do if [ -x $i ]; then . $i fi done unset i i think that is the right file, also i do not have a file ~/.xinitrc i did find ~/.bashrc though # .bashrc # User specific aliases and functions # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi now where do i put the command, at the end, at the begining, or in between some "if" statement Quote Link to comment Share on other sites More sharing options...
Sherpa Posted May 31, 2004 Report Share Posted May 31, 2004 i kinda fear just adding things when i am not sure what it is, i dont want to put something in one of those files that is not going to allow x to start or something Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.