LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-17-2005, 10:47 PM   #1
monkeyking
LQ Newbie
 
Registered: Jan 2005
Posts: 20

Rep: Reputation: 0
system wide setting of .emacs/.vimrc


I just finished installing slackware 10.0 and everything works like a charm.
But I do have one little problem.

Where are the system .emacs .vimrc.

I want to add a few lines to each of them, but which files should I edit.
(It should be for all users.)

thanks in advance.
[edit]
ps. And if you know which xf86 config slackware is using.
pps. And If I want to make changes to my .bashrc where should I put the changes. like path class_path.
ppps. And last question. Do all the files that are marked executable in /ets/rc.d/*, actually run at boot time or do I net to add the name of my extra stuff somewhere else??

Thanks again.

Last edited by monkeyking; 03-17-2005 at 11:05 PM.
 
Old 03-18-2005, 01:02 AM   #2
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Arch
Posts: 389

Rep: Reputation: 30
just find them using find cmd

find / - name xxxx

slack use xorgconf /etc/X11/xorgconf
 
Old 03-18-2005, 03:24 AM   #3
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
Re: system wide setting of .emacs/.vimrc

Quote:
Where are the system .emacs .vimrc.
i think /usr/share/emacs and /usr/share/vim
Quote:
ps. And if you know which xf86 config slackware is using.
already answered.
Quote:
pps. And If I want to make changes to my .bashrc where should I put the changes. like path class_path.
i don't get it. in your personal .bashrc? if it is for everybody change /etc/profile. attention here if you use a login shell or not.

Quote:
ppps. And last question. Do all the files that are marked executable in /ets/rc.d/*, actually run at boot time or do I net to add the name of my extra stuff somewhere else??
yes. you can put your stuff here. everything executable will run. there is a file already for your stuff "rc.local".

regards

slackie1000
 
Old 03-18-2005, 05:26 AM   #4
monkeyking
LQ Newbie
 
Registered: Jan 2005
Posts: 20

Original Poster
Rep: Reputation: 0
It seems like the globel .vimrc file is /usr/share/vim/vimrc

I'm still quite puzzled about the .emacs , but I'm more into vi so It doesn't really matter.
I only want emacs so I can run the jdee ide, hehe

What do you mean by attention concerning the login promt??
 
Old 03-18-2005, 05:30 AM   #5
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

it is a long history. take a look at
Code:
man bash
the user file can be also .bash_profile depending of your login setup. nothing to worry about. 90% of the users do not care about that.
most distro also helps you with the line
Code:
source .bash_profile
in the global definitions..

regards

slackie1000
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System Wide Permission lmanwarren Linux - General 1 03-29-2005 08:15 PM
Setting ISO8859-15 as the system-wide default ; how? Megamieuwsel Linux - General 1 08-25-2004 02:52 PM
*system-wide* KDE install, how? webvandals Linux - Software 5 03-05-2004 11:48 PM
Dell Inspirion 8500 problem setting to wide screen knitelius Linux - Laptop and Netbook 1 02-07-2004 10:07 PM
Network-wide host setting? Passive Linux - Software 4 01-15-2004 09:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration