Change/Create A New Menu

Discussion in 'Modding and Customization' started by onemadscientist, Aug 22, 2008.

  1. onemadscientist

    onemadscientist

    Joined:
    Aug 3, 2008
    Messages:
    7
    Likes Received:
    0
    Hi All,

    I didn't like the fact that the "system" menu was automatically putting applications into the menu. Therefore, I created a brand new menu file that you can use that will include all of the applications you end up with after the you perform this http://www.aspireoneuser.com/forum/viewtopic.php?f=31&t=1256. Or, if you just want to be able to take complete control of the menu without making any other changes to your system you could use this code as well.

    The new menu file code is shown below. Open Mousepad and Copy/Paste this code into it. Save the file to someplace, but you MUST name it "menu.xml". You will need to navigate to /home/user/.config/xfce4/desktop , and change the name of the file in this directory called "menu.xml" to maybe OriginalMenu.xml. Please do this NOW!!

    Then copy/move/paste the menu.xml file you originally created into this same directory. You don't have to reboot for this to take affect, however, there may be applications missing, or entries added that I have on my system that you don't have on yours. The good thing is that now you can use the Start > Settings > MenuEditor to change any and ALL of the items in the menu.

    The file is pretty easy to follow so if you want to add your own applications, or remove some of the items I put in you can do so manually by opening this file in mousepad, but the ease of using this file over the original is that you can now use the menu editor to make ALL of the changes.....Enjoy!

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <xfdesktop-menu>
    	<title name="Desktop Menu"/>
    	<separator/>
    	<app name="Run Program..." cmd="xfrun4" icon="gnome-fs-executable"/>
    	<separator/>
    	<app name="Terminal" cmd="xfterm4" icon="gnome-terminal"/>
    	<app name="File Manager" cmd="thunar" icon="file-manager"/>
    	<app name="Firefox" cmd="xfbrowser4" icon="gnome-globe"/>
    	<separator/>
    	<menu name="Settings" icon="gnome-settings">
    		<app name="Settings Manager" cmd="xfce-setting-show" icon="gnome-settings" term="false" snotify="true" />
    		<app name="Anthy Dictionary editor" cmd="kasumi" icon="kasumi.png" term="false" snotify="true" />
    		<app name="Autostarted Applications" cmd="xfce4-autostart-editor" icon="xfce4-autostart-editor" term="false" snotify="false" />
    		<app name="Calendar Settings" cmd="xfce-setting-show orage" icon="xfcalendar" term="false" snotify="false" />
    		<app name="CompizConfig Settings Manager" cmd="ccsm" icon="ccsm" term="false" snotify="false" />
    		<app name="Default printer" cmd="/usr/bin/my-default-printer" icon="printer.png" term="false" snotify="false" />
    		<app name="Desktop Settings" cmd="xfce-setting-show backdrop" icon="xfce4-backdrop" term="false" snotify="true" />
    		<app name="Display Settings" cmd="xfce-setting-show display" icon="xfce4-display" term="false" snotify="true" />
    		<app name="Emerald Theme Manager" cmd="emerald-theme-manager" icon="/usr/share/pixmaps/emerald-theme-manager-icon.png" term="false" snotify="false" />
    		<app name="fwbackups" cmd="/usr/bin/fwbackups" icon="fwbackups.svg" term="false" snotify="false" />
    		<app name="Input Languages" cmd="scim-setup" icon="scim-setup.png" term="false" snotify="true" />
    		<app name="Input Method" cmd="im-chooser" icon="im-chooser.png" term="false" snotify="true" />
    		<app name="Keyboard Layout" cmd="keyboard_layout" icon="keyboard_layout.png" term="false" snotify="false" />
    		<app name="Keyboard Settings" cmd="xfce-setting-show keyboard" icon="xfce4-keyboard" term="false" snotify="true" />
    		<app name="Menu Editor" cmd="xfce4-menueditor" icon="xfce4-menueditor" term="false" snotify="false" />
    		<app name="Mixer Settings" cmd="xfce-setting-show sound" icon="xfce-sound" term="false" snotify="false" />
    		<app name="Mouse Settings" cmd="xfce-setting-show mouse" icon="xfce4-mouse" term="false" snotify="true" />
    		<app name="Notification Settings" cmd="notification-settings" icon="notification-settings" term="false" snotify="true" />
    		<app name="Panel Manager" cmd="xfce4-panel -c" icon="xfce4-panel" term="false" snotify="false" />
    		<app name="Preferred Applications" cmd="exo-preferred-applications" icon="preferences-desktop-default-applications" term="false" snotify="true" />
    		<app name="Printer" cmd="system-config-printer" icon="printer.png" term="false" snotify="true" />
    		<app name="Printing" cmd="/usr/bin/system-config-printer" icon="printer.png" term="false" snotify="true" />
    		<app name="Removable Drives and Media" cmd="/usr/libexec/thunar-volman-settings" icon="gnome-dev-removable" term="false" snotify="true" />
    		<app name="Sessions and Startup Settings" cmd="xfce-setting-show session" icon="xfce4-session" term="false" snotify="false" />
    		<app name="Splash Screen Settings" cmd="xfce-setting-show splash" icon="xfce4-splash" term="false" snotify="false" />
    		<app name="User Interface Settings" cmd="xfce-setting-show ui" icon="xfce4-ui" term="false" snotify="true" />
    		<app name="Window Manager Settings" cmd="xfce-setting-show xfwm4" icon="xfwm4" term="false" snotify="false" />
    		<app name="Window Manager Tweaks" cmd="xfce-setting-show wmtweaks" icon="wmtweaks" term="false" snotify="false" />
    		<app name="Workspaces Settings" cmd="xfce-setting-show workspaces" icon="xfce4-workspaces" term="false" snotify="false" />
    	</menu>
    	<separator/>
    	<menu name="Accessories" icon="applications-accessories">
    		<app name="Calculator" cmd="galculator" icon="gnome-calculator" snotify="true"/>
    		<app name="Help" cmd="yelp" icon="gnome-help" snotify="true"/>
    		<app name="Mousepad" cmd="mousepad" icon="mousepad" snotify="true"/>
    		<app name="Notes" cmd="xpad" icon="xpad" snotify="true"/>
    		<app name="Touchpad" cmd="gsynaptics" icon="touchpad" snotify="true"/>
    		<app name="Xarchiver" cmd="xarchiver" icon="xarchiver" snotify="true"/>
    	</menu>
    	<menu name="Graphics" icon="applications-graphics">
    		<app name="Image Viewer" cmd="gthumb %U" icon="gthumb" snotify="true"/>
    		<app name="Paint" cmd="tuxpaint" icon="tuxpaint.png" snotify="true"/>
    	</menu>
    	<menu name="Multimedia" icon="applications-multimedia">
    		<app name="WebCam" cmd="ucview.new" icon="ucview.png" snotify="true"/>
    	</menu>
    	<menu name="Network" icon="gnome-globe">
    		<app name="ClawsMail" cmd="claws-mail" icon="claws-mail" snotify="true"/>
    		<app name="Firefox" cmd="firefox %u" icon="firefox.png" snotify="true"/>
    		<app name="FTP" cmd="gftp" icon="gftp.png" snotify="true"/>
    		<app name="Messenger" cmd="pidgin" icon="pidgin" snotify="true"/>
    	</menu>
    	<menu name="Office" icon="applications-office">
    		<app name="Adobe Reader 8" cmd="acroread" icon="AdobeReader8.png" snotify="true"/>
    		<app name="Writer" cmd="openoffice.org -writer" icon="openofficeorg-writer" snotify="true"/>
    		<app name="Spreadsheets" cmd="openoffice.org -calc" icon="openofficeorg-calc" snotify="true"/>
    		<app name="Presentations" cmd="openoffice.org -impress" icon="openofficeorg-impress" snotify="true"/>
    	</menu>
    	<menu name="Files" icon="applications-other">
    		<app name="My Documents" cmd="/usr/bin/launch-thunar.sh /mnt/home/Documents" icon="mydocument.png" term="false" snotify="false" />
    		<app name="My Downloads" cmd="/usr/bin/launch-thunar.sh /mnt/home/Downloads" icon="mydownload.png" term="false" snotify="false" />
    		<app name="My Files" cmd="/usr/bin/launch-thunar.sh /mnt/home" icon="filemanager.png" term="false" snotify="false" />
    		<app name="My Music" cmd="/usr/bin/launch-thunar.sh /mnt/home/Music" icon="mymusic.png" term="false" snotify="false" />
    		<app name="My Pictures" cmd="/usr/bin/launch-thunar.sh /mnt/home/Pictures" icon="mypicture.png" term="false" snotify="false" />
    		<app name="My Videos" cmd="/usr/bin/launch-thunar.sh /mnt/home/Videos" icon="myvideos.png" term="false" snotify="false" />
    	</menu>
    	<menu name="System" icon="/usr/share/icons/gnome/16x16/categories/applications-system.png">
    		<app name="Add/Remove Software" cmd="/usr/bin/getproxy /usr/bin/pirut" icon="system-software-installer" term="false" snotify="true" />
    		<app name="Audio" cmd="gnome-volume-control" icon="audioset" term="false" snotify="true" />
    		<app name="Bulk Rename" cmd="/usr/libexec/ThunarBulkRename %F" icon="Thunar" term="false" snotify="true" />
    		<app name="Date &amp; Time" cmd="/usr/bin/system-config-date" icon="time.png" term="false" snotify="false" />
    		<app name="Disk Management" cmd="usermount" icon="disks.png" term="false" snotify="false" />
    		<app name="EZMove" cmd="ezmove" icon="/usr/share/smanager/pixmaps/Icon_EZMove_48x48.png" term="false" snotify="true" />
    		<app name="GParted Partition Editor" cmd="/usr/bin/gparted" icon="gparted" term="false" snotify="true" />
    		<app name="Live Update" cmd="onlineupdate" icon="liveupdate.png" term="false" snotify="false" />
    		<app name="Network Center" cmd="sudo list_conn" icon="networkmgr" term="false" snotify="true" />
    		<app name="Recovery XP" cmd="/usr/bin/umpcd2dgen.sh" icon="system-software-installer" term="false" snotify="true" />
    		<app name="Software Updater" cmd="/usr/bin/getproxy /usr/bin/pup" icon="system-software-update" term="false" snotify="true" />
    		<app name="System" cmd="sysinfo" icon="sysinfo" term="false" snotify="true" />
    		<app name="Terminal" cmd="Terminal" icon="Terminal" term="false" snotify="true" />
    		<app name="Thunar File Manager" cmd="Thunar %F" icon="Thunar" term="false" snotify="true" />
    	</menu>
    	<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>
    
     
    onemadscientist, Aug 22, 2008
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.