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 Fri 19 Sep 2014, 15:51
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Editing /root/.jwmrc vs /etc/xdg/templates/_root_.jwmrc
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
PaulR

Joined: 04 May 2005
Posts: 244
Location: UK

PostPosted: Sun 12 May 2013, 13:59    Post subject:  Editing /root/.jwmrc vs /etc/xdg/templates/_root_.jwmrc  

At the top of /root/.jwmrc it says:

IMPORTANT, ONLY EDIT /etc/xdg/templates/_root_.jwmrc

but if I add a key binding to that file it doesn't work. If I add it to /root/.jwmrc however it works and magically gets copied to the other file.

Is the warning wrong or have I misunderstood something?

Paul

PS This is Slacko 5.5
Back to top
View user's profile Send private message 
duke93535


Joined: 05 May 2005
Posts: 194
Location: California , High Desert

PostPosted: Sun 12 May 2013, 22:13    Post subject:  

The warning is correct and the key bindings are located in /root/.jwm/jwmrc-personal. After making a change, do a restart of JWM.

If and when fixmenus is run you will lose any changes that you make to .jwmrc.

duke
Back to top
View user's profile Send private message 
PaulR

Joined: 04 May 2005
Posts: 244
Location: UK

PostPosted: Mon 13 May 2013, 03:29    Post subject:  

Thanks duke, so should it read...

IMPORTANT, ONLY EDIT /etc/xdg/templates/_root_.jwmrc or /root/.jwm/jwmrc-personal

?

Cheers

Paul
Back to top
View user's profile Send private message 
boolean

Joined: 31 Oct 2009
Posts: 32

PostPosted: Mon 13 May 2013, 03:50    Post subject:  

here is the entire process : a bit cryptic
fixmenus: copy non xdg-menu literally and execute jwm-xdgmenu lines from /etc/xdg/templates/_root_.jwmrc ---> xdgmenu (gets dierctory icon from .directory- and crawl .desktop for category ) /etc/xdg/menus/puppy-*.menu ---> /root/.jwmrc(which read by jwm)
Back to top
View user's profile Send private message 
duke93535


Joined: 05 May 2005
Posts: 194
Location: California , High Desert

PostPosted: Mon 13 May 2013, 03:56    Post subject:  

Any <include> listed in the /etc/templates/_root_.jwmrc will override the template.

These are the standard includes.

<Include>/root/.jwmrc-tray</Include>
<Include>/root/.jwm/jwmrc-theme</Include>
<Include>/root/.jwm/jwmrc-personal</Include>
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Mon 13 May 2013, 05:27    Post subject:  

Thats right , read all posts together :

edit
/etc/xdg/templates/_root_.jwmrc
then run
fixmenus
to create a new $HOME/.jwmrc
then run
jwm -p
to check for errors
then run
jwm -restart
at older jwm -v
or one of the both
jwm -reload
jwm -restart

at newer jwm -v
.
Back to top
View user's profile Send private message Visit poster's website 
`f00


Joined: 06 Nov 2008
Posts: 809
Location: the Western Reserve

PostPosted: Tue 14 May 2013, 16:02    Post subject:
Subject description: override (as a rule)
 

Mostly personal does override template, but sometimes it's kind of a merge.

I've noticed with keybindings if there are different binds (say Ctrl+q for close in personal and Alt+F4 in template for close) both binds are used for closing a window. The template settings may be viewed as more of a fallback, but just to be sure (if you want unique binds) it may help to compare and match.

a fine point to be sure, but FYI Smile
Back to top
View user's profile Send private message 
PaulR

Joined: 04 May 2005
Posts: 244
Location: UK

PostPosted: Tue 14 May 2013, 17:04    Post subject:  

Seems rather cryptic Shocked but I guess I can live with it - once it's set up I suppose I can just forget about it Smile

Thanks for the replies, I'm sure they will be helpful to others.

Paul
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0521s ][ Queries: 11 (0.0040s) ][ GZIP on ]