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 1 of 11
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 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

Denu 2.0 - GUI based menu editing.

  • Quote

Post by TanNewt » Tue Dec 21, 2004 1:37 am

I just released denu 2.0. URL It supports gnome, fluxbox, openbox and waimea and may support the current kde. Denu enables one to create their menu structure and have it generated for their window manage(assuming its supported).

On the left are two boxes one for programs, which is entries for the installed programs (based on portage), and another for special menu items such as separators. One uses add or rem to add or remove either a program or special accordingly. After the desired structure is achieved one hits Generate and then the proper window manager.

Please beware that it will overwrite menu files and may botch them. If that happens post here and I will try to help.

Please give me any feedback on the interface, coding or the program in general.

Download Link

Thanks,

Scott Shawcroft.
Last edited by TanNewt on Sat Mar 12, 2005 5:32 pm, edited 1 time in total.
Top
RMX
n00b
n00b
Posts: 66
Joined: Sun Aug 22, 2004 7:46 am

  • Quote

Post by RMX » Tue Dec 21, 2004 8:12 pm

Code: Select all

rmx@tux % denu                                                                ~
Traceback (most recent call last):
  File "/usr/bin/denu", line 1049, in ?
    treeviewdndex = DenuGUI()
  File "/usr/bin/denu", line 952, in __init__
    pickle.dump(mt,open(filename,'w'))
IOError: [Errno 2] No such file or directory: '/home/rmx/.denu/lastmenu.p'
rmx@tux % touch /home/rmx/.denu/lastmenu.p                                    ~
touch: cannot touch `/home/rmx/.denu/lastmenu.p': No such file or directory
rmx@tux % mkdir /home/rmx/.denu/                                              ~
rmx@tux % touch /home/rmx/.denu/lastmenu.p                                    ~
rmx@tux % denu                                                                ~
Traceback (most recent call last):
  File "/usr/bin/denu", line 1049, in ?
    treeviewdndex = DenuGUI()
  File "/usr/bin/denu", line 953, in __init__
    self.load_struct(filename, self.menustore)
  File "/usr/bin/denu", line 534, in load_struct
    structure = pickle.load(open(filename,'r'))
  File "/usr/lib/python2.3/pickle.py", line 1390, in load
    return Unpickler(file).load()
  File "/usr/lib/python2.3/pickle.py", line 872, in load
    dispatch[key](self)
  File "/usr/lib/python2.3/pickle.py", line 894, in load_eof
    raise EOFError
EOFError
rmx@tux %   
I'm very interested on your project, but it won't work for me...
Top
bladdo
Guru
Guru
User avatar
Posts: 334
Joined: Mon Jul 19, 2004 7:05 pm
Location: NJ
Contact:
Contact bladdo
Website

  • Quote

Post by bladdo » Tue Dec 21, 2004 8:30 pm

I get this error

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/denu", line 1049, in ?
    treeviewdndex = DenuGUI()
  File "/usr/bin/denu", line 952, in __init__
    pickle.dump(mt,open(filename,'w'))
IOError: [Errno 2] No such file or directory: '/home/mi/.denu/lastmenu.p'
Bladdo formerly >Milo<
bladdo.net - scripting and design
Creator of AIM Bot: Tiny Tiny Bot - the bot that learns
distro: gentoo | window manager: pekwm
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 Dec 21, 2004 8:45 pm

Alright, this is my fault. DO NOT create the lastmenu.p file (RMX delete yours) but DO create the .denu directory in your home directory. Then run denu. What window managers are you guys running? I was just looking at the code and KDE WILL NOT work. If you need KDE I can tell you how to edit it but expect another version in a couple of days with that fixed.

UPDATE: Both this error and the KDE errors should be fixed in the current cvs version. So now denu should work. KDE support my work. I haven't tested it though.
Top
bladdo
Guru
Guru
User avatar
Posts: 334
Joined: Mon Jul 19, 2004 7:05 pm
Location: NJ
Contact:
Contact bladdo
Website

  • Quote

Post by bladdo » Tue Dec 21, 2004 9:15 pm

Im running on OpenBox3. So I made a .denu folder and now I'm onto the next set of errors :/

Code: Select all

┌(mi@PerlBoxX)-(0)-(12:48 PM Sat Dec 25)->
└-(~)-(26 files, 4.4Mb)--> denu

** (denu:17851): WARNING **: `GtkTextSearchFlags' is not an enum type
/home/mi/.gtkrc-2.0:6: error: unexpected character `}', expected keyword - e.g. `style'
Traceback (most recent call last):
  File "/usr/bin/denu", line 1049, in ?
    treeviewdndex = DenuGUI()
  File "/usr/bin/denu", line 965, in __init__
    self.specialstore.append(None, ['label', 'Standard', '', self.pixbuf_manager('denu_folder.png'), ''])
  File "/usr/bin/denu", line 706, in pixbuf_manager
    self.pixbuf_index[filename] = gtk.gdk.pixbuf_new_from_file_at_size('/usr/share/pixmaps/' + filename, 16, 16)
AttributeError: 'module' object has no attribute 'pixbuf_new_from_file_at_size'

Bladdo formerly >Milo<
bladdo.net - scripting and design
Creator of AIM Bot: Tiny Tiny Bot - the bot that learns
distro: gentoo | window manager: pekwm
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 Dec 21, 2004 9:18 pm

What version of python, pygtk and gtk+ do you have?

I have python 2.3.4, pygtk 2.4.1 and gtk+ 2.4.13-r1
Top
RMX
n00b
n00b
Posts: 66
Joined: Sun Aug 22, 2004 7:46 am

  • Quote

Post by RMX » Wed Dec 22, 2004 12:30 pm

rmx@tux % denu ~
Traceback (most recent call last):
File "/usr/bin/denu", line 1049, in ?
treeviewdndex = DenuGUI()
File "/usr/bin/denu", line 965, in __init__
self.specialstore.append(None, ['label', 'Standard', '', self.pixbuf_manager('denu_folder.png'), ''])
File "/usr/bin/denu", line 703, in pixbuf_manager
file = open('/usr/share/pixmaps/' + filename, 'w')
IOError: [Errno 13] Permission denied: '/usr/share/pixmaps/denu_folder.png'

When I try to chmod that file, it says that I don't have it...
rmx@tux % sudo chmod 774 /usr/share/pixmaps/denu_folder.png ~
chmod: cannot access `/usr/share/pixmaps/denu_folder.png': No such file or directory
Top
lightvhawk0
Guru
Guru
User avatar
Posts: 388
Joined: Fri Nov 07, 2003 12:59 am

  • Quote

Post by lightvhawk0 » Wed Dec 22, 2004 6:36 pm

I've got a fix
ACCEPT_KEYWORDS="~amd64" emerge pygtk so i can have version 2.41
now sudo chmod 777 /usr/share/pixmaps
now it works :twisted:
If God has made us in his image, we have returned him the favor. - Voltaire
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 Dec 22, 2004 7:25 pm

RMX, chmod the /usr/share/pixmaps folder. Lightvhawk0, you got it to work on amd64? HOw do you like it etc.?
Top
lightvhawk0
Guru
Guru
User avatar
Posts: 388
Joined: Fri Nov 07, 2003 12:59 am

  • Quote

Post by lightvhawk0 » Wed Dec 22, 2004 7:33 pm

TanNewt wrote:RMX, chmod the /usr/share/pixmaps folder. Lightvhawk0, you got it to work on amd64? HOw do you like it etc.?
I like it but the proggy is noisey, if you click on add without anything being selected the program puts out this error message

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/denu", line 573, in move_selected
    value = storesource.get_value(iter, 0)
TypeError: iter must be a GtkTreeIter
other than that it saves me from the nasty xml menus of waimea ugh :P i like it a lot
If God has made us in his image, we have returned him the favor. - Voltaire
Top
Dhaki
Guru
Guru
User avatar
Posts: 325
Joined: Wed Jun 16, 2004 3:23 pm
Location: Ticino - CH

  • Quote

Post by Dhaki » Wed Dec 22, 2004 7:41 pm

And for Xfce4? Is there any program like this one?
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 Dec 22, 2004 8:26 pm

I can work xfce support into it. The next version features seperate files to define WMs. XFCE should be able to be supported. I have it installed I'll look into it.
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 » Thu Dec 23, 2004 9:50 am

There is now Xfce4 support in the CVS version. I will probably release it tomorrow as Denu 2.1 after I add one more feature to it. Please give criticism so I can make the program better. Thanks.
Top
Dhaki
Guru
Guru
User avatar
Posts: 325
Joined: Wed Jun 16, 2004 3:23 pm
Location: Ticino - CH

  • Quote

Post by Dhaki » Thu Dec 23, 2004 1:51 pm

TanNewt wrote:There is now Xfce4 support in the CVS version. I will probably release it tomorrow as Denu 2.1 after I add one more feature to it. Please give criticism so I can make the program better. Thanks.
Ok I'll try Denu 2.1 on xfce4 :wink:
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 » Thu Dec 23, 2004 7:42 pm

The xfce4 menu system is sweet without denu. I looked at it to get it working and it is by far the best menu system I've worked with.
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 Dec 24, 2004 12:09 am

Okay, 2.1 is out with Xfce4 support and various other enhancements. Link removed, obsolete.
Last edited by TanNewt on Sat Mar 12, 2005 5:33 pm, edited 1 time in total.
Top
Imek
Guru
Guru
User avatar
Posts: 390
Joined: Tue Jan 20, 2004 10:31 pm
Location: Newcastle, England

  • Quote

Post by Imek » Fri Dec 24, 2004 11:00 am

Are there any plans for Enlightenment menu support? That would be sweet.
- I
(very old) "Current" desktop | Adopt an unanswered post today!
Top
bladdo
Guru
Guru
User avatar
Posts: 334
Joined: Mon Jul 19, 2004 7:05 pm
Location: NJ
Contact:
Contact bladdo
Website

  • Quote

Post by bladdo » Fri Dec 24, 2004 3:59 pm

ok so I get pygtk 2.41 and try and run denu and I get

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/denu", line 938, in ?
    treeviewdndex = DenuGUI()
  File "/usr/bin/denu", line 855, in __init__
    imagefilename = 'denu_' + string.replace(contents[2], '\n', '') + '.png'
IndexError: list index out of range
Whats wrong?
Bladdo formerly >Milo<
bladdo.net - scripting and design
Creator of AIM Bot: Tiny Tiny Bot - the bot that learns
distro: gentoo | window manager: pekwm
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 Dec 24, 2004 9:13 pm

Chances are one of your specials is old. The old specials used to be parsed by lines. However now they are parsed with <denu-split-l1> first and then <denu-split-l2>. This allows multiline entries and also multiple window manager. All you must do is this. look in /usr/share/denu/specials and ~/.denu/specials and append <denu-split-l1> to the end of each line.

Imek, e16 or e17 support. YOU could add it to denu 2.1 but I'd be happy to.
Top
bladdo
Guru
Guru
User avatar
Posts: 334
Joined: Mon Jul 19, 2004 7:05 pm
Location: NJ
Contact:
Contact bladdo
Website

  • Quote

Post by bladdo » Fri Dec 24, 2004 10:09 pm

TanNewt wrote:Chances are one of your specials is old. The old specials used to be parsed by lines. However now they are parsed with <denu-split-l1> first and then <denu-split-l2>. This allows multiline entries and also multiple window manager. All you must do is this. look in /usr/share/denu/specials and ~/.denu/specials and append <denu-split-l1> to the end of each line.

Imek, e16 or e17 support. YOU could add it to denu 2.1 but I'd be happy to.
Eh to hard lol. I just totaly uninstalled it and used the ebuild instead.
--Thanks

EDIT:
ok so now I boot up denu and try and load my menu.xml for openbox and I get.

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/denu", line 689, in interm
    self.load_struct(filename, menustore)
  File "/usr/bin/denu", line 424, in load_struct
    structure = cPickle.load(open(filename,'r'))
cPickle.UnpicklingError: invalid load key, '<'.
What does this mean? I code perl I really do not know much about python
Bladdo formerly >Milo<
bladdo.net - scripting and design
Creator of AIM Bot: Tiny Tiny Bot - the bot that learns
distro: gentoo | window manager: pekwm
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 Dec 24, 2004 10:21 pm

You can only open denu generated files. ie what you save. Sorry if that wasn't made clear.
Top
bladdo
Guru
Guru
User avatar
Posts: 334
Joined: Mon Jul 19, 2004 7:05 pm
Location: NJ
Contact:
Contact bladdo
Website

  • Quote

Post by bladdo » Fri Dec 24, 2004 10:22 pm

TanNewt wrote:You can only open denu generated files. ie what you save. Sorry if that wasn't made clear.
So I cant just open up my openbox config and start editing. :/ o well.
Bladdo formerly >Milo<
bladdo.net - scripting and design
Creator of AIM Bot: Tiny Tiny Bot - the bot that learns
distro: gentoo | window manager: pekwm
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 Dec 24, 2004 10:31 pm

Nope, but thats an interesting idea. What I would to to start off is use the AutoFill button and then trim that down to where you like it.
Top
SpiroTris
n00b
n00b
Posts: 8
Joined: Wed Dec 29, 2004 11:39 am

  • Quote

Post by SpiroTris » Thu Dec 30, 2004 11:46 pm

Oh nice program, just what I've been looking for! Nice work!
Top
Duty
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Sat Nov 15, 2003 7:00 am

  • Quote

Post by Duty » Fri Dec 31, 2004 9:16 am

Got this error installing 2.1 from the ebuild:

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/denu", line 938, in ?
    treeviewdndex = DenuGUI()
  File "/usr/bin/denu", line 848, in __init__
    self.specialstore.append(None, ['label', 'Standard', '', self.pixbuf_manager('denu_folder.png'), ''])
  File "/usr/bin/denu", line 582, in pixbuf_manager
    file = open('/usr/share/pixmaps/' + filename, 'w')
IOError: [Errno 13] Permission denied: '/usr/share/pixmaps/denu_folder.png'
The file in question doesn't exist. I copied another one in its place but got the same message for 'denu_all.png'...
Top
Post Reply

253 posts
  • Page 1 of 11
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 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