Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-04-27 16:09:04

71mambo
Member
Registered: 2017-04-27
Posts: 5

Customize Menu

Hello,
I'm using
Xfce 4 Desktop Environment
version 4.4.2 (Xfce 4.4)
on VNC section.

until last week, I can customize the menu inside vnc section, editing this file
$HOME/.config/xfce4/desktop/menu.xml

[img=F:\My Pictures\PERLAVORO\Menu_home_desktop_ecado5.jpg]MENU[/img]

now this file can be read no more from system.
Now the menu can be edit only on this directory
$HOME/.local/share/applications/*.desktop
I have to create any single file .desktop for any link I need to create.



There is some program to covert .xml file to the new one .desktop?

Many thanks in advance

Regards
Luciano

Last edited by 71mambo (2017-04-28 10:12:50)

Offline

#2 2017-04-28 12:39:23

71mambo
Member
Registered: 2017-04-27
Posts: 5

Re: Customize Menu

Sorry but i cannot insert any image from my PC.

Any way this is the content on menu.xml file

<?xml version="1.0" encoding="UTF-8"?>
<xfdesktop-menu>
	<app name="ehd7big" cmd="xterm -cm -bg gray -fg black -e sudo -i -u ehd7big"/>
	<app name="smapbcd6" cmd="xterm -cm -bg white -fg black -e sudo -i -u smapbcd6" icon="gnome-settings-background"/>
	<app name="smapmems" cmd="xterm -cm -bg blue -fg white -e sudo -i -u  smapmems"/>
	<app name="mdp_excR2" cmd="xterm -cm -bg SlateBlue -e &quot;ssh -X mdp_exc@`hostname`&quot;"/>
	<app name="catsf8" cmd="xterm -cm -fg white -e &quot;ssh -X catsf8@`hostname`&quot;"/>
	<app name="xterm" cmd="xterm -cm -bg beige -fg chocolate4"/>
	<app name="ecado3" cmd="xterm -cm -bg gray -fg brown -e &quot;ssh -X ecado3@`hostname`&quot;"/>
	<title name="Desktop Menu" icon="xfce4-backdrop"/>
	<app name="prova" cmd="xterm  -cm -bg &quot;#60CACE&quot; -fg &quot;#E2192C&quot;"/>
	<separator/>
	<app name="Run Program..." cmd="xfrun4" icon="gnome-fs-executable"/>
	<separator/>
	<app name="Terminal" cmd="xfterm4 -cm -bg white -fg black" icon="gnome-terminal"/>
	<app name="mems" cmd="xterm -cm -bg blue -e &quot;ssh -X mems@`hostname`&quot;" icon="evolution"/>
	<app name="agrbcd6" cmd="xterm -cm -fg yellow -e &quot;ssh -X bcd6@`hostname`&quot;" icon="evolution"/>
	<app name="agrbcd5" cmd="xterm -cm -fg red -e &quot;ssh -X bcd5@`hostname`&quot;" icon="evolution"/>
	<app name="agrbcd4" cmd="xterm  -cm -fg green -e &quot;ssh -X bcd4@`hostname`&quot;" icon="evolution"/>
	<app name="ecado" cmd="xterm -cm -bg green -fg black -e sudo -i -u ecado" icon="bluefish-icon"/>
	<app name="jobreq" cmd="xterm -cm -bg gray -fg &quot;#271DDE&quot; -e &quot;ssh -X job_req@`hostname`&quot;" icon="bluefish-icon"/>
	<app name="mdpagr" cmd="xterm -cm -bg &quot;#9ACACC&quot;  -fg &quot;#412D2D&quot; -e &quot;ssh -X mdp_agr@`hostname`&quot;" icon="config-users"/>
	<app name="frog" cmd="xterm -cm -bg NavajoWhite -fg blue -e &quot;ssh -X frog_agr@`hostname`&quot;" icon="gimp"/>
	<app name="mdp_cto" cmd="xterm -cm -bg lavender -fg blue -e &quot;ssh -X mdp_cto@`hostname`&quot;"/>
	<app name="bcd8ag8" cmd="xterm -cm -bg azure -fg MediumOrchid4 -e &quot;ssh -X bcd8ag8@`hostname`&quot;"/>
	<app name="File Manager" cmd="thunar" icon="file-manager"/>
	<app name="Web Browser" cmd="xfbrowser4" icon="gnome-globe"/>
	<separator/>
	<menu name="Settings" icon="gnome-settings">
		<app name="Settings Manager" cmd="xfce-setting-show" icon="gnome-settings" snotify="true"/>
	</menu>
	<separator/>
	<include type="system" style="simple" unique="true" legacy="true"/>
	<separator/>
	<app name="Help" cmd="xfhelp4" icon="gnome-help"/>
	<app name="About Xfce" cmd="xfce4-about" icon="gnome-info"/>
	<builtin name="Quit" cmd="quit" icon="gnome-logout"/>
</xfdesktop-menu>

and this is a content example of *.desktop file

[Desktop Entry]
Name=XTERM
Exec=xterm -cm &
Comment=
Icon=
NoDisplay=false
Type=Application
Categories=Utility;

Can You help me?

Last edited by 71mambo (2017-04-28 12:40:11)

Offline

#3 2017-04-28 12:54:15

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,004

Re: Customize Menu

Xfce 4.4.2 is 9 years old and no longer maintained. To be honest, you may have difficulty finding someone who remembers or has knowledge about how menus were managed back then.

Here is the wiki article on customizing menus. It states:

This page describes how to customize the menu, using Xfdesktop 4.5 or higher. For earlier versions you can use the libxfce4menu GUI.

Do you have a libxfce4menu GUI application that you can use?

Or alternatively, can you update to a more recent version of Xfce?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB