How to change JWM Menu icons? (Neon theme)
How to change JWM Menu icons? (Neon theme)
hello, i have just chance the icons in a jwm theme folder and i have a problem.
The icons on the desktop are ok but in the menu some icons missing.
How i can fix it ?
The icons on the desktop are ok but in the menu some icons missing.
How i can fix it ?
There is a directory named /usr/share/desktop-directories, and in that directory we can open for example the file Puppy-Graphic.directory. When I open that file from my LupuPlus_5.2.8 in a text editor, it looks like this:
You see that it expect to find paint24.png, but you may have deleted the little icon used by the root menu. The icons are found in /usr/local/lib/X11/pixmaps. If you have a new icon there, named paint48.png or similar, you can easily make a new little icon by dragging the icon you want to see in the menu, to the mtpaint program, and in mtpaint: menu->Image->Scale Canvas. That will open a new window where you set the new size to 24 - 24, and then menu->File->Save As and choose /usr/local/lib/X11/pixmaps/paint24.png. Open a terminal window and enter: jwm -restart and then fixmenus, and you should see an icon in the menu.
If you already have the file /usr/local/lib/X11/pixmaps/paint24.png, perhaps you just forgot to run fixmenus? You can also change the text in the code above to another icon name, if you wish.
For the icons in the submenus, you will find similar entries in the /usr/share/applications/ directory, a new installed program should have a file here to have a menu entry.
tallboy
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=Graphic
Icon=paint24.png
Type=Directory
If you already have the file /usr/local/lib/X11/pixmaps/paint24.png, perhaps you just forgot to run fixmenus? You can also change the text in the code above to another icon name, if you wish.
For the icons in the submenus, you will find similar entries in the /usr/share/applications/ directory, a new installed program should have a file here to have a menu entry.
tallboy
True freedom is a live Puppy on a multisession CD/DVD.
One of the problems is when a rename the file from name48 to name 24 it is like corrupted file thre is no image and is open like a text.
Edit
Ok i find the solution the mistake was that i did not use jwm -restart first but only menusfix, if i have any other problem i will ask again.
Thanks a lot
?
P.S
Can i change the icons in the taskbar too ?
Edit
Ok i find the solution the mistake was that i did not use jwm -restart first but only menusfix, if i have any other problem i will ask again.
Thanks a lot
?
P.S
Can i change the icons in the taskbar too ?
Re: Change Menu icons
Which jwm theme did you change and how ?technewz wrote:hello, i have just chance the icons in a jwm theme folder and i have a problem.
The icons on the desktop are ok but in the menu some icons missing.
If you do as I described, you do not only rename the icon, you resize the icon first, and then give the resized icon the correct name.technewz wrote:One of the problems is when a rename the file from name48 to name 24 it is like corrupted file thre is no image and is open like a text.
tallboy
True freedom is a live Puppy on a multisession CD/DVD.
Nice work! Which puppy do you have?
tallboy
- See if you have a file /root/.jwmrc.tray, there you may have some icon names.
- Some applications or scripts that start in the tray, are placed in /root/Startup.
- Open the scripts in a text editor, and see if there is a link to an icon name there.
- Check the name of the script, and see if there is an icon with the same name in /usr/local/lib/X11/pixmaps, or /usr/share/pixmaps.
- Then you can change them the same way you already have done.
tallboy
True freedom is a live Puppy on a multisession CD/DVD.