You are not logged in.
Pages: 1
hey guys, while i was configing my system for gnome and X, i read on the beginners guid that i have to edit my "xinitrc" file, so that i can uncomment or add "exec" to my disered DE [gnome]. but when i open it [nano ~/.xinitrc] it does not have ANY TEXT in the file! what is going on and how can it be fixed so i can do the "exec" thing?
Offline
It's not there ?
ls -la /home/<your-user> | grep xinitrc
?
Since it may be not there, you can find a default copy of it in /etc/skel/.xinitrc
Offline
hey guys, while i was configing my system for gnome and X, i read on the beginners guid that i have to edit my "xinitrc" file, so that i can uncomment or add "exec" to my disered DE [gnome]. but when i open it [nano ~/.xinitrc] it does not have ANY TEXT in the file! what is going on and how can it be fixed so i can do the "exec" thing?
.xinitrc files do not exist automatically. you have to create it. when you did nano ~/.xinitrc, it created the file and so you have to now add stuff to it. Alternatively you can copy a stub of xinitrc from /etc/skel
Seems you have a lot of reading up to do.
http://wiki.archlinux.org/index.php/Xinitrc
Last edited by Inxsible (2010-07-13 16:22:05)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
ace_w1zard wrote:hey guys, while i was configing my system for gnome and X, i read on the beginners guid that i have to edit my "xinitrc" file, so that i can uncomment or add "exec" to my disered DE [gnome]. but when i open it [nano ~/.xinitrc] it does not have ANY TEXT in the file! what is going on and how can it be fixed so i can do the "exec" thing?
.xinitrc files do not exist automatically. you have to create it. when you did nano ~/.xinitrc, it created the file and so you have to now add stuff to it. Alternatively you can copy a stub of xinitrc from /etc/skel
Seems you have a lot of reading up to do.
ok thank you for your help so much, but do i have to edit this file? cause arch is working with out it, is it requiered?
Offline
If you are using a DE, and login manager, you most likely do not, as you yourself have seen.
Wm users -- and especially ppl who use multiple wms need this as a way to quickly switch wms.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
I'm guessing that you missed this step in the beginners guide:
cp /etc/skel/.xinitrc ~/
Offline
I'm guessing that you missed this step in the beginners guide:
cp /etc/skel/.xinitrc ~/
so this creates the xinitrc file? and then i go on from there, correct?
Offline
The cp command is the copy command. It copies the /etc/skel/.xinitrc file and pastes it in your home directory.
EDIT: Also consider using the man command at any unfamiliar commands, for instance try
$ man cp
Last edited by Nichollan (2010-07-13 18:36:07)
Offline
Honestly, you can start w/ a blank file and add all the commands you need. There ain't much in /etc/skel/.xinitrc, it's more like a blank canvas for you to point your masterpiece on.
Offline
Pages: 1