Find the answer to your Linux question:
Results 1 to 6 of 6
Hello, I am Lakshman. I am new to Linux. I would like to know what type of setting File is commonly used in Linux. Means Is it .conf File or ...
  1. #1
    Just Joined!
    Join Date
    Oct 2011
    Posts
    2

    Regarding Setting File used Generally in Linux....

    Hello,

    I am Lakshman.
    I am new to Linux.

    I would like to know what type of setting File is commonly used in Linux.
    Means Is it .conf File or .xml File or any other.

    I have read in many posts that it depends on user.

    Kindly help me to know more about Setting File Format in Linux.

    Thanks in Advance .

    regards
    Lakshman

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Quote Originally Posted by lakshmancb View Post
    I would like to know what type of setting File is commonly used in Linux.
    Means Is it .conf File or .xml File or any other.
    Hello and welcome!

    Yes, both of those extensions are commonly used in Linux.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,977
    It depends upon what you mean by "setting file". There are configuration files for system services, usually found somewhere under /etc that often (but not always) have a .conf extension. Then there are user session settings which depend upon which shell you are booting into. Usually the default Linux shell is bash, so your settings are to be found in ~/.bash_profile and ~/.bashrc - because they start with a dot, they are "hidden" files that usually won't show up in your desktop file browser. The .bash_profile is loaded when you login, and .bashrc is loaded every time you start a new shell, such as a command-line window.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Just Joined!
    Join Date
    Oct 2011
    Posts
    2
    Hello,

    Thanks For replying me.

    The setting File Which I mentioned is Used for Storing Temporarily my Application's Information like ini in Windows.
    I Want to store Windows Position and Windows Size, values eneterd in the controls etc in a Setting File.

    For that Purpose, Which Setting File Format Should I Use?

    Thanks
    Lakshman
    Last edited by lakshmancb; 10-17-2011 at 05:15 AM.

  5. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    IBM has posted a nice article on their website that discusses various configuration files under Linux, so you might want to read over it then choose any configuration extensions most appropriate for your own needs:

    Understanding Linux configuration files
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  6. #6
    Linux Guru
    Join Date
    May 2011
    Posts
    1,855
    For positioning windows, and other X-related things, check out the file ~/.Xresources. It is mentioned briefly in the link ozar included. You can read more about it on your system with man X (then look for .Xresources). Or just google it for more info on how to use it, examples, etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...