Menu Icons for the Application

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Menu Icons for the Application
# 1  
Old 04-22-2010
Menu Icons for the Application

Hi All,

I created an RPM for my application.
After clicking the rpm, I managed to place the files in repective locations also I have "JServer" menus in the "Application" menu (The redhat one).

But the problem is the icons are not appearing in that menu.
I placed my icons/images in "/usr/share/icons/hicolor/48x48/apps"

# jserver-menu.menu (/etc/xdg/menus/applications-merged/)


Code:
<Menu>
 <Name>JServer</Name>
  <Menu>
   <Name>JServer</Name>
   <Directory>jserver-directory.directory</Directory>
   <Include>
    <Filename>jserver-start.desktop</Filename>
    <Filename>jserver-stop.desktop</Filename>
   </Include>
  </Menu>
</Menu>


# jserver-start.desktop (/usr/share/applications)
Code:
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=JServer
Comment=JServer
Exec=service jserver-service start
Icon=jmenu.png
Terminal=false
Category=Application

Code:
# jserver-stop.desktop  (/usr/share/applications)
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=JServer
Comment=JServer
Exec=service jserver-service stop
Icon=jmenu.png
Terminal=false
Category=Application

# jserver-directory.directory (/etc/xdg/menus/applications-merged/)
Code:
[Desktop Entry]
Encoding=UTF-8
Icon=jmenu.png
Name=JServer

and the jmenu.png is in "/usr/share/icons/hicolor/48x48/apps".



Any clue?

Last edited by pludi; 04-22-2010 at 09:18 AM.. Reason: code tags, please...
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Gnome 3.28.3 menu item dissapears under the system menu

I installed CentOS 8 with Gnome 3.28.2 and I noticed that the "switch user" menu item disappeared from under the system menu of Gnome classic (Both X11 & Wayland). I checked google and this problem seems to have a history going back several releases of Gnome. Unfortunately, I never found a... (1 Reply)
Discussion started by: bodisha
1 Replies

2. AIX

CDE: why no icons?

Why my cde show no icons? I have installed X11.Dt.ToolTalk 7.1.3.15 C F AIX CDE ToolTalk Support X11.Dt.adt 7.1.3.0 C F AIX CDE Application X11.Dt.bitmaps 7.1.0.0 C F AIX CDE Bitmaps X11.Dt.compat ... (8 Replies)
Discussion started by: Linusolaradm1
8 Replies

3. Post Here to Contact Site Administrators and Moderators

Can there be alt-texts to icons?

Can you add hover texts (alt-texts) to icons? It is not always obvious what each of them mean just by looking at them. Sometimes it is clear from the url it points to, but for accessibility reasons alone it would be good to have alt-texts as a standard. (1 Reply)
Discussion started by: figaro
1 Replies

4. Shell Programming and Scripting

Need help in create menu with 3 sub menu using the case command

hi all i am a newbie to this is there any examples on creating a main menu with 3 sub menu main menu -> option a , b and c a menu -> option 1 ,2 and 3 b menu -> option 1 ,2 c menu -> option 1 ,2 i am getting headache as my code kept getting unexpected EOF ---------- Post... (0 Replies)
Discussion started by: chercm
0 Replies

5. UNIX for Dummies Questions & Answers

application with menu

Hi, Actually i need to develop a bash script with menu features. For example a Title should be always there . under that some menu options will be there..in each menu, submenus will be there. In order to build the script with menu features , which library is the preferable one in linux?... (1 Reply)
Discussion started by: pandeesh
1 Replies

6. UNIX for Dummies Questions & Answers

removing application from the unity menu

Hello I have removed wine but the symbols of it application were in the unity menu (though nothing happened when I clicked on them). How can I remove symbols from the unity menu? (1 Reply)
Discussion started by: programAngel
1 Replies

7. Shell Programming and Scripting

Menu in Menu script issue

Problem: I am trying to create a menu in a menu script and I am running into an issue with the calculator portion of the script. I am first presented with the ==Options Menu== which all 5 options working correctly. Now comes the fun part. I select option 1 which takes me to my ==Calculator... (1 Reply)
Discussion started by: iDdraig
1 Replies

8. Solaris

How to get a second Icons - Window!

Hey everybody! I'd like to get a second Window for my program Icons, any Idea how to solve this problem?? :confused: thanks, Tom (3 Replies)
Discussion started by: TomStyria
3 Replies

9. UNIX for Dummies Questions & Answers

redhat 7.2 icons on desktop

Hello all, Is there a way to change the behavior of the gnome desktop manager so that when your iconify a window it will be place on the desktop intead on on the task manager (gnome-panel)? It gets confusing having to loook throught the gnome-panle for the window I want when you have alot of... (1 Reply)
Discussion started by: larry
1 Replies
Login or Register to Ask a Question