Manually edit the Xfce menu
July 12, 2006 at 9:43 am | Posted in tips and tricks, xubuntu | 51 CommentsLet’s face it, the built-in Xfce menu editor sucks. It leaves invalid XML and crashes at the oddest moments. If you’re feeling adventurous, you can manually edit the menu yourself. If you’re familiar with XML, this will be easy.
1) Copy Xfce’s default menu into your home folder:
cp /etc/xdg/xfce4/desktop/menu.xml ~/.config/xfce4/desktop/menu.xml
Here’s an overview of how the code works:
<xfdesktop-menu></xfdesktop-menu>
: You need these! Otherwise, the menu is not loaded.
<app name="Name in menu" cmd="Command to run" term="false" icon="iconfile" snotify="false" visible="true" />
:
To add a shortcut to an application, use <app>
.
name
tells the menu what the name of your shortcut is.
cmd
says what is launched when you click the shortcut.
If you want a shortcut icon, put the full filename of the icon under iconfile
.
snotify
sets whether or not the program supports startup notification. (You can probably leave this to false.)
visibility
tells the menu whether you want to see this shortcut or not. You should leave it to true.
<separator />
: Adds a separator between shortcut items.
<menu name="Name in menu" icon="iconfile" visible="true"></menu>
:
This acts the same as app
. However, this creates a menu, where you can put more shortcut items within. Make sure that you put </menu>
afterwards when you are done!
<title name="Name in menu" icon="iconfile" visible="true" />
: Adds a title to the top of your menu (Where it currently says “Desktop Menu”).
<include type="file" src="menu2.xml" visible="true" />
: Allows you to add another menu file within a menu file. Under src
, put the filename of this menu. This can serve as a backup in case one goes corrupt.
<include type="system" style="simple" unique="true" visible="true" />
: This code allows you to put in the system-generated menu. Use this if you want your menu file to be automatically updated when you install a new program.
<!-- 'comment' -->
:
Use this to add comments within your menu. This will not show up in the menu. Obviously, replace ‘comment’ with your own comments.
2) Edit the menu:
mousepad ~/.config/xfce4/desktop/menu.xml
The rest is self-explanatory. Scroll down to <xfdesktop-menu>
, where the menu starts, and change whatever you see fit. It’s very easy once you get used to it!
51 Comments »
RSS feed for comments on this post. TrackBack URI
Leave a reply to woot2 Cancel reply
Create a free website or blog at WordPress.com.
Entries and comments feeds.
Thanks for the useful hints, but having a nice how-to that explains also how to edit the auto-generated menu (Graphics, Multimedia, Network, and so on) would be very handy.
Thank you!
Comment by finferflu— August 15, 2006 #
Comment by xubuntu— August 15, 2006 #
http://tehpost.blogspot.com/2006/09/xubuntu-xfce-menu-items.html
Comment by Rory— September 22, 2006 #
Programs that require root password cant be accessed for some reason, i dont know how to make it ask for the password. I get the error message: “You must run this program as the root user” when i tried to add Boot Up Manager (BUM)
Comment by Wing— September 22, 2006 #
Oh wait i accidently found the answer whilst browsing /usr/share/menu. If you look in files like synaptic, they will have the command “/usr/bin/gksu /usr/sbin/synaptic” so i think the “/usr/bin/gksu” followed by the command of the program will make it ask for the root password.
Comment by Wing— September 23, 2006 #
Go to the terminal and do “su” to get root and then do “mousepad filename.desktop” or do “sudo mousepad filename.desktop”
Comment by Rory— September 24, 2006 #
Is there any way to resize the icons (make bigger) inside the menu?
Comment by Jonathan— December 21, 2006 #
Freedom is nothing else but a chance to be better, taste your freedom and be better.
Comment by Jame— January 3, 2007 #
Thank you for the nice post,
if you ever need to see the cached menu,
you can look under $HOME/.config/xfce4/desktop/.
Comment by slashdotfx— January 24, 2008 #
I’m sorry, the cached menu should be located under $HOME/.cache/xfce4/desktop/ not the previously mentioned directory.
Comment by slashdotfx— January 24, 2008 #
[…] Teh Post: Xubuntu : XFCE Menu Items Manually edit the Xfce menu « Xubuntu Blog […]
Pingback by hahaha.rootbox.or.id » Blog Archive » Kustomisasi menu XFCE— January 24, 2008 #
copy the cache menu from
$HOME/.cache/xfce4/desktop/
to
$HOME/.config/xfce4/desktop/
rename the cache menu to
menu.xml
then use the menu editor from the settings tab, edit the menu and save 🙂
Comment by gianni— February 15, 2008 #
http://xfce.wikia.com/wiki/Frequently_Asked_Questions#How_to_edit_the_auto_generated_menu_with_the_menu_editor.3F
I think that’s pretty much the same as what the previous commenter said… In a bit more detail though.
Comment by Simon— April 22, 2008 #
I’ve seen many good tips about how to edit xfce4 men manually, my problem is that my freshly installed xubuntu system didn’t add any applications to the xfce menu. I have all .desektop files available in the proper places, but actually I want to find a way to add all those .desktop items to xfce menu so that won’t waste 2 hours trying to add all apps 1by1 to the menu. Any idea how to do it? TIA..
Comment by Sefa Denizoğlu— May 2, 2008 #
Follow my guide at
http://ubuntuforums.org/showthread.php?t=1079363
This will help you “fix” the Menu Editor app, and so you can EASILY add and remove what you want. I only ask that you give credit to nano_ext3 from Ubuntu Forums (degmic71) is my old name, having issues replying to threads so I tried making a new one, no good. lol.
Spread this around the net!
Cheers!
Nano_ext3
Comment by nano_ext3— February 24, 2009 #
will you tell me what the fuck good is this bullshit in 2009? this shit is from three years ago and the directory you speak of does not exist. Thanks for wasting my time asshole
Comment by yourmom— October 6, 2009 #
Фильмы онлайн,смотреть онлайн фильмы,фильмы онлайн бесплатно. Фильмы смотреть бесплатно онлайн,фильмы онлайн без регистрации,фильмы онлайн бесплатно без регистрации,смотреть фильмы онлайн без регистрации,онлайн фильмы качество,порно фильмы онлайн,онлайн фильмы хорошого качества,онлайн фильмы хорошего качества,смотреть онлайн фильмы в качестве,смотреть хорошие фильмы онлайн,смотреть фильмы онлайн хорошего качества,онлайн фильмы качество бесплатно,фильмы онлайн смотреть бесплатно качество
Comment by Марк— November 1, 2009 #
Тут уже столько накомментировали до меня. Осталось только присоединиться.
Comment by Сергей Александров— April 20, 2010 #
hello
my new site
http://meinspanien.wordpress.com/
cy
Comment by Unterkunft— September 4, 2010 #
testing stuff
Comment by woot— September 14, 2010 #
testing other stuff
Comment by woot2— September 14, 2010 #
testing same old stuff
Comment by woot— September 14, 2010 #
Круг который если либо сталкивался с сапой задумывался только побыстрей наклепать сайтов которые реально
приносили доход и не попали скоро в бан поисковых систем.
Наедаться сайт кто продает базы чтобы сайтов для движке DLE http://www.libertytraffic.ru/shop/.Купив базу
позволительно быстро заполнить сайт контентом что оживленно индексируется яшей и сообразно
результативно отпускать ссылки на нем в сапе и других подобных системах.
Реальной с минимальными затратами такой сайт приносит 500 рублей в день.
Базы стоят непроходимо дешево и их цифра в продаже неусыпно увеличивается.
Comment by Dumbaccemejed— October 31, 2010 #
Грамотный пост
Comment by seoblogo— April 18, 2011 #
Привет! Приглащаю в Сыктывкарский чат http://ktoki.ru/syktyvkar.html знакомств и общения.
Comment by ktoki— May 6, 2011 #
this is very interesting article. many knowledge to new user.
Comment by HPCLprinter— June 24, 2011 #
Where can I find an update for this info for xfce 4.8? there is no “desktop” directory under “/etc/xdg/xfce4, only helpers.rc, panel, xfconf, Xft.xrdb, and xinitrc.
Comment by Steve Kelem— December 21, 2011 #
Tweet adder promotion save 20% in order to 40% nowadays
Comment by coupon code for tweet adder— January 5, 2012 #
I like the valuable info you supply in your articles. I will bookmark your blog and check once more here frequently. I am slightly certain I’ll be informed many new stuff right right here! Best of luck for the following!
Comment by смотреть фильмы онлайн— July 30, 2012 #
Undeniably believe that which you stated. Your favourite justification seemed to be at the internet the easiest thing to take note of. I say to you, I certainly get annoyed at the same time as folks think about worries that they just do not understand about. You managed to hit the nail upon the top and also outlined out the whole thing without having side-effects , other people can take a signal. Will probably be again to get more. Thank you
Comment by Фильмы, кино новинки— August 7, 2012 #
Generally I do not read post on blogs, but I would like to say that this write-up very pressured me to take a look at and do so! Your writing taste has been surprised me. Thanks, quite nice post.
Comment by без регистрации— February 17, 2013 #
Ребриха
37080235
Comment by Jeremyrob— February 2, 2015 #
When they believe that the market industry is going
up, they’re going to invest in precisely what is named the Telephone solution. One of the most popular strategies for investing binary options tips that is certainly acquiring the earth by simply thunderstorm can be binary options tips night time trading. In the following paragraphs, we all may talk about exactly what binary options tips are generally, the amount anyone stay to help earn or shed, as well as the constructive as well as bad facets of binary options tips trading in comparison to classic investment autos. As market boss, binary options tips is consistently creating new equipment and also instruments to support throughout buying and selling binary options tips. In regard to binary options tips, identical holds true, with the exception that industry won’t have
to go drastically throughout either course to view any revenue
– 1 tick in any event . can enable you to get the specified
amount of cash.
Comment by binary options tips— July 5, 2013 #
when Xubuntu went from release 13.4 to 13.10, the menu editer ‘alacarte’ broke. When you use it to add a launcher in the menu, a new file is created in your home folder ‘/home/name/.local/share/application/alacarte-made-#.desktop. Select the last one in the list and edit it and add the category value like “Category=internet” to place the launcher in the menu “Internet”. Basicaly the ability to create the menu launcher broke due to it’s inability to insert the Category entry. Hopefuly this will be fixed soon.
Comment by jwillar— November 28, 2013 #
Продаём базы почтовых ящиков с правительственных сайтов
zakupki.gov.ru и bus.gov.ru. Общее количество – 30219 шт.
Базы верифицированы, очищены от дублей.
Идеально подходят для почтовой рассылки коммерческих предложений,
бизнес-проектов и т.д.
Дата сбора – 3 января 2014 г.
ICQ – 658548888.
Comment by basesnib— January 8, 2014 #
[b]База данных предприятий-компаний России, Украины (2ГИС, 90
регионов) -2013[/b]
Тип: БД
Содержание базы: название предприятия, отрасль деятельности,
адрес, телефон стационарный, телефон сотовый, email,
гео-координаты.
Информация, представленная в базах 2 гис может быть
использована отделом продаж для подготовки и рассылки
коммерческих предложений потенциальным клиентам или просто
для учета своих клиентов.
Регион: РФ-Украина
Формат: Microsoft Excel
Количество записей: Много, регионы подсчитаны.
Актуализация: ноябрь 2013
Для проверки вышлю базу по одному городу.
Для заказа доступно:
– выгрузку города целиком
– выгрузку компаний отдельной тематики
– выгрузку разделов или рубрик по рубрикатору
ICQ: 658548888
[b]База email предприятий РФ – 2013[/b]
Вытянута из баз ДубльГис, количество: 564694
актуализация: ноябрь 2013 г
ICQ: 658548888
[b]База email-адресов mail.ru и yandex.ru[/b]
Идеально подойдёт
для почтовой рассылки
Количество – 160к.
ICQ – 658548888
[b]База данных с сайта ruzakaz.com[/b]
Содержание базы: название предприятия, отрасль деятельности,
адрес, контактное лицо, телефон, факс, email, тип учреждения,
уровень, полномочия, бюджет, ИНН, ОГРН, ОКПО, ОКАТО, ОКОГО,
URL.
Информация, представленная в базах ruzakaz.com может быть
использована для подготовки и рассылки коммерческих
предложений потенциальным клиентам.
Регион: РФ.
Формат: Microsoft Excel
Количество записей: более 200, 000.
Актуализация: ноябрь 2013
Для проверки вышлю базу по одной рубрике.
Для заказа доступно:
– выгрузка рубрики
– выгрузка компаний отдельной тематики
ICQ: 658548888
[b]База email с сайта b2bpoisk.ru[/b]
База отлично подойдёт для почтовой рассылки.
Очищена от дублей и верифицирована. Дата сбора – 12.12.2013 г.
ICQ: 658548888
Базы почтовых ящиков с правительственных сайтов
zakupki.gov.ru и bus.gov.ru. Общее количество – 30219 шт.
Базы верифицированы, очищены от дублей.
Идеально подходят для почтовой рассылки коммерческих
предложений, бизнес-проектов и т.д.
Дата сбора – 3 января 2014 г.
ICQ: 658548888
Comment by klientMg— January 19, 2014 #
Appreciation to my father who stated to me about
this website, this weblog is really remarkable.
Comment by Renee— March 25, 2014 #
First off I want to say excellent blog! I had a quick question that I’d like to ask if you do not mind.
I was interested to know how you center yourself and clear
your head before writing. I have had a hard time clearing my
mind in getting my thoughts out. I truly do take pleasure in writing however it
just seems like the first 10 to 15 minutes are generally
lost simply just trying to figure out how to begin. Any suggestions or
hints? Appreciate it!
Comment by https://www.facebook.com/blueruintelecharger— July 5, 2014 #
Excellent beat ! I would like to apprentice while you amend your site,
how can i subscribe for a blog website? The account aided me a acceptable deal.
I had been a little bit acquainted of this your
broadcast provided bright clear idea
Comment by la reine des neiges télécharger— July 9, 2014 #
I think this is among the most vital information for me.
And i am glad reading your article. But want to remark
on some general things, The website style is great, the articles is really nice : D.
Good job, cheers
Comment by la reine des neiges télécharger— July 9, 2014 #
This is really interesting, You’re a very skilled blogger.
I’ve joined your rss feed and look forward to seeking more of your
fantastic post. Also, I’ve shared your site in my social networks!
Comment by qu'est-ce qu'on a fait au bon dieu télécharger— July 12, 2014 #
Hey there this is somewhat of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually code with HTML.
I’m starting a blog soon but have no coding know-how so I wanted to get advice from someone with experience.
Any help would be enormously appreciated!
Comment by qu'est-ce qu'on a fait au bon dieu télécharger— July 12, 2014 #
Hi, I desire to subscribe for this web site to get latest updates, therefore where can i
do it please help out.
Comment by qu'est-ce qu'on a fait au bon dieu télécharger— July 12, 2014 #
Does your website have a contact page? I’m having trouble
locating it but, I’d like to send you an email. I’ve got some suggestions for your blog you might be
interested in hearing. Either way, great site
and I look forward to seeing it grow over time.
Comment by qu'est-ce qu'on a fait au bon dieu télécharger— July 12, 2014 #
see r will and aims a i sual apapun are has plus progr ay once videokw
Comment by kursus seo profesional babyboomers— June 10, 2015 #
[…] Please edit your post to reflect the true nature of your issue. You can always manually edit the menu like so: xubuntu.wordpress.com/2006/07/12/manually-edit-the-xfce-menu […]
Pingback by Unix/Linux:Empty XFCE Applications menu – Unix Questions— November 2, 2015 #
http://www.scoop.it/
Manually edit the Xfce menu | Xubuntu Blog
Trackback by How to open skype in windows 8.1— October 18, 2017 #
rainbow in the dark download
Manually edit the Xfce menu | Xubuntu Blog
Trackback by blade game free download for pc— October 18, 2017 #
*There are certainly a lot of details like that to take into consideration. That is a great point to bring up. I offer the thoughts above as general inspiration but clearly there are questions like the one you bring up where the most important thing will be working in honest good faith. I don?t know if best practices have emerged around things like that, but I am sure that your job is clearly identified as a fair game. Both boys and girls feel the impact of just a moment?s pleasure, for the rest of their lives.
Comment by href="http://www.dobranowina24.pl/">dobra nowina— June 14, 2018 #
GTA 5 Cheats Way backing all consoles PlayStation 3, Xbox 360, PlayStation 4, Xbox One and Windows PC.
Comment by Paul Gotwalt— January 1, 2021 #
setting up a dedicated server
Manually edit the Xfce menu | Xubuntu Blog
Trackback by setting up a dedicated server— March 17, 2023 #