Find the answer to your Linux question:
Results 1 to 7 of 7
Hi all i want to edit the text file "rootcopy\etc\X11\xinit\xinitrc" and change the URL in the last line from Main Page - InfoDabble to Google . I know that xinitrc ...
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    11

    How to edit xinitrc(uses unix newline codes) of slax

    Hi all i want to edit the text file "rootcopy\etc\X11\xinit\xinitrc" and change the URL in the last line from Main Page - InfoDabble to Google. I know that xinitrc uses unix newline codes but i don't know what conversion utility should i use. I tried to open xinitrc with notepad but it will make the linux crash!!
    I be happy if you guys teach me step by step how to make such changes. Thanks

  2. #2
    Content Team _madman_'s Avatar
    Join Date
    Jun 2006
    Posts
    53
    This is border-line "not a GNU/Linux question". You are using (pardon my piglatin) one of the stoopidest editors on the <insert personal feelings here> OS of all time. If "notepad" had any fewer features it wouldn't even exist (i used to use it all the time though too ).

    If you would of punched your message into a search engine instead of this forum, you would have a thousand links to different programs that all offer this functionality. Some are small, quick and to the point, other are larger. Editors that come with IDE's (programming environments) usually offer this feature.

    OpenOffice

  3. #3
    Linux User dxqcanada's Avatar
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    259
    You should use a native Linux text editor.
    Why are you using MS notepad in Linux anyway ?



    Men occasionally stumble over the truth,
    but most of them pick themselves up
    and hurry off as if nothing had happened.

    Winston Churchill


    ... then the Unix-Gods created "man" ...

  4. #4
    Just Joined!
    Join Date
    Nov 2008
    Posts
    11
    Quote Originally Posted by dxqcanada View Post
    You should use a native Linux text editor.
    Why are you using MS notepad in Linux anyway ?
    Thanks for your reply. I am trying edit a linux file from within windows and burn it in to cd. So can you post the direct link for such linux text editor ?

  5. #5
    Linux User dxqcanada's Avatar
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    259
    If you are dealing with *nix files in Windows ... I would suggest using Notepad++.



    Men occasionally stumble over the truth,
    but most of them pick themselves up
    and hurry off as if nothing had happened.

    Winston Churchill


    ... then the Unix-Gods created "man" ...

  6. #6
    Just Joined!
    Join Date
    Nov 2008
    Posts
    11
    Quote Originally Posted by dxqcanada View Post
    If you are dealing with *nix files in Windows ... I would suggest using Notepad++.

    how i know the file is *nix ? do you mean the notpad that comes with windows ? i already used that and it didn't work !!

  7. #7
    Linux User dxqcanada's Avatar
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    259
    I did not state Notepad ... I stated Notepad++

    Notepad++

    The file you are editing comes from a Linux OS ... this is a *nix OS ... Linux or Unix.

    Use the editor above and select Unix formatting.



    Men occasionally stumble over the truth,
    but most of them pick themselves up
    and hurry off as if nothing had happened.

    Winston Churchill


    ... then the Unix-Gods created "man" ...

Posting Permissions

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