FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 07-30-2008, 05:25 PM
Michael Brewer-Davis
 
Default icons for custom mime-types on ubuntu 8.04

Does anyone know of issues with icons for custom mime types in nautilus
on 8.04?

I have an application which installs a new mime type and associated icon
using xdg-utils. In Ubuntu 8.04, nautilus doesn't use the custom icon,
even though it recognizes the mime type. The system file dialog does
use the icon.

On Ubuntu 7.10 and OpenSUSE 10.3, mime types and icons both work as
expected with similar post-install environments.

Is this a bug or is there something wrong with my installation process?
Has something changed in the icon retrieval process?

Details follow--feel free to ask for more. I appreciate any help,
redirection, or general goodwill.

Thanks,
michael


Problem system:
Ubuntu 8.04; nautilus 2.22.2-0ubuntu4; xdg-utils 1.0.2-2

Okay systems:
Ubuntu 7.10; nautilus 2.20.0-0ubuntu7; xdg-utils 1.0.1
OpenSUSE 10.3; nautilus 2.20.0-5.2; xdg-utils 1.0.1

My installed files:
/usr/local/share/icons/hicolor/48x48/mimetypes/application-my-mime.png
/usr/local/share/icons/hicolor/48x48/mimetypes/gnome-mime-application-my-mime.png
(softlink)
/usr/local/share/mime/application/my-mime.xml

(the Ubuntu 7.04 machine has some KDE components installed, so xdg-utils
also put icons in the /usr/share/mimelnk directory)

My mime installation process:
sudo xdg-mime install --mode system my-mime.xml

my-mime.xml:
<mime-info xmlns="...">
<mime-type type="application/my-mime">
<comment>My MIME file</comment>
<glob pattern="*.mzm" />
</mime-type>
</mime-info>

sudo xdg-icon-resource install --context mimetypes --size 48 --mode
system iconfile.png application-my-mime

iconfile.png is a 48x48 PNG



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Wed Jul 30 20:30:02 2008
Return-path: <ubuntu-users-bounces@lists.ubuntu.com>
Envelope-to: tom@linux-archive.org
Delivery-date: Wed, 30 Jul 2008 20:26:18 +0300
Received: from chlorine.canonical.com ([91.189.94.204])
by s2.java-tips.org with esmtp (Exim 4.69)
(envelope-from <ubuntu-users-bounces@lists.ubuntu.com>)
id 1KOFRK-0006dZ-IF
for tom@linux-archive.org; Wed, 30 Jul 2008 20:26:18 +0300
Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com)
by chlorine.canonical.com with esmtp (Exim 4.60)
(envelope-from <ubuntu-users-bounces@lists.ubuntu.com>)
id 1KOFQY-0001H4-Oc; Wed, 30 Jul 2008 18:25:30 +0100
Received: from an-out-0708.google.com ([209.85.132.241])
by chlorine.canonical.com with esmtp (Exim 4.60)
(envelope-from <qrczakmk@gmail.com>) id 1KOFQW-0001Ft-3R
for ubuntu-users@lists.ubuntu.com; Wed, 30 Jul 2008 18:25:28 +0100
Received: by an-out-0708.google.com with SMTP id d31so18169and.92
for <ubuntu-users@lists.ubuntu.com>;
Wed, 30 Jul 2008 10:25:27 -0700 (PDT)
Received: by 10.100.8.4 with SMTP id 4mr13234215anh.38.1217438727143;
Wed, 30 Jul 2008 10:25:27 -0700 (PDT)
Received: by 10.100.92.2 with HTTP; Wed, 30 Jul 2008 10:25:27 -0700 (PDT)
Message-ID: <3f4107910807301025x434e79c8h12694f3a50c62bc1@mail .gmail.com>
Date: Wed, 30 Jul 2008 19:25:27 +0200
From: "=?UTF-8?Q?Marcin_=E2=80=98Qrczak=E2=80=99_Kowalczyk?="
<qrczak@knm.org.pl>
To: "Ubuntu user technical support,
not for general discussions" <ubuntu-users@lists.ubuntu.com>
Subject: Re: Win98 -- all kidding aside
In-Reply-To: <489092DE.7050905@earthlink.net>
MIME-Version: 1.0
Content-Disposition: inline
References: <1216912579.8649.5.camel@cyanide>
<e0dd7f6c0807241846u7233960eg3888e590766e9709@mail .gmail.com>
<4f890e580807250158r33be633cp734d5664879dfca9@mail .gmail.com>
<200807292155.33021.pastor_jw@the-inner-circle.org>
<1217408944.6424.9.camel@cyanide> <489092DE.7050905@earthlink.net>
X-Google-Sender-Auth: f279cb488390761f
X-BeenThere: ubuntu-users@lists.ubuntu.com
X-Mailman-Version: 2.1.8
Precedence: list
Reply-To: "Ubuntu user technical support,
not for general discussions" <ubuntu-users@lists.ubuntu.com>
List-Id: "Ubuntu user technical support,
not for general discussions" <ubuntu-users.lists.ubuntu.com>
List-Unsubscribe: <https://lists.ubuntu.com/mailman/listinfo/ubuntu-users>,
<mailto:ubuntu-users-request@lists.ubuntu.com?subject=unsubscribe>
List-Archive: <https://lists.ubuntu.com/archives/ubuntu-users>
List-Post: <mailto:ubuntu-users@lists.ubuntu.com>
List-Help: <mailto:ubuntu-users-request@lists.ubuntu.com?subject=help>
List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/ubuntu-users>,
<mailto:ubuntu-users-request@lists.ubuntu.com?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: ubuntu-users-bounces@lists.ubuntu.com
Errors-To: ubuntu-users-bounces@lists.ubuntu.com

MjAwOC83LzMwIE11bWlhIFcuIDxwYWR1aWxsZS40MDYyLm11bW lhLncrbm9zcGFtQGVhcnRobGlu
ay5uZXQ+OgoKPiBVYnVudHUgdHJpZXMgaGFyZCB0byB3b3JrIC JvdXQgb2YgdGhlIGJveCwiIGJ1
dCBpdCBvZnRlbiBtaXNzZXMuIEFuZAo+IGZyYW5rbHksIExpbn V4IGhhcyBiZWVuIG1ha2luZyBz
b21lIGR1bWIgZGVjaXNpb25zIHJlY2VudGx5LCBzdWNoIGFzCj 4gZXN0YWJsaXNoaW5nIGRlcGVu
ZGVuY3kgdXBvbiB1ZGV2ICh1bnJlbGlhYmxlIGRldmljZSBtYW 5hZ2VyKSwKPiBhc3luY2hyb25v
dXMgZGV2aWNlIGRyaXZlciBsb2FkaW5nLCBhbmQgeHJhbmRyMS 4yIChYIHJhbmRvbQo+IGNvbmZp
Z3VyYXRpb24tLWlnbm9yZSB0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 5nLiBuZXR3b3JrLW1hbmFnZXIg
aGFzIG5vIHBsYWNlIHRvCmFkZCBjdXN0b20gQVQgY29tbWFuZH MsIHNvIGEgYmxlZWRpbmcgZWRn
ZSB2ZXJzaW9uIG9mIG5ldHdvcmstbWFuYWdlcgptdXN0IGJlIH VzZWQgd2l0aCBHU00gbW9kZW1z
IEkgdGhpbmsuCgotLSAKTWFyY2luIEtvd2FsY3p5awpxcmN6YW tAa25tLm9yZy5wbApodHRwOi8v
cXJuaWsua25tLm9yZy5wbC9+cXJjemFrLwotLSAKdWJ1bnR1LX VzZXJzIG1haWxpbmcgbGlzdAp1
YnVudHUtdXNlcnNAbGlzdHMudWJ1bnR1LmNvbQpNb2RpZnkgc2 V0dGluZ3Mgb3IgdW5zdWJzY3Jp
YmUgYXQ6IGh0dHBzOi8vbGlzdHMudWJ1bnR1LmNvbS9tYWlsbW FuL2xpc3RpbmZvL3VidW50dS11
c2Vycwo=
 

Thread Tools




All times are GMT. The time now is 02:41 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org