Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Denu 2.0 - GUI based menu editing.

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
253 posts
  • Page 7 of 11
    • Jump to page:
  • Previous
  • 1
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • …
  • 11
  • Next
Author
Message
TanNewt
Retired Dev
Retired Dev
User avatar
Posts: 340
Joined: Fri Mar 26, 2004 11:11 pm
Location: Seattle, WA
Contact:
Contact TanNewt
Website

  • Quote

Post by TanNewt » Sun Mar 06, 2005 9:03 am

Just a bit of an update. My schedule just go tless busy so I'll be able to spend more time on denu. I also found a dev willing to maintain denu in portage. He would like to wait until gnome 2.10 comes out and have denu support it, so thats a planned feature. Also, if anyone has any ideas for a logo pleeeeaaassseee let me know. Thanks. Also, let me know if you want to help with denu.
Top
rhill
Retired Dev
Retired Dev
User avatar
Posts: 1629
Joined: Fri Oct 22, 2004 9:58 am
Location: sk.ca

  • Quote

Post by rhill » Tue Mar 08, 2005 12:55 am

found a small crash bug.

- start denu
- hit empty
- add any regular item (eg. XMMS)
- hit edit
- with edit window open, remove XMMS from menu
- hit save in edit window
- crash

maybe it would be possible to lock the menus down while the edit window is opened?

great app btw. i decided not to move to enlightenment based on the fact that i wouldn't be able to use it anymore.
by design, by neglect
for a fact or just for effect
Top
TanNewt
Retired Dev
Retired Dev
User avatar
Posts: 340
Joined: Fri Mar 26, 2004 11:11 pm
Location: Seattle, WA
Contact:
Contact TanNewt
Website

  • Quote

Post by TanNewt » Tue Mar 08, 2005 1:00 am

Hmm, awesome thanks. What window manager do you use? Could you give an error output on that bug?
Top
TanNewt
Retired Dev
Retired Dev
User avatar
Posts: 340
Joined: Fri Mar 26, 2004 11:11 pm
Location: Seattle, WA
Contact:
Contact TanNewt
Website

  • Quote

Post by TanNewt » Tue Mar 08, 2005 3:57 am

Heres a small update. I finished two small improvements which are in the berlios.de svn. I also released a config file for icewm support available on the sourceforge page. The file will also come standard with the next release of denu which will be 2.3.1 . 2.3 is an experimental release featuring a new program to detect the installed programs.
Top
robust
n00b
n00b
Posts: 53
Joined: Fri Sep 05, 2003 10:00 am

  • Quote

Post by robust » Tue Mar 08, 2005 9:36 pm

Question : I've downloaded the latest code from berlios but there doesnt seem to be a way to install it? And it doesn't work to start the denu binary cause it tries to look for the requirred files in /usr.
Top
rhill
Retired Dev
Retired Dev
User avatar
Posts: 1629
Joined: Fri Oct 22, 2004 9:58 am
Location: sk.ca

  • Quote

Post by rhill » Tue Mar 08, 2005 11:12 pm

i'm using openbox 3.2. crashing it from an xterm gives me:

Code: Select all

Gtk-ERROR **: file gtktreestore.c: line 581 (gtk_tree_store_get_path): assertion failed: (G_NODE (iter->user_data)->parent != NULL)
aborting...
Aborted
robust: ebuild is here: http://sourceforge.net/projects/denu/
more instructions here: http://denu.sourceforge.net/run_down.html
overlay info here: http://gentoo-wiki.com/Portage_Overlay
by design, by neglect
for a fact or just for effect
Top
TanNewt
Retired Dev
Retired Dev
User avatar
Posts: 340
Joined: Fri Mar 26, 2004 11:11 pm
Location: Seattle, WA
Contact:
Contact TanNewt
Website

  • Quote

Post by TanNewt » Wed Mar 09, 2005 1:27 am

The berlios version is for non-gentoo distros. In the next release I will have 1 version which will enable features depending on the distribution.
Top
TanNewt
Retired Dev
Retired Dev
User avatar
Posts: 340
Joined: Fri Mar 26, 2004 11:11 pm
Location: Seattle, WA
Contact:
Contact TanNewt
Website

Denu

  • Quote

Post by TanNewt » Fri Mar 11, 2005 10:12 pm

Denu 2.3.1 Here is the ChangeLog.
2005-03-11 02:30 shux

* denu, denupl: Non-portage support merged into denu.
Hence denupl is obsolete. Reduced home definitions to one. Added
config variable.

2005-03-11 01:44 shux

* denu, wm/Gnome2.10.p: Gnome 2.10 support added.
Ordering does not work due to <Layout> tag being ignored by gnome.

2005-03-08 03:45 shux

* wm/IceWM.p: IceWM support added. Tested with 1.2.19

2005-03-08 03:14 shux

* new_sysprgms.p: Holds new programs found during sysupdate.

2005-03-08 03:09 shux

* denu: Seperates installed into 3 folders: New, World and
Other.

2005-03-08 01:29 shux

* denu: Tabbing support added.

2005-03-01 07:02 shux

* Denu.e3p, denu: Fixed missing image file errors.

2005-02-21 05:40 shux

* exec_index.p: exec-index.p file added to be complete and
ready for other ditro support.

2005-02-21 05:17 shux

* denu, denupl: Other distro support added. Use denupl
to identifiy installed programs.
When released last night the tarball was wrong but now it has been fixed.
Top
kynx
n00b
n00b
Posts: 34
Joined: Mon Dec 13, 2004 8:27 pm

Re: Denu

  • Quote

Post by kynx » Sat Mar 12, 2005 12:11 am

TanNewt wrote:Denu 2.3.1 Here is the ChangeLog.
Just got gnome-2.10, so really want to give this a try. Notice that the ebuilds on sourceforge are for denu-2.2.3 - can I just version bump them by renaming?

Thanks,

Matt
Top
kynx
n00b
n00b
Posts: 34
Joined: Mon Dec 13, 2004 8:27 pm

  • Quote

Post by kynx » Sat Mar 12, 2005 12:15 am

[EDIT] Oh, spoke too soon. Is there somewhere else I'm supposed to be getting the ebuild from?

1st problem: version is harcoded into the ebuild. Fixed that in the ebuild to:

Code: Select all

SRC_URI="mirror://sourceforge/denu/${P}.tar.bz2"
but now it installs everything right in / - ACK! Think the problem is with the tarball - the ebuild just does:

Code: Select all

src_install() {
        mv ${WORKDIR}/* ${D}
}
so if the tarball doesn't have the right dir structure you're hooped.

Guess I could look at the structure in an old version and figure out where it's all supposed to go, but it's late. I'm giving up :(
Top
TanNewt
Retired Dev
Retired Dev
User avatar
Posts: 340
Joined: Fri Mar 26, 2004 11:11 pm
Location: Seattle, WA
Contact:
Contact TanNewt
Website

  • Quote

Post by TanNewt » Sat Mar 12, 2005 7:05 am

Yeah, there is an ebuild for it on the berlios page. There is a link to it from http://denu.sourceforge.net or here is a direct link. http://developer.berlios.de/project/sho ... se_id=5002 The reason I did not put the ebuild on sourceforge is so that I can track the number of downloads. The sourceforge statistics are not working. Also, in 2.3.1 there is an install.sh file to install the files to the correct places.
Top
kynx
n00b
n00b
Posts: 34
Joined: Mon Dec 13, 2004 8:27 pm

  • Quote

Post by kynx » Sat Mar 12, 2005 10:02 am

Prob be a good idea to change the link in the 'Rundown' section as well (and maybe put the link in your sig so it shows up on all your old posts?). This whole Sourceforge-for-Gentoo, Berlios-for-everyone else setup looks like a maintenance nightmare.

I guess the experience will teach me to examine the ebuild and tarball I'm using more closely. Using the wrong ebuild in this case leads to a pretty nasty surprise, so I'll think twice before just grabbing one off some post in a forum again :wink:
Top
kynx
n00b
n00b
Posts: 34
Joined: Mon Dec 13, 2004 8:27 pm

  • Quote

Post by kynx » Sat Mar 12, 2005 11:05 am

OK, I'm at last giving Denu a (cautious) whirl.

Is there any way to make it AutoFill with my existing gnome (2.10) menu structure? Call me lazy, but I just want to modify the menu, not rebuild it from scratch.

And (yet) another thing: most tarballs I've met extract into a subfolder with the same name as the tarball, which stops them polluting your current dir. You might want to think about that for next release of Denu.

BTW, for a gnome-2.10 menuing flamefest, check out http://gnomedesktop.org/node/2180
Top
TanNewt
Retired Dev
Retired Dev
User avatar
Posts: 340
Joined: Fri Mar 26, 2004 11:11 pm
Location: Seattle, WA
Contact:
Contact TanNewt
Website

  • Quote

Post by TanNewt » Sat Mar 12, 2005 5:31 pm

kynx, Thanks for the very good suggestions.

I'll change all the links for the ebuild, thanks. The setup is that sourceforge is only used to host the tarballs, the webpage and the database. The berlios page will get more and more unless sourceforge gets their statistics back online. Sorry about burying the ebuild. No, you can't import menus at this point. I don't think you will ever be able to for gnome/kde because the freedesktop spec doesn't lend itsself to that. I'll make the tarball include a folder with the next release thats a good suggestion. I'll also check out that page. Thanks for the suggestions.
Top
Spoony
Tux's lil' helper
Tux's lil' helper
Posts: 99
Joined: Wed Feb 18, 2004 7:33 am
Location: Washington DC

  • Quote

Post by Spoony » Sat Mar 12, 2005 8:10 pm

Just trying denu for the first time....
I'm glad something like this is coming along.
Although I've had some problems with it:
-Getting it installed was not easy. Had to move files to other folders(that I had to create)
-Denu is empty...do I have to recreate everything by hand? Can't it auto-fill the "Installed" portion. I don't want to have to fill in each one by hand.
Regards,
Mike Sponsler
msponsler at gmail.com
Top
TanNewt
Retired Dev
Retired Dev
User avatar
Posts: 340
Joined: Fri Mar 26, 2004 11:11 pm
Location: Seattle, WA
Contact:
Contact TanNewt
Website

  • Quote

Post by TanNewt » Sat Mar 12, 2005 8:13 pm

Did you use an ebuild? How'd you install it? Yes it can auto fill. Hit Update, Sysupdate, Autofill and then Generate.
Top
kynx
n00b
n00b
Posts: 34
Joined: Mon Dec 13, 2004 8:27 pm

  • Quote

Post by kynx » Sun Mar 13, 2005 3:49 pm

TanNewt wrote:No, you can't import menus at this point. I don't think you will ever be able to for gnome/kde because the freedesktop spec doesn't lend itsself to that.
Don't know if it would be any help, but I've been taking a look at the embrionic gnome-menu-editor. It's currently only good for turning on and off menu items, but it does load the Gnome/KDE menu tree. If you can port the C to Python, you might have some luck - if I spoke Python I'd give it a whirl, but alas I'm PHP & C :( An ebuild and some links to are here:
http://bugs.gentoo.org/show_bug.cgi?id=85019

[EDIT]
Just found this: http://www.freedesktop.org/software/pyxdg/ - Python libraries implementing the freedesktop menu spec! Might this be what you're after?
Top
TanNewt
Retired Dev
Retired Dev
User avatar
Posts: 340
Joined: Fri Mar 26, 2004 11:11 pm
Location: Seattle, WA
Contact:
Contact TanNewt
Website

  • Quote

Post by TanNewt » Sun Mar 13, 2005 7:03 pm

The main difference is that denu uses the text files to control the menu. The freedesktop spec is based on .desktop files. The original gnome menu is just based on those files. The problem I have is figuring out the structure and finding what programs are in the menu. These attributes, unlike in many other window managers, are not defined originally in a text file.
Top
kynx
n00b
n00b
Posts: 34
Joined: Mon Dec 13, 2004 8:27 pm

  • Quote

Post by kynx » Sun Mar 13, 2005 7:44 pm

Well I'm no expert - all I know is from trying to hack my own menus - but isn't that down to the "Categories" item in the .desktop file? But sure, there's lots of ugliness in that spec - the "OnlyShowIn" and "NotShowIn" items, the <Include>, <Excude> and <Move> stuff possible in /etc/xgd/menus/application.menu and the user 'overlays' in .config/menus/applications-merged/.

But I don't think that complexity needs to worry you for importing the structure - let pyxdg handle it all for you:

Code: Select all

emerge --ask pyxdg
/usr/share/doc/pyxdg-0.8/test/test-menu.py
Give it a try!
Top
TanNewt
Retired Dev
Retired Dev
User avatar
Posts: 340
Joined: Fri Mar 26, 2004 11:11 pm
Location: Seattle, WA
Contact:
Contact TanNewt
Website

  • Quote

Post by TanNewt » Sun Mar 13, 2005 7:59 pm

You should join the mailing list. I'll have to look further into pyxdg. How do you want the gnome support? What would you like to be able to do? Let me know and join the mailing list (its at the berlios site.) so we can keep in communication.
Top
Maximus2000
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 127
Joined: Thu Oct 07, 2004 7:50 pm
Location: USA

Denu not working

  • Quote

Post by Maximus2000 » Thu Mar 17, 2005 3:32 pm

Hi I have Gnome 2.10 loaded and I installed the latest Denu. I did Update and Sysupdate. The autofill and generate. Clicked on Gnome 2.10 and then done. This is the error I get:....

/usr/bin/denu:357: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
vbox = gtk.VBox(gtk.FALSE, 0)
/usr/bin/denu:415: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
if tree.iter_has_child(iter) == gtk.FALSE: #Add prgms to structure if in right depth
Traceback (most recent call last):
File "/usr/bin/denu", line 353, in menugen_prep
self.menugen(tree, wm)
File "/usr/bin/denu", line 385, in menugen
menu = denu.submenu(structure,menu,wm,menu_images,0) #generate menu guts
File "/usr/bin/denu", line 267, in submenu
filesrc = open(home + '/.local/share/desktop-directories/denu_' + filename,'w')
IOError: [Errno 2] No such file or directory: '/home/vieirar/.local/share/desktop-directories/denu_Office.directory'
/usr/bin/denu:1200: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
gtk.main()


Any help would be great.
Thanks
Maximus
Top
TanNewt
Retired Dev
Retired Dev
User avatar
Posts: 340
Joined: Fri Mar 26, 2004 11:11 pm
Location: Seattle, WA
Contact:
Contact TanNewt
Website

  • Quote

Post by TanNewt » Fri Mar 18, 2005 1:20 am

Sorry about that. Simply create the directory using this command as the user.

Code: Select all

mkdir -p ~/.local/share/desktop-directories
You may also need to create ~/.local/share/applications .
Top
numerodix
l33t
l33t
User avatar
Posts: 743
Joined: Thu Jul 18, 2002 3:39 pm
Location: nl.eu

  • Quote

Post by numerodix » Fri Mar 18, 2005 3:32 pm

Is there a way to reset the xfce menu to the default one?
undvd - ripping dvds should be as simple as unzip
Top
Maximus2000
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 127
Joined: Thu Oct 07, 2004 7:50 pm
Location: USA

  • Quote

Post by Maximus2000 » Fri Mar 18, 2005 4:24 pm

TanNewt,

Worked like a charm thanks for such great work.
Thanks
Maximus
Top
TanNewt
Retired Dev
Retired Dev
User avatar
Posts: 340
Joined: Fri Mar 26, 2004 11:11 pm
Location: Seattle, WA
Contact:
Contact TanNewt
Website

  • Quote

Post by TanNewt » Fri Mar 18, 2005 8:48 pm

Maximus2000,
I'm glad that worked, I'm frustrated that you even had to create the directory. However, its fixed and it'll be fixed in the next version.

Numerodix,
Try using the autogenerated special for xfce. I believe thats what you want. The default menu may also be in something like /usr/share/xfce or an /etc subdirectory. I'll look when I have more time. I'm in class right now.
Top
Post Reply

253 posts
  • Page 7 of 11
    • Jump to page:
  • Previous
  • 1
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • …
  • 11
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic