Re: Need Help on customizing X11; Couldn't find .xinitrc
Re: Need Help on customizing X11; Couldn't find .xinitrc
- Subject: Re: Need Help on customizing X11; Couldn't find .xinitrc
- From: Anuj Goyal <email@hidden>
- Date: Thu, 6 Jan 2011 18:08:34 -0500
I find the xinitrc file in the directory I mentioned earlier /usr/X11/lib/X11/xinit/. I commented the
twm &, and added quartz-wm & . Further copied this to my home directory. But still when I start X11, I do not have quartz starting up.
1 . So am I missing something here. To apply the changes do I need to execute some command ? or to integrate it with .Xresources ?
Following is my .xinitrc
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11/lib/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
if [ -x /usr/bin/cpp ] ; then
xrdb -merge $sysresources
else
xrdb -nocpp -merge $sysresources
fi
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
if [ -x /usr/bin/cpp ] ; then
xrdb -merge "$userresources"
else
xrdb -nocpp -merge "$userresources"
fi
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /usr/X11/lib/X11/xinit/xinitrc.d ] ; then
for f in /usr/X11/lib/X11/xinit/xinitrc.d/*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
#twm &
quartz-wm & // made this change
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
~
~
---
2. When is use xrdb -merge ~/.Xresources , it says
sh: /usr/bin/cpp: No such file or directory
Are these related.
Thanks
Anuj
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden