You are not logged in.

#1 2015-11-16 20:09:04

fabrixx
Member
From: Italy
Registered: 2015-06-07
Posts: 130

Gnome "add to favorites" double icon

Hi.

I compiled Mozilla SeaMonkey and i need to create a new icon. I  used Alacarte menu editor.

After that i find SeaMonkey Icon in Gnome Shell menu and right Click---> add to favorites

Now i can  see icon in left Gnome panel but when i click to open browser i see a second icon...

How can i fix it?

Thank you...


Image of my situation:
http://i.imgur.com/z9lu33n.png

Offline

#2 2015-11-16 20:16:35

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: Gnome "add to favorites" double icon

post the .desktop file that was created.
Using the "StartupWMClass" in the file could help..

Offline

#3 2015-11-16 20:55:53

fabrixx
Member
From: Italy
Registered: 2015-06-07
Posts: 130

Re: Gnome "add to favorites" double icon

Thank you for support.

I've find only:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
NoDisplay=true
Exec=/usr/local/lib/seamonkey-2.42a1/seamonkey %u
Name=SeaMonkey
Comment=Definizione personalizzata per SeaMonkey

File name: userapp-SeaMonkey-SRYU7X.desktop

File position: /home/fabrizio/.local/share/applications

Last edited by fabrixx (2015-11-16 20:58:14)

Offline

#4 2015-11-16 23:19:26

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: Gnome "add to favorites" double icon

Why did you compile it manually and not from ABS?
The PKGBUILD would have installed seamonkey.desktop from sources, although you could just do the same thing..

I don't see anything wrong with your custom desktop file, apart from NoDisplay that seems redundant.
Try the StartpWMClass or use mozilla's own .desktop file.

Offline

#5 2015-11-17 23:47:44

fabrixx
Member
From: Italy
Registered: 2015-06-07
Posts: 130

Re: Gnome "add to favorites" double icon

I use to compile nightly custom mozilla builds from mozilla central.

If ABS semplify my work i appreciate ok..i want to study IT ThanKs...


I used xprop command to see:

WM_CLASS(STRING) = "Navigator", "Seamonkey"

But if i put:

StartupWMClass=Seamonkey

I see an empty icon + SeaMonkey icon:
http://i.imgur.com/NIcTlNI.png

Last edited by fabrixx (2015-11-18 00:07:40)

Offline

#6 2015-11-18 21:45:52

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: Gnome "add to favorites" double icon

Whether you build manually or using PKGBUILD from ABS is up to you, but I'd prefer the latter smile

My main point was, that the PKGBUILD for seamonkey from ABS copies a .desktop file from seamonkey sources.
Maybe you could try if that file worked for you.

Offline

#7 2015-11-18 22:24:56

fabrixx
Member
From: Italy
Registered: 2015-06-07
Posts: 130

Re: Gnome "add to favorites" double icon

I can't not select SeaMonkey by Right -click on the gnome panel to add panel shortcut...

Offline

Board footer

Powered by FluxBB