! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
add NotShownIn=GNOME to xfce4-terminal-settings.desktop
Status:
RESOLVED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description Mukundan Ragavan 2018-08-02 23:50:04 CEST
Installing xfce4-terminal adds a .desktop file that launches terminal preferences. When searched for in GNOME, this results in two search results - one actual terminal and a second one to launch the preferences. They both show up as "Xfce Terminal". This is, obviously, not an issue in Xfce since the preferences show up under settings.

To resolve this, please add "NotShownIn=GNOME;" to xfce4-terminal-settings.desktop file.


Downstream bug report - 

https://bugzilla.redhat.com/show_bug.cgi?id=1611702
Comment 1 Egmont Koblinger 2018-08-03 15:42:52 CEST
I'm not convinced this is a better idea (as you say in RH bugzilla) than changing the name to "Xfce Terminal Preferences". Users of the GNOME desktop may still prefer to use Xfce-terminal, or vice versa.

Yet another idea could be to ship a single .desktop file with the main entry and an additional Action – if it's supported by Xfce at all. See e.g. the gnome-terminal feature request at https://bugzilla.gnome.org/show_bug.cgi?id=792849.

(Disclaimer: I'm not an Xfce-Terminal developer, just randomly commenting here.)
Comment 2 Git Bot editbugs 2018-08-03 17:56:12 CEST
Igor referenced this bugreport in commit 7ea9e3e8ec132c8830fa75d2950b781e63b6caeb

Improve .desktop files for GNOME

https://git.xfce.org/apps/xfce4-terminal/commit?id=7ea9e3e8ec132c8830fa75d2950b781e63b6caeb
Comment 3 Igor editbugs 2018-08-03 17:57:49 CEST
Mukundan, thanks for the report!
Egmont, thanks for the action idea!

I've done both - hid xfce4-terminal-settings.desktop and added a preferences action for GNOME users.
Comment 4 Mukundan Ragavan 2018-08-03 22:16:52 CEST
Thank you Igor for the quick fix.
Comment 5 Ali Akcaagac 2018-08-10 08:22:02 CEST
(In reply to Mukundan Ragavan from comment #4)
> Thank you Igor for the quick fix.

This breaks building under Fedora 29.

https://bugzilla.xfce.org/show_bug.cgi?id=14594

Bug #14575

Reported by:
Mukundan Ragavan
Reported on: 2018-08-02
Last modified on: 2018-08-10

People

CC List:
2 users

Version

Version:
0.8.7.4

Attachments

Additional information