After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 126081 - restore the icon option from profile
restore the icon option from profile
Status: RESOLVED WONTFIX
Product: gnome-terminal
Classification: Core
Component: general
unspecified
Other Linux
: Normal minor
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
: 531331 542473 564841 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-11-03 08:54 UTC by Peter Snyder
Modified: 2017-10-04 23:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to force use of icon theme (22.14 KB, patch)
2005-11-19 03:01 UTC, Rodney Dawes
none Details | Review
Use icon theme without removing profile icon support (14.40 KB, patch)
2005-11-29 00:54 UTC, Tony Tsui
none Details | Review

Description Peter Snyder 2003-11-03 08:54:41 UTC
Gnome Terminal reports the wrong icon when it is run.  It should use the
one from the gnome-icon-theme (regardless of whether it is gorilla,
default, industrial, or whatever).  Currently, it always uses the default
icon.  

To see this, apply a gtk2 theme with a different terminal icon (such as
gorilla).  Run gnome-terminal.  Run the gnome-window-menu applet.  Focus
the terminal aplication.  Notice that the icon that appears in
gnome-window-menu does not corespond with the one brought up by the
gnome-terminal.desktop file.
Comment 1 Mariano Suárez-Alvarez 2003-11-03 09:52:57 UTC
The problem here is that the icon used for a terminal is determined by
the profile. 

One way to fix this would be to add a `Use default icon' checkbox to
the profile editor (when set, the Profile Icon icon chooser would be
desensitivised) and, when that is set, use the theme terminal icon. In
that case we need to listen to changes in
/desktop/gnome/interface/icon_theme, I guess.

That's one more pref...
Comment 2 Peter Snyder 2003-11-11 17:50:22 UTC
I don't think there is any need for a preference.  It should just use
the theme-specified icon by default.  Thats what the user would expect
anyway.
Comment 3 Mariano Suárez-Alvarez 2003-11-11 22:17:57 UTC
That's what the user would expect unless she set a different icon for
the profile she is using.
Comment 4 Luis Villa 2004-01-02 20:52:13 UTC
Mariano: sure, so only override the theme pref in case they've set 
something in profile. No need to have an extra preference.
Comment 5 Mariano Suárez-Alvarez 2004-06-28 06:35:15 UTC
Well, the icon selector always shows something, so we do need a "Use the theme
icon for terminals" checkbox on the General tab of the profile editor, just as
we have a "Use the system terminal font" checkbox.
Comment 6 Rodney Dawes 2005-11-19 00:58:16 UTC
A checkbox would really be the only way to revert to the default in the prefs
UI, I guess, unless we got rid of the [] Use System Foo everywhere, and just had
a [Revert] button as one of the dialog buttons. Perhaps we should just get rid
of the custom icon functionality. This bug report has been open for 2 years now,
and nothing has changed. I don't suspect enough people use the feature to
warrant it really being there. Custom icons in the terminal is not especially
useful anyway, especially if you use tabs. You may want to find a particular tab
in the UI, and a custom icon set for the profile in use by the focused tab, that
is different than the one you're looking for, in which case the icon doesn't
really help to find the terminal in question. My vote is to get rid of it (and
I've started working on a patch to do so, and use the icon theme, instead).
Comment 7 Rodney Dawes 2005-11-19 03:01:25 UTC
Created attachment 54931 [details] [review]
Patch to force use of icon theme

This patch removes all of the related code for using custom icons on profiles.
It instead always uses the icon theme for all gnome-terminal windows, by asking
for the terminal icon name as specified by the icon naming spec, and then
falling back to "gnome-terminal" as the icon name. It works quite nicely, and
simplifies the UI a bit, by removing the large button in the prefs window that
created a lot of extraneous whitespace for the associated label.
Comment 8 Tony Tsui 2005-11-29 00:54:19 UTC
Created attachment 55348 [details] [review]
Use icon theme without removing profile icon support

Hi,

I find custom icons for profiles very useful for distinguishing terminals in
the panel window list and in Metacity's switch window popup. My normal use case
is to have a profile for terminals which are ssh-ed into another machine.

Attached is a patch which adds support of using the icon theme without removing
profile icon support. As suggested by previous posts I've added a "Use icon
from system theme" checkbox in the General tab of the profile editor.
Comment 9 Pierre Ossman 2006-01-18 13:29:47 UTC
Patch has been available for a two months now. Review? Commit?
Comment 10 Guilherme de Siqueira Pastore 2006-01-18 14:43:13 UTC
There are other 160 bugs awaiting solution, and over 30 awaiting patch review. Things have do be done gradually after years of undermaintenance.
Comment 11 Rodney Dawes 2006-01-18 15:03:52 UTC
For what it's worth, I don't think Tony's patch is the right method, and mine is perhaps a bit extreme. Having a [] Use System Setting for every setting in the dialog is a bit cumbersome. We should check the icon name in code and if it's "gnome-terminal" or "utilities-terminal" (the name from the icon naming spec, use the icon from the theme, otherwise, use the custom icon's full path. At least, this is the best way to keep the custom icon feature, and use the theme, I think. I'm all for just getting rid of the feature though. :)
Comment 12 Pierre Ossman 2006-01-18 16:57:44 UTC
How about just changing from pixmap lookup to icon lookup? Won't a custom icon (i.e. absolute path) result in the same pixmap being loaded in both cases?

There is still the problem of being able to choose an icon (i.e. non-absolute), but I saw a rumour somewhere that a better icon picker was in the works.
Comment 13 Karderio 2006-06-26 21:31:49 UTC
I was about to file a bug for "Terminal icon chooser not using new dialog as in nautilus properties", when I found this related bug. I think if we use the new dialog, it would go a long way to solving this bug, as it has a "revert" button in it.

Any thoughts ? Perhaps I need to explain this better ?

Also, there is work going on at bug 342804.

Love, Karderio.
Comment 14 Guilherme de Siqueira Pastore 2006-07-28 22:11:41 UTC
The about-me capplet seems to do a good job about this. Anyone cares to take a look?
Comment 15 Vincent Geddes 2007-07-25 18:15:58 UTC
I like Rodney's proposal. The feature doesn't really seem warranted to me.

The window titles of the terminal windows already provide a way to visually differentiate between profiles.
Comment 16 Vincent Geddes 2007-07-25 18:20:12 UTC
oops, clarification.

well, in the sense that users would most likely use different profiles when using the terminal for working with different systems. So the user name and directory would probably differ from one profile to another.
Comment 17 Christian Persch 2008-03-31 21:42:59 UTC
Retitling for the remaining issue; bug 342804 made g-t use the utilities-terminal icon.
Comment 18 Christian Persch 2008-05-29 19:48:20 UTC
*** Bug 531331 has been marked as a duplicate of this bug. ***
Comment 19 Christian Persch 2008-07-11 09:05:39 UTC
*** Bug 542473 has been marked as a duplicate of this bug. ***
Comment 20 Alex Lancaster 2008-12-17 11:20:44 UTC
*** Bug 564841 has been marked as a duplicate of this bug. ***
Comment 21 Alex Lancaster 2008-12-17 11:26:45 UTC
Why has this feature been removed, I like the idea from  comment #8.  I strongly disagree with removing this feature as I've relied on it for sometime now, and I'm surely not the only one.  Can somebody justify exactly why this feature was removed, other than prefs bad, HIG good?

When you are Alt-Tabbing through quite a number of open applications, the title of the terminal application isn't visually distinctive enough to locate the application quickly.  It has really slowed down my productivity in GNOME, so I can't disagree with comment #15 more.
Comment 22 A.Haan 2009-01-06 14:46:44 UTC
I completely agree with #15 and #21. I used the profile-icon feature a lot. This is a big rollback to me.

I don't use the tab functionality of Gnome-Terminal at all and just have multiple windows open with a different icon if they are for some specific use (like different icons for SSH windows to different machines).

As has been suggested before. I'm just amazed that a very handy feature is completely removed to 'fix' a minor bug!
Comment 23 Sebastian 2009-01-19 10:55:09 UTC
I agree with the previous commenters. I often used the profile-icon for my terminal sessions which helped me a lot to quickly identify my different applications running in these terminal windows.

Please bring it back! :(
Comment 24 Ken Deeter 2009-01-22 23:05:02 UTC
Yes, this was a very useful feature. Deleting the whole feature was a mistake. Please bring it back!

The problem with comment #15 is that the standard alt-tab in metacity doesn't show window titles for all windows (only the currently selected one). It's very handy to be able to differentiate different kinds of terminals without actually having to read their titles (All my ssh's to a separate host have a different icon).

Comment 25 Ken Deeter 2009-01-22 23:06:42 UTC
BTW, you guys should rename the but description.. people are asking for the feature to be brought back, not removed.
Comment 26 Alex Lancaster 2009-01-23 00:25:43 UTC
(In reply to comment #25)
> BTW, you guys should rename the but description.. people are asking for the
> feature to be brought back, not removed.

Done. 

Comment 27 Terry 2009-02-11 21:26:34 UTC
Another vote for bringing this feature back.  As a sysadmin I must be able to visually differentiate the 10 - 20 shells I have open at any given time.  Setting the icon in the profile was a great feature.

Comment 28 Kristian Benoit 2009-03-26 17:21:32 UTC
And Yet Another vote for bringing back the feature. This was really useful, I run ipython as my calculator in a profile and now I can't differentiate between my calculators and my shells by looking at the icon when I alt-tab.
Comment 29 illvilja 2009-08-21 16:44:02 UTC
Yet another vote for re-enabling this feature.  I installed the latest gnome-terminal (2.26.3) to test if it got the ability to customize the cursor color only to find that the ability to create custom icons for each profile were removed.  A very bad thing as I relies on that in order to quickly alt-tab to the right terminal instance when running XFCE.

Actually, bug 85821 is the request for custom cursor color (on a per profile basis) I talk about.  The ability to specify a unique background, foreground and cursor color for each host would, together with the ability to use a custom icon for each host (an icon that reflects the background, foreground and cursor colors in question) would make gnome-terminal be an absolutely outstanding choice given the current available terminal emulators.  (Yes, it would be! No other terminal emulator provides that today in a reliable manner!)
Comment 30 Pierre Wieser 2009-08-21 21:26:00 UTC
Another +1 for me.

I have a gnome-terminal 2.22.2 in my personal home dir since several years now, just to be able to have different icons with different profiles. This is a waste of efforts and a pain for users ;-(

Could I help by providing a path against current git version ?

Regards
Pierre
Comment 31 Pierre Wieser 2009-08-21 21:26:45 UTC
[...] a *patch* !

Sorry for my bad english. I do my best efforts ;-)
Comment 32 Andrew McDonough 2009-09-02 15:22:18 UTC
And another vote for re-enabling this feature.  Removing this really disturbed the way I like to work.
Comment 33 Evgeny Kolesnikov 2010-01-15 08:49:16 UTC
My +1. It's really useful for distinguishing terminals (root, ssh etc.)

Currently I use "Initial title" prepending option with symbols (⬛☢), but this is lame...
Comment 34 Leonid 2010-02-21 11:51:30 UTC
Yet another +1.   It is used not only for different shells, but some apps are started through terminal, like:

    gnome-terminal -e mc

It would be also extra convenient if it would be possible to select icon on command line.
Comment 35 jasongaiser 2011-02-03 01:32:06 UTC
Another +1.  It would be fine if I had to use gconf-editor or some other arcane magic - just give me the option to change the icon.
Comment 36 Steve Frécinaux 2011-02-10 09:52:34 UTC
To me, terminal profiles are to be understood as the "web applications" in google chrome or mozilla prism, ie the terminal should just be a canvas where the real application is started.

Chrome and Prism allow custom icons for those applications, so you end up with the gmail icon on your browser, window list and alt-tab window if you start gmail through the "gmail" launcher on your desktop.

The same way, if I'm connecting to command line applications through a terminal, I'd like to be able to see the right icon on the title bar and, most importantly, in alt-tab and the window list, so I can find easily the right window for first class (eventually remote) terminal applications like irssi or mutt or notmuch are. An icon is much easier to spot than the small text below the icon in the metacity or gnome-shell alt-tab (I think it's even worse using gnome-shell as those "apps" would appear in the window list part of the gnome-terminal application I think).
Comment 37 Frank DeMarco 2011-02-26 17:00:00 UTC
I was surprised when I noticed this feature missing -- I've found it very useful for distinguishing the content of terminal windows.
Comment 38 Jonadab the Unsightly One 2011-04-04 19:38:15 UTC
> I don't think there is any need for a preference. 

That may be the stupidest thing I've read in months (and I was looking at Engrish.com just this morning).

I upgraded, and now every single gnome-terminal window on my task list (currently about a dozen of them, but sometimes rather a lot more) looks identical.  I sincerely hope I don't need to explain why this is bad.

I don't care one iota what the *default* is, but the existence of the preference is absolutely VITAL, and when I've gone to the trouble of setting up profiles for various completely different uses and giving each of them a very different appearance, it's because I definitely need it to be that way.

> The window titles of the terminal windows already provide 
> a way to visually differentiate between profiles.

You may as well say that all applications should use the same icon.  Why do we even need icons, or application names?  Let's just put the process ID in the window list!

The terminal is used for such an enormously wide variety of purposes that each profile effectively is a completely different application and needs its own icon.  Frankly, many terminal profiles *do* host a completely different application.  One for MySQL, one for Postgres, one for CPAN, one for tailing the Apache log...  not to mention shelling in to completely different computers entirely.  (Keeping the visual appearances of shells on different servers visually distinct is if anything rather more important than the difference between a mail reader and a web browser, or other things of that nature.)

The short version is, this feature was the key reason I have always used gnome-terminal instead of one of the various competing profile applications.  How anyone who actually uses terminals could imagine that support for "icon themes" is anywhere near as important, I'm sure I'll never know.

Now if you'll excuse me I've got to hunt down the old version and pray I can get it to compile against the libraries in Squeeze.
Comment 39 Musfuut 2011-10-02 13:13:17 UTC
I have several tasks that run each in their own terminal. Being unable to tell the difference between terminals is driving me mad. I wasted time checking and rechecking the man page, --help, and Google for a solution because I could not believe that this was NOT an option and I was convinced I must be missing a configuration option SOMEWHERE.

Alas such an option no longer exists and the Gnome-Terminal becomes far less useful to me and many others.

This needs to be corrected. There is no other option nor argument to that fact.
Comment 40 Sean M. Burke 2011-11-30 23:45:38 UTC
+1 for reasons stated above.

~~Interim Suggestion~~
Even just an invocation option:

    gnome-terminal --icon=/path/to/my_happyface_whatever.png

would be a lifesaver to me!  I suggest that as a solution until
somebody can manage the *interface* trouble of how to have that
feature expressed in the config screen in the friendly GUI.

gnome-terminal's calling options already have things (--zoom?
--working-directory?, plus our best friend --geometry=___)
that are out of the world of happy GUI-set options and
theme-overrideable things.

At the moment, I have a pathetic hack: I set each profile's initial
title (which any changes get appended to) to a text character that
I'm using only as a icon: ¢ § ¶ ¤ » ■ ● ► ⁂

That's what abject desperation looks like, amigos!

But even with that trick, I can't even see the texty-icon until I
see the title, which alt-tabbing doesn't reveal until I tab onto
that window's icon.  It's better than nothing, but the main problem
remains: a dozen identical-icon terminal windows.
Comment 41 Alain Pannetier 2013-07-13 12:50:38 UTC
Scenario:

Typing 
   gnome-terminal --icon=stuff.png

Yields the following error message
Option "--icon" is no longer supported in this version of gnome-terminal; you might want to create a profile with the desired setting, and use the new '--profile' option

No problem. Lets kick off the profile editor. Ooops no icon setting dialog box.

No problem. Let's edit the %gconf.xml.  Ooops the icon key is ignored and vanishes each time the terminal closes.

Google ? landing here

Am I right to understand that this bug is still awaiting a fix ten years after having first been reported ?

I'm conscious it must be a huge enterprise, yet it would be nice to have it fixed when my 5 years old son is old enough to type shell commands.
Comment 42 Bryum 2015-01-19 17:42:18 UTC
One more +1.

Not sure this is still relevant in more recent versions of gnome-terminal, but in mine (v3.6.1 on Mint 15) it is.

I recently started using elinks (a terminal-based web browser) and like it a lot. It would be *very* helpful if I could icon-wise distinguish my new default browser from various other terminal windows on the basis of its particular profile.

In the meantime, thanks Sean (comment 40) for the 'pathetic hack'... it sure isn't the optimal solution, but it helps. (Here in xfce, alt-tabbing actually does show the window title so that's lucky.)
Comment 43 Simba 2017-10-04 23:30:19 UTC
+1

I'm using 3.22 in Debian 9 and I can't seem to set the icon, further more if I set the icon using a menu editor or applications shortcut the terminal appears to override it, which is obnoxious and stupid.

Having a default makes sense. Overriding user customization with the default in all scenarios doesn't make sense and seems to violate linux standards. Would like to see this fixed.