Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#11956 - [gnome-desktop] 2.24 - Cannot save user defined command while opening a file

Attached to Project: Arch Linux
Opened by Markus (xor_eax_eax) - Friday, 31 October 2008, 19:03 GMT
Last edited by Jan de Groot (JGC) - Saturday, 18 July 2009, 22:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When I want to open a file with a program not listet in the menu, I usually do a right click on the file once -> open with different program- > user defined command and save this command by a checkbox but since Gnome 2.24 there is not checkbox anymore to save this special command which is pretty annoying.
Now you have to type in the command every time from new, e.g. "wine /opt/program/programm.exe". I already begin to hate that because I need an old Windows program very often with wine and every time I click a file which belongs to this program, I have to type in the whole command from new.

My "System->Info about Gnome" button doesn't work at all too, so I have to get the right version from pacman. It's:

local/gnome-desktop 2.24.0-2 (gnome)
The GNOME Desktop

This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 18 July 2009, 22:29 GMT
Reason for closing:  Not a bug
Additional comments about closing:  gnomevfs and gio don't associate by extension, but by mime type. Just as you can't associate files without extensions in windows, you can't associate unknown mime types to applications.
Comment by Markus (xor_eax_eax) - Monday, 03 November 2008, 17:10 GMT
I found the menu but it doesn't work.
When I assign "wine /opt/path/to/program" to this file and when I want to open this file by double click then, nothing happens. Not even the pressor load rises, so my guess it, that Gnome still doesn't know what it has to do with this file.
When I look back into the menu, wine seems to be assigned for these files but obviously Gnome even doesn't know it.
Comment by Jan de Groot (JGC) - Wednesday, 05 November 2008, 07:49 GMT
What did you put in the custom command box exactly? It works perfect here.
Comment by Markus (xor_eax_eax) - Wednesday, 05 November 2008, 12:14 GMT
When I use a "real" program like acroread, Gnome saves my decission and a double click on PDF-files works the next time.
When I use wine with a parameter as path, I have the following problem:

I right click the program file of this program I use with wine -> Properties -> Open with -> ADD (I fill out "wine /opt/program/program.exe")
When I leave the menu and go back to nautilus and want to double click this file again, nothing happens.
I choose open with and already find a "wine"-entry a lot of times due to my last tries to get this to work although I deleted all the wine entries from the properties menu.
I choose any of these wine entries and the program starts.
When I try a double click on the file next time, it doesn't work again. Nothing happens. That means that Gnome knows, what this wine entry means,
because I'm able to choose it from the given menu from "open with", but I cannot open it with a double click.
Again, it only doesn't work exactly in this case with wine. With other files it doesn't seem to be a problem, because after the update to Gnome 2.24,
Nautilus wanted to open PDFs with Gimp?! I don't know how this weird behaviour appeared, but switching to acroread worked perfectly and from this time on, I was able to open PDFs with a double click.
Comment by Jan de Groot (JGC) - Wednesday, 05 November 2008, 12:40 GMT
When I put notepad.exe in my /home, and assign "wine /home/jan/notepad.exe" to text files, it opens fine. I added the command without the quotes.
Comment by Markus (xor_eax_eax) - Wednesday, 05 November 2008, 13:37 GMT
This works here too.
It even works when I click text files and want to open it with notepad.exe. They open with notepad without problems.
But when I click ERwin files and want to open it with "wine /opt/Erwin/erwinerx.exe", they don't open. But it worked perfectly before I updated Gnome so something must be wrong here.
I surely didn't change anything in the program. So what could be the problem? I already delete all the properties entries and typed in wine /opt/Erwin/erwinerx.exe from new, but always the same problem.
Comment by Jan de Groot (JGC) - Wednesday, 05 November 2008, 13:40 GMT
What happens when you open a terminal and use:
wine /opt/Erwin/erwinerx.exe "/path/to/ERwinfile"

Does it start then, or does it give errors?
Comment by Markus (xor_eax_eax) - Wednesday, 05 November 2008, 13:44 GMT
This works without problems.
Comment by Jan de Groot (JGC) - Saturday, 11 April 2009, 19:20 GMT
Is this still an issue with gnome 2.26?
Comment by Markus (xor_eax_eax) - Sunday, 12 April 2009, 08:04 GMT
Yes, the problem still exists. Doubleclick on the "erwin files" doesn't do anything.
When I use the file command on the erwin file, I get the following:

$ file FILE.ER1
FILE.ER1: data

In Gnome, in the column type, it shows that the file type is unknown.

Btw: The System->Info about GNOME dialog still doesn't work yet.


Comment by Jan de Groot (JGC) - Friday, 29 May 2009, 17:59 GMT
The about gnome dialog needs gnome-python, this is in optdepends for gnome-desktop. I refuse to add it as hard dependency because I don't like to pull in gnome-python for a package which main feature is a library used by other applications.

As for your erwin files, I think nautilus tries to associate by MIME type, not by extension. the Erwin files don't have a known mimetype, I think nautilus has problems binding applications to it.
Comment by Markus (xor_eax_eax) - Saturday, 30 May 2009, 12:59 GMT
Thanks. You were right with the gnome dialog.
Should I write another bug report for nautilus?
Comment by Jan de Groot (JGC) - Saturday, 30 May 2009, 13:40 GMT
I don't think that makes any sense, as the way gio and nautilus works is by using mime types. You might want to have a look at the shared-mime-info package and try to write a definition for erwin files though.

Loading...