View previous topic :: View next topic |
Author |
Message |
tba Apprentice
Joined: 01 Jun 2002 Posts: 173
|
Posted: Fri Jun 07, 2002 1:55 am Post subject: universalizing settings |
|
|
I would like to increase my mouse speed, mount a samba partition, and and change my bash prompt. what files do i need to edit in order to make these changes universal. i already know all the commands. |
|
Back to top |
|
|
mattengi n00b
Joined: 07 Jun 2002 Posts: 4
|
Posted: Fri Jun 07, 2002 2:57 am Post subject: I am poor at English. |
|
|
for mouse speed :
/usr/lX11R6/lib/X11/xinit/xinitrc
bash setting :
/etc/skel/bash_profile
/etc/skel/bashrc |
|
Back to top |
|
|
tba Apprentice
Joined: 01 Jun 2002 Posts: 173
|
Posted: Fri Jun 07, 2002 4:36 am Post subject: thanks but no go |
|
|
i tried all of your sugestions...
about the last two files (bash_profile, bashrc): they did not exist so i had to create them. to both, i added the line PS1='/t /u@$PWD>' (so as to make my prompt--> (time) (user)@(working dir)>. but it didnt work.
as far as mouse speed this is the second "xinitrc" file that i have found and added the "xset mouse 5 2" line to. that didnt work either.
why can't linux have a simple script file like autoexec.bat where i can set up a few commnads to run upon boot. |
|
Back to top |
|
|
Sivar Apprentice
Joined: 25 May 2002 Posts: 266 Location: USA
|
Posted: Fri Jun 07, 2002 4:45 am Post subject: |
|
|
To run a BASH command at startup for a *specific user*, put it in their ~/.bashrc
(~ meaning, of course, the home directory)
To set a variable or add aliases and whatnot, put them in the ~/.bash_profile
To do any of this universally for all users, put it in /etc/profile
I think that the ``skel'' directory is where the default files copied to new accounts when they are created go to.
BTW, be sure to make these files executeable, and do not make any of them world (or even group) writeable. _________________ The greatest deeds are still undone, the greatest songs are still unsung... |
|
Back to top |
|
|
tba Apprentice
Joined: 01 Jun 2002 Posts: 173
|
Posted: Fri Jun 07, 2002 9:31 am Post subject: it worked!! |
|
|
it worked!!
do you know where the xset command goes? i cant grep it anywhere, i just set up my system and im trying to fine tune it |
|
Back to top |
|
|
|