Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Desktop Environments
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Desktop Environments
Support for your Ubuntu desktop. Including Gnome, KDE and XFCE.

 
Thread Tools Display Modes
Old November 22nd, 2007   #1
Coolaman
Spilled the Beans
 
Coolaman's Avatar
 
Join Date: Dec 2006
My beans are hidden!
Lightbulb [Script for Xfce] Edit and autoupdate the menu

Sorry for my language, i'm french.

I made a script for edit the xfce menu ( deploy all the name and remove the one line "inclusion" and "system" ) and auto update this menu when you install or remove programs.

- Work with synaptic, apt-get , aptitude
- The new entry are every time in top of them own category.
- Work for english and french .
- Original menu is in /home/yourlogin/.config/xfce4/desktop with menu.orig.xml name
- If application don't have category then add a "Other" menu
- Edit the script to see how to translate in other language and remove the automatization of the script.

The script : AutoMenu

Add it to autostarted applications folder. You must first edit your menu one time to create the file 'menu.xml' ( script need this to work )

Edit : this script work with /usr/share/applications but not in the directory inside it.


Last edited by Coolaman; December 2nd, 2007 at 08:09 AM..
Coolaman is offline   Reply With Quote
Old November 22nd, 2007   #2
Telecaster72
Just Give Me the Beans!
 
Join Date: Feb 2007
Beans: 48
Ubuntu 9.10 Karmic Koala
Re: [Script for Xfce] Edit and autoupdate the menu

Great i was missing this in xfce.
Thanks a lot!
Telecaster72 is offline   Reply With Quote
Old November 23rd, 2007   #3
Telecaster72
Just Give Me the Beans!
 
Join Date: Feb 2007
Beans: 48
Ubuntu 9.10 Karmic Koala
Re: [Script for Xfce] Edit and autoupdate the menu

After installing some apps (Avidemux, DeVeDE, Blender, DidiWiki, RipperX) through Synaptic, they do not show up in the menu.
However creating a launcher with your script is a breeze since it automatically opens in usr/bin and finding the icon is really easy since just pressing the icon button opens a really nice "icon browser"
...but for me, they do not come up in the menu automatically...
This thing is really nice though, it should come as default in the next Xfce version.
Telecaster72 is offline   Reply With Quote
Old November 24th, 2007   #4
Coolaman
Spilled the Beans
 
Coolaman's Avatar
 
Join Date: Dec 2006
My beans are hidden!
Re: [Script for Xfce] Edit and autoupdate the menu

Sorry but i have made a mistake with translation. Now it work for me, prehaps for you. I update the file.

With space in the name, there 's still a little bug when you remove the program . I work on it.

Last edited by Coolaman; November 24th, 2007 at 07:43 AM..
Coolaman is offline   Reply With Quote
Old November 24th, 2007   #5
Telecaster72
Just Give Me the Beans!
 
Join Date: Feb 2007
Beans: 48
Ubuntu 9.10 Karmic Koala
Re: [Script for Xfce] Edit and autoupdate the menu

It works fine for me now.

Merci Beaucoup
Telecaster72 is offline   Reply With Quote
Old November 27th, 2007   #6
Coolaman
Spilled the Beans
 
Coolaman's Avatar
 
Join Date: Dec 2006
My beans are hidden!
Re: [Script for Xfce] Edit and autoupdate the menu

Update of the script :

- fixed small bug

- Add a how to to translate this script and how to delete automatization ( in the script itself)

Last edited by Coolaman; November 27th, 2007 at 08:30 AM..
Coolaman is offline   Reply With Quote
Old December 2nd, 2007   #7
Coolaman
Spilled the Beans
 
Coolaman's Avatar
 
Join Date: Dec 2006
My beans are hidden!
Re: [Script for Xfce] Edit and autoupdate the menu

Update of the script :

- fixed small bug
- Add menu "other" if application don't have category
Coolaman is offline   Reply With Quote
Old May 11th, 2008   #8
Coolaman
Spilled the Beans
 
Coolaman's Avatar
 
Join Date: Dec 2006
My beans are hidden!
Re: [Script for Xfce] Edit and autoupdate the menu

Update of the script to remove some bugs
Coolaman is offline   Reply With Quote
Old June 18th, 2008   #9
Coolaman
Spilled the Beans
 
Coolaman's Avatar
 
Join Date: Dec 2006
My beans are hidden!
Re: [Script for Xfce] Edit and autoupdate the menu

Update to remove few bugs.
Coolaman is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:01 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry