2006-02-02, 11:43 PM
How do I set up my fluxbox menu to have icons?
[/url][url=http://fluxbox.sourceforge.net/zoom.php?sh...ro_fluxbox3.jpg]http://fluxbox.sourceforge.net/zoom.php?sh...ro_fluxbox3.jpg
[exec] (my wonderful life) {rm ~znx/life} </usr/share/pixmaps/znxlives.png>
Quote:Edit ~/.fluxbox/menu and add <> tags pointing to the icon
Code:[exec] (my wonderful life) {rm ~znx/life} </usr/share/pixmaps/znxlives.png>
<div>
Thats it :P
</div>
Quote:I have got to the ~/.fluxbox/menu but I don't know where to add the [exec] (my wonderful life) {rm ~znx/life} </usr/share/pixmaps/znxlives.png>
Where do I put the [exec]
What is (my wonderful life) refurring to, just something in the menu?? and {rm ~znx/life}
znx your user and what is the /life ?
The path for the icon is understandable.
[exec] (Terminal) {aterm -tr +sb) </usr/share/icons/aterm.png>
[exec] (FireFox) {firefox} </usr/share/icons/firefox.xpm>
Quote:<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentcommentid="7373" data-ipsquote-username="Navrax" data-cite="Navrax" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="2058" data-ipsquote-contentclass="forums_Topic"><div>
I have got to the ~/.fluxbox/menu but I don't know where to add the [exec] (my wonderful life) {rm ~znx/life} </usr/share/pixmaps/znxlives.png>
Where do I put the [exec]
What is (my wonderful life) refurring to, just something in the menu?? and {rm ~znx/life}
znx your user and what is the /life ?
The path for the icon is understandable.
[exec] (Terminal) {aterm -tr +sb) </usr/share/icons/aterm.png>
[exec] (FireFox) {firefox} </usr/share/icons/firefox.xpm>
Quote:I've edited the config just as you've demonstrated and fluxbox-generate_menu to see results but nothing.Ehm, did you run 'fluxbox-generate_menu' after you modified the file? If yes then that is your problem. This command is used to generate a generic menu if you don't already have one. And if you've edited the menu file and called 'fluxbox-generate_menu' afterwards your original menu file gets overwritten by the generic one (check for a backup in ~/.fluxbox/menu.bak). In Fluxbox it is not necessary to run any command after you've edited ~/.fluxbox/menu, the changes get applied immediately when saving the file.
Quote:I've edited the config just as you've demonstrated and fluxbox-generate_menu to see results but nothing.
MENUFILENAME=/home/znx/.fluxbox/menu
MENUFILENAME=/home/znx/.fluxbox/automenu
[include] (/home/znx/.fluxbox/automenu)
Quote:<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentcommentid="7385" data-ipsquote-username="Navrax" data-cite="Navrax" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="2058" data-ipsquote-contentclass="forums_Topic"><div>I've edited the config just as you've demonstrated and fluxbox-generate_menu to see results but nothing.Ehm, did you run 'fluxbox-generate_menu' after you modified the file? If yes then that is your problem. This command is used to generate a generic menu if you don't already have one. And if you've edited the menu file and called 'fluxbox-generate_menu' afterwards your original menu file gets overwritten by the generic one (check for a backup in ~/.fluxbox/menu.bak). In Fluxbox it is not necessary to run any command after you've edited ~/.fluxbox/menu, the changes get applied immediately when saving the file.
[exec] (Gaim) {gaim} </usr/share/pixmaps/gaim.png>
Quote:What's the version of Fluxbox you are using? The following is a working example from Fluxbox v0.9.14-r1:As it turns out THIS linux-noob was doing everything in root. I switched to my average-user and everything worked out great. Thanks guys.
Code:[exec] (Gaim) {gaim} </usr/share/pixmaps/gaim.png>
<div>
</div>