View previous topic :: View next topic |
I think that... |
Denu needs KDE support. |
|
12% |
[ 11 ] |
Denu needs Gnome support. |
|
25% |
[ 22 ] |
its easy to do menu config by hand. |
|
12% |
[ 11 ] |
Denu needs more program support. |
|
3% |
[ 3 ] |
Denu needs to lose the portage dependency. |
|
0% |
[ 0 ] |
Denu needs to be in portage. |
|
28% |
[ 25 ] |
Denu needs more language support. |
|
1% |
[ 1 ] |
Denu is great. |
|
2% |
[ 2 ] |
Denu is a stupid program/idea. |
|
10% |
[ 9 ] |
needs to support <x> window manager. (Explain) |
|
3% |
[ 3 ] |
|
Total Votes : 87 |
|
Author |
Message |
hotplainrice Tux's lil' helper
Joined: 25 Apr 2004 Posts: 92
|
Posted: Sun Sep 12, 2004 2:24 am Post subject: |
|
|
denu update:
Code: | hotplainrice@smallie hotplainrice $ denu update
Welcome to Denu version 1.5
20040911113222
Traceback (most recent call last):
File "/usr/bin/denu", line 420, in ?
programdata(argpid)
File "/usr/bin/denu", line 33, in programdata
g = open('/usr/share/denu/customDB.txt','r')
IOError: [Errno 2] No such file or directory: '/usr/share/denu/customDB.txt'
|
Am I suppose to run this as root or normal user? |
|
Back to top |
|
|
hotplainrice Tux's lil' helper
Joined: 25 Apr 2004 Posts: 92
|
Posted: Sun Sep 12, 2004 2:34 am Post subject: |
|
|
Okay.. my fault.. Did it as root
denu update
denu sysupdate
was OK!
Code: |
smallie root # denu menugen gnome
Welcome to Denu version 1.5
Traceback (most recent call last):
File "/usr/bin/denu", line 459, in ?
menu(argpid)
File "/usr/bin/denu", line 275, in menu
menu_images = pickle.load(open('/usr/share/denu/menu_images.p','r'))
IOError: [Errno 2] No such file or directory: '/usr/share/denu/menu_images.p'
|
Code: |
hotplainrice@smallie denu $ denu menugen gnome
Welcome to Denu version 1.5
Traceback (most recent call last):
File "/usr/bin/denu", line 459, in ?
menu(argpid)
File "/usr/bin/denu", line 275, in menu
menu_images = pickle.load(open('/usr/share/denu/menu_images.p','r'))
IOError: [Errno 2] No such file or directory: '/usr/share/denu/menu_images.p'
|
|
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Sun Sep 12, 2004 2:58 am Post subject: |
|
|
Sorry little kiddies, but I agree that having to add a shitload of .desktop files to some place in order to have a menu would be quite annoying. Adding extra support for those who wanted it would be fine, but that's where I draw the line. |
|
Back to top |
|
|
TanNewt Retired Dev
Joined: 26 Mar 2004 Posts: 340 Location: Seattle, WA
|
Posted: Sun Sep 12, 2004 3:05 am Post subject: |
|
|
Sorry its my fault that file is not included in the archive. It should have created the file and why it didn't I'm not sure. Check your permissions for /usr/share/denu and /usr/share/pixmaps. You are intended to run denu from the user not root. If all else fails and you still get the file errors do this. Code: | bash-2.05b$ python
Python 2.3.3 (#1, Jul 15 2004, 17:21:26)
[GCC 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pickle
>>> empty = {}
>>> pickle.dump(empty,open('/usr/share/denu/menu_images.p','w'))
>>>
bash-2.05b$
| I hope denu works for you. |
|
Back to top |
|
|
scoobydu Veteran
Joined: 16 Feb 2003 Posts: 1076 Location: 'Mind the Gap'
|
Posted: Sun Sep 12, 2004 9:54 am Post subject: |
|
|
TanNewt wrote: | Sorry its my fault that file is not included in the archive. It should have created the file and why it didn't I'm not sure. Check your permissions for /usr/share/denu and /usr/share/pixmaps. You are intended to run denu from the user not root. If all else fails and you still get the file errors do this. Code: | bash-2.05b$ python
Python 2.3.3 (#1, Jul 15 2004, 17:21:26)
[GCC 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pickle
>>> empty = {}
>>> pickle.dump(empty,open('/usr/share/denu/menu_images.p','w'))
>>>
bash-2.05b$
| I hope denu works for you. |
All my problems have been permissions, as denu tries to create/change docs in /usr/share/denu. As a user it can't, hence the reason for asking for local directory support (/.denu).
Is it not possible to use your portage treee to create the menu, rather than having to update the online system?
Quote: |
eg anything under app-emulation in the portage tree, appears under 'Emulation' automatically?
|
Keep up the good work. _________________ 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 |
|
|
TanNewt Retired Dev
Joined: 26 Mar 2004 Posts: 340 Location: Seattle, WA
|
Posted: Sun Sep 12, 2004 5:31 pm Post subject: |
|
|
I'll plan on putting those files in the users home directory with the next release. There may be a wway to do it out of the portage tree however I dont think that it would be fficient. I believe you'd get alot of useless menu entries. If somethings not there simply use addprgm and then its online too. |
|
Back to top |
|
|
forceflow2 Guru
Joined: 16 Apr 2003 Posts: 464 Location: South Carolina
|
Posted: Sun Sep 12, 2004 9:49 pm Post subject: |
|
|
Yes, helping me is fun _________________ That rank under my username doesn't mean I know everything, it just means I ask a lot of questions. |
|
Back to top |
|
|
r00tzz Apprentice
Joined: 09 Apr 2004 Posts: 203 Location: Sao Paulo, Brasil
|
Posted: Tue Sep 14, 2004 2:49 am Post subject: |
|
|
Copied the .ebuild to /usr/local/portage/x11-misc, but I'm getting this error:
Code: | Calculating dependencies \!!! aux_get(): ebuild for 'x11-misc/denu-1.5' does not exist at:
!!! /usr/portage/x11-misc/denu/denu-1.5.ebuild
emerge: create(): aux_get() error on x11-misc/denu-1.5; aborting...
|
What's wrong? Isn't that the right place to put it?
Edit: just created a directory denu and place the ebuild there works!! |
|
Back to top |
|
|
r00tzz Apprentice
Joined: 09 Apr 2004 Posts: 203 Location: Sao Paulo, Brasil
|
Posted: Tue Sep 14, 2004 11:55 am Post subject: |
|
|
Just play with it today, but I'm getting the following error:
Code: | Welcome to Denu version 1.5
Traceback (most recent call last):
File "/usr/bin/denu", line 459, in ?
menu(argpid)
File "/usr/bin/denu", line 275, in menu
menu_images = pickle.load(open('/usr/share/denu/menu_images.p','r'))
IOError: [Errno 2] No such file or directory: '/usr/share/denu/menu_images.p'
|
The /usr/share/denu/menu_images.p doesn't exist neither in ebuild nor the package from the site. Anyone sharing this? |
|
Back to top |
|
|
forceflow2 Guru
Joined: 16 Apr 2003 Posts: 464 Location: South Carolina
|
Posted: Tue Sep 14, 2004 2:34 pm Post subject: |
|
|
Did you do a
Code: |
denu update
denu sysupdate
|
Before trying to generate your menu? _________________ That rank under my username doesn't mean I know everything, it just means I ask a lot of questions. |
|
Back to top |
|
|
r00tzz Apprentice
Joined: 09 Apr 2004 Posts: 203 Location: Sao Paulo, Brasil
|
Posted: Tue Sep 14, 2004 11:08 pm Post subject: |
|
|
Nope, sorry I didn't read the full posts
But now I did, but i wasn't that simple. I had to do a:
Code: | touch /usr/share/denu/customDB.txt |
because
didn't work even with root.
After that, everything works!! Thanks!!
Just one little problem: in waimea no pics is shown in the menu... But I don't mind...as long as it works |
|
Back to top |
|
|
TanNewt Retired Dev
Joined: 26 Mar 2004 Posts: 340 Location: Seattle, WA
|
Posted: Wed Sep 15, 2004 12:30 am Post subject: |
|
|
Here is the deal with icons in Waimea. I got the program icons to work, such as firefox, but not directories. If a program doesn't have an icon its because there isn't one online for it. Hopefully forceflow2 will start taking that section of denu under his wing also. I'm not much on adding entries but I intend do atleast one more release with the ability to have multiple icons per package. When I wrote the intial icon support I forgot about mulitple icons per package. The program should work but as far as not having some files thats harder to keep track of. Thanks for all the patience regarding that. If there are any features you would like in denu let me know and I have some more moments of inspiration. |
|
Back to top |
|
|
forceflow2 Guru
Joined: 16 Apr 2003 Posts: 464 Location: South Carolina
|
Posted: Wed Sep 15, 2004 3:29 am Post subject: |
|
|
Well...I guess I can do that...25% of portage is in the database so far...Icons are sorta lacking though... _________________ That rank under my username doesn't mean I know everything, it just means I ask a lot of questions. |
|
Back to top |
|
|
TanNewt Retired Dev
Joined: 26 Mar 2004 Posts: 340 Location: Seattle, WA
|
Posted: Wed Sep 15, 2004 4:20 am Post subject: |
|
|
I'm just sayin that I'm not going to be the one doing that. I just dont do it so if anyone wants to take it on I can give them information and I'll make in multiple icons per package before they do so that tthings dont have to be reentered. |
|
Back to top |
|
|
forceflow2 Guru
Joined: 16 Apr 2003 Posts: 464 Location: South Carolina
|
Posted: Wed Sep 15, 2004 4:53 am Post subject: |
|
|
well, this is new...
Code: |
forceflow2@Ptolemy ~ $ denu makemenu
Welcome to Denu version 1.5
20040914211155
Traceback (most recent call last):
File "/usr/bin/denu", line 462, in ?
systemdata()
File "/usr/bin/denu", line 82, in systemdata
if re.match('[a-zA-Z]',tmp3[v])==None:
IndexError: list index out of range
| _________________ That rank under my username doesn't mean I know everything, it just means I ask a lot of questions. |
|
Back to top |
|
|
TanNewt Retired Dev
Joined: 26 Mar 2004 Posts: 340 Location: Seattle, WA
|
Posted: Thu Sep 16, 2004 12:07 am Post subject: |
|
|
I bet it has to do with a new program. in your denu add the line before the line where the error occurs. When you get that let me know the last thing to show. |
|
Back to top |
|
|
forceflow2 Guru
Joined: 16 Apr 2003 Posts: 464 Location: South Carolina
|
Posted: Thu Sep 16, 2004 12:37 am Post subject: |
|
|
Well, I fixed that but now I get something new again...this is what I get for emerging an ungodly number of packages
Code: |
forceflow2@Ptolemy ~ $ denu menugen gnome
Welcome to Denu version 1.5
Traceback (most recent call last):
File "/usr/bin/denu", line 460, in ?
menu(argpid)
File "/usr/bin/denu", line 380, in menu
menu = submenu('gnome',structure,menu,folder_value,wms,menu_images) #generate menu guts
File "/usr/bin/denu", line 232, in submenu
menu = submenu(format,structure[key],menu,folder_value,wms,media_images) #call submenu to do next level
File "/usr/bin/denu", line 232, in submenu
menu = submenu(format,structure[key],menu,folder_value,wms,media_images) #call submenu to do next level
File "/usr/bin/denu", line 138, in submenu
file = file + '\nIcon=' + prgm[2]
TypeError: unsupported operand type(s) for +: 'file' and 'str'
|
_________________ That rank under my username doesn't mean I know everything, it just means I ask a lot of questions. |
|
Back to top |
|
|
TanNewt Retired Dev
Joined: 26 Mar 2004 Posts: 340 Location: Seattle, WA
|
Posted: Thu Sep 16, 2004 12:48 am Post subject: |
|
|
to fix that change file to filecontent on lines 130, 137, and 140. |
|
Back to top |
|
|
forceflow2 Guru
Joined: 16 Apr 2003 Posts: 464 Location: South Carolina
|
Posted: Fri Sep 17, 2004 3:03 am Post subject: |
|
|
Oh god, someone help me with the icons. I'm going psycho waiting to reformat and reinstall gentoo due to all of this cruft from emerging almost all of portage _________________ That rank under my username doesn't mean I know everything, it just means I ask a lot of questions. |
|
Back to top |
|
|
TanNewt Retired Dev
Joined: 26 Mar 2004 Posts: 340 Location: Seattle, WA
|
Posted: Sun Sep 19, 2004 3:20 am Post subject: |
|
|
Update, I just released version 1.6 it has the customDB.txt file so that error wont come up. The main thing is that Waimea support for icons is complete. I was having denu add the image statement in the wrong spot. Now it works. Give it a go. I'll try to add more icons too for forceflow2's sanity. |
|
Back to top |
|
|
forceflow2 Guru
Joined: 16 Apr 2003 Posts: 464 Location: South Carolina
|
Posted: Tue Sep 21, 2004 4:43 am Post subject: |
|
|
Despite lackluster help and feedback, TanNewt and I would like to announce that there is now a complete listing and breakdown of what packages are in/not in the database and their pertinent information. It's in an easy to use webpage that will make adding programs even easier and help use help you by saying where you wish for program support to come from more quickly? (Or you can go ahead and help out by adding the programs yourself )
Icon support is still a little underworked, but expect it to come a bit more quickly now due to this awesome addition thanks to TanNewt. (Let's be serious, I do the busy work and he does the hard stuff) _________________ That rank under my username doesn't mean I know everything, it just means I ask a lot of questions. |
|
Back to top |
|
|
davidblewett Apprentice
Joined: 15 Feb 2004 Posts: 274 Location: Indiana
|
Posted: Sat Oct 16, 2004 11:18 pm Post subject: |
|
|
Okay, I emerged denu and and did a sysupdate, update and genmenu gnome. Now I have *no* items in the menu! I just started using gnome, so it's not a big deal to wipe out parts of the config. Any ideas to fix this? _________________ No guilt in life, no fear in death
this is the power of Christ in me
From lifes first cry to final breath
Jesus commands my destiny
-- Newsboys, "In Christ Alone", "Adoration: The Worship Album" |
|
Back to top |
|
|
TanNewt Retired Dev
Joined: 26 Mar 2004 Posts: 340 Location: Seattle, WA
|
Posted: Sun Oct 17, 2004 12:28 am Post subject: |
|
|
What version of gnome is it? 2.8 or 2.6? If its 2.6 and you only have generated one menu try replacing ~/.gnome2/vfolders/applications.vfolder-info with ~/.gnome2/vfolders/applications.vfolder-info.old. I'll be online tonight so IM me, see below. |
|
Back to top |
|
|
davidblewett Apprentice
Joined: 15 Feb 2004 Posts: 274 Location: Indiana
|
Posted: Sun Oct 17, 2004 8:25 pm Post subject: |
|
|
It's 2.8. I believe I tried it a few times. Where does gnome look for the generated menu, and where does denu store it's generated menu? It gave me errors at first, because I didn't have the vfolders directory under ~. Also had permissions problems at first running the update/sysupdate. _________________ No guilt in life, no fear in death
this is the power of Christ in me
From lifes first cry to final breath
Jesus commands my destiny
-- Newsboys, "In Christ Alone", "Adoration: The Worship Album" |
|
Back to top |
|
|
TanNewt Retired Dev
Joined: 26 Mar 2004 Posts: 340 Location: Seattle, WA
|
Posted: Mon Oct 18, 2004 1:41 am Post subject: |
|
|
I dont know regarding 2.8 I got it working on 2.6... Try just deleting the ~/.gnome2/vfolders directory to restore your old menu. If you know python you are welcome to mess around with denu and get it working. My guess is they changed something regarding menu use in 2.8 and I don't have time to investigate it. The gnome docs on menus are very poor. Try deleting vfolders and let me know how things turn out. Denu replaces the gnome generated menu under ~/.gnome2/vfolders/applications.vfolder-info If deleting hte files doesn't work copy the applications-*-.vfolder-info files from /etc/gnome-vfs-2.0/vfolders to ~/gnome2/.vfolders. Good luck. |
|
Back to top |
|
|
|