LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   xfce4 desktop menu gone from panel - Gentoo (http://www.linuxquestions.org/questions/linux-desktop-74/xfce4-desktop-menu-gone-from-panel-gentoo-828997/)

lievendp 08-28-2010 08:29 AM

xfce4 desktop menu gone from panel - Gentoo
 
Hello,

I have this ridiculous issue where my desktop menu has mysteriously disappeared from my panel.

Regardless of my searching around, I seem not to be able to add the desktop menu which includes shortcuts to most installed programs to the panel.

However, I can still start it by right-clicking the desktop.

Now, how can I get the menu back in the panel, I tried with add new items but it just isn't there.

thanks,

Lieven

hoodooman 08-28-2010 11:06 AM

This has happened to me before too.I found out that going into /home/.cache/sessions and deleting the files that you find there and restarting xfce fixes the problem (Well it did for me).I hope it does for you.

lievendp 08-29-2010 03:50 AM

thanks for your tip, I tried that but didn't help me.
I'll try to recreate the menu with help of the xml files in the profile information.

Kenny_Strawn 08-29-2010 09:28 AM

Did you perhaps accidentally delete the menu by right-clicking and clicking on 'Remove from panel'? If so, right-click and click 'Add to panel', selecting the Desktop Menu when the window 'Add to panel' comes up.

kalleanka 08-30-2010 02:06 AM

right click on the panel -> add new items

in the search field write xfce menu

mark xfce menu and click add

fix settings and drag and drop etc

lievendp 08-30-2010 12:15 PM

Thanks for your replies, I did try these things but the xfce menu is not in the list with possible items to add to the panel.
Maybe I need to emerge some package to get the menu of xfce but can't find which.

regards.

kalleanka 08-30-2010 01:05 PM

try xfce4-popup-menu in commandline

TheIndependentAquarius 08-31-2010 12:38 AM

Quote:

Originally Posted by lievendp (Post 4082569)
Thanks for your replies, I did try these things but the xfce menu is not in the list

May we know what other items are in the list !
Kindly list them here:

nerevin 08-31-2010 03:26 AM

Quote:

Originally Posted by anishakaul (Post 4083141)
May we know what other items are in the list !
Kindly list them here:

I have the same problems. Menu has disappeared from panel, but i can start it by right-clicking from desktop.

Possible items in Right-clicking on panel -> Add New Itemss... :
Launcher
Action Buttons
CPU Frequency Monitor
Cpu Graph
Clock
DateTime
Disk Performance Monitor
Generic Monitor
Icon Box
Keyboard Layouts
Mount devices
Network Monitor
Notes
Notification Area
Places Quicklauncher
Screenshot
Separotor or Spacing
Show Desktop
System Load Monitor
Task List
Verve Command Line
Weather Update
Window List
Workspace Switcher

Quote:

try xfce4-popup-menu in commandline
Code:

# xfce4-popup-menu
bash: xfce4-popup-menu: command not found
# xfce4-popup-
xfce4-popup-notes      xfce4-popup-places      xfce4-popup-windowlist 
# xfce4-
xfce4-about                  xfce4-notes                  xfce4-session
xfce4-accessibility-settings  xfce4-notes-settings          xfce4-session-logout
xfce4-appearance-settings    xfce4-panel                  xfce4-session-settings
xfce4-display-settings        xfce4-popup-notes            xfce4-settings-editor
xfce4-keyboard-settings      xfce4-popup-places            xfce4-settings-helper
xfce4-kiosk-query            xfce4-popup-windowlist        xfce4-settings-manager
xfce4-mouse-settings          xfce4-screenshooter          xfce4-taskmanager


Code:

# cat /etc/xdg/xfce4/panel/panels.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE config SYSTEM "config.dtd">
<panels>
        <panel>
                <properties>
                        <property name="size" value="28"/>
                        <property name="monitor" value="0"/>
                        <property name="screen-position" value="11"/>
                        <property name="fullwidth" value="1"/>
                        <property name="xoffset" value="0"/>
                        <property name="yoffset" value="0"/>
                        <property name="handlestyle" value="0"/>
                        <property name="autohide" value="0"/>
                        <property name="transparency" value="20"/>
                        <property name="activetrans" value="0"/>
                </properties>
                <items>
                        <item name="xfce4-menu" id="5"/>
                        <item name="separator" id="6"/>
                        <item name="launcher" id="7"/>
                        <item name="launcher" id="8"/>
                        <item name="launcher" id="9"/>
                        <item name="launcher" id="10"/>
                        <item name="tasklist" id="3"/>
                        <item name="systray" id="4"/>
                        <item name="pager" id="2"/>
                        <item name="showdesktop" id="1"/>
                        <item name="separator" id="11"/>
                        <item name="clock" id="14"/>
                        <item name="separator" id="13"/>
                        <item name="actions" id="12"/>
                </items>
        </panel>
</panels>
# cat /etc/xdg/xfce4/panel/xfce4-menu-5.rc
use_default_menu=true
show_button_title=false

# emerge -vpt xfce4-panel

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild R ] xfce-base/xfce4-panel-4.6.4 USE="startup-notification -debug" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

TheIndependentAquarius 08-31-2010 03:41 AM

nerevin

Hello,

There seems to be a serious problem, I checked my Panel right click , Xfce menu was clearly mentioned there. anyway check you out the following threads, and see if that helps you:

http://forum.xfce.org/index.php?topic=5057.0
and
http://linux.derkeiler.com/Mailing-L.../msg01275.html

nerevin 08-31-2010 06:49 AM

Quote:

Originally Posted by anishakaul (Post 4083281)
nerevin

Hello,

There seems to be a serious problem, I checked my Panel right click , Xfce menu was clearly mentioned there. anyway check you out the following threads, and see if that helps you:

http://forum.xfce.org/index.php?topic=5057.0
and
http://linux.derkeiler.com/Mailing-L.../msg01275.html

Seems I find solution:
1. Add XFCE_PLUGINS="menu" to /etc/make.conf
2. emerge -av1t xfdesktop
3. Right-clicking on panel -> Add New items -> Xfce Menu -> Add

My steps:
From first link: Xfdesktop is the component that provides the menu for the Xfce panel.

Code:

# genlop xfdesktop | tail -4
    Thu May 20 13:02:33 2010 >>> xfce-base/xfdesktop-4.6.1-r1
    Wed May 26 17:59:02 2010 >>> xfce-base/xfdesktop-4.6.2
    Tue Aug 24 11:40:59 2010 >>> xfce-base/xfdesktop-4.6.2

Perhaps, I remerge xfdesktop on 24 Aug through revdep-rebuild.
Code:

# emerge -avt1 xfce-base/xfdesktop

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  R  ] xfce-base/xfdesktop-4.6.2  USE="branding thunar -debug" LINGUAS="ru -be -ca -cs -da -de -el -es -et -eu -fi -fr -he -hu -it -ja -ko -nb_NO -nl -pa -pl -pt_BR -ro -sk -sv -tr -uk -vi -zh_CN -zh_TW" XFCE_PLUGINS="-menu" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

XFCE_PLUGINS="-menu"
Next, I add XFCE_PLUGINS="menu" to /etc/make.conf and re-emerge xfdesktop. Then I've tried add menu to panel.

TheIndependentAquarius 08-31-2010 07:11 AM

nerevin

Thank you for posting the exact solution !

lievendp 09-01-2010 03:35 AM

thanks
 
yes, thank you, I'll try this one as soon as I can.
I'll let you know if it worked.

edit: this worked for me, thank you.
Still, I don't realy see why it did install the menu at first without the line in make.conf and then it just vanished after some months.

NuLL3rr0r 09-05-2010 06:18 AM

Haaaaaahh!!

@nerevin
tnx! after struggling wth it for hours and hours finally your solution worked.

there's also another thread with the same solution (I found simultaneously):
http://forums.gentoo.org/viewtopic-t...7889e87057e347

alnnis 09-05-2010 05:46 PM

hi
i'm very new at this


All times are GMT -5. The time now is 06:37 PM.