GNOME Bugzilla – Bug 165703
Should display human-readable process names
Last modified: 2011-11-28 19:58:37 UTC
It would be great if gsm was able to display names from .desktop files. People start applications as "Abiword Word Processor", "Gnumeric Spreadsheet" and "Firefox Webbrowser", they should be able to find those applications in gsm easily by providing exactly this name in gsm.
Mark as enhancement, sorry for the spam.
I have absolutely no idea about how to do it. Walking through *.desktop files ? What do you think would be best : - always display human-readable name - add (yet) another column "human-readable" name ?
*** Bug 145432 has been marked as a duplicate of this bug. ***
I've no idea if this is right, but could you use something from libwnck? Does it let you look up the application name by process?
Looks like libwnck can tell you the the window title if you know the X window ID. To find an X window ID for a process you can walk through the list of X windows using xlib, in which case you don't need libwnck. Code could be stolen from wmctrl. However, that just tells you the name of the window, not the name of the app. So it seems like the best way to do this would be to walk through *.desktop files as Benoit suggested.
The issue reported here seems to be essentially the same as reported in bug 143238: an Applications tab showing only the applications (with their names from the desktop files) could solve this, because I think we would also like to keep the process listing functionality. Because of this I am marking this bug as a duplicate of bug 143238, please comment if you don't agree with this, and mention why you consider these two as separate issues. *** This bug has been marked as a duplicate of bug 143238 ***