You are not logged in.

#1 2008-01-25 21:45:48

underpenguin
Member
Registered: 2007-02-01
Posts: 116

Duplicate fbpanel systemmenu entries [SOLVED]

Hi,
I recently decided to try out fbpanel with my openbox desktop. However, now I have duplicate menu entries in my menu (the 'star' icon in fbpanel), I believe in my 'systemmenu' part of the menu. How does fbpanel decide what to put in the systemmenu? I thought maybe /usr/share/applications, but there aren't duplicate entries there.
200801251540521280x800stc6.th.png
(its duplicated for all menus, not just system)

Thanks

Ben

EDIT:
Well, I restarted my system, and the duplicates went away.
The problem could have had to do with my running pypanel simultaneously.
I will leave this here for future searches.



My ~/.fbpanel/default:

Global {
    edge = top
    allign = center
    margin = 0
    widthtype = percent
    width = 100
    height = 32
    transparent = true
    tintcolor = #a6162e
    alpha = 165
    setdocktype = true
    setpartialstrut = true
    autohide = false
    heightWhenHidden = 10
}

Plugin {
    type = space
    config {
        size = 2
    }
}


Plugin {
    type = menu
    config {
        image = /usr/share/fbpanel/images/star.png
        systemmenu {
        }
        separator {
        }
        item {
            icon = gnome-settings
            name = configure
            command = configure
        }
        item {
            icon = gnome-terminal
            name = terminal
            action = xterm
        }
        item {
            icon = gvim
            name = gvim
            action = gvim
        }
    }
}


Plugin {
    type = space
    config {
        size = 5
    }
}


Plugin {
    type = launchbar
    config {
        button {
            icon = thunar
            tooltip = Thunar File Manager
            action = thunar ~/
        }
        button {
            icon = gnome-terminal
            tooltip = Terminal
            action = xterm
        }
        button {
            icon = mozilla-firefox
            tooltip = Firefox web browser
            action = firefox
        }
        button {
            icon = gvim
            tooltip = Gvim
            action = gvim
        }
    }
}


Plugin {
    type = space
    config {
        size = 8
    }
}


Plugin {
    type = wincmd
    config {
        icon = gnome-fs-desktop
        tooltip = Left click to iconify all windows. Middle click to shade them.
    }
}


Plugin {
    type = space
    config {
        size = 7
    }
}


Plugin {
    type = pager
    config {
        showwallpaper = true
    }
}


Plugin {
    type = icons
    config {
        DefaultIcon = /usr/share/fbpanel/images/default.xpm
        application {
            icon = gnome-terminal
            ClassName = XTerm
        }
        application {
            icon = gnome-terminal
            ClassName = mlterm
        }
        application {
            icon = gnome-terminal
            ClassName = URxvt
        }
        application {
            icon = mozilla-firefox
            ClassName = Firefox-bin
        }
        application {
            icon = mozilla-firefox
            ClassName = Firefox
        }
    }
}


Plugin {
    type = space
    config {
        size = 5
    }
}


Plugin {
    type = taskbar
    expand = true
    config {
        ShowIconified = true
        ShowMapped = true
        ShowAllDesks = false
        tooltips = true
        IconsOnly = false
        MaxTaskWidth = 150
    }
}


Plugin {
    type = tray
}


Plugin {
    type = dclock
    config {
        ClockFmt = %R
        TooltipFmt = %A %x
        Action = xmessage Please define some command &
    }
}

Last edited by underpenguin (2008-01-26 00:23:57)

Offline

#2 2008-05-05 13:00:12

bughunter2
Member
From: The Netherlands
Registered: 2008-03-03
Posts: 9

Re: Duplicate fbpanel systemmenu entries [SOLVED]

I have the exact same problem and do not run any other panel. Any ideas?

Offline

#3 2008-05-18 15:15:21

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: Duplicate fbpanel systemmenu entries [SOLVED]

Bump: I have the same problem...

Zl.

Offline

#4 2008-07-19 04:26:35

B-Con
Member
From: USA
Registered: 2007-12-17
Posts: 554
Website

Re: Duplicate fbpanel systemmenu entries [SOLVED]

Yet another "same problem", rebooting didn't fix it for me.

I'd also like to know how it decides to populate the menu because it has some items that no longer exist on my machine.

Offline

#5 2008-08-04 18:35:21

Lord Illidan
Member
From: Malta
Registered: 2007-10-25
Posts: 248

Re: Duplicate fbpanel systemmenu entries [SOLVED]

Same problem here too. Persisted after a reboot, several duplicates.

Offline

#6 2008-08-05 00:11:41

B-Con
Member
From: USA
Registered: 2007-12-17
Posts: 554
Website

Re: Duplicate fbpanel systemmenu entries [SOLVED]

I also have this problem after switching from fbpanel to lxpanel -- I presume the problems are related.

Offline

#7 2008-08-05 08:42:08

Lord Illidan
Member
From: Malta
Registered: 2007-10-25
Posts: 248

Re: Duplicate fbpanel systemmenu entries [SOLVED]

This problem increased after switching to pypanel and running menumaker to get the openbox menu entries right.

Offline

#8 2009-03-28 17:57:04

clodhopper
Member
Registered: 2008-02-07
Posts: 31

Re: Duplicate fbpanel systemmenu entries [SOLVED]

FYI and for any one else who reads this thread;

Reboot is not needed,in a terminal;
$ killall fbpanel
and in a run dialogue (usually alt+F2);
$ fbpanel

That should update the fbpanel system menu.

If duplicate entries still exist it is as there is duplicate desktop files.These will usually be in /home/USERNAME/.local/share/applications/.Check that out.Suggest rename duplicate .desktop files with additional .save extension and fbpanel will not find them.

Fbpanel searches /usr/share/applications/ and /home/USERNAME/.local/share/applications/ for entries.

BW Chris.

Last edited by clodhopper (2009-03-29 12:02:35)

Offline

Board footer

Powered by FluxBB