Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
universalizing settings
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
tba
Apprentice
Apprentice


Joined: 01 Jun 2002
Posts: 173

PostPosted: Fri Jun 07, 2002 1:55 am    Post subject: universalizing settings Reply with quote

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
View user's profile Send private message
mattengi
n00b
n00b


Joined: 07 Jun 2002
Posts: 4

PostPosted: Fri Jun 07, 2002 2:57 am    Post subject: I am poor at English. Reply with quote

for mouse speed :

/usr/lX11R6/lib/X11/xinit/xinitrc

bash setting :

/etc/skel/bash_profile
/etc/skel/bashrc
Back to top
View user's profile Send private message
tba
Apprentice
Apprentice


Joined: 01 Jun 2002
Posts: 173

PostPosted: Fri Jun 07, 2002 4:36 am    Post subject: thanks but no go Reply with quote

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
View user's profile Send private message
Sivar
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 266
Location: USA

PostPosted: Fri Jun 07, 2002 4:45 am    Post subject: Reply with quote

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
View user's profile Send private message
tba
Apprentice
Apprentice


Joined: 01 Jun 2002
Posts: 173

PostPosted: Fri Jun 07, 2002 9:31 am    Post subject: it worked!! Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum