Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Oct 2014, 22:16
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Problem with .xinitrc ?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Bruce B


Joined: 18 May 2005
Posts: 11130
Location: The Peoples Republic of California

PostPosted: 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 Embarassed
Back to top
View user's profile Send_private_message 
Walt H


Joined: 01 Jun 2005
Posts: 216
Location: citizen of the world

PostPosted: 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. Confused

_________________
Walt

Now that you point it out to me, the answer seems painfully obvious.
Back to top
View user's profile Send_private_message 
ICQ 
Bruce B


Joined: 18 May 2005
Posts: 11130
Location: The Peoples Republic of California

PostPosted: 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. Confused


Yes. With the -nocpp in .xinitrc, .Xdefaults merge and without it the don't on my computer.
Back to top
View user's profile Send_private_message 
Walt H


Joined: 01 Jun 2005
Posts: 216
Location: citizen of the world

PostPosted: 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. Confused


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.Embarassed 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
View user's profile Send_private_message 
ICQ 
Bruce B


Joined: 18 May 2005
Posts: 11130
Location: The Peoples Republic of California

PostPosted: 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
View user's profile Send_private_message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: 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 Embarassed


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
View user's profile Send_private_message Visit_website 
Bruce B


Joined: 18 May 2005
Posts: 11130
Location: The Peoples Republic of California

PostPosted: 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 Embarassed


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
View user's profile Send_private_message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Sat 27 Aug 2005, 14:58    Post_subject:  

Okay, will do.
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0637s ][ Queries: 12 (0.0051s) ][ GZIP on ]