public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Gnome default file associations broken
@ 2009-09-13 10:00 Sascha Hlusiak
  2009-09-13 18:02 ` Daniel Troeder
  2009-09-13 18:38 ` walt
  0 siblings, 2 replies; 6+ messages in thread
From: Sascha Hlusiak @ 2009-09-13 10:00 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 956 bytes --]

Hello List,

somehow all default file associations are broken in my gnome installation and 
seem to point at the KDE applications instead. 

When right-clicking in nautilus on a pdf file, the default action is 
kghostview instead of evince (in kde the default is acroread) and the default 
action for inode/directory even is cervisia which makes gnome desktop 
unusable like that. When logging in in KDE the right kde applications are 
offered as default but in Gnome they used to be different.

Where are gnome defaults handled? 
"xdg-mime query default inode/directory" shows correct app in kde but is empty 
in gnome.
Calling "update-mime-database /usr/share/mime" and "update-desktop-database" 
do not change anything. Does anyone have a hint where to look? What role does 
gnome-vfs play? 


Yes, I can change the settings in my user, but since it's a multiuser system, 
it is important to change the defaults.

Thanks,
Sascha

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Gnome default file associations broken
  2009-09-13 10:00 [gentoo-user] Gnome default file associations broken Sascha Hlusiak
@ 2009-09-13 18:02 ` Daniel Troeder
  2009-09-13 19:32   ` Sascha Hlusiak
  2009-09-13 18:38 ` walt
  1 sibling, 1 reply; 6+ messages in thread
From: Daniel Troeder @ 2009-09-13 18:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1473 bytes --]

On Sun, 2009-09-13 at 12:00 +0200, Sascha Hlusiak wrote:
> Hello List,
> 
> somehow all default file associations are broken in my gnome installation and 
> seem to point at the KDE applications instead. 
> 
> When right-clicking in nautilus on a pdf file, the default action is 
> kghostview instead of evince (in kde the default is acroread) and the default 
> action for inode/directory even is cervisia which makes gnome desktop 
> unusable like that. When logging in in KDE the right kde applications are 
> offered as default but in Gnome they used to be different.
> 
> Where are gnome defaults handled? 
> "xdg-mime query default inode/directory" shows correct app in kde but is empty 
> in gnome.
> Calling "update-mime-database /usr/share/mime" and "update-desktop-database" 
> do not change anything. Does anyone have a hint where to look? What role does 
> gnome-vfs play? 
> 
> 
> Yes, I can change the settings in my user, but since it's a multiuser system, 
> it is important to change the defaults.
Does this happen to all of your users? I mean: does this also happen if
you create a new user, and log as it into GNOME?

In case it's only a 1-user-problem: take a look at
~/.local/share/applications/mimeapps.list
This is where users file associations should be set.

Bye,
Daniel

-- 
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user]  Re: Gnome default file associations broken
  2009-09-13 10:00 [gentoo-user] Gnome default file associations broken Sascha Hlusiak
  2009-09-13 18:02 ` Daniel Troeder
@ 2009-09-13 18:38 ` walt
  1 sibling, 0 replies; 6+ messages in thread
From: walt @ 2009-09-13 18:38 UTC (permalink / raw
  To: gentoo-user

On 09/13/2009 03:00 AM, Sascha Hlusiak wrote:
> Hello List,

> Where are gnome defaults handled?
> "xdg-mime query default inode/directory" shows correct app in kde but is empty
> in gnome...

I can tell you that I also get an empty response in gnome, but my system is not
broken.  Doesn't help much, sorry.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Gnome default file associations broken
  2009-09-13 18:02 ` Daniel Troeder
@ 2009-09-13 19:32   ` Sascha Hlusiak
  2009-09-13 21:26     ` [gentoo-user] " walt
  0 siblings, 1 reply; 6+ messages in thread
From: Sascha Hlusiak @ 2009-09-13 19:32 UTC (permalink / raw
  To: gentoo-user; +Cc: Daniel Troeder

[-- Attachment #1: Type: Text/Plain, Size: 1782 bytes --]

Am Sonntag 13 September 2009 20:02:09 schrieb Daniel Troeder:
> On Sun, 2009-09-13 at 12:00 +0200, Sascha Hlusiak wrote:
> > Hello List,
> >
> > somehow all default file associations are broken in my gnome
> > installation and seem to point at the KDE applications instead.
> >
> > When right-clicking in nautilus on a pdf file, the default action is
> > kghostview instead of evince (in kde the default is acroread) and the
> > default action for inode/directory even is cervisia which makes gnome
> > desktop unusable like that. When logging in in KDE the right kde
> > applications are offered as default but in Gnome they used to be
> > different.
> >
> > Where are gnome defaults handled?
> > "xdg-mime query default inode/directory" shows correct app in kde but is
> > empty in gnome.
> > Calling "update-mime-database /usr/share/mime" and
> > "update-desktop-database" do not change anything. Does anyone have a
> > hint where to look? What role does gnome-vfs play?
> >
> >
> > Yes, I can change the settings in my user, but since it's a multiuser
> > system, it is important to change the defaults.
> 
> Does this happen to all of your users? I mean: does this also happen if
> you create a new user, and log as it into GNOME?
Yes, it happens with an empty user as well.

> In case it's only a 1-user-problem: take a look at
> ~/.local/share/applications/mimeapps.list
> This is where users file associations should be set.
The file does not exist for my user. When I mount the home on a Debian system, 
the defaults from that machine work fine, so it's not the user.

Where are the global defaults anyway, if you want to change the order, maybe? 
Where could you globally prefer acroread over evince and gedit over xemacs?

- Sascha

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user]  Re: Gnome default file associations broken
  2009-09-13 19:32   ` Sascha Hlusiak
@ 2009-09-13 21:26     ` walt
  2009-09-15 16:17       ` Sascha Hlusiak
  0 siblings, 1 reply; 6+ messages in thread
From: walt @ 2009-09-13 21:26 UTC (permalink / raw
  To: gentoo-user

On 09/13/2009 12:32 PM, Sascha Hlusiak wrote:

> Where are the global defaults anyway, if you want to change the order, maybe?
> Where could you globally prefer acroread over evince and gedit over xemacs?

Try running update-desktop-database, which will generate a new
/usr/share/applications/mimeinfo.cache.  That's where gnomevfs-info looks for
its database.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user]  Re: Gnome default file associations broken
  2009-09-13 21:26     ` [gentoo-user] " walt
@ 2009-09-15 16:17       ` Sascha Hlusiak
  0 siblings, 0 replies; 6+ messages in thread
From: Sascha Hlusiak @ 2009-09-15 16:17 UTC (permalink / raw
  To: gentoo-user; +Cc: walt

[-- Attachment #1: Type: Text/Plain, Size: 715 bytes --]

Hi,

Am Sonntag 13 September 2009 23:26:45 schrieb walt:
> On 09/13/2009 12:32 PM, Sascha Hlusiak wrote:
> > Where are the global defaults anyway, if you want to change the order,
> > maybe? Where could you globally prefer acroread over evince and gedit
> > over xemacs?
> 
> Try running update-desktop-database, which will generate a new
> /usr/share/applications/mimeinfo.cache.  That's where gnomevfs-info looks
>  for its database.
Running update-desktop-dababase did help, but only after rearranging the 
XDG_DATA_DIRS in /etc/env.d/*, especially from KDE-3.5 which came too early. 
I guess that was the mistake why always kde-3.5 applications were default.

Thanks for the hint,

Sascha
  

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-09-15 16:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-13 10:00 [gentoo-user] Gnome default file associations broken Sascha Hlusiak
2009-09-13 18:02 ` Daniel Troeder
2009-09-13 19:32   ` Sascha Hlusiak
2009-09-13 21:26     ` [gentoo-user] " walt
2009-09-15 16:17       ` Sascha Hlusiak
2009-09-13 18:38 ` walt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox