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 30 Jul 2014, 09:40
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 [17 Posts]   Goto page: Previous 1, 2
Author Message
mavrothal


Joined: 24 Aug 2009
Posts: 1570

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  381 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: 1023
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 poster's website 
Display posts from previous:   Sort by:   
Page 2 of 2 [17 Posts]   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:  

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.0436s ][ Queries: 12 (0.0034s) ][ GZIP on ]