Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gnome and KDE menu generation.
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  

I think that...
Denu needs KDE support.
12%
 12%  [ 11 ]
Denu needs Gnome support.
25%
 25%  [ 22 ]
its easy to do menu config by hand.
12%
 12%  [ 11 ]
Denu needs more program support.
3%
 3%  [ 3 ]
Denu needs to lose the portage dependency.
0%
 0%  [ 0 ]
Denu needs to be in portage.
28%
 28%  [ 25 ]
Denu needs more language support.
1%
 1%  [ 1 ]
Denu is great.
2%
 2%  [ 2 ]
Denu is a stupid program/idea.
10%
 10%  [ 9 ]
needs to support <x> window manager. (Explain)
3%
 3%  [ 3 ]
Total Votes : 87

Author Message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Sat Sep 04, 2004 8:21 pm    Post subject: Gnome and KDE menu generation. Reply with quote

I just released version 1.0 of Denu and would love comments on the design, coding, anything. I've created a poll to let me know your opinion on Denu. The web address is http://denu.sourceforge.net. On the site you can search the database for a file or see a breakdown on how we are doing compared to portage. Comments negative or positive always help. Thanks for the feedback. Here is the download page link http://sourceforge.net/project/showfiles.php?group_id=117449. Please be sure to backup your menu file before testing it, otherwise it will most likely be replaced with the denu generated one.

EDIT: 1.1 is now released with Waimea support.


Last edited by TanNewt on Fri Sep 10, 2004 5:19 am; edited 4 times in total
Back to top
View user's profile Send private message
playfool
l33t
l33t


Joined: 01 Jun 2004
Posts: 688
Location: Århus, Denmark

PostPosted: Sat Sep 04, 2004 8:26 pm    Post subject: Reply with quote

It's not that I'm ungrateful, but would it not be easier in the long run to make fluxbox and friends comply to the Freedesktop.org standard in the first place, so we would only need one unified solution - this way seems kinda backwards to me, look what doing it this way did to Debian, now a GNOME menu in Debian has a whole "Debian" section with all kinds of crud in it..

A unified solution to fix a complicated problem..

I could be wrong though, I have been known to be at times.
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Sat Sep 04, 2004 8:33 pm    Post subject: Reply with quote

True, but until fluxbox and friends comply denu is a solution. It will eventually have freedesktop standard compliance itsself.
Back to top
View user's profile Send private message
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Sat Sep 04, 2004 9:01 pm    Post subject: Reply with quote

Freedesktop compliance is evil - Who the fuck needs .desktop files for a minimal window manager?

Great work man!
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Sat Sep 04, 2004 9:08 pm    Post subject: Reply with quote

Good to see some menu creating alternatives ;)

Perhaps Waimea 0.5.x support in the future would be great!
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
playfool
l33t
l33t


Joined: 01 Jun 2004
Posts: 688
Location: Århus, Denmark

PostPosted: Sat Sep 04, 2004 9:13 pm    Post subject: Reply with quote

miqorz wrote:
Freedesktop compliance is evil - Who the fuck needs .desktop files for a minimal window manager?

Great work man!


Yes, by all means, let's reinvent the wheel instead, that's so much more productive use of development time. In fact let's implement the whole thing in ASM, C compliance is evil, who needs higher level languages in a minimal WM.
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Sat Sep 04, 2004 9:17 pm    Post subject: Reply with quote

It's easy to edit menu by hand so why to use some programs for that? But that's pretty nice idea.
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Sat Sep 04, 2004 9:29 pm    Post subject: Reply with quote

I tend to agree with you on freedesktop. I've been browsing their standards and find it really confusing one file is easy enough. Eventually I'll get it though. Thanks for the comments and I'll look into waimea.
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Sat Sep 04, 2004 9:34 pm    Post subject: Reply with quote

TanNewt wrote:
I tend to agree with you on freedesktop. I've been browsing their standards and find it really confusing one file is easy enough. Eventually I'll get it though. Thanks for the comments and I'll look into waimea.


Yes waimea configs are based on freedesktop specs, and they take some understanding (well for me anyway!) ... but it would be nice to have the same menu for the box's and waimea.

Keep up the good work though 8)
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
placeholder
Advocate
Advocate


Joined: 07 Feb 2004
Posts: 2500

PostPosted: Sat Sep 04, 2004 10:27 pm    Post subject: Reply with quote

It seems like a good idea for people who want it, but I even use ~/.fluxbox/mymenu just to keep external programs like fluxbox_generate_menu from messing with my menu. I might try it out sometime though to tell you what I think about it though. :wink:
Back to top
View user's profile Send private message
allucid
Veteran
Veteran


Joined: 02 Nov 2002
Posts: 1314
Location: atlanta

PostPosted: Sat Sep 04, 2004 10:36 pm    Post subject: Reply with quote

I emerged it with the ebuild you have an sourceforge and I can't find the denu binary anywhere...
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Sat Sep 04, 2004 10:41 pm    Post subject: Reply with quote

The denu executable should be in usr/bin. If its not let me know I've got a problem then. Yeah give it a try and let me know your opinion. I try to make it as customizeable as possible.
Back to top
View user's profile Send private message
allucid
Veteran
Veteran


Joined: 02 Nov 2002
Posts: 1314
Location: atlanta

PostPosted: Sat Sep 04, 2004 11:34 pm    Post subject: Reply with quote

oops I didn't realize the ebuild failed 8O

Code:
>>> emerge (1 of 1) x11-misc/denu-1.0 to /
>>> md5 src_uri ;-) denu-1.0.tar.bz2
>>> Unpacking source...
>>> Unpacking denu-1.0.tar.bz2 to /var/tmp/portage/denu-1.0/work
>>> Source unpacked.

>>> Install denu-1.0 into /var/tmp/portage/denu-1.0/image/ category x11-misc
mv: cannot stat `/var/tmp/portage/denu-1.0/work/denu-1.0/*': No such file or directory
man:
prepallstrip:
strip:
>>> Completed installing into /var/tmp/portage/denu-1.0/image/

>>> Merging x11-misc/denu-1.0 to /
 * Caching service dependencies...
>>> x11-misc/denu-1.0 merged.
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Sat Sep 04, 2004 11:48 pm    Post subject: Reply with quote

Yeah I get something similar but I figured that that was due to my syslinked version. To install without the ebuild just extract the archive to /. It has the folders /usr/bin and such built in. Has anyone else tried the 1.0 ebuild?
Back to top
View user's profile Send private message
geniux
Veteran
Veteran


Joined: 19 Feb 2004
Posts: 1400
Location: /home

PostPosted: Sun Sep 05, 2004 3:04 am    Post subject: Reply with quote

I prefer editing my fluxmenu by hand, but I might try it out some day.
_________________
AMD Athlon64 X2 4200+ AM2
MSI K9N SLI Platinum, Enermax Liberty 500W
1GB RAM Crucial DDR2 667MHz, MSI nVidia 7600GS 256MB
400GB + 250GB Samsung SATAII HDD
Gentoo - BeyondSources 2.6.19-20
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Sun Sep 05, 2004 8:41 am    Post subject: Reply with quote

Scoobydu, I just added waimea support. All that is needed is to create a ~./waimearc from the one in /usr/share/waimea and change the line.
Code:
screen0.menuFile:   /usr/share/waimea/menus/menu.conf
to
Code:
screen0.menuFile:   /home/username/.waimea/menu.conf
Replace username with the username. You need to create the ~/.waimea directory also. This feature is only in the CVS version but for the sake of ease I'll release an archive tomorrow of it when sourceforge is back up.

Pwnz3r: I've been trying to write denu so that menus are not changed drastically with updates. All the customizations stay with you until remove etc. Also on our end the database with file locations is not changed either. Once and a while a file may change but from update to update it wont change much, all the customizations, when done through denu are kept.

EDIT: Changed ~ to /home/username


Last edited by TanNewt on Tue Sep 07, 2004 12:03 am; edited 1 time in total
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Sun Sep 05, 2004 10:01 am    Post subject: Reply with quote

TanNewt wrote:
Scoobydu, I just added waimea support. All that is needed is to create a ~./waimearc from the one in /usr/share/waimea and change the line.
Code:
screen0.menuFile:   /usr/share/waimea/menus/menu.conf
to
Code:
screen0.menuFile:   ~/.waimea/menu.conf
You need to create the ~/.waimea directory also. This feature is only in the CVS version but for the sake of ease I'll release an archive tomorrow of it when sourceforge is back up.


Damn that's fast work TanNewt!! Thanks :)

Perhaps let DaveR know (the dev for waimea) as I don't think any other app exists to assist in creating menu's for waimea 0.5.x.

I've actually created those files/directories as I was creating my menu file yesterday. So its good timing, I'll give it a try as soon as its available.

Hopefully it will save me some time editing those xml files! ;)

So have I understood correctly .. it will keep my customisations already made in menu.conf?

Is the cvs available? (cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/denu co denu)


edit: Some ebuild feedback; ebuild fails as below.

Quote:

>>> Source unpacked.

>>> Install denu-1.0 into /var/tmp/portage/denu-1.0/image/ category x11-misc
mv: cannot stat `/var/tmp/portage/denu-1.0/work/denu-1.0/*': No such file or directory
man:
prepallstrip:
strip:
>>> Completed installing into /var/tmp/portage/denu-1.0/image/

>>> Merging x11-misc/denu-1.0 to /

_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
nbrown
Tux's lil' helper
Tux's lil' helper


Joined: 26 Oct 2002
Posts: 140
Location: Somewhere in the NE

PostPosted: Sun Sep 05, 2004 5:50 pm    Post subject: Reply with quote

Wasn't sure where to poat this, but to fix the ebuild, the tar file needs to be changed so that it extracts to
Code:
denu-1.0/

not
Code:
usr/


I guess you could fix the ebuild somehow, but fixing the tarball is a whole lot easier.

-nbrown
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Sun Sep 05, 2004 6:32 pm    Post subject: Reply with quote

scoobydu: I'll let DaveR know about this. It is on CVS right now too. In a bit I'll create a package. Adding support for new WMs is not tough because of the way I wrote it, :D , hehe. Denu creates the structure and there is a recursive function that does all the menu creation, all I have to do is add the string format kinda thing into it and were golden. Thats why Gnome and KDE are going to be a pain since they use .desktop files.

nbrown: So I need to change the structure of the ebuild from /usr/bin/denu etc. to denu-1.0/usr/bin/denu? Is there a more reliable way of writing the ebuild so it wont depend on the structure of the tarball? All that is need is files to be moved to /usr/share/denu and /usr/bin.

EDIT: scoobydu it will not save changes in your menu.conf in ~/.waimea/ how ever all the customizations made through denu are kept. Also if you want to change one of the other menus, not the root, you can do that by editing waimeatop/bottom.ref in /usr/share/denu
Back to top
View user's profile Send private message
nbrown
Tux's lil' helper
Tux's lil' helper


Joined: 26 Oct 2002
Posts: 140
Location: Somewhere in the NE

PostPosted: Sun Sep 05, 2004 7:05 pm    Post subject: Reply with quote

I figured it out. To make it work with your tarball layout, you need to make the src_install
Code:
 mv ${WORKDIR}/* ${D}
instead of
Code:
mv ${S}/* ${D}


Here's the whole ebuild:
Code:
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="Denu"
HOMEPAGE="http://denu.sourceforge.net"
SRC_URI="mirror://sourceforge/denu/denu-1.0.tar.bz2"
LICENSE="GPL"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RESTRICT=""

DEPEND="virtual/python
        >=sys-apps/portage-2.0.50-r10"

src_install() {
        mv ${WORKDIR}/* ${D}
}

Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Sun Sep 05, 2004 7:32 pm    Post subject: Reply with quote

Thanks nbrown. I'll release that today with 1.1. I'll give you credit on the main site too. I appreciate it.

EDIT: 1.1 released with nbrowns fixed ebuild.
Back to top
View user's profile Send private message
forceflow2
Guru
Guru


Joined: 16 Apr 2003
Posts: 464
Location: South Carolina

PostPosted: Mon Sep 06, 2004 2:50 am    Post subject: Reply with quote

Blah, sorry I haven't helped update any programs today, I was a little busy. Working on it now though.
And sysupdate doesn't pick up my programs :(
well, menugen doesn't do so well, I mean
Code:

Welcome to Denu version 1.1
Traceback (most recent call last):
  File "/usr/bin/denu", line 255, in ?
    systemdata()
  File "/usr/bin/denu", line 86, in systemdata
    file = open('/usr/share/denu/sysprgms.txt','w') #write files
IOError: [Errno 13] Permission denied: '/usr/share/denu/sysprgms.txt'


Blah, nm. I got it.
_________________
That rank under my username doesn't mean I know everything, it just means I ask a lot of questions.
Back to top
View user's profile Send private message
shm
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2380
Location: Atlanta, Universe

PostPosted: Mon Sep 06, 2004 3:03 am    Post subject: Reply with quote

miqorz wrote:
Freedesktop compliance is evil - Who the fuck needs .desktop files for a minimal window manager?


Considering that .desktop files are as easy to parse as *box menu files, and considering all of the shit that is getting piled onto "minimal" window managers, who cares.
_________________
what up
Back to top
View user's profile Send private message
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Mon Sep 06, 2004 3:04 am    Post subject: Reply with quote

I prefer regular xml files for my menus. Hopefully there will allways be an option to dismiss these "standards".
Back to top
View user's profile Send private message
shm
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2380
Location: Atlanta, Universe

PostPosted: Mon Sep 06, 2004 3:08 am    Post subject: Reply with quote

miqorz wrote:
I prefer regular xml files for my menus. Hopefully there will allways be an option to dismiss these "standards".


great, so you advocate the fact that desktop files are too bloated for minimal window managers, and then you advocate XML, which takes a lot more resources to parse? what the fuck man 8)
_________________
what up
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum