Results 1 to 6 of 6
How do you creat a new file to put in a dir?
I cant get KDE to start. This is what was on another thread.
1)Create a file in your ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-14-2006 #1
New File
How do you creat a new file to put in a dir?
I cant get KDE to start. This is what was on another thread.
1)Create a file in your home directory called .xinitrc
2)Inside that file, put one line:
Code:
exec startkde
3)Save and run startx again.
- 10-14-2006 #2
Touch is a nice tool for that, "touch ~/.xinitrc" then edit it with vim or nano
You can also just pretend the file exists with "nano ~/.xinitrc" add the content and just save it with ^O and the file is createdPut your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 10-14-2006 #3
I dont really understand??? Would i have to emerge touch?
I tried to nano -w /etc/home/.xinitrc edit it and save it wouldnt do it. it did exist.
- 10-14-2006 #4
Touch is included by default. If the file exists, edit it to your needs. and I dont think /etc/home exists by default
Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 10-14-2006 #5
ok Juan i tried " touch~/.xinitrc "
No such file or dir.
I must be missing something here.
- 10-14-2006 #6
To create:
Remember the space between touch and ~. Rest is continous.Code:touch ~/.xinitrc
To edit:
Again remember the space.Code:vim ~/.xinitrc
Alternatively if you are sure that the file you are creating is going to be a text file (as in this case) then you can directly do this
This shall create the file and open it up for you to edit. Good Luck!!!Code:vim ~/.xinitrc


Reply With Quote
