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
Problem with .xinitrc ?
Re: Problem with .xinitrc ?
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.Bruce B wrote:I think the lines that read xrdb -merge need to read xrdb -merge -nocpp in order to work.
Walt
Now that you point it out to me, the answer seems painfully obvious.
Now that you point it out to me, the answer seems painfully obvious.
Re: Problem with .xinitrc ?
Yes. With the -nocpp in .xinitrc, .Xdefaults merge and without it the don't on my computer.Walt H wrote: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.
Re: Problem with .xinitrc ?
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.Bruce B wrote:Yes. With the -nocpp in .xinitrc, .Xdefaults merge and without it the don't on my computer.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.
Walt
Now that you point it out to me, the answer seems painfully obvious.
Now that you point it out to me, the answer seems painfully obvious.
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.
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.
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Re: Problem with .xinitrc ?
So, are you saying the this code in .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
Code: Select all
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
Re: Problem with .xinitrc ?
That is precisely what I'm sayingBarryK wrote:So, are you saying the this code in .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
both xrdb lines should have the -nocpp option inserted?Code: Select all
if [ -f $sysresources ]; then xrdb -merge $sysresources fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f $userresources ]; then xrdb -merge $userresources fi