FS#12156 - [thunar-volman] properties show up in gnome menu

Attached to Project: Arch Linux
Opened by Tanjeff-N. Moos (tanjeff) - Monday, 17 November 2008, 06:59 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 07 December 2009, 10:12 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

If XFCE and Gnome are both installed on a system, XFCE's "Removable Drives and Media" entry shows up in the Gnome System Menu ("System->Preferences->Removable Drives & Media" or so). In addition, the Gnome-related entry show up, too. This is confusing to the user.

Fix:
The package thunar-volman contains the file "/usr/share/applications/thunar-volman-settings.desktop" which describes the menu entry. Add the following line to this file:

OnlyShowIn=XFCE;

This will tell the Gnome environment not to show the entry in the menu. Propably this should reported to upstream, too.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Monday, 07 December 2009, 10:12 GMT
Reason for closing:  Won't fix
Additional comments about closing:  we keep vanilla settings here.
Comment by Jan de Groot (JGC) - Monday, 17 November 2008, 07:52 GMT
So what happens when you don't want to use nautilus and use thunar from gnome?
Comment by Tanjeff-N. Moos (tanjeff) - Monday, 17 November 2008, 10:16 GMT
In that case only the thunar-volman properties should be accessible ;-) The simple solution would be that each Desktop environment features its own property dialogs (i.e. XFCE provides thunar-volman settings, GNOME provides nautilus settings). I assume that this is what was intended by the XFCE and Gnome authors. By the way: the nautilus settings do not show up in XFCE.

The more complex way is that we have only one settings application which shows the appropriate settings, depending on which file manager is running. The is what gnome-window-proerties does for window managers. But writing such an application for file managers is up to the application devs (i.e. upstream) and can/should not be done by the distro.
Comment by Tobias Kieslich (tobias) - Thursday, 04 December 2008, 16:13 GMT
That is because how the applications draw their menues. Both honour the installed .desktop files which is good. But XFCE disregards the ones that are meant for gnome only, while gnome displays everything. That is a decision made by the guys at gnome and I don't think we should mess with it.
Comment by Tanjeff-N. Moos (tanjeff) - Sunday, 07 December 2008, 12:35 GMT
I added "OnlyShowIn=XFCE;" to the "thunar-volman-settings.desktop" file and the entry disappeared in GNOME, at least on my system which is up-to-date. Thus, I keep my opinion that is would be helpful to add the entry to the file.
Comment by Gerardo Exequiel Pozzi (djgera) - Thursday, 03 December 2009, 14:39 GMT
What is the status of this issue?
Comment by Tanjeff-N. Moos (tanjeff) - Thursday, 03 December 2009, 21:59 GMT
The file /usr/share/applications/thunar-volman-settings.desktop is still unchanged, i.e. nothing have been done.

As tobias said, the distro possibly shouldn't mess with this issue. I'm just a user, so you developers/packagers have to decide how to deal with that.

Meantime, I will inform the XFCE developers which are in charge to care about the problem anyway.
Comment by Tanjeff-N. Moos (tanjeff) - Thursday, 03 December 2009, 22:28 GMT
I added  bug 6050  to bugzilla.xfce.org.
Comment by Andreas Radke (AndyRTR) - Monday, 07 December 2009, 10:11 GMT
http://bugzilla.xfce.org/show_bug.cgi?id=6050 - it's reported there and we will keep upstream settings here for now. Nothing to change for us here. Fix it yourself for now if you don't like it how it is.

Loading...