Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119822 - Icon and Desktop file for htop
Summary: Icon and Desktop file for htop
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Wolfram Schlich (RETIRED)
URL: http://htop.sourceforge.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-21 07:34 UTC by Peter Hyman
Modified: 2006-02-06 05:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
htop.desktop file (htop.desktop,170 bytes, text/plain)
2006-01-21 07:35 UTC, Peter Hyman
Details
htop.png icon file (htop.png,169 bytes, image/png)
2006-01-21 07:36 UTC, Peter Hyman
Details
Screen shot of htop in a WM (htop.jpg,135.71 KB, image/jpeg)
2006-01-21 09:38 UTC, Peter Hyman
Details
htop menu screenshot (htopmenu.jpg,20.26 KB, image/jpeg)
2006-01-21 14:21 UTC, Peter Hyman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Hyman 2006-01-21 07:34:57 UTC
For some reason the htop package does not include and icon or .desktop file. So I did. Enjoy and feel free to use.

Note, the exec for the .desktop entry is for Eterm. You may want to change to xterm or do a test in the ebuild for one or the other or none. Also, the version is coded as 0.6 and this may be changed using sed in the ebuild too.
Comment 1 Peter Hyman 2006-01-21 07:35:50 UTC
Created attachment 77720 [details]
htop.desktop file
Comment 2 Peter Hyman 2006-01-21 07:36:18 UTC
Created attachment 77721 [details]
htop.png icon file
Comment 3 Radek Podgorny 2006-01-21 09:26:47 UTC
Does this make sense for console-only app?
Comment 4 Peter Hyman 2006-01-21 09:38:12 UTC
Created attachment 77730 [details]
Screen shot of htop in a WM

I understand that POV, but I run it inside a WM and it works just as well and looks fine. This enhancement is completely non-essential, but I think it adds value. HTOP has uses inside a WM for killing runaway processes and finding CPU hogs, etc. JMHO.
Comment 5 Radek Podgorny 2006-01-21 11:07:09 UTC
Yeah, I'm also a htop user and I really like it. I'm just used to run it from command-line... :-) Let the gentoo-devs decide, then...
Comment 6 Wolfram Schlich (RETIRED) gentoo-dev 2006-01-21 11:25:36 UTC
Hmm, I think I'd make it depend on x11-terms/xterm then... ok?
Comment 7 Radek Podgorny 2006-01-21 11:41:42 UTC
Well, this is dumb. We're talking about console app. I use it on several servers and I'm not gonna install X there just because of false dep. :-(
Comment 8 Wolfram Schlich (RETIRED) gentoo-dev 2006-01-21 11:46:02 UTC
Oh, well, I forgot to mention that I would add a 'X' to IUSE :-)
Comment 9 Radek Podgorny 2006-01-21 13:26:35 UTC
Oh, well, that's fine, then...
Comment 10 Peter Hyman 2006-01-21 14:21:26 UTC
Created attachment 77765 [details]
htop menu screenshot

It's really just a silly thing, but I think it does look nice on a menu. Makes it easier for the user too if they do have X. JM2C. Don't mean to make things more complex than they need to be. And, console users would not need it. In fact, I think you don't even need to make X an iuse at all. Just install the two files, .desktop and .png and be done with it. XDG specs will pick up the menu items if a menu program is used anyway. I would not even use DEPEND.
Comment 11 Radek Podgorny 2006-01-21 16:01:39 UTC
The USE-flag solution is the correct Gentoo-way. The Gentoo philosophy is based on minimalism (don't compile in what's not needed) and should IMHO apply to "useless" files as well. So, let's include the icon and .desktop file for X users ONLY.
Comment 12 Peter Hyman 2006-01-21 16:59:38 UTC
Fine by me. Sometimes though, the effort to stop a few files from being installed exceeds the benefit derived by omitting them! For example, what would have happened if the distribution of htop INCLUDED these files? There are a whole bunch of apps which install everything that's included in the configure app unless it has a -without-feature. But really, we're talking about 2 files, 340 bytes! And, to make xterm a depend is not really right either. What if someone uses konsole, gnome-term, or Eterm and does not want xterm? That adds far more overhead.

Anyway, enough. Whatever is decided is fine by me. I emailed upstream about this and hopefully new versions of htop will included these files. I do understand your POV, Radek. Completely. But in this case, I think it is cutting a very fine line.
Comment 13 Radek Podgorny 2006-01-21 17:21:04 UTC
Yup, you're right. It may not be worth the effort but you've just caught me in this period of my days when I'm trying to make Gentoo go embedded so for me even a single byte saved is a good one :-). I'm really happy there are people like you who contribute .desktop files cause I like them when I'm on my PC but when it comes to getting Gentoo to my Ipaq handheld, I'd prefer ALL non-crucial stuff to be disabled (therefore I need the USE-flag).

The depend should read something like virtual/xterm or should be omitted at all.
Comment 14 Peter Hyman 2006-01-31 07:30:37 UTC
FWIW, I heard from upstream, and he will be including both the icon and a slightly modified .desktop file in future releases of htop. Probably no reason to keep this bug open as the items are to be included. Maintainer, you can close this bug at your discretion. Maybe resolve UPSTREAM? 
Comment 15 Peter Hyman 2006-02-06 05:49:10 UTC
Closing since upstream will be including at some point in the future. No need for it here.