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
 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
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 Newbie
 
dxqcanada's Avatar
 
Join Date: Sep 2006
Location: Canada
Posts: 243
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 Newbie
 
dxqcanada's Avatar
 
Join Date: Sep 2006
Location: Canada
Posts: 243
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 Newbie
 
dxqcanada's Avatar
 
Join Date: Sep 2006
Location: Canada
Posts: 243
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
Free Network Mapping Tool for Microsoft® Office Visio® Professional 2007 Users
Don't map your network by hand – let LANsurveyor Express for Microsoft Visio Professional 2007 automatically create network diagrams for you.
subscribe
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say.
subscribe

Safe, Secure Backup


All times are GMT. The time now is 08:31 PM.






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

Content Relevant URLs by vBSEO 3.3.0 RC2