Author |
Message |
Bruce B
Joined: 18 May 2005 Posts: 11488 Location: The Peoples Republic of California
|
Posted: Fri 26 Aug 2005, 15:45 Post subject:
Problem with .xinitrc ? |
|
I'm submitting what I think is a long standing bug in .xinitrc
I think the lines that read xrdb -merge need to read xrdb -merge -nocpp in order to work.
Walt H seems to be of a similiar opinion. Refer to this thread for additional details
http://www.murga.org/%7Epuppy/viewtopic.php?t=1789
But I'm probably wrong
|
Back to top
|
|
 |
Walt H

Joined: 01 Jun 2005 Posts: 216 Location: citizen of the world
|
Posted: Fri 26 Aug 2005, 18:54 Post subject:
Re: Problem with .xinitrc ? |
|
Bruce B wrote: | I think the lines that read xrdb -merge need to read xrdb -merge -nocpp in order to work. |
This does seem to be true if you want the changes to remain in effect each time you boot up Puppy. Otherwise, you have to run the xrdb -nocpp -merge command each time you start up Puppy before launching the application you changed. Would running it as xrdb -merge -nocpp make any difference here. I don't know enough to know whether that's a dumb question.
_________________ Walt
Now that you point it out to me, the answer seems painfully obvious.
|
Back to top
|
|
 |
Bruce B
Joined: 18 May 2005 Posts: 11488 Location: The Peoples Republic of California
|
Posted: Fri 26 Aug 2005, 21:54 Post subject:
Re: Problem with .xinitrc ? |
|
[quote="Walt H"] Bruce B wrote: | Would running it as xrdb -merge -nocpp make any difference here. I don't know enough to know whether that's a dumb question.  |
Yes. With the -nocpp in .xinitrc, .Xdefaults merge and without it the don't on my computer.
|
Back to top
|
|
 |
Walt H

Joined: 01 Jun 2005 Posts: 216 Location: citizen of the world
|
Posted: Sat 27 Aug 2005, 01:09 Post subject:
Re: Problem with .xinitrc ? |
|
Bruce B wrote: | Walt H wrote: | Would running it as xrdb -merge -nocpp make any difference here. I don't know enough to know whether that's a dumb question.  |
Yes. With the -nocpp in .xinitrc, .Xdefaults merge and without it the don't on my computer. |
I didn't phrase my question very well. What I'm wondering is whether it matters if the -nocpp flag comes before or after the -merge flag. I have it first in my.xinitrc file (xrdb -nocpp -merge ~/.Xresources) rather than second (xrdb -merge -nocpp ~/.Xresources). I understand that the -nocpp flag needs to be present in .xinitrc for the changes to remain in effect each time you start Puppy. Hopefully, my wording is a bit clearer.
_________________ Walt
Now that you point it out to me, the answer seems painfully obvious.
|
Back to top
|
|
 |
Bruce B
Joined: 18 May 2005 Posts: 11488 Location: The Peoples Republic of California
|
Posted: Sat 27 Aug 2005, 01:48 Post subject:
|
|
Frankly, Walt I didn't understand. I doubt it would matter the sequence. I guess my habit is to work from left to right and that's why I inserted the flag where I did.
The way I learned about xrdb was like this:
# xrdb --help
If you read the --help output there is nothing to indicate the sequence you are talking about is a factor in the functionality of the two flags.
Also as I read .xinitrc it is supposed to automatically merge .Xresources, meaning to say, the only change I made to it was add the -nocpp
Well, also I decided to try it out for starting my mosted used app on boot which is mrxvt, and it works great for that.
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 8524 Location: Perth, Western Australia
|
Posted: Sat 27 Aug 2005, 08:36 Post subject:
Re: Problem with .xinitrc ? |
|
Bruce B wrote: | I'm submitting what I think is a long standing bug in .xinitrc
I think the lines that read xrdb -merge need to read xrdb -merge -nocpp in order to work.
Walt H seems to be of a similiar opinion. Refer to this thread for additional details
http://www.murga.org/%7Epuppy/viewtopic.php?t=1789
But I'm probably wrong  |
So, are you saying the this code in .xinitrc:
Code: | if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi |
both xrdb lines should have the -nocpp option inserted?
|
Back to top
|
|
 |
Bruce B
Joined: 18 May 2005 Posts: 11488 Location: The Peoples Republic of California
|
Posted: Sat 27 Aug 2005, 13:20 Post subject:
Re: Problem with .xinitrc ? |
|
BarryK wrote: | Bruce B wrote: | I'm submitting what I think is a long standing bug in .xinitrc
I think the lines that read xrdb -merge need to read xrdb -merge -nocpp in order to work.
Walt H seems to be of a similiar opinion. Refer to this thread for additional details
http://www.murga.org/%7Epuppy/viewtopic.php?t=1789
But I'm probably wrong  |
So, are you saying the this code in .xinitrc:
Code: | if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi |
both xrdb lines should have the -nocpp option inserted? |
That is precisely what I'm saying
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 8524 Location: Perth, Western Australia
|
Posted: Sat 27 Aug 2005, 14:58 Post subject:
|
|
Okay, will do.
|
Back to top
|
|
 |
|