JWM Themes Exchange
- battleshooter
- Posts: 1378
- Joined: Wed 14 May 2008, 05:10
- Location: Australia
Oh man Steve, that's really nice desktop. Makes me really want to use JWM, but I'm too addicted to Icewm to change.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=94580]LMMS 1.0.2[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94593]Ardour 3.5.389[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94629]Kdenlive 0.9.8[/url]
thanks, battleshooter. yeah, I used icewm and still periodically do...but I think jwm is a little more stable and I love being able to go, oh, let me change this color or this, boom: new theme...battleshooter wrote:Oh man Steve, that's really nice desktop. Makes me really want to use JWM, but I'm too addicted to Icewm to change.
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Hey steve in 4.2 I supplied a wack of 24x24 icons for the icewm menus which look great compared to the older ones, but JWM is stuck on 16x16 for the sub menus, I asked around and some said just change a line etc, nothing worked yet, If you found out how man that would be really good for JWM. It could be one ofl those JWM configs, I ask Joe himself and he told me to patch something in the sources but he wasn't direct enough. etc. Thats how I came across building that other JWM without icons on the previous page, lol trying to do it. A patch would be great any ideas?
ttuuxxx
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Just off the top of my head, but could it have anything to do with the script that runs to set up the default icons? In other words, when you click on the Icon Switcher it runs through a script.ttuuxxx wrote:Hey steve in 4.2 I supplied a wack of 24x24 icons for the icewm menus which look great compared to the older ones, but JWM is stuck on 16x16 for the sub menus, I asked around and some said just change a line etc, nothing worked yet, If you found out how man that would be really good for JWM. It could be one ofl those JWM configs, I ask Joe himself and he told me to patch something in the sources but he wasn't direct enough. etc. Thats how I came across building that other JWM without icons on the previous page, lol trying to do it. A patch would be great any ideas?
ttuuxxx
You know more about that stuff than I do, but I would, at the very least, make sure it ISN'T that first. I just know, even after going through it and checking the icons many times, it is doing stuff I don't know about 'cause there are other icons in the pixmap directory when the script is done...
ttuuxxx: again, grasping, but does it have anything to do with the fact that the mini-icons are in xpm format rather than png as the default like the other icons? I just find that interesting...
Why does it work in icewm and not jwm? In other words, what is pulling the icons for jwm that is not pulling them in icewm? or something to that effect...
I'll keep checking...
Why does it work in icewm and not jwm? In other words, what is pulling the icons for jwm that is not pulling them in icewm? or something to that effect...
I'll keep checking...
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Somone told me once that Barry had an issue once with icon sizes so he configured it in some code, could be in a script, also I think one of patriots pictures he had 24x24 icons in the sub menu
good luck
ttuuxxx
good luck
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Ok, ttuuxxx, I hope you are still reading this thread, 'cause here is what happens. I've got it this point, but I don't know bash well enough to determine specifics.
1. Whatever the program is that you want in the menu, it must have a *.desktop file and the file must be located in /usr/share/applications folder or the icon won't be seen. Where-ever you specify the icon in the *.desktop file, regardless of the size, it will end up being in the menu, but only at 16 bit.
2. Once the file is in the /usr/share/applications menu, clicking on "Refresh Menus" and waiting changes the menu icon. So, something within the program /usr/bin/refresh-menus is doing the resizing as well.
refresh-menus runs this (as far as I can tell):
a. /usr/sbin/fixmenus
b. /usr/sbin/menu-fix
From there, I can't tell you which of the two is doing the resizing, but something within that sequence of events is finding the icon specified and changing to the 16 bit size.
For instance, Mplayer.desktop wasn't in the correct folder. It had a menu entry, but no icon. I moved the desktop file over, instant icon. Ok, let's change the icon and pick one that is 48 bit size. Sure enough it found it in the folder I specified, resized it and put it in the menu.
...I just don't know enough scripting to be able to tell you what in that chain of events is doing the resizing and how to change it.
1. Whatever the program is that you want in the menu, it must have a *.desktop file and the file must be located in /usr/share/applications folder or the icon won't be seen. Where-ever you specify the icon in the *.desktop file, regardless of the size, it will end up being in the menu, but only at 16 bit.
2. Once the file is in the /usr/share/applications menu, clicking on "Refresh Menus" and waiting changes the menu icon. So, something within the program /usr/bin/refresh-menus is doing the resizing as well.
refresh-menus runs this (as far as I can tell):
a. /usr/sbin/fixmenus
b. /usr/sbin/menu-fix
From there, I can't tell you which of the two is doing the resizing, but something within that sequence of events is finding the icon specified and changing to the 16 bit size.
For instance, Mplayer.desktop wasn't in the correct folder. It had a menu entry, but no icon. I moved the desktop file over, instant icon. Ok, let's change the icon and pick one that is 48 bit size. Sure enough it found it in the folder I specified, resized it and put it in the menu.
...I just don't know enough scripting to be able to tell you what in that chain of events is doing the resizing and how to change it.
When I get bored, y'all (a Texas term) get new themes...
Grape: looking for something, well, grapish? Try this one...
Slate: looking for a dark gray/black theme? check out slate...
Grape: looking for something, well, grapish? Try this one...
Slate: looking for a dark gray/black theme? check out slate...
- Attachments
-
- Grape-jwm-theme.pet
- (3.37 KiB) Downloaded 871 times
-
- Slate-jwm-theme.pet
- (3.21 KiB) Downloaded 1107 times
Nice, the slate one matches your icons
Here's another theme with smooth violet gradients:
Here's another theme with smooth violet gradients:
- Attachments
-
- jwm_easyviolet.pet
- (3.53 KiB) Downloaded 941 times
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]
- Subito Piano
- Posts: 731
- Joined: Mon 28 May 2007, 03:12
- Location: UPSTATE New York
- Contact:
If they are packed in pet package they should install in proper dir and show in theme chooser automatically, if not u need to extract files in /root/.jwm/themes there are usually four files themename-jwmrc themename-colors themename-tray and themename-window, two of them are theme text files and other two are images that show in theme chooser but they are not necessary...
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]
- Subito Piano
- Posts: 731
- Joined: Mon 28 May 2007, 03:12
- Location: UPSTATE New York
- Contact:
Ok, here is what I do:Subito Piano wrote:OK - so where are the step-by-step instructions to add themes and have them show up in the theme chooser windows?
**Suggestion by puppyluvr:
Go to /usr/local/lib/X11/themes and choose a theme that has similar elements to what you want, IE, has gradiants or has a start button you like, ect, or just use the "Original" theme.
Right click on the folder of the theme you have chosen and select "copy".
Change the name to that of your intended theme, and click OK...
Then open the new theme folder and "hack away"...(see below)..
Save the result, and Viola, your very own theme...***
(back to my original post..)
To add a theme, put the theme (as a -jwmrc file...see the others for examples) in /root/.jwm/themes/
As soon as you do that, when you run the jwm theme changer, it will show up. Then when you click on the theme you've made, it will change all the colors, etc.
At that point, I run the mtpaint screenshot taker and then select an area of the upper corner of a window for a picture example. I then crop it, then save that as yourtheme-window.png in the same folder. I do the same thing for a tray picture, titling it yourtheme-tray.png and saving it. You can do this with gimp if you wanted to.
To make your own theme, the best way to get started is to modify one that already exists. Just pick one of the other jwmrc files, open it in geany, and notice all the "colors" that are mentioned. They are written in a number-letter format (someone else tell us what that format is called).
I usually then put each of the numbers in the gimp color selector to see what the color is. If I want to change the color/number I take the new color/number I want, find the old one in the file, then use geany to Replace all those color/numbers in the document. Then save your file as a new file.
Continue to change the color/numbers as you see fit. Each time you select the theme in the jwm theme changer, you can immediately see your changes take place (assuming you've saved the file). Pretty neat. By following this process you can progressively see what happens and what colors/numbers refer to what...
Others have suggestions on the best way to create your own theme?
**Edit: there are many things I don't know about this process...as you can see, the process I follow is my usual hack-it-and-learn-as-you-go process which, fortunately, works in Puppy. Things like the 'color' file and other obvious points I would gladly look to others for input/guidance...
Last edited by steve_s on Sat 02 May 2009, 21:09, edited 1 time in total.
- Subito Piano
- Posts: 731
- Joined: Mon 28 May 2007, 03:12
- Location: UPSTATE New York
- Contact:
Ahh, THERE's the key -- i didn't realize it would do that. Plus, your instructions on saving the ping are quite lucid. Thanks!steve_s wrote:
As soon as you do that, when you run the jwm theme changer, it will show up. Then when you click on the theme you've made, it will change all the colors, etc.
Yeah, that color file is little confusing to me too but I have some idea what it does.steve_s wrote: **Edit: there are many things I don't know about this process...as you can see, the process I follow is my usual hack-it-and-learn-as-you-go process which, fortunately, works in Puppy. Things like the 'color' file and other obvious points I would gladly look to others for input/guidance...
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]
Hello,
i realized I never posted my BlueJay Theme as a pet..
Sure makes it easier...
i realized I never posted my BlueJay Theme as a pet..
Sure makes it easier...
- Attachments
-
- JwmBlueJay-01.pet
- Blue Theme for Jwm with gradiants and larger fonts for visibility
- (3.92 KiB) Downloaded 1652 times
puppyluvr, I did pet for puppy-look earlier
http://puppylin.freehostia.com/jwmbluejay.htm
EDIT: It would be easier to post'em on my site if they were pets, this way I have to make pets first for all
http://puppylin.freehostia.com/jwmbluejay.htm
EDIT: It would be easier to post'em on my site if they were pets, this way I have to make pets first for all
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]