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 Wed 01 Oct 2014, 16:20
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Eye Candy
JWM title bar window buttons bitmask? [SOLVED]
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Author Message
mavrothal


Joined: 24 Aug 2009
Posts: 1635

PostPosted: Thu 08 Nov 2012, 07:17    Post_subject:  

01micko wrote:

Be aware that the xdg template I attach is for Slacko (don't know the consequences in other pups, be warned) and so optional.


Only took 2 months to stumbled upon this one... Embarassed

What about dropping jwm_xdg_template-0.1-hack.pet for a jwm_window_decor-switcher-0.1.pet pinstall like this:
Code:
if [ -f /etc/xdg/templates/_root_.jwmrc ] ; then
   sed -i "s/<\/JWM>//" /etc/xdg/templates/_root_.jwmrc
   cat << EOF >> /etc/xdg/templates/_root_.jwmrc

   <!-- window buttons -->
   <ButtonClose>/usr/share/pixmaps/close.xbm</ButtonClose>
   <ButtonMax>/usr/share/pixmaps/max.xbm</ButtonMax>
   <ButtonMaxActive>/usr/share/pixmaps/maxact.xbm</ButtonMaxActive>
   <ButtonMin>/usr/share/pixmaps/min.xbm</ButtonMin>

</JWM>
EOF
fi

Should work in any JWM puppy. No?

Later Yeap. It does. Here is Micko's pet with this change. Tested in a couple of puppies OK
jwm_window_decor-switcher-0.2.pet
Description  Micko's jwm_window_decor-switcher-0.1.pet (from previous page) modified for every JWM puppy
pet

 Download 
Filename  jwm_window_decor-switcher-0.2.pet 
Filesize  5.57 KB 
Downloaded  400 Time(s) 

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send_private_message 
scsijon

Joined: 23 May 2007
Posts: 1046
Location: the australian mallee

PostPosted: Mon 18 Mar 2013, 21:41    Post_subject:  

As a reply from joe I thought it might be appropriate to copy.

Quote:
It's possible (and was done in the past). I removed this feature so that JWM would draw the buttons scaled to the right size (JWM now uses Xlib drawing primitives rather than bitmaps).
I probably won't implement this (at least not in the near future) though since I would like to keep JWM as lean as possible.


regards
scsijon

ps JWM has it's own thread under Desktops.

_________________
Puppy T290 - BarryK's Racy but with T2 Version 9.0 is under development.
http://www.murga-linux.com/puppy/viewtopic.php?t=94575
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Eye Candy
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.0503s ][ Queries: 13 (0.0103s) ][ GZIP on ]