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#1530 - No file type handles specified in Gnome 2.8

Attached to Project: Arch Linux
Opened by Steven Van Impe (stevenvanimpe) - Sunday, 26 September 2004, 08:25 GMT
Last edited by arjan timmerman (blaasvis) - Sunday, 26 September 2004, 15:09 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To arjan timmerman (blaasvis)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

No applications seem to be registered with Gnome's new MIME system, not even core gnome apps like gedit. This can be pretty annoying, and I don't think it's an upstream bug.

I'm using a fresh arch install with gnome from testing.
This task depends upon

Closed by  arjan timmerman (blaasvis)
Monday, 27 September 2004, 17:58 GMT
Reason for closing:  Fixed
Comment by arjan timmerman (blaasvis) - Sunday, 26 September 2004, 15:08 GMT
i think you gnome 2.8 is fucked up then.
cause no one else had this problem.
Are you running an up-to-date system ?
Comment by Steven Van Impe (stevenvanimpe) - Sunday, 26 September 2004, 15:57 GMT
I just did a fresh install on an empty partition (base, xorg, gnome, gnome-extra).
I vagely recall something about the new MIME system being somewhat connected with .desktop files in /usr/share/applications.
So might this be due to the fact that Gnome is in /opt?
Comment by arjan timmerman (blaasvis) - Sunday, 26 September 2004, 16:14 GMT
what version of xorg ?
and what does XDG_DATA_DIRS.
also try to run update-desktop-database
Comment by arjan timmerman (blaasvis) - Sunday, 26 September 2004, 16:17 GMT
and what does XDG_DATA_DIRS enviroment variable say?
Comment by Steven Van Impe (stevenvanimpe) - Sunday, 26 September 2004, 16:48 GMT
xorg 11R6.8.1-1

/usr/share::/opt/gnome/share/:/usr/share

[steven@max ~]$ update-desktop-database
No directories in update-desktop-database search path could processed and updated.
Comment by arjan timmerman (blaasvis) - Sunday, 26 September 2004, 16:59 GMT
this should be run as root, and i think i know why it went wrong.
you installed it with just "su" not "su -" that way the env variables aren't set.
Comment by Steven Van Impe (stevenvanimpe) - Sunday, 26 September 2004, 17:26 GMT
Running as root went fine, only problem is I can't verify if it did anything, since I already registered all the types I use.
Hower, in the Open With pane (in file properties), the programs are listed as: totem, eog, gedit etc. I would expect 'Totem', 'Eye of Gnome' etc if the programs registered themselves, so I don't think it did anything.

I think I installed about everything as root itself.
I also never type su or su -, always su root.
Comment by arjan timmerman (blaasvis) - Sunday, 26 September 2004, 17:33 GMT
well try "update-desktop-database -v"
Comment by Steven Van Impe (stevenvanimpe) - Sunday, 26 September 2004, 18:04 GMT
[root@max steven]# update-desktop-database -v
Search path is now: [/usr/share/applications, applications, /opt/gnome/share/applications, /usr/share/applications]
Could not create cache file in directory 'applications':
Error opening directory 'applications': No such file or directory

There's a mimeinfo.cache file in /usr/share/applications and /opt/gnome/share/applications, but those were present from the beginning.
Comment by arjan timmerman (blaasvis) - Sunday, 26 September 2004, 18:20 GMT
change the export XDG_DATA_DIRS in /etc/profile.d/gnome.sh to:
export XDG_DATA_DIRS=$XDG_DATA_DIRS/opt/gnome/share/

and run update-desktop-database -v again
Comment by Steven Van Impe (stevenvanimpe) - Monday, 27 September 2004, 15:49 GMT
That seemed to do stuff. Now the 'open with' entries went away and then reappeared, mostly replacing the old ones, but in same cases I have two entries for the same program.
So was this due to a typo?
Comment by Steven Van Impe (stevenvanimpe) - Monday, 27 September 2004, 15:50 GMT
I played around with some new file types as well, and seem to have the right application available as a default.
Comment by Steven Van Impe (stevenvanimpe) - Monday, 27 September 2004, 16:01 GMT
sorry for all the seperate comments, but I just noticed one more thing:
if I delete all the entries in the 'open with' settings that have plain names (like when I added them: eog, totem, gedit etc) the default ones appear in their place ("Media Player", "Text Editor" etc)
Comment by arjan timmerman (blaasvis) - Monday, 27 September 2004, 16:56 GMT
great that it fixed it i'll implement it.

Loading...