Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Newbie > How to edit xinitrc(uses unix newline codes) of slax

Forgot Password?
 Linux Newbie   If you're new to the wonderful world of Linux, start here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-22-2008   #1 (permalink)
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
David007 is offline  


Reply With Quote
Old 11-23-2008   #2 (permalink)
Content Team
 
_madman_'s Avatar
 
Join Date: Jun 2006
Posts: 50
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
_madman_ is offline   Reply With Quote
Old 11-23-2008   #3 (permalink)
Linux User
 
dxqcanada's Avatar
 
Join Date: Sep 2006
Location: Canada
Posts: 258
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" ...
dxqcanada is offline   Reply With Quote
Old 11-23-2008   #4 (permalink)
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 ?
David007 is offline   Reply With Quote
Old 11-23-2008   #5 (permalink)
Linux User
 
dxqcanada's Avatar
 
Join Date: Sep 2006
Location: Canada
Posts: 258
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" ...
dxqcanada is offline   Reply With Quote
Old 11-23-2008   #6 (permalink)
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 !!
David007 is offline   Reply With Quote
Old 11-23-2008   #7 (permalink)
Linux User
 
dxqcanada's Avatar
 
Join Date: Sep 2006
Location: Canada
Posts: 258
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" ...
dxqcanada is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:13 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2